/* Socle commun : remise à zéro + composants fonctionnels (tiroir, recherche,
   commande, textes légaux, formulaires). Aucune direction artistique ici : tout
   passe par les variables ci-dessous, que chaque boutique redéfinit dans styles.css. */
:root {
  --fond: #ffffff; --fond-2: #f5f5f3; --texte: #1a1a1a; --texte-doux: #666666;
  --accent: #222222; --accent-texte: #ffffff; --bord: #e4e4e0; --rayon: 4px;
  --police-titre: Georgia, serif; --police-texte: system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.sans-defilement { overflow: hidden; }
body { margin: 0; background: var(--fond); color: var(--texte); font-family: var(--police-texte); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--police-titre); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.evitement { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--fond); padding: 10px 14px; }
.evitement:focus { left: 8px; top: 8px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.a-completer { background: #fff3a3; color: #5c4a00; padding: 0 4px; font-style: normal; border-radius: 2px; }
.anim [data-apparait] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.anim [data-apparait].vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; } }

/* Tiroir panier */
.voile { position: fixed; inset: 0; background: rgba(20, 20, 20, .4); opacity: 0; transition: opacity .25s; z-index: 60; }
.voile.ouvert { opacity: 1; }
.tiroir { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--fond); z-index: 70; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .26s ease; }
.tiroir.ouvert { transform: none; }
.tiroir-entete { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--bord); }
.tiroir-entete h2 { margin: 0; font-size: 1.15rem; }
.tiroir-fermer { background: none; border: 0; font-size: 1.8rem; line-height: 1; padding: 4px 8px; }
.tiroir-liste { flex: 1; overflow-y: auto; padding: 8px 20px; }
.tiroir-pied { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--bord); }
.tiroir-ligne { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; margin-bottom: 6px; }
.tiroir-note { font-size: .85rem; color: var(--texte-doux); margin-bottom: 12px; }
.tiroir-commander, .bouton, .achat-bouton, .formulaire button[type="submit"], .formulaire [data-confirmer], [data-payer], .barre-achat button {
  display: block; width: 100%; text-align: center; text-decoration: none; background: var(--accent); color: var(--accent-texte);
  border: 0; border-radius: var(--rayon); padding: 15px 18px; font-weight: 600; min-height: 48px;
}
.bouton { display: inline-block; width: auto; }
.tiroir-voir { display: block; text-align: center; padding: 10px; font-size: .9rem; }
.ligne-panier { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bord); }
.ligne-panier img { width: 72px; height: 96px; object-fit: cover; border-radius: var(--rayon); }
.ligne-corps { flex: 1; min-width: 0; }
.ligne-nom { display: block; text-decoration: none; font-weight: 600; }
.ligne-option { display: block; font-size: .85rem; color: var(--texte-doux); }
.ligne-bas { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.quantite { display: inline-flex; align-items: center; border: 1px solid var(--bord); border-radius: var(--rayon); }
.quantite button { background: none; border: 0; width: 36px; height: 36px; font-size: 1.1rem; }
.quantite span { min-width: 24px; text-align: center; }
.ligne-retirer { background: none; border: 0; padding: 6px 0 0; font-size: .8rem; color: var(--texte-doux); text-decoration: underline; }
.panier-vide { text-align: center; padding: 40px 10px; }
div.page-panier, .ck, .merci { max-width: 1080px; margin: 0 auto; padding: 32px 16px 64px; }
.panier-total { max-width: 420px; margin: 20px 0 0 auto; }
.merci { max-width: 640px; text-align: center; padding-top: 64px; }

/* Barre d'achat collée */
.barre-achat { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--fond); border-top: 1px solid var(--bord); transform: translateY(110%); transition: transform .2s; }
.barre-achat.visible { transform: none; }
.barre-achat-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: .85rem; }
.barre-achat-texte span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barre-achat button { width: auto; padding: 12px 22px; min-height: 44px; }
@media (max-width: 899px) { .barre-achat { display: flex; } .page-produit { padding-bottom: 84px; } }

/* Bloc d'achat */
.achat-option { border: 0; padding: 0; margin: 0 0 14px; }
.achat-option legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.achat-choix { display: flex; flex-wrap: wrap; gap: 8px; }
.achat-choix input { position: absolute; opacity: 0; width: 0; height: 0; }
.achat-choix span { display: block; min-width: 48px; min-height: 44px; padding: 10px 12px; text-align: center; border: 1px solid var(--bord); border-radius: var(--rayon); cursor: pointer; }
.achat-choix input:checked + span { background: var(--accent); color: var(--accent-texte); border-color: var(--accent); }
.achat-choix input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.achat-erreur { color: #a4262c; font-size: .9rem; margin: 0 0 10px; }
.fiche-infos { margin: 0; }
.fiche-infos > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--bord); }
.fiche-infos dt { color: var(--texte-doux); }
.fiche-infos dd { margin: 0; text-align: right; }
.bloc-conformite { font-size: .85rem; color: var(--texte-doux); }
.bloc-conformite p { margin-bottom: .5em; }
.avertissements { border: 1px solid #c98a00; background: #fff8e6; color: #5a4300; padding: 10px 12px; border-radius: var(--rayon); font-size: .9rem; margin: 12px 0; }
.avertissements p { margin: 0; font-weight: 600; }
.avertissements p + p { margin-top: 6px; }

/* Bas de pied de page */
.pied-legal { font-size: .82rem; }
.pied-legal p { margin: 0 0 8px; }
.grille-vide { padding: 28px 0; }
.logos-paiement { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.logos-paiement svg { width: 42px; height: 26px; }
.lien-retractation { font-weight: 600; text-decoration: underline; }

/* Recherche */
.recherche { position: fixed; inset: 0; z-index: 80; background: var(--fond); padding: 16px; overflow-y: auto; }
.recherche-barre { display: flex; gap: 8px; max-width: 720px; margin: 0 auto 16px; align-items: center; }
.recherche-barre input { flex: 1; min-width: 0; padding: 12px 14px; font-size: 1.05rem; border: 1px solid var(--bord); border-radius: var(--rayon); background: var(--fond); }
.recherche-barre button { background: none; border: 0; font-size: 1.8rem; line-height: 1; padding: 4px 8px; }
.recherche-resultats { max-width: 720px; margin: 0 auto; }
.recherche-resultat { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--bord); text-decoration: none; }
.recherche-resultat img { width: 60px; height: 80px; object-fit: cover; border-radius: var(--rayon); }
.recherche-resultat span { flex: 1; min-width: 0; }

/* Textes légaux */
.legal { max-width: 780px; margin: 0 auto; padding: 40px 16px 72px; }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4em; }
.legal ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.legal li { margin-bottom: .35em; }
.legal a { text-decoration: underline; }
.legal-intro { font-size: 1.1rem; color: var(--texte-doux); }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--bord); }
.legal .tableau { overflow-x: auto; }
.legal-mise-a-jour { font-size: .85rem; color: var(--texte-doux); margin-top: 2.5em; }
.encadre { border: 1px solid var(--bord); background: var(--fond-2); padding: 16px 18px; border-radius: var(--rayon); margin: 1em 0; font-size: .95rem; }
.faq details { border-bottom: 1px solid var(--bord); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details div { padding-top: 10px; }

/* Formulaires */
.formulaire label, .ck-form label { display: block; margin-bottom: 14px; font-size: .92rem; font-weight: 600; }
.formulaire input:not([type="checkbox"]):not(.piege), .formulaire textarea, .formulaire select,
.ck-form input:not([type="checkbox"]), .ck-form select {
  display: block; width: 100%; margin-top: 6px; padding: 12px; font-weight: 400; font-size: 16px; background: var(--fond); border: 1px solid var(--bord); border-radius: var(--rayon);
}
.bouton-secondaire { width: auto !important; margin-top: 8px; background: none !important; color: var(--texte) !important; border: 1px solid var(--bord) !important; }
.form-message { font-size: .92rem; margin: 10px 0 0; min-height: 1.2em; }
.form-message.ok { color: #1c6b3c; }
.form-message.erreur { color: #a4262c; }
.contact-grille { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .contact-grille { grid-template-columns: 1fr 1.3fr; } }
.newsletter-note { font-size: .78rem; margin: 8px 0 0; color: var(--texte-doux); }

/* Commande */
.ck h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.ck h2 { font-size: 1.1rem; }
.ck-grille { display: grid; gap: 28px; grid-template-columns: 1fr; }
.ck-resume { order: -1; background: var(--fond-2); padding: 16px; border-radius: var(--rayon); align-self: start; }
@media (min-width: 900px) { .ck-grille { grid-template-columns: 1.3fr 1fr; } .ck-resume { order: 0; position: sticky; top: 20px; } }
.ck-form section { margin-bottom: 26px; }
.ck-duo { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
.ck-ligne { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
.ck-ligne img { width: 56px; height: 74px; object-fit: cover; border-radius: var(--rayon); }
.ck-ligne div { flex: 1; min-width: 0; }
.ck-ligne span, .ck-ligne small { display: block; }
.ck-ligne small { color: var(--texte-doux); }
.ck-totaux { border-top: 1px solid var(--bord); margin-top: 8px; padding-top: 10px; }
.ck-totaux > div { display: flex; justify-content: space-between; padding: 3px 0; }
.ck-total { font-size: 1.15rem; font-weight: 600; margin-top: 6px; }
.ck-securite, .ck-note { font-size: .85rem; color: var(--texte-doux); margin: 10px 0; }
.ck-indisponible { padding: 14px; background: var(--fond-2); border-radius: var(--rayon); }
.ck-form .ck-cgv { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.ck-cgv input { margin-top: 4px; width: 20px; height: 20px; flex: none; }
[data-payer]:disabled { opacity: .72; cursor: not-allowed; }

/* Consentement */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; max-width: 480px; margin: 0 auto; background: var(--fond); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 14px 16px; box-shadow: 0 6px 24px rgba(0, 0, 0, .15); font-size: .9rem; }
.consent p { margin-bottom: 10px; }
.consent div { display: flex; gap: 8px; }
.consent button { flex: 1; padding: 10px; border: 1px solid var(--texte); background: var(--fond); border-radius: var(--rayon); }

@font-face{font-family:"Italiana";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/italiana-400.woff2) format("woff2")}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/hanken-grotesk-400.woff2) format("woff2")}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/hanken-grotesk-500.woff2) format("woff2")}
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/hanken-grotesk-600.woff2) format("woff2")}

/* ==========================================================================
   Tiqora — direction artistique
   L'anatomie d'une paire : trait cognac, repères numérotés, papier ivoire.
   Ivoire #f4efe6 · papier #fbf8f2 · cognac #8a4b22 · olive #55603a · encre #1f1b16
   ========================================================================== */
:root {
  --fond: #f4efe6; --fond-2: #fbf8f2; --texte: #1f1b16; --texte-doux: #5c5348;
  --accent: #8a4b22; --accent-texte: #fbf8f2; --bord: #d8cdbb; --rayon: 2px;
  --accent-fonce: #6e3a18; --olive: #55603a; --papier: #fbf8f2; --encre: #1f1b16;
  --trait: #8a4b22; --filet: #cbbfa9;
  --police-titre: "Italiana", "Didot", Georgia, serif;
  --police-texte: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --marge: 20px; --large: 1240px; --entete: 60px;
}
@media (min-width: 900px) { :root { --marge: 40px; --entete: 72px; } }

body { font-size: 16px; line-height: 1.6; letter-spacing: .005em; }
h1, h2, h3 { font-weight: 400; letter-spacing: .01em; color: var(--encre); }
a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
::selection { background: #e7d4bf; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.surtitre { font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); margin: 0 0 .9em; display: flex; align-items: center; gap: .6em; flex-wrap: wrap; }
.surtitre a { text-decoration: none; }
.surtitre a:hover { text-decoration: underline; }
.surtitre-oeillet { width: 14px; height: 14px; color: var(--accent); }
.filet-n { font-family: var(--police-titre); font-size: 1rem; letter-spacing: 0; color: var(--accent); border-bottom: 1px solid var(--accent); padding: 0 .1em; line-height: 1.2; }
.lien-souligne { color: var(--texte); font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .3em; display: inline-flex; align-items: center; min-height: 44px; }
.lien-souligne:hover { color: var(--accent); }

/* Les repères numérotés : la signature de la maison */
.repere, .repere-n, .repere-inline {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent); background: var(--papier);
  font: 500 .8rem/1 var(--police-texte); letter-spacing: 0; flex: none;
}
.repere-inline { width: 24px; height: 24px; font-size: .72rem; vertical-align: .1em; margin-right: .35em; }

/* Boutons */
.bouton, .achat-bouton, .tiroir-commander, .formulaire button[type="submit"], .formulaire [data-confirmer], [data-payer], .barre-achat button {
  border-radius: var(--rayon); font-weight: 500; letter-spacing: .05em; font-size: .95rem; transition: background-color .2s;
}
.bouton:hover, .achat-bouton:hover, .tiroir-commander:hover, .formulaire button[type="submit"]:hover, [data-payer]:hover:not(:disabled), .barre-achat button:hover { background: var(--accent-fonce); }
.bouton { padding: 15px 26px; }

/* ------------------------------------------------------------------ entête */
.entete { position: sticky; top: 0; z-index: 30; background: var(--fond); border-bottom: 1px solid var(--filet); }
.entete-rang { max-width: var(--large); margin: 0 auto; height: var(--entete); padding: 0 calc(var(--marge) - 8px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.entete-nav { display: none; gap: 28px; font-size: .9rem; letter-spacing: .06em; }
.entete-nav a { text-decoration: none; padding: 10px 0; border-bottom: 1px solid transparent; }
.entete-nav a:hover, .entete-nav a[aria-current] { border-bottom-color: var(--accent); }
.entete-bouton { display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 8px; background: none; border: 0; font-size: .9rem; letter-spacing: .04em; color: var(--texte); }
.entete-bouton svg { width: 22px; height: 22px; flex: none; }
.entete-menu { justify-self: start; }
.entete-menu svg { width: 26px; }
.entete-actions { justify-self: end; display: flex; align-items: center; }
.entete-libelle { display: none; }
.compteur { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: var(--accent-texte); font-size: .72rem; font-weight: 600; margin-left: -6px; }
.compteur[data-n="0"] { background: transparent; color: var(--texte-doux); border: 1px solid var(--filet); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); padding: 6px 4px; }
.logo-oeillet { width: 22px; height: 22px; color: var(--accent); flex: none; }
.logo-nom { font-family: var(--police-titre); font-size: 1.7rem; line-height: 1; letter-spacing: .05em; }
@media (min-width: 900px) {
  .entete-nav { display: flex; }
  .entete-menu { display: none; }
  .entete-libelle { display: inline; }
  .entete-actions { gap: 6px; }
  .logo-nom { font-size: 2rem; }
  .logo-oeillet { width: 24px; height: 24px; }
}

.entete-legere .entete-rang { grid-template-columns: 1fr auto 1fr; }
.entete-retour { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .88rem; text-decoration: none; justify-self: start; }
.entete-retour svg { width: 20px; height: 20px; transform: scaleX(-1); color: var(--accent); }
.entete-securite { justify-self: end; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); }
@media (max-width: 520px) { .entete-retour span, .entete-securite { display: none; } .entete-legere .logo-nom { font-size: 1.5rem; } }

/* Menu mobile : un tiroir à gauche */
.menu { position: fixed; top: 0; left: 0; bottom: 0; width: min(380px, 88vw); z-index: 70; background: var(--fond); overflow-y: auto; padding: 0 0 calc(24px + env(safe-area-inset-bottom)); transform: translateX(-102%); transition: transform .28s ease; border-right: 1px solid var(--filet); }
.menu.ouvert { transform: none; }
.menu-tete { display: flex; align-items: center; gap: 10px; height: var(--entete); padding: 0 12px 0 var(--marge); border-bottom: 1px solid var(--filet); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.menu-oeillet { width: 18px; height: 18px; color: var(--accent); }
.menu-fermer { margin-left: auto; width: 44px; height: 44px; background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--texte); }
.menu-liste { list-style: none; margin: 0; padding: 10px 0; }
.menu-liste a { display: flex; align-items: baseline; gap: 14px; padding: 12px var(--marge); font-family: var(--police-titre); font-size: 1.75rem; line-height: 1.15; text-decoration: none; }
.menu-liste a:hover { color: var(--accent); }
.menu-n { font: 500 .72rem/1 var(--police-texte); color: var(--accent); letter-spacing: .08em; width: 20px; }
.menu-teintes { display: flex; flex-wrap: wrap; gap: 4px 6px; padding: 14px var(--marge); border-top: 1px solid var(--filet); }
.menu-teintes a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 10px 0 0; font-size: .9rem; text-decoration: none; }
.menu-teintes a::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--teinte); box-shadow: inset 0 0 0 1px rgba(31, 27, 22, .25); }
.menu-annexe { padding: 10px var(--marge); border-top: 1px solid var(--filet); }
.menu-annexe a { display: block; padding: 10px 0; font-size: .95rem; }

/* ------------------------------------------------------------------ accueil */
.hero { max-width: var(--large); margin: 0 auto; display: grid; grid-template-columns: 1fr; }
.hero-image { position: relative; }
.hero-photo { position: relative; display: block; background: var(--fond); }
.hero-photo img { width: 100%; mix-blend-mode: multiply; }
.hero-fils { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-fils line { stroke: var(--trait); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-point { position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(244, 239, 230, .9); }
.repere-hero { position: absolute; transform: translate(-50%, -50%); width: 26px; height: 26px; font-size: .75rem; }
.hero-legende { margin: 0; padding: 4px var(--marge) 0; font-size: .82rem; color: var(--texte-doux); display: flex; flex-wrap: wrap; gap: 2px 12px; justify-content: space-between; }
.hero-legende b { font-weight: 600; color: var(--accent); }
.hero-legende a { color: var(--texte); }
.hero-texte { padding: 18px var(--marge) 34px; }
.hero h1 { font-family: var(--police-titre); font-size: clamp(2.6rem, 11.5vw, 5.4rem); line-height: 1.02; margin: 0 0 .3em; letter-spacing: 0; }
.hero-chapo { font-size: 1.02rem; color: var(--texte-doux); max-width: 34em; margin-bottom: 18px; }
.hero-bouton { display: inline-flex; align-items: center; gap: 14px; }
.hero-prix { font-weight: 400; opacity: .9; padding-left: 14px; border-left: 1px solid rgba(251, 248, 242, .45); }
.hero-familles { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 18px 0 10px; }
.hero-familles a { display: inline-flex; min-height: 40px; align-items: center; font-size: .92rem; text-decoration: underline; text-decoration-color: var(--filet); }
.hero-familles a:hover { text-decoration-color: var(--accent); color: var(--accent); }
.hero-promesses { font-size: .82rem; color: var(--olive); letter-spacing: .02em; margin: 0; }
@media (max-width: 420px) { .hero-legende span { display: none; } .hero-chapo { font-size: .98rem; } }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.18fr .82fr; align-items: center; min-height: min(calc(100vh - var(--entete)), 760px); padding: 20px var(--marge) 40px; gap: 40px; }
  .hero-legende { padding: 6px 0 0; }
  .hero-texte { padding: 0; }
  .hero h1 { font-size: clamp(3.6rem, 6vw, 5.6rem); }
}

.section-tete { max-width: var(--large); margin: 0 auto 28px; padding: 0 var(--marge); }
.section-tete h2 { font-family: var(--police-titre); font-size: clamp(2rem, 7.5vw, 3.4rem); line-height: 1.08; margin: 0; }
.section-chapo { color: var(--texte-doux); max-width: 36em; margin: 12px 0 0; }
.section-tete-ligne { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; }

/* L'anatomie */
.anatomie { padding: 56px 0 64px; border-top: 1px solid var(--filet); background: var(--papier); }
.anatomie-corps { max-width: var(--large); margin: 0 auto; padding: 0 var(--marge); }
.schema { position: relative; margin: 0; }
.schema svg { width: 100%; height: auto; overflow: visible; }
.schema .trait { fill: none; stroke: var(--trait); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.schema .couture { fill: none; stroke: var(--trait); stroke-width: 1; stroke-dasharray: 3 4; opacity: .7; }
.schema .oeil { fill: none; stroke: var(--trait); stroke-width: 1.4; }
.schema .fil { stroke: var(--olive); stroke-width: .9; stroke-dasharray: 2 3; fill: none; }
.schema .point { fill: var(--olive); }
.schema .repere { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; padding: 0; cursor: default; }
.schema button.repere { cursor: pointer; transition: background-color .2s, color .2s; }
.schema button.repere::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.schema button.repere:hover, .schema button.repere.actif { background: var(--accent); color: var(--accent-texte); }
.anim .schema[data-apparait] { opacity: 1; transform: none; }
.anim .schema[data-apparait] .trait { stroke-dasharray: 1; stroke-dashoffset: 1; }
.anim .schema[data-apparait] .oeil, .anim .schema[data-apparait] .couture, .anim .schema[data-apparait] .fil, .anim .schema[data-apparait] .point, .anim .schema[data-apparait] .repere { opacity: 0; }
.anim .schema[data-apparait].vu .trait { animation: trace 1.1s cubic-bezier(.6, .1, .3, 1) forwards; animation-delay: calc(var(--i) * .16s); }
.anim .schema[data-apparait].vu .oeil, .anim .schema[data-apparait].vu .couture { animation: paraitre .5s ease forwards 1.5s; }
.anim .schema[data-apparait].vu .fil, .anim .schema[data-apparait].vu .point, .anim .schema[data-apparait].vu .repere { animation: paraitre .5s ease forwards 1.9s; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes paraitre { to { opacity: 1; } }

.reperes { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: none; }
.repere-fiche { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--filet); scroll-margin-top: calc(var(--entete) + 12px); transition: background-color .3s; }
.repere-fiche.eclaire .repere-n, .repere-fiche.actif .repere-n { background: var(--accent); color: var(--accent-texte); }
.repere-fiche h3 { font-family: var(--police-titre); font-size: 1.6rem; margin: 0 0 4px; line-height: 1.1; }
.repere-fiche p { margin: 0 0 10px; color: var(--texte-doux); font-size: .97rem; }
.repere-paire { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.repere-vignette { width: 64px; height: 64px; background: var(--fond); flex: none; overflow: hidden; }
.repere-vignette img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.repere-paire-titre { display: block; font-size: .9rem; text-decoration: underline; text-decoration-color: var(--accent); }
.repere-paire-prix { display: block; font-size: .82rem; color: var(--texte-doux); }
@media (min-width: 900px) {
  .anatomie { padding: 88px 0 96px; }
  .anatomie-corps { display: grid; grid-template-columns: 1.55fr 1fr; gap: 56px; align-items: center; }
  .reperes { margin: 0; min-height: 300px; }
  .repere-fiche { display: none; border: 0; padding: 0; }
  .repere-fiche.actif { display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
  .repere-fiche.actif .repere-n { width: 44px; height: 44px; font-size: 1rem; }
  .repere-fiche h3 { font-size: 2.6rem; margin-bottom: 10px; }
  .repere-fiche p { font-size: 1.05rem; margin-bottom: 22px; }
  .repere-vignette { width: 120px; height: 120px; }
  .js-anatomie .repere-fiche:not(.actif) { display: none; }
}

/* La sélection */
.selection { padding: 64px 0 56px; }
.grille-edito { max-width: var(--large); margin: 0 auto; padding: 0 var(--marge); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 14px; }
.grille-edito .carte:first-child { grid-column: span 2; }
.grille-edito .carte:first-child .carte-famille { font-size: 2.2rem; }
@media (min-width: 900px) {
  .selection { padding: 96px 0 80px; }
  .grille-edito { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 64px 28px; }
  .grille-edito .carte:first-child { grid-column: span 2; grid-row: span 2; }
  .grille-edito .carte:first-child .carte-famille { font-size: 2.8rem; }
}
.tuile-suite { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; aspect-ratio: 1; padding: 16px; border: 1px solid var(--accent); text-decoration: none; color: var(--encre); background: var(--fond);
  background-image: radial-gradient(circle at 50% 50%, var(--fond) 0 2.6px, var(--accent) 3px 4.4px, transparent 4.9px); background-size: 26px 26px; background-position: 0 -1px; background-repeat: space no-repeat; background-origin: padding-box; }
.tuile-n { font-family: var(--police-titre); font-size: 3.4rem; line-height: 1; color: var(--accent); margin-top: 16px; }
.tuile-titre { font-family: var(--police-titre); font-size: 1.35rem; line-height: 1.15; }
/* Les virgules d'Italiana disparaissent à petite taille : les prix passent en grotesque. */
.chiffres { font-family: var(--police-texte); font-size: .8em; font-weight: 500; letter-spacing: 0; white-space: nowrap; }
.tuile-lien { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .3em; }
.tuile-lien svg { width: 18px; height: 18px; color: var(--accent); }
.tuile-suite:hover { background-color: var(--papier); }
@media (min-width: 900px) { .tuile-n { font-size: 4.6rem; } .tuile-titre { font-size: 1.7rem; } .tuile-suite { padding: 22px; } }

/* Par teinte */
.teintes { padding: 56px 0 48px; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.pastilles { max-width: var(--large); margin: 0 auto; padding: 0 var(--marge); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 10px; }
.pastille { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-decoration: none; min-height: 44px; }
.pastille-rond { width: 100%; max-width: 92px; aspect-ratio: 1; border-radius: 50%; background: var(--teinte); box-shadow: 0 0 0 1px rgba(31, 27, 22, .18), inset 0 0 0 7px var(--fond), inset 0 0 0 8px rgba(31, 27, 22, .12); transition: box-shadow .25s; }
.pastille:hover .pastille-rond { box-shadow: 0 0 0 1px var(--accent), inset 0 0 0 7px var(--fond), inset 0 0 0 8px var(--accent); }
.pastille-nom { font-family: var(--police-titre); font-size: 1.4rem; line-height: 1; }
.pastille-compte { font-size: .78rem; color: var(--texte-doux); letter-spacing: .06em; }
@media (min-width: 900px) { .teintes { padding: 88px 0 72px; } .pastilles { grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 28px; } }

/* La promesse en une phrase */
.promesse { max-width: var(--large); margin: 0 auto; padding: 44px var(--marge) 64px; display: grid; grid-template-columns: 34px 1fr; gap: 6px 16px; align-items: start; }
.promesse-oeillet { width: 34px; height: 34px; color: var(--accent); margin-top: 4px; }
.promesse p { font-family: var(--police-titre); font-size: clamp(1.5rem, 5vw, 2.4rem); line-height: 1.2; margin: 0; max-width: 26em; }
.promesse .lien-souligne { grid-column: 2; }

/* ------------------------------------------------------------------ cartes */
.carte { min-width: 0; }
.carte-lien { display: block; text-decoration: none; position: relative; }
.carte-image { display: block; aspect-ratio: 1; background: var(--papier); overflow: hidden; }
.carte-image img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .6s ease; }
.carte-lien:hover .carte-image img { transform: scale(1.035); }
.carte-numero { position: absolute; top: 0; left: 0; font-size: .68rem; letter-spacing: .12em; color: var(--accent); font-weight: 600; background: var(--fond); padding: 5px 9px 5px 0; }
.carte-texte { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding-top: 12px; align-items: baseline; }
.carte-nom { grid-column: 1 / -1; display: flex; flex-direction: column; }
.carte-famille { font-family: var(--police-titre); font-size: 1.45rem; line-height: 1.05; color: var(--encre); }
.carte-coloris { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--texte); margin-top: 4px; }
.carte-meta { font-size: .78rem; color: var(--texte-doux); margin-top: 6px; }
.carte-prix { font-size: .86rem; color: var(--texte); margin-top: 6px; font-variant-numeric: tabular-nums; }
.carte-lien:hover .carte-famille { color: var(--accent); }
@media (min-width: 900px) { .carte-famille { font-size: 1.7rem; } }

/* ----------------------------------------------------------- boutique et collections */
.page-liste { max-width: var(--large); margin: 0 auto; padding: 28px var(--marge) 72px; }
.liste-tete { margin-bottom: 20px; }
.liste-tete h1 { font-family: var(--police-titre); font-size: clamp(2.6rem, 10vw, 4.6rem); line-height: 1; margin: 0 0 .25em; }
.liste-chapo { color: var(--texte-doux); max-width: 40em; margin-bottom: 14px; }
.liste-familles { display: flex; flex-wrap: wrap; gap: 0 20px; }
.liste-familles a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: .9rem; text-decoration: underline; text-decoration-color: var(--filet); }
.liste-familles a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.liste-familles span { font-size: .72rem; color: var(--texte-doux); }
.outils-grille { border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); padding: 10px 0 6px; margin-bottom: 28px; }
.filtres { display: flex; flex-direction: column; gap: 2px; }
/* Les teintes passent à la ligne au lieu de fuir hors de l'écran : tout se voit à 390 px. */
.filtre-groupe { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; padding-left: 66px; }
.filtre-titre { position: absolute; left: 0; top: 15px; width: 58px; font-size: .7rem; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.filtre { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 2px; background: none; border: 0; font-size: .93rem; color: var(--texte); text-decoration: underline; text-decoration-color: var(--filet); text-underline-offset: .35em; white-space: nowrap; }
.filtre:hover { text-decoration-color: var(--accent); }
.filtre.actif { color: var(--accent); font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.filtre-teinte::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--teinte); box-shadow: inset 0 0 0 1px rgba(31, 27, 22, .25); }
.tri-ligne { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 4px; }
.compte { margin: 0; font-size: .85rem; color: var(--texte-doux); }
.tri { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--texte-doux); }
.tri select { font-size: 16px; padding: 8px 30px 8px 10px; min-height: 44px; border: 1px solid var(--bord); border-radius: var(--rayon); background: var(--papier) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238a4b22' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center / 11px; -webkit-appearance: none; appearance: none; color: var(--texte); }
@media (min-width: 900px) {
  .page-liste { padding-top: 48px; }
  .outils-grille { display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; align-items: start; padding: 12px 0; margin-bottom: 44px; }
  .filtre-groupe { padding-left: 78px; }
  .filtre-titre { width: 70px; }
  .tri-ligne { flex-direction: column; align-items: flex-end; padding-top: 6px; }
}
.grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 14px; }
@media (min-width: 900px) { .grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 32px; } }
.grille-vide { border: 1px dashed var(--filet); padding: 28px 20px; text-align: left; }
.grille-vide p { font-family: var(--police-titre); font-size: 1.6rem; line-height: 1.2; margin: 0 0 6px; }

/* ------------------------------------------------------------------ fiche produit */
.fiche-page { max-width: var(--large); margin: 0 auto; padding: 12px 0 40px; }
.fil { font-size: .8rem; color: var(--texte-doux); padding: 0 var(--marge) 12px; }
.fil a { color: var(--texte-doux); display: inline-block; padding: 6px 0; }
.fiche-grille { display: grid; grid-template-columns: minmax(0, 1fr); }
.fiche-images { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--marge); scroll-padding: 0 var(--marge); }
.fiche-images::-webkit-scrollbar { display: none; }
.fiche-image { flex: 0 0 88%; margin: 0; scroll-snap-align: start; background: var(--papier); aspect-ratio: 1; position: relative; overflow: hidden; }
.fiche-image img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.fiche-image figcaption { position: absolute; left: 12px; bottom: 10px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--encre); background: rgba(251, 248, 242, .85); padding: 3px 7px; }
.fiche-infos-col { padding: 22px var(--marge) 0; min-width: 0; }
.fiche-titre { font-family: var(--police-titre); margin: 0 0 6px; line-height: 1; }
.fiche-famille { display: block; font-size: clamp(3rem, 13vw, 4.6rem); }
.fiche-coloris { display: block; font: 500 .85rem/1.4 var(--police-texte); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-top: 10px; }
.fiche-prix { font-size: 1.3rem; margin: 12px 0 6px; font-variant-numeric: tabular-nums; }
.fiche-prix small { font-size: .75rem; color: var(--texte-doux); letter-spacing: .08em; }
.fiche-resume { color: var(--texte-doux); margin-bottom: 20px; }

.lecture { border: 1px solid var(--filet); background: var(--papier); padding: 16px 16px 6px; margin: 0 0 22px; position: relative; }
.lecture h2 { font: 500 .74rem/1 var(--police-texte); letter-spacing: .16em; text-transform: uppercase; color: var(--olive); margin: 0 0 8px; }
.schema-mini { margin: 4px -4px 6px; }
.schema-mini .repere { width: 22px; height: 22px; font-size: .66rem; }
.schema-mini .repere.on { background: var(--accent); color: var(--accent-texte); }
.schema-mini .repere.off, .schema-mini .fil.off, .schema-mini .point.off { opacity: .28; }
.schema-mini .trait { stroke-width: 2.2; }
.lecture ol { list-style: none; margin: 0; padding: 0; }
.lecture li { display: grid; grid-template-columns: 28px 1fr; gap: 2px 12px; padding: 10px 0; border-top: 1px solid rgba(203, 191, 169, .6); }
.lecture li:first-child { border-top: 0; }
.lecture .repere-n { grid-row: span 2; }
.lecture-partie { font-family: var(--police-titre); font-size: 1.25rem; line-height: 1.1; }
.lecture-texte { font-size: .93rem; color: var(--texte-doux); }

.coloris { margin: 0 0 18px; }
.coloris-titre { font-size: .88rem; margin: 0 0 8px; }
.coloris ul { display: flex; flex-wrap: wrap; gap: 4px; }
.coloris a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.coloris-rond { width: 28px; height: 28px; border-radius: 50%; background: var(--teinte); box-shadow: inset 0 0 0 1px rgba(31, 27, 22, .25); }
.coloris a[aria-current] { box-shadow: inset 0 0 0 1px var(--accent); }
.coloris a:hover .coloris-rond { box-shadow: inset 0 0 0 1px rgba(31, 27, 22, .25), 0 0 0 3px var(--fond), 0 0 0 4px var(--filet); }

.achat { margin: 0 0 14px; }
.achat-option legend { font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); margin-bottom: 10px; }
.achat-choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); gap: 6px; }
.achat-choix span { min-width: 0; min-height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid var(--bord); border-radius: 0; background: var(--papier); font-variant-numeric: tabular-nums; font-size: .98rem; transition: border-color .15s; }
.achat-choix label:hover span { border-color: var(--encre); }
.achat-choix input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-texte); font-weight: 600; }
/* 36 à 46 par demi-pointure : 21 carrés fins, trois rangs de sept, sur mobile comme sur ordinateur. */
.pointures-21 .achat-choix { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; max-width: 560px; }
.pointures-21 .achat-choix span { font-size: .93rem; letter-spacing: -.01em; white-space: nowrap; }
.achat-guide { font-size: .85rem; color: var(--texte-doux); margin: 0 0 14px; }
.achat-guide a { color: var(--texte); white-space: nowrap; }
.achat-erreur { color: #9a2316; font-weight: 500; }
.achat-bouton { margin-top: 2px; min-height: 54px; }
.fiche-promesses { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 24px; font-size: .84rem; color: var(--olive); }
.fiche-promesses li { display: inline-flex; align-items: center; gap: 7px; }
.fiche-promesses li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--accent); box-shadow: inset 0 0 0 1.5px var(--fond); }
.fiche-texte { border-top: 1px solid var(--filet); padding-top: 18px; }
.fiche-texte p { font-size: 1rem; }
.fiche-points { margin: 0 0 18px; }
.fiche-points li { padding: 6px 0 6px 20px; position: relative; font-size: .93rem; }
.fiche-points li::before { content: ""; position: absolute; left: 0; top: 14px; width: 9px; height: 1px; background: var(--accent); }
.fiche-plis { border-top: 1px solid var(--filet); }
.fiche-plis:last-child { border-bottom: 1px solid var(--filet); }
.fiche-plis summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 54px; cursor: pointer; font-weight: 500; }
.fiche-plis summary::-webkit-details-marker { display: none; }
.fiche-plis summary::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--accent); box-shadow: inset 0 0 0 3px var(--fond); transition: background-color .2s; flex: none; }
.fiche-plis[open] summary::after { background: var(--accent); }
.fiche-plis > *:not(summary) { margin-bottom: 16px; }
.fiche-note { font-size: .85rem; color: var(--texte-doux); }
.fiche-infos > div { border-bottom-color: rgba(203, 191, 169, .7); }
.proches { padding: 64px 0 0; }
.proches .section-tete h2 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
.grille-proches { padding: 0 var(--marge); }
@media (min-width: 900px) {
  .fiche-page { padding: 24px var(--marge) 64px; }
  .fiche-detail { width: 72%; margin-left: auto; }
  .fil { padding: 0 0 18px; }
  .fiche-grille { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .fiche-images { display: grid; grid-template-columns: 1fr; gap: 14px; overflow: visible; padding: 0; }
  .fiche-image { flex: none; }
  .fiche-infos-col { padding: 0; position: sticky; top: calc(var(--entete) + 20px); display: flex; flex-direction: column; }
  /* Sur grand écran, pas de barre collée : la pointure et le bouton remontent
     dans le premier écran, la lecture de la paire suit juste en dessous. */
  .fiche-infos-col > .lecture { order: 1; margin-top: 4px; }
  .fiche-infos-col > .fiche-texte, .fiche-infos-col > .fiche-plis { order: 2; }
  .fiche-resume { margin-bottom: 16px; }
  .fiche-famille { font-size: clamp(3.6rem, 5vw, 5rem); }
  .proches { padding-top: 100px; }
  .proches .section-tete, .grille-proches { padding-left: 0; padding-right: 0; }
  .grille-proches { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
}
.barre-achat { background: var(--fond); border-top: 1px solid var(--filet); }
.barre-achat-texte span { font-family: var(--police-titre); font-size: 1.15rem; }
.barre-achat-texte strong { font-weight: 500; }
.barre-achat button { border-radius: var(--rayon); }

/* ------------------------------------------------------------------ notre histoire */
.histoire { max-width: 980px; margin: 0 auto; padding: 36px var(--marge) 72px; }
.histoire-tete h1 { font-family: var(--police-titre); font-size: clamp(2.5rem, 9vw, 4.6rem); line-height: 1.04; margin: 0 0 .35em; }
.histoire-chapo { font-size: 1.12rem; color: var(--texte-doux); max-width: 38em; }
.schema-histoire { margin: 30px 0 34px; padding: 18px 0; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.histoire-texte { display: grid; gap: 30px; }
.histoire-texte h2 { display: flex; align-items: center; gap: 12px; font-family: var(--police-titre); font-size: 1.9rem; line-height: 1.1; margin-bottom: 10px; }
.histoire-texte p { max-width: 38em; }
.histoire-fin { margin-top: 36px; }
@media (min-width: 900px) { .histoire { padding-top: 64px; } .histoire-texte { grid-template-columns: 1fr 1fr; gap: 44px 56px; } }

/* ------------------------------------------------------------------ pied de page */
.pied { background: var(--papier); border-top: 1px solid var(--filet); margin-top: 0; }
.pied-oeillets { height: 34px; border-bottom: 1px dashed var(--filet);
  background-image: radial-gradient(circle at 50% 50%, var(--papier) 0 3.4px, var(--accent) 3.9px 5.6px, transparent 6.1px 7.6px, rgba(138, 75, 34, .4) 8px 8.9px, transparent 9.4px);
  background-size: 46px 34px; background-repeat: repeat-x; background-position: 12px 0; }
.pied-interieur { max-width: var(--large); margin: 0 auto; padding: 40px var(--marge) 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.pied-marque { grid-column: 1 / -1; }
.pied-marque .logo { padding-left: 0; margin-bottom: 10px; }
.pied-marque p { color: var(--texte-doux); max-width: 30em; font-size: .95rem; }
.pied-titre { display: flex; align-items: center; gap: 10px; font: 500 .74rem/1 var(--police-texte); letter-spacing: .16em; text-transform: uppercase; color: var(--olive); margin: 0 0 12px; }
.pied-titre span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); letter-spacing: 0; font-size: .7rem; }
.pied-col li a { display: inline-block; padding: 7px 0; font-size: .92rem; text-decoration: none; }
.pied-col li a:hover { color: var(--accent); text-decoration: underline; }
.pied-lettre { display: flex; flex-wrap: wrap; gap: 8px; max-width: 420px; margin-top: 16px; }
.pied-lettre input[type="email"] { flex: 1 1 200px; min-width: 0; min-height: 48px; padding: 0 14px; font-size: 16px; border: 1px solid var(--bord); border-radius: var(--rayon); background: var(--fond); }
.pied-lettre button { min-height: 48px; padding: 0 20px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-texte); border-radius: var(--rayon); font-weight: 500; letter-spacing: .04em; }
.pied-lettre .form-message, .pied-lettre .newsletter-note { flex-basis: 100%; }
.pied-lettre .form-message { min-height: 0; margin: 0; }
.pied-lettre .form-message:empty { display: none; }
.pied-bas { max-width: var(--large); margin: 0 auto; padding: 18px var(--marge) calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--filet); }
.pied-legal { color: var(--texte-doux); display: grid; gap: 4px; }
.pied-legal a { color: var(--texte); }
.pied-legal-coord { font-size: .85rem; }
.lien-retractation { color: var(--accent) !important; display: inline-block; padding: 8px 0; }
.logos-paiement { gap: 8px; }
.logos-paiement svg { width: 44px; height: 28px; }
@media (min-width: 900px) {
  .pied-interieur { grid-template-columns: 1.5fr 1fr 1fr 1fr; padding-top: 56px; gap: 40px; }
  .pied-marque { grid-column: auto; }
  .pied-legal { grid-template-columns: 1fr auto; align-items: center; column-gap: 32px; }
  .pied-legal-coord, .pied-legal-prix { grid-column: 1; }
  .logos-paiement { grid-column: 2; grid-row: 1 / span 2; }
}
.pied-leger { margin-top: 40px; }
.pied-leger .pied-interieur { display: block; padding-top: 24px; }
.pied-liens-legers { display: flex; flex-wrap: wrap; gap: 0 18px; margin-bottom: 14px; }
.pied-liens-legers a { display: inline-block; padding: 8px 0; font-size: .85rem; }

/* ------------------------------------------------------------------ tiroir panier */
.voile { background: rgba(31, 27, 22, .35); }
.tiroir { background: var(--fond); border-left: 1px solid var(--filet); }
.tiroir-entete { position: relative; height: var(--entete); padding: 0 12px 0 22px; border-bottom: 0; }
.tiroir-entete::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 20px; pointer-events: none;
  background-image: radial-gradient(circle at 50% 50%, var(--fond) 0 2.6px, var(--accent) 3px 4.4px, transparent 4.9px), linear-gradient(to right, var(--filet) 50%, transparent 0);
  background-size: 34px 20px, 8px 1px; background-repeat: repeat-x, repeat-x; background-position: 8px 50%, 0 50%; }
.tiroir-entete h2 { font-family: var(--police-titre); font-size: 1.8rem; font-weight: 400; }
.tiroir-fermer { width: 44px; height: 44px; color: var(--texte); }
.tiroir-liste { padding: 22px 22px 8px; }
.ligne-panier { gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--filet); }
.ligne-panier img { width: 84px; height: 84px; object-fit: cover; border-radius: 0; background: var(--papier); mix-blend-mode: multiply; }
.ligne-panier > a { background: var(--papier); flex: none; align-self: flex-start; }
.ligne-nom { font-family: var(--police-titre); font-weight: 400; font-size: 1.3rem; line-height: 1.15; }
.ligne-option { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }
.quantite { border-color: var(--bord); border-radius: 0; background: var(--papier); }
.quantite button { width: 40px; height: 40px; }
.ligne-retirer { min-height: 32px; }
.tiroir-pied { border-top: 1px solid var(--filet); background: var(--papier); padding: 16px 22px calc(16px + env(safe-area-inset-bottom)); }
.tiroir-ligne strong { font-weight: 500; font-size: 1.15rem; }
.tiroir-note { color: var(--olive); }
.tiroir-voir { color: var(--texte); min-height: 44px; display: flex; align-items: center; justify-content: center; }
.panier-vide { padding: 48px 10px; }
.panier-vide p { font-family: var(--police-titre); font-size: 1.6rem; line-height: 1.2; margin-bottom: 8px; }
.panier-vide a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: var(--accent); }

/* Page panier */
div.page-panier { padding-top: 36px; }
.page-panier h1 { font-family: var(--police-titre); font-size: clamp(2.4rem, 9vw, 3.8rem); }
.panier-lignes { border-top: 1px solid var(--filet); }
.panier-total { background: var(--papier); border: 1px solid var(--filet); padding: 18px; }

/* ------------------------------------------------------------------ recherche */
.recherche { background: var(--fond); padding: 12px var(--marge); }
.recherche-barre { max-width: 820px; border-bottom: 1px solid var(--encre); margin-bottom: 20px; }
.recherche-barre input { border: 0; background: transparent; font-family: var(--police-titre); font-size: 1.7rem; padding: 14px 0; border-radius: 0; }
.recherche-barre input:focus { outline: none; }
.recherche-barre input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.recherche-barre:focus-within { border-bottom-color: var(--accent); }
.recherche-barre button { width: 44px; height: 44px; color: var(--texte); }
.recherche-resultats { max-width: 820px; }
.recherche-resultat { border-bottom-color: var(--filet); min-height: 64px; }
.recherche-resultat img { width: 64px; height: 64px; border-radius: 0; background: var(--papier); mix-blend-mode: multiply; }
.recherche-resultat span { font-family: var(--police-titre); font-size: 1.3rem; }
.recherche-resultat strong { font-weight: 500; font-size: .9rem; }
.recherche-vide { color: var(--texte-doux); }

/* ------------------------------------------------------------------ commande */
.ck { padding-left: var(--marge); padding-right: var(--marge); }
.ck h1 { font-family: var(--police-titre); font-weight: 400; font-size: clamp(2.3rem, 8vw, 3.4rem); margin-bottom: .6em; }
.ck-form { counter-reset: etape; }
.ck-form section > h2 { display: flex; align-items: center; gap: 12px; font-family: var(--police-titre); font-size: 1.7rem; margin-bottom: 14px; }
.ck-form section > h2::before { counter-increment: etape; content: counter(etape); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); background: var(--papier); font: 500 .8rem/1 var(--police-texte); flex: none; }
.ck-form section { border-top: 1px solid var(--filet); padding-top: 22px; }
.ck-form label { font-weight: 500; font-size: .88rem; }
.formulaire input:not([type="checkbox"]):not(.piege), .formulaire textarea, .formulaire select, .ck-form input:not([type="checkbox"]), .ck-form select { background: var(--papier); border-color: var(--bord); border-radius: var(--rayon); min-height: 48px; }
.formulaire input:focus, .formulaire textarea:focus, .formulaire select:focus, .ck-form input:focus, .ck-form select:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.ck-resume { background: var(--papier); border: 1px solid var(--filet); border-radius: 0; padding: 18px; }
.ck-resume h2 { font-family: var(--police-titre); font-size: 1.6rem; margin-bottom: 8px; }
.ck-ligne img { width: 64px; height: 64px; border-radius: 0; background: var(--fond); mix-blend-mode: multiply; }
.ck-ligne span { font-family: var(--police-titre); font-size: 1.15rem; line-height: 1.15; }
.ck-ligne small { font-size: .8rem; }
.ck-totaux { border-top-color: var(--filet); }
.ck-total strong { font-size: 1.25rem; font-weight: 500; }
.ck-securite { color: var(--olive); }
.ck-indisponible { background: var(--papier); border: 1px dashed var(--filet); border-radius: 0; }
.ck-cgv input { accent-color: var(--accent); }
.ck-cgv a { color: var(--accent); }
[data-payer] { min-height: 54px; }

/* ------------------------------------------------------------------ textes, formulaires, FAQ */
.legal { padding-top: 36px; }
.legal-entete { border-bottom: 1px solid var(--filet); padding-bottom: 18px; margin-bottom: 26px; }
.legal h1 { font-family: var(--police-titre); font-weight: 400; font-size: clamp(2.1rem, 8.2vw, 3.6rem); line-height: 1.05; overflow-wrap: normal; hyphens: manual; }
.legal h2 { font-family: var(--police-titre); font-weight: 400; font-size: 1.7rem; display: flex; align-items: baseline; gap: 12px; }
.legal h2::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--accent); box-shadow: inset 0 0 0 2.5px var(--fond), inset 0 0 0 6px var(--accent); transform: translateY(-2px); }
.legal h3 { font-weight: 600; font-size: 1.02rem; }
.legal a { color: var(--accent); }
.legal-intro { font-size: 1.08rem; color: var(--texte-doux); }
.legal ol { padding-left: 1.3em; margin-bottom: 1em; }
.legal ol li { margin-bottom: .4em; }
.legal ol li::marker { color: var(--accent); font-weight: 600; }
.legal table { background: var(--papier); }
.legal th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); font-weight: 500; }
.legal th, .legal td { border-bottom-color: var(--filet); }
.encadre { background: var(--papier); border-color: var(--filet); border-left: 3px solid var(--accent); border-radius: 0; }
.faq details { border-bottom-color: var(--filet); padding: 0; }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 58px; padding: 10px 0; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--accent); box-shadow: inset 0 0 0 3px var(--fond); transition: background-color .2s; }
.faq details[open] summary::after { background: var(--accent); }
.faq details div { padding: 0 0 16px; color: var(--texte-doux); }
.contact-infos h2, .formulaire h2 { font-family: var(--police-titre); font-weight: 400; font-size: 1.8rem; }
.contact-infos strong { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); font-weight: 500; }
.formulaire { background: var(--papier); border: 1px solid var(--filet); padding: 20px; }
.legal .formulaire { margin-top: 24px; }
.bouton-secondaire { border-color: var(--bord) !important; min-height: 48px; }
.form-message.ok { color: #3c5a2a; }
.newsletter-note { color: var(--texte-doux); }
.newsletter-note a { color: var(--texte); }
.a-completer { font-size: .9em; }

/* Confirmation et page introuvable */
.merci { padding-top: 72px; }
.merci h1 { font-family: var(--police-titre); font-weight: 400; font-size: clamp(2.4rem, 9vw, 3.8rem); }
.merci-note { color: var(--texte-doux); font-size: .92rem; }
.introuvable h1 { font-size: clamp(2.2rem, 8vw, 3.1rem); }
.introuvable-oeillet { width: 56px; height: 56px; color: var(--accent); margin: 0 auto 18px; }
