/* 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:"Pixelify Sans";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/pixelify-sans-400.woff2) format("woff2")}
@font-face{font-family:"Pixelify Sans";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/pixelify-sans-600.woff2) format("woff2")}
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/atkinson-hyperlegible-400.woff2) format("woff2")}
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/atkinson-hyperlegible-700.woff2) format("woff2")}

/* ==========================================================================
   Feldra — direction artistique
   Le site est l'écran d'un ordinateur des années 2000 : bureau lilas et ciel,
   fenêtres grises en relief, barres de titre bleues, boutons à biseau,
   rose bonbon pour tout ce qui fait acheter. Pixelify Sans pour l'interface,
   Atkinson Hyperlegible pour lire.
   ========================================================================== */
/* Dessins pixel en SVG : curseur, boutons de fenêtre, coche, étincelles du fond, flèche de liste. */
:root {
  --svg-curseur: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='34' shape-rendering='crispEdges'%3E%3Crect x='0' y='0' width='2' height='2' fill='%23141414'/%3E%3Crect x='0' y='2' width='4' height='2' fill='%23141414'/%3E%3Crect x='0' y='4' width='2' height='2' fill='%23141414'/%3E%3Crect x='2' y='4' width='2' height='2' fill='%23ff5fb4'/%3E%3Crect x='4' y='4' width='2' height='2' fill='%23141414'/%3E%3Crect x='0' y='6' width='2' height='2' fill='%23141414'/%3E%3Crect x='2' y='6' width='2' height='2' fill='%23ffc2e3'/%3E%3Crect x='4' y='6' width='2' height='2' fill='%23ff5fb4'/%3E%3Crect x='6' y='6' width='2' height='2' fill='%23141414'/%3E%3Crect x='0' y='8' width='2' height='2' fill='%23141414'/%3E%3Crect x='2' y='8' width='2' height='2' fill='%23ffc2e3'/%3E%3Crect x='4' y='8' width='4' height='2' fill='%23ff5fb4'/%3E%3Crect x='8' y='8' width='2' height='2' fill='%23141414'/%3E%3Crect x='0' y='10' width='2' height='2' fill='%23141414'/%3E%3Crect x='2' y='10' width='2' height='2' fill='%23ffc2e3'/%3E%3Crect x='4' y='10' width='6' height='2' fill='%23ff5fb4'/%3E%3Crect x='10' y='10' width='2' height='2' fill='%23141414'/%3E%3Crect x='0' y='12' width='2' height='2' fill='%23141414'/%3E%3Crect x='2' y='12' width='2' height='2' fill='%23ffc2e3'/%3E%3Crect x='4' y='12' width='8' height='2' fill='%23ff5fb4'/%3E%3Crect x='12' y='12' width='2' height='2' fill='%23141414'/%3E%3Crect x='0' y='14' width='2' height='2' fill='%23141414'/%3E%3Crect x='2' y='14' width='2' height='2' fill='%23ffc2e3'/%3E%3Crect x='4' y='14' width='10' height='2' fill='%23ff5fb4'/%3E%3Crect x='14' y='14' width='2' height='2' fill='%23141414'/%3E%3Crect x='0' y='16' width='2' height='2' fill='%23141414'/%3E%3Crect x='2' y='16' width='2' height='2' fill='%23ffc2e3'/%3E%3Crect x='4' y='16' width='12' height='2' fill='%23ff5fb4'/%3E%3Crect x='16' y='16' width='2' height='2' fill='%23141414'/%3E%3Crect x='0' y='18' width='2' height='2' fill='%23141414'/%3E%3Crect x='2' y='18' width='2' height='2' fill='%23ffc2e3'/%3E%3Crect x='4' y='18' width='14' height='2' fill='%23ff5fb4'/%3E%3Crect x='18' y='18' width='2' height='2' fill='%23141414'/%3E%3Crect x='0' y='20' width='2' height='2' fill='%23141414'/%3E%3Crect x='2' y='20' width='2' height='2' fill='%23ffc2e3'/%3E%3Crect x='4' y='20' width='8' height='2' fill='%23ff5fb4'/%3E%3Crect x='12' y='20' width='10' height='2' fill='%23141414'/%3E%3Crect x='0' y='22' width='2' height='2' fill='%23141414'/%3E%3Crect x='2' y='22' width='4' height='2' fill='%23ff5fb4'/%3E%3Crect x='6' y='22' width='2' height='2' fill='%23141414'/%3E%3Crect x='8' y='22' width='4' height='2' fill='%23ff5fb4'/%3E%3Crect x='12' y='22' width='2' height='2' fill='%23141414'/%3E%3Crect x='0' y='24' width='2' height='2' fill='%23141414'/%3E%3Crect x='2' y='24' width='2' height='2' fill='%23ff5fb4'/%3E%3Crect x='4' y='24' width='2' height='2' fill='%23141414'/%3E%3Crect x='8' y='24' width='2' height='2' fill='%23141414'/%3E%3Crect x='10' y='24' width='4' height='2' fill='%23ff5fb4'/%3E%3Crect x='14' y='24' width='2' height='2' fill='%23141414'/%3E%3Crect x='0' y='26' width='4' height='2' fill='%23141414'/%3E%3Crect x='8' y='26' width='2' height='2' fill='%23141414'/%3E%3Crect x='10' y='26' width='4' height='2' fill='%23ff5fb4'/%3E%3Crect x='14' y='26' width='2' height='2' fill='%23141414'/%3E%3Crect x='0' y='28' width='2' height='2' fill='%23141414'/%3E%3Crect x='10' y='28' width='2' height='2' fill='%23141414'/%3E%3Crect x='12' y='28' width='4' height='2' fill='%23ff5fb4'/%3E%3Crect x='16' y='28' width='2' height='2' fill='%23141414'/%3E%3Crect x='10' y='30' width='2' height='2' fill='%23141414'/%3E%3Crect x='12' y='30' width='4' height='2' fill='%23ff5fb4'/%3E%3Crect x='16' y='30' width='2' height='2' fill='%23141414'/%3E%3Crect x='12' y='32' width='4' height='2' fill='%23141414'/%3E%3C/svg%3E");
  --svg-ctrl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='20' shape-rendering='crispEdges'%3E%3Crect x='0' y='0' width='22' height='20' fill='%23141414'/%3E%3Crect x='0' y='0' width='21' height='19' fill='%23fff'/%3E%3Crect x='1' y='1' width='20' height='18' fill='%23808080'/%3E%3Crect x='1' y='1' width='19' height='17' fill='%23fff'/%3E%3Crect x='2' y='2' width='18' height='16' fill='%23d4d0c8'/%3E%3Crect x='6' y='13' width='8' height='2' fill='%23141414'/%3E%3Crect x='24' y='0' width='22' height='20' fill='%23141414'/%3E%3Crect x='24' y='0' width='21' height='19' fill='%23fff'/%3E%3Crect x='25' y='1' width='20' height='18' fill='%23808080'/%3E%3Crect x='25' y='1' width='19' height='17' fill='%23fff'/%3E%3Crect x='26' y='2' width='18' height='16' fill='%23d4d0c8'/%3E%3Crect x='29' y='4' width='12' height='3' fill='%23141414'/%3E%3Crect x='29' y='4' width='1' height='10' fill='%23141414'/%3E%3Crect x='40' y='4' width='1' height='10' fill='%23141414'/%3E%3Crect x='29' y='13' width='12' height='1' fill='%23141414'/%3E%3Crect x='48' y='0' width='22' height='20' fill='%23141414'/%3E%3Crect x='48' y='0' width='21' height='19' fill='%23ffd6ec'/%3E%3Crect x='49' y='1' width='20' height='18' fill='%23b52a78'/%3E%3Crect x='49' y='1' width='19' height='17' fill='%23ffd6ec'/%3E%3Crect x='50' y='2' width='18' height='16' fill='%23ff5fb4'/%3E%3Crect x='54' y='5' width='2' height='2' fill='%23141414'/%3E%3Crect x='62' y='5' width='2' height='2' fill='%23141414'/%3E%3Crect x='56' y='7' width='2' height='2' fill='%23141414'/%3E%3Crect x='60' y='7' width='2' height='2' fill='%23141414'/%3E%3Crect x='58' y='9' width='2' height='2' fill='%23141414'/%3E%3Crect x='58' y='9' width='2' height='2' fill='%23141414'/%3E%3Crect x='60' y='11' width='2' height='2' fill='%23141414'/%3E%3Crect x='56' y='11' width='2' height='2' fill='%23141414'/%3E%3Crect x='62' y='13' width='2' height='2' fill='%23141414'/%3E%3Crect x='54' y='13' width='2' height='2' fill='%23141414'/%3E%3C/svg%3E");
  --svg-coche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='20' shape-rendering='crispEdges'%3E%3Crect x='20' y='0' width='4' height='2' fill='%23141414'/%3E%3Crect x='18' y='2' width='2' height='2' fill='%23141414'/%3E%3Crect x='20' y='2' width='2' height='2' fill='%23ff5fb4'/%3E%3Crect x='22' y='2' width='2' height='2' fill='%23141414'/%3E%3Crect x='16' y='4' width='2' height='2' fill='%23141414'/%3E%3Crect x='18' y='4' width='4' height='2' fill='%23ff5fb4'/%3E%3Crect x='22' y='4' width='2' height='2' fill='%23141414'/%3E%3Crect x='4' y='6' width='2' height='2' fill='%23141414'/%3E%3Crect x='14' y='6' width='2' height='2' fill='%23141414'/%3E%3Crect x='16' y='6' width='4' height='2' fill='%23ff5fb4'/%3E%3Crect x='20' y='6' width='2' height='2' fill='%23141414'/%3E%3Crect x='2' y='8' width='2' height='2' fill='%23141414'/%3E%3Crect x='4' y='8' width='2' height='2' fill='%23ff5fb4'/%3E%3Crect x='6' y='8' width='2' height='2' fill='%23141414'/%3E%3Crect x='12' y='8' width='2' height='2' fill='%23141414'/%3E%3Crect x='14' y='8' width='4' height='2' fill='%23ff5fb4'/%3E%3Crect x='18' y='8' width='2' height='2' fill='%23141414'/%3E%3Crect x='0' y='10' width='2' height='2' fill='%23141414'/%3E%3Crect x='2' y='10' width='6' height='2' fill='%23ff5fb4'/%3E%3Crect x='8' y='10' width='4' height='2' fill='%23141414'/%3E%3Crect x='12' y='10' width='4' height='2' fill='%23ff5fb4'/%3E%3Crect x='16' y='10' width='2' height='2' fill='%23141414'/%3E%3Crect x='2' y='12' width='2' height='2' fill='%23141414'/%3E%3Crect x='4' y='12' width='10' height='2' fill='%23ff5fb4'/%3E%3Crect x='14' y='12' width='2' height='2' fill='%23141414'/%3E%3Crect x='4' y='14' width='2' height='2' fill='%23141414'/%3E%3Crect x='6' y='14' width='6' height='2' fill='%23ff5fb4'/%3E%3Crect x='12' y='14' width='2' height='2' fill='%23141414'/%3E%3Crect x='6' y='16' width='2' height='2' fill='%23141414'/%3E%3Crect x='8' y='16' width='2' height='2' fill='%23ff5fb4'/%3E%3Crect x='10' y='16' width='2' height='2' fill='%23141414'/%3E%3Crect x='8' y='18' width='2' height='2' fill='%23141414'/%3E%3C/svg%3E");
  --svg-etincelles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='320' shape-rendering='crispEdges'%3E%3Cg fill='%23fff' fill-opacity='.7'%3E%3Crect x='40' y='30' width='2' height='14'/%3E%3Crect x='34' y='36' width='14' height='2'/%3E%3Crect x='210' y='111' width='3' height='21'/%3E%3Crect x='201' y='120' width='21' height='3'/%3E%3Crect x='96' y='244' width='2' height='14'/%3E%3Crect x='90' y='250' width='14' height='2'/%3E%3C/g%3E%3C/svg%3E");
  --svg-fleche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' shape-rendering='crispEdges'%3E%3Crect x='0' y='0' width='10' height='2' fill='%23141414'/%3E%3Crect x='2' y='2' width='6' height='2' fill='%23141414'/%3E%3Crect x='4' y='4' width='2' height='2' fill='%23141414'/%3E%3C/svg%3E");
}

:root {
  --fond: #f4f5f8; --fond-2: #ece9f6; --texte: #141414; --texte-doux: #45435a;
  --accent: #ff5fb4; --accent-texte: #141414; --bord: #9c98ad; --rayon: 0px;
  --police-titre: "Pixelify Sans", "Courier New", monospace;
  --police-texte: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lilas: #d9ccff; --ciel: #bfe3ff; --gris: #d4d0c8; --bleu-1: #0a3fa8; --bleu-2: #4c86f0;
  --rose-fonce: #b8277b; --trait: #c4c1cf;
  --barre: 56px;
  --relief: inset -1px -1px #0a0a0a, inset 1px 1px #ffffff, inset -2px -2px #808080, inset 2px 2px #e8e6ee;
  --enfonce: inset 1px 1px #0a0a0a, inset -1px -1px #ffffff, inset 2px 2px #808080, inset -2px -2px #e8e6ee;
  --creux: inset 1px 1px #808080, inset -1px -1px #ffffff, inset 2px 2px #0a0a0a, inset -2px -2px #e8e6ee;
  --cadre: inset -1px -1px #0a0a0a, inset 1px 1px #e8e6ee, inset -2px -2px #808080, inset 2px 2px #ffffff;
  --relief-rose: inset -1px -1px #141414, inset 1px 1px #ffd6ec, inset -2px -2px #b52a78, inset 2px 2px #ffa6d6;
  --brillant-rose: linear-gradient(#ff8fcb, #ff63b6 46%, #f24aa6 54%, #ff6dbb);
  --titre: linear-gradient(90deg, #0a3fa8, #4c86f0);
  --trame: repeating-conic-gradient(#ffffff 0 25%, #dcd8e6 0 50%) 0 0 / 2px 2px;
  --ombre: 5px 5px 0 rgba(48, 28, 110, .17);
}

/* ------------------------------------------------------------------ base */
html { background: var(--lilas); }
/* Pixelify Sans 400 dessine la ligature « fi » comme un A (« conAdentialite.txt ») : pas de ligatures. */
*, *::before, *::after { font-variant-ligatures: none; }
body {
  background: transparent; font-size: 17px; line-height: 1.55; min-height: 100vh;
  padding-bottom: calc(var(--barre) + env(safe-area-inset-bottom));
  cursor: var(--svg-curseur) 0 0, auto;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    var(--svg-etincelles) 0 0 / 280px 320px,
    radial-gradient(rgba(255, 255, 255, .42) 1px, transparent 1.6px) 0 0 / 10px 10px,
    linear-gradient(165deg, #d9ccff 0%, #cfd6ff 48%, #bfe3ff 100%);
}
a { color: var(--bleu-1); text-underline-offset: 2px; }
::selection { background: var(--bleu-1); color: #fff; }
:focus-visible { outline: 2px dashed var(--bleu-1); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--police-titre); font-weight: 600; letter-spacing: .005em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg.ico { display: inline-block; flex: none; vertical-align: middle; }
main { display: block; }

/* --------------------------------------------------------------- boutons */
.bouton-gris, .bouton-rose, .bouton, .achat-bouton, .tiroir-commander, [data-payer], .barre-achat button,
.formulaire button[type="submit"], .formulaire [data-confirmer], .bouton-secondaire, .newsletter button, .panier-vide a, .consent button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto;
  min-height: 44px; padding: 9px 16px; border: 0; border-radius: 0;
  background: var(--gris); box-shadow: var(--relief); color: var(--texte);
  font-family: var(--police-titre); font-size: 17px; font-weight: 400; line-height: 1.15; letter-spacing: .02em;
  text-align: center; text-decoration: none; cursor: pointer;
}
.bouton-rose, .bouton, .achat-bouton, .tiroir-commander, [data-payer], .barre-achat button, .formulaire button[type="submit"], .formulaire [data-confirmer] {
  background: var(--brillant-rose); box-shadow: var(--relief-rose); color: var(--texte);
}
.bouton-gris:active, .bouton-rose:active, .bouton:active, .achat-bouton:active, .tiroir-commander:active, [data-payer]:active,
.barre-achat button:active, .formulaire button[type="submit"]:active, .newsletter button:active, .panier-vide a:active {
  box-shadow: var(--enfonce); padding-top: 10px; padding-bottom: 8px;
}
.bouton-gris:hover, .newsletter button:hover, .panier-vide a:hover { background: #dedbd3; }
.bouton-rose:hover, .achat-bouton:hover, .tiroir-commander:hover, .barre-achat button:hover, [data-payer]:hover:not(:disabled) { background: linear-gradient(#ffa3d5, #ff74bf 46%, #f65cb0 54%, #ff7dc4); }
[data-payer]:disabled { background: var(--gris); box-shadow: var(--relief); color: #5d5b66; opacity: 1; }
.bouton-secondaire { background: var(--gris) !important; box-shadow: var(--relief); border: 0 !important; color: var(--texte) !important; }

/* -------------------------------------------------------------- fenêtres */
.fenetre { position: relative; background: var(--fond); box-shadow: var(--cadre), var(--ombre); padding: 3px; }
.fen-titre {
  display: flex; align-items: center; gap: 6px; min-height: 30px; padding: 3px 3px 3px 6px;
  background: var(--titre); color: #fff; font-family: var(--police-titre); font-size: 15px; line-height: 1.2;
}
.fen-ico { width: 16px; height: 16px; }
.fen-nom { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fen-ctrl { display: flex; gap: 2px; flex: none; }
.ctrl { position: relative; width: 22px; height: 20px; background: var(--gris); box-shadow: var(--relief); }
.ctrl-min::before { content: ""; position: absolute; left: 6px; bottom: 5px; width: 8px; height: 2px; background: var(--texte); }
.ctrl-max::before { content: ""; position: absolute; left: 5px; top: 4px; width: 12px; height: 10px; border: 1px solid var(--texte); border-top-width: 3px; }
.ctrl-x { margin-left: 2px; background: var(--accent); box-shadow: var(--relief-rose); }
.ctrl-x::before, .ctrl-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--texte); transform: translate(-50%, -50%) rotate(45deg); }
.ctrl-x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.fen-menu { display: flex; gap: 14px; overflow: hidden; white-space: nowrap; padding: 4px 8px; font-size: 14px; border-bottom: 1px solid var(--trait); }
.fen-menu span::first-letter { text-decoration: underline; }
.fen-adresse { display: flex; align-items: center; gap: 8px; padding: 4px 6px; font-size: 14px; border-bottom: 1px solid var(--trait); }
.adresse-etiquette { color: var(--texte-doux); flex: none; }
.adresse-champ {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 2px; min-height: 36px; padding: 2px 8px;
  background: #fff; box-shadow: var(--creux); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.adresse-champ svg { margin-right: 6px; }
.adresse-champ a { padding: 6px 1px; }
.adresse-champ > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.fen-statut { display: flex; gap: 3px; padding: 3px 1px 1px; font-size: 13px; }
.fen-statut > * { flex: 1 1 auto; min-width: 0; padding: 3px 8px; box-shadow: inset 1px 1px #808080, inset -1px -1px #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fen-statut a { color: var(--bleu-1); }
.statut-large { display: none; }
.fen-corps { padding: 16px 12px; }
.bloc-tete h2 { font-size: clamp(27px, 7vw, 36px); line-height: 1.05; margin-bottom: 6px; }
.bloc-tete p { color: var(--texte-doux); margin: 0 0 14px; max-width: 62ch; }

/* ------------------------------------------------------------------ logo */
.logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--texte); text-decoration: none; }
/* Le C est « sélectionné » (blanc sur bleu) : la flèche rose vient de cliquer dessus. */
.logo-mot { position: relative; display: inline-block; padding: 0 2px .5em 0; font-family: var(--police-titre); font-weight: 600; font-size: 28px; line-height: 1; letter-spacing: .01em; }
.logo-c { display: inline-block; margin-right: .04em; padding: 0 .06em; background: var(--bleu-1); color: #fff; }
.logo-curseur {
  position: absolute; left: .43em; top: .72em; width: .56em; height: .784em; z-index: 1;
  filter: drop-shadow(1px 0 #fff) drop-shadow(-1px 0 #fff) drop-shadow(0 1px #fff) drop-shadow(0 -1px #fff);
}

/* ------------------------------------------------------- barre des tâches */
.haut-mobile { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 12px 2px; }
.haut-promesse {
  display: flex; align-items: center; gap: 6px; margin: 0; padding: 5px 9px; font-size: 13px; line-height: 1.2;
  background: rgba(255, 255, 255, .7); box-shadow: inset 1px 1px #fff, inset -1px -1px var(--bord), 2px 2px 0 rgba(48, 28, 110, .12);
}
.barre-taches {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 6px;
  height: calc(var(--barre) + env(safe-area-inset-bottom)); padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: linear-gradient(#f9f8fc, #dfdce7 38%, #cdc9d6); border-top: 1px solid #fff; box-shadow: 0 -1px 0 #8f8aa6;
}
html.menu-ouvert .barre-taches { z-index: 62; }
.demarrer {
  display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 13px 0 9px; border: 0; flex: none;
  background: var(--brillant-rose); box-shadow: var(--relief-rose); color: var(--texte);
  font-family: var(--police-titre); font-weight: 600; font-size: 17px;
}
.demarrer svg { width: 11px; height: 17px; }
.demarrer[aria-expanded="true"] { box-shadow: inset 1px 1px #141414, inset -1px -1px #ffd6ec, inset 2px 2px #b52a78; padding-top: 2px; }
.barre-logo, .taches { display: none; }
.barre-chercher {
  flex: 1; min-width: 0; height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 0;
  background: #fff; box-shadow: var(--creux); color: var(--texte-doux); font-size: 15px; text-align: left; white-space: nowrap; overflow: hidden;
}
.barre-chercher svg { width: 14px; height: 12px; }
.zone-notif { display: flex; align-items: center; height: 44px; padding: 0 2px; flex: none; box-shadow: inset 1px 1px #8f8aa6, inset -1px -1px #fff; }
.barre-panier { display: flex; align-items: center; justify-content: center; gap: 5px; width: 54px; height: 44px; padding: 0; border: 0; background: none; color: var(--texte); }
.barre-panier svg { width: 14px; height: 14px; }
.compteur {
  display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 4px;
  background: var(--accent); box-shadow: 0 0 0 1px var(--texte); font-family: var(--police-titre); font-size: 13px; line-height: 1;
}
.compteur[data-n="0"] { background: #fff; }
.horloge { font-family: var(--police-titre); font-size: 14px; min-width: 44px; padding: 0 6px 0 2px; text-align: center; }
@media (max-width: 359px) { .horloge { display: none; } .demarrer { padding: 0 9px; } }

/* --------------------------------------------------------- menu Démarrer */
.menu-demarrer {
  position: fixed; z-index: 66; left: 4px; bottom: calc(var(--barre) + env(safe-area-inset-bottom) + 2px);
  display: flex; width: min(330px, calc(100vw - 8px)); max-height: calc(100vh - var(--barre) - 20px); overflow-y: auto;
  background: var(--fond); box-shadow: var(--cadre), var(--ombre); padding: 3px;
  opacity: 0; transform: translateY(14px); transition: opacity .14s linear, transform .18s steps(4);
}
.menu-demarrer.ouvert { opacity: 1; transform: none; }
.menu-bande { flex: 0 0 34px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12px; background: linear-gradient(0deg, #0a3fa8, #4c86f0 58%, #ff5fb4); }
.menu-bande span { writing-mode: vertical-rl; transform: rotate(180deg); color: #fff; font-family: var(--police-titre); font-weight: 600; font-size: 25px; letter-spacing: .05em; }
.menu-contenu { flex: 1; min-width: 0; padding: 2px 0; }
.menu-titre { margin: 0; padding: 8px 12px 9px; font-family: var(--police-titre); font-size: 14px; color: var(--texte-doux); border-bottom: 1px solid var(--trait); }
.menu-liste { padding: 4px 0; }
.menu-liste a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 4px 12px; color: var(--texte); text-decoration: none; font-family: var(--police-titre); font-size: 19px; }
.menu-liste a svg { width: 40px; height: 32px; object-fit: contain; }
.menu-liste a:hover, .menu-liste a:focus-visible { background: var(--bleu-1); color: #fff; outline: 0; }
.menu-petit { border-top: 1px solid var(--bord); box-shadow: inset 0 1px #fff; }
.menu-petit a { min-height: 44px; font-size: 16px; }
.menu-petit a svg { width: 32px; height: 26px; }
.menu-bas { display: flex; justify-content: flex-end; padding: 8px 10px 6px; border-top: 1px solid var(--trait); }
.menu-bas .bouton-gris { font-size: 15px; }

/* ---------------------------------------------------------- pied de page */
.pied { padding: 30px 10px 22px; }
.fen-apropos { max-width: 1200px; margin: 0 auto; }
.pied-corps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 16px; padding: 18px 12px 8px; }
.pied-marque, .pied-courrier { grid-column: 1 / -1; }
.logo-pied .logo-mot { font-size: 36px; }
.pied-marque p { margin-bottom: 8px; color: var(--texte-doux); font-size: 15px; }
.pied-marque .pied-version { font-family: var(--police-titre); color: var(--texte); font-size: 17px; }
.pied-mail { color: var(--texte) !important; }
.pied-groupe h2 { font-size: 19px; margin-bottom: 4px; padding-bottom: 6px; border-bottom: 1px solid var(--trait); }
.pied-groupe ul a { display: block; padding: 9px 0; font-size: 16px; }
.pied-groupe p { font-size: 15px; color: var(--texte-doux); }
.newsletter { display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter input[type="email"] { flex: 1 1 170px; min-width: 0; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 0; background: #fff; box-shadow: var(--creux); font-size: 16px; }
.newsletter .form-message, .newsletter .newsletter-note { flex-basis: 100%; }
.pied-legal { margin: 10px 3px 0; padding: 12px 12px 8px; border-top: 1px solid var(--trait); color: var(--texte-doux); font-size: 13px; }
.pied-legal-coord a, .pied-legal-liens a { color: var(--bleu-1); }
.pied-legal-liens a { display: inline-block; padding: 8px 0; }
.logos-paiement { gap: 8px; }
.logos-paiement svg { width: 46px; height: 29px; }
.pied-leger { max-width: 1000px; margin: 0 auto; padding: 24px 14px 30px; }
.pied-leger-liens { display: flex; flex-wrap: wrap; gap: 0 18px; font-size: 14px; margin-bottom: 8px; }
.pied-leger-liens a { display: inline-block; padding: 10px 0; }
.pied-leger .pied-legal { margin: 0; padding: 12px; background: var(--fond); box-shadow: var(--cadre); }

/* -------------------------------------------------------------- accueil */
.bureau { padding: 4px 12px 0; }
.icones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; margin-bottom: 8px; }
.icone { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 44px; padding: 4px 2px; color: var(--texte); text-decoration: none; }
.icone-img { width: 48px; height: 38px; }
.icone span { font-family: var(--police-titre); font-size: 14px; line-height: 1.15; text-align: center; padding: 1px 3px; letter-spacing: -.01em; }
.icone:hover span, .icone:focus-visible span { background: var(--bleu-1); color: #fff; }
.icone:focus-visible { outline: 1px dotted var(--texte); outline-offset: 0; }
.icone-plus { display: none; }
.fen-accueil { animation: ouvrir .34s cubic-bezier(.2, .9, .3, 1.15) both; transform-origin: 30% 0; }
@keyframes ouvrir { from { transform: scale(.84); opacity: .25; } to { transform: none; opacity: 1; } }
.accueil-photo { position: relative; margin: 3px 0 0; background: #fff; box-shadow: var(--creux); padding: 3px; }
.accueil-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 30%; }
.accueil-photo figcaption span {
  position: absolute; padding: 3px 7px; background: #fff; box-shadow: 0 0 0 1px var(--texte), 2px 2px 0 var(--texte);
  font-family: var(--police-titre); font-size: 13px; line-height: 1.2; pointer-events: none;
}
.accueil-photo figcaption span:first-child { right: 8%; top: 31%; }
.accueil-photo figcaption span:last-child { left: 6%; top: 72%; }
.accueil-photo figcaption span::before { content: ""; position: absolute; width: 9px; height: 9px; background: var(--accent); box-shadow: 0 0 0 1px var(--texte); top: 50%; transform: translateY(-50%); }
.accueil-photo figcaption span:first-child::before { left: -16px; }
.accueil-photo figcaption span:last-child::before { right: -16px; }
.accueil-texte { padding: 14px 12px 12px; }
.accueil-texte h1 { font-size: clamp(28px, 7.6vw, 46px); line-height: 1.04; margin-bottom: 8px; }
.accueil-texte h1 span { color: var(--rose-fonce); }
.accueil-promesse { font-size: 17px; margin-bottom: 12px; }
.accueil-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.accueil-actions .bouton-rose { flex: 1 1 auto; font-size: 19px; min-height: 50px; }
.accueil-actions .bouton-gris { display: none; }
.accueil-garanties { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 10px; font-size: 14px; }
.accueil-garanties li, .infos-promesses li { display: flex; align-items: center; gap: 6px; }
.accueil-garanties li::before, .infos-promesses li::before { content: ""; flex: none; width: 12px; height: 10px; background: var(--svg-coche) center / contain no-repeat; }

.bureau-suite { display: grid; gap: 22px; max-width: 1200px; margin: 0 auto; padding: 22px 12px 0; }
.bureau-duo, .bureau-colonne { display: grid; gap: 22px; align-items: start; }

/* Mes images */
.vignettes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; padding: 12px 10px; background: #fff; box-shadow: var(--creux); }
.vignette { display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--texte); text-decoration: none; }
.vignette-cadre { display: block; width: 100%; padding: 4px; background: #fff; border: 1px solid var(--trait); }
.vignette-cadre img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.vignette-nom { font-family: var(--police-titre); font-size: 14px; line-height: 1.2; text-align: center; overflow-wrap: anywhere; padding: 1px 4px; }
.vignette-prix { font-size: 14px; line-height: 1.3; color: var(--texte-doux); text-align: center; }
.vignette-prix b { display: block; margin-top: 2px; font-family: var(--police-titre); font-weight: 400; font-size: 16px; color: var(--texte); }
.vignette:hover .vignette-nom, .vignette:focus-visible .vignette-nom { background: var(--bleu-1); color: #fff; }
.vignette:hover .vignette-cadre, .vignette:focus-visible .vignette-cadre { border-color: var(--bleu-2); box-shadow: 0 0 0 2px var(--bleu-2); }
.vignette:focus-visible { outline: 0; }

/* Composer ton look (Paint) */
.paint { display: flex; }
.paint-outils { display: none; }
.paint-zone { flex: 1; min-width: 0; padding: 16px 12px 12px; }
.looks { display: flex; flex-direction: column; }
.look { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px; background: #fff; box-shadow: var(--creux); }
#look-0:checked ~ .look-0, #look-1:checked ~ .look-1, #look-2:checked ~ .look-2, #look-3:checked ~ .look-3 { display: grid; }
.look-case { display: flex; flex-direction: column; gap: 3px; padding: 5px; border: 1px dashed var(--bord); color: var(--texte); text-decoration: none; }
.look-case:hover { border-color: var(--bleu-1); background: #f3f0ff; }
.look-etiquette { font-family: var(--police-titre); font-size: 13px; color: var(--texte-doux); }
.look-image img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.look-nom { font-size: 14px; font-weight: 700; line-height: 1.2; }
.look-prix { font-family: var(--police-titre); font-size: 15px; }
.look-total { grid-column: 1 / -1; margin: 4px 0 0; font-size: 15px; }
.look-total strong { font-family: var(--police-titre); font-weight: 400; font-size: 18px; }
.palette { order: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.palette label { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 4px 11px 4px 5px; background: var(--gris); box-shadow: var(--relief); font-family: var(--police-titre); font-size: 15px; cursor: pointer; }
.palette i { display: block; width: 28px; height: 28px; box-shadow: var(--creux); }
#look-0:checked ~ .palette .palette-0, #look-1:checked ~ .palette .palette-1, #look-2:checked ~ .palette .palette-2, #look-3:checked ~ .palette .palette-3 { background: var(--trame); box-shadow: var(--enfonce); }
#look-0:focus-visible ~ .palette .palette-0, #look-1:focus-visible ~ .palette .palette-1, #look-2:focus-visible ~ .palette .palette-2, #look-3:focus-visible ~ .palette .palette-3 { outline: 2px dashed var(--bleu-1); outline-offset: 2px; }

/* Téléchargement */
.telech-tete { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.telech-ico { width: 42px; height: 42px; }
.telech-tete h2 { font-size: 23px; line-height: 1.1; margin: 0 0 2px; }
.telech-tete p { margin: 0; font-size: 14px; color: var(--texte-doux); }
.telech-barre { height: 24px; padding: 3px; margin-bottom: 14px; background: #fff; box-shadow: var(--creux); }
.telech-barre span { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--bleu-1) 0 11px, transparent 11px 13px); animation: charger 2.6s steps(16) .3s both; }
@keyframes charger { from { width: 0; } to { width: 100%; } }
.etapes { display: grid; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.etapes li { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 8px; font-size: 15px; line-height: 1.35; }
.etapes li::before { content: ""; grid-row: 1 / 3; width: 18px; height: 18px; margin-top: 1px; background: #fff var(--svg-coche) center / 12px 10px no-repeat; box-shadow: var(--creux); }
.etape-nom { font-family: var(--police-titre); color: var(--texte-doux); font-size: 14px; }
.telech-boutons { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

/* Pense-bête */
.postit {
  position: relative; max-width: 440px; width: calc(100% - 20px); margin: 6px auto 8px; padding: 24px 18px 16px;
  background: linear-gradient(#fff7b8, #ffee86); transform: rotate(-1.6deg);
  box-shadow: 2px 3px 0 rgba(20, 20, 20, .14), 0 14px 18px -12px rgba(80, 60, 0, .4);
}
.postit::before { content: ""; position: absolute; top: -11px; left: 50%; width: 96px; height: 24px; transform: translateX(-50%) rotate(2.5deg); background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px rgba(20, 20, 20, .08); }
.postit h2 { font-size: 27px; margin-bottom: 8px; }
.postit ul { display: grid; gap: 7px; font-size: 16px; }
.postit li { position: relative; padding-left: 18px; }
.postit li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; background: var(--accent); box-shadow: 0 0 0 1px var(--texte); }
.postit a { color: var(--texte); font-weight: 700; }

/* ------------------------------------------------- explorateur et cartes */
.page-explorateur, .page-fiche, .page-fenetre, .page-erreur { max-width: 1240px; margin: 0 auto; padding: 8px 8px 0; }
.fen-outils { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 4px 6px; border-bottom: 1px solid var(--trait); }
.outil { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 10px; color: var(--texte); text-decoration: none; font-family: var(--police-titre); font-size: 16px; }
.outil svg { width: 20px; height: 14px; }
.outil:hover { box-shadow: var(--relief); }
.outil-tri { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.outil-tri select {
  min-height: 40px; padding: 4px 34px 4px 8px; border: 0; border-radius: 0; font-size: 16px; color: var(--texte);
  -webkit-appearance: none; appearance: none; box-shadow: var(--creux);
  background: var(--svg-fleche) right 9px center / 10px 6px no-repeat, linear-gradient(var(--gris), var(--gris)) right 2px center / 26px calc(100% - 4px) no-repeat, #fff;
}
.explorateur { background: #fff; }
.volet { display: none; }
.explo-principal { padding: 14px 10px 18px; }
.explo-tete h1 { font-size: clamp(34px, 9vw, 50px); line-height: 1; margin-bottom: 6px; }
.explo-tete p { color: var(--texte-doux); margin-bottom: 12px; max-width: 62ch; }
.dossiers-puces { overflow-x: auto; margin: 0 -10px 10px; padding: 2px 10px 6px; scrollbar-width: none; }
.dossiers-puces ul { display: flex; gap: 6px; width: max-content; }
.dossiers-puces a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px; background: var(--gris); box-shadow: var(--relief); color: var(--texte); text-decoration: none; font-family: var(--police-titre); font-size: 16px; }
.dossiers-puces a[aria-current] { background: var(--trame); box-shadow: var(--enfonce); }
/* Les filtres sont des boutons d'option, à ne pas confondre avec les dossiers. */
.filtres { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; margin: 0 0 12px; padding: 2px 8px; border: 1px solid var(--bord); box-shadow: inset 1px 1px #fff; }
.filtres-titre { font-size: 14px; color: var(--texte-doux); margin-right: 4px; }
.filtre { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 8px 0 4px; border: 0; background: none; color: var(--texte); font-size: 15px; }
.filtre::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 1px 1px #808080, inset -1px -1px #fff, inset 2px 2px #0a0a0a; }
.filtre.actif::before { background: radial-gradient(circle, var(--texte) 0 2.5px, #fff 3px); }
.filtre.actif { font-weight: 700; }
.grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
.carte { position: relative; display: flex; flex-direction: column; padding: 3px; background: var(--fond); box-shadow: var(--cadre), 3px 3px 0 rgba(48, 28, 110, .12); }
.carte-titre { display: flex; align-items: center; gap: 4px; height: 22px; padding: 0 3px 0 4px; background: var(--titre); color: #fff; font-family: var(--police-titre); font-size: 12px; }
.carte-ico { width: 12px; height: 13px; }
.carte-fichier { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.carte-ctrl { display: flex; gap: 2px; }
.carte-ctrl i { display: block; width: 14px; height: 13px; background: var(--gris); box-shadow: var(--relief); }
.carte-ctrl i:last-child { background: var(--accent); box-shadow: var(--relief-rose); }
.carte-ctrl i:not(:last-child) { display: none; }
.carte-lien { display: block; padding: 5px 4px 0; color: var(--texte); text-decoration: none; }
.carte-image { display: block; padding: 2px; background: #fff; box-shadow: var(--creux); }
.carte-image img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.carte-nom { margin: 8px 2px 0; font-family: var(--police-texte); font-weight: 700; font-size: 15px; line-height: 1.25; }
.carte-lien:hover .carte-nom { text-decoration: underline; }
.carte-bas { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding: 8px 4px 4px; }
.carte-prix { font-family: var(--police-titre); font-size: 17px; white-space: nowrap; }
.carte-ajout summary, .carte-bouton { min-height: 44px; padding: 6px 11px; font-size: 15px; list-style: none; }
.carte-ajout summary::-webkit-details-marker { display: none; }
.carte-ajout[open] summary { box-shadow: var(--enfonce); background: var(--trame); }
.carte-tailles { position: absolute; left: 3px; right: 3px; bottom: 58px; z-index: 5; padding: 0 0 9px; background: var(--fond); box-shadow: var(--cadre), 4px 4px 0 rgba(20, 20, 20, .2); }
.carte-tailles-titre { margin: 0 0 8px; padding: 3px 7px; background: var(--titre); color: #fff; font-family: var(--police-titre); font-size: 14px; }
.carte-tailles-choix { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 8px; }
.carte-tailles-choix .bouton-gris { min-width: 44px; padding: 6px 7px; font-size: 15px; }
.grille-vide { padding: 22px 0 8px; }
.dialogue { max-width: 460px; margin: 0 auto; }
.dialogue-corps { display: flex; align-items: center; gap: 14px; padding: 18px 14px; }
.dialogue-corps p { margin: 0; }
.dialogue-ico { width: 42px; height: 36px; }
.dialogue-boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 14px 14px; }

/* ------------------------------------------------------- fiche produit */
.fil { margin-bottom: 10px; background: var(--fond); box-shadow: var(--cadre); padding: 4px 6px; }
.galerie { position: relative; margin: 3px 0 0; padding: 4px; background: #fff; box-shadow: var(--creux); }
.galerie-liste { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.galerie-liste::-webkit-scrollbar { display: none; }
.galerie-liste li { flex: 0 0 74%; scroll-snap-align: start; }
.galerie-liste img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.galerie-compte { position: absolute; right: 12px; bottom: 12px; margin: 0; padding: 2px 8px; background: var(--fond); box-shadow: var(--relief); font-family: var(--police-titre); font-size: 13px; }
.infos { padding: 14px 10px 12px; }
.infos-tete { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--trait); }
.infos-ico { width: 36px; height: 39px; margin-top: 2px; }
.infos h1 { font-size: clamp(29px, 7.6vw, 42px); line-height: 1.04; margin: 0 0 4px; }
.infos-fichier { margin: 0; font-size: 14px; color: var(--texte-doux); overflow-wrap: anywhere; }
.infos-prix { margin: 0 0 4px; font-family: var(--police-titre); font-size: 30px; line-height: 1.2; }
.infos-prix small { font-size: 14px; color: var(--texte-doux); }
.infos-resume { margin-bottom: 14px; }
.onglets { position: relative; z-index: 1; display: flex; padding-left: 3px; }
.onglets [role="tab"] {
  min-height: 44px; margin-top: 4px; padding: 6px 15px; border: 0; background: var(--gris); color: var(--texte);
  box-shadow: inset 1px 1px #fff, inset -1px 0 #0a0a0a, inset -2px 0 #808080; font-family: var(--police-titre); font-size: 16px;
}
.onglets [role="tab"][aria-selected="true"] { margin-top: 0; margin-bottom: -2px; padding-bottom: 10px; background: var(--fond); box-shadow: inset 1px 1px #fff, inset 2px 2px #e8e6ee, inset -1px 0 #0a0a0a, inset -2px 0 #808080; }
.onglet-panneau { min-height: 150px; padding: 16px 14px; background: var(--fond); box-shadow: var(--cadre); }
.onglet-panneau > p:last-child { margin-bottom: 0; }
.achat-option legend { font-family: var(--police-titre); font-size: 18px; font-weight: 400; margin-bottom: 10px; }
.achat-choix { gap: 7px; }
.achat-choix span { display: flex; align-items: center; justify-content: center; min-width: 54px; min-height: 46px; border: 0; border-radius: 0; background: #fff; box-shadow: var(--creux); font-family: var(--police-titre); font-size: 18px; }
.achat-choix input:checked + span { background: var(--accent); color: var(--texte); box-shadow: var(--enfonce); }
.achat-choix input:focus-visible + span { outline: 2px dashed var(--bleu-1); }
.conseil { margin: 12px 0 0; font-size: 15px; color: var(--texte-doux); }
.lien-guide { margin: 4px 0 0; }
.lien-guide a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.taille-unique { font-family: var(--police-titre); font-size: 17px; }
.proprietes-liste { margin: 12px 0 0; }
.proprietes-liste > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dotted var(--bord); font-size: 15px; }
.proprietes-liste dt { color: var(--texte-doux); }
.proprietes-liste dd { margin: 0; text-align: right; font-weight: 700; }
.details-liste { margin: 0 0 12px; padding-left: 0; }
.details-liste li { position: relative; padding: 2px 0 2px 18px; }
.details-liste li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--accent); box-shadow: 0 0 0 1px var(--texte); }
.fiche-infos > div { border-bottom: 1px dotted var(--bord); font-size: 15px; }
.achat-erreur { margin: 10px 0 0; padding: 9px 10px; background: #fff; box-shadow: var(--creux); color: #a01c4d; font-weight: 700; }
.proprietes-boutons { padding: 12px 0 0; }
.achat-proprietes .achat-bouton { display: flex; width: 100%; min-height: 54px; font-size: 20px; }
.infos-promesses { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: 14px; }
.conformite { margin-top: 14px; padding: 0 10px; background: var(--fond); box-shadow: var(--cadre); font-size: 14px; }
.conformite summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; font-family: var(--police-titre); font-size: 15px; }
.conformite[open] { padding-bottom: 10px; }
.fen-avec { margin-top: 20px; }
.grille-avec .carte-nom { font-size: 14px; }
@media (max-width: 899px) {
  .grille-avec { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -12px; padding: 0 12px 8px; }
  .grille-avec .carte { flex: 0 0 min(46%, 240px); scroll-snap-align: start; }
}

/* En-tête allégé de la page de commande */
.barre-legere {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 10px;
  background: linear-gradient(#f9f8fc, #dfdce7 38%, #cdc9d6); border-bottom: 1px solid #fff; box-shadow: 0 1px 0 #8f8aa6;
}
.barre-legere .logo-mot { font-size: 24px; }
.barre-retour { font-size: 15px; padding: 6px 12px; }
.barre-retour svg { width: 20px; height: 14px; }
body.page-commander { padding-top: 0; padding-bottom: 0; }

/* Barre d'achat mobile : posée sur la barre des tâches, jamais dessous.
   Elle suit le bouton d'achat lui-même (classe .montre posée par site.js),
   pas le formulaire entier, qui commence souvent dès le premier écran. */
.barre-achat { bottom: calc(var(--barre) + env(safe-area-inset-bottom)); padding: 8px 10px; background: var(--fond); border-top: 0; box-shadow: 0 -1px 0 #fff, 0 -2px 0 var(--bord), 0 -6px 0 rgba(48, 28, 110, .1); }
.barre-achat.suivie, .barre-achat.suivie.visible { transform: translateY(110%); }
.barre-achat.suivie.montre { transform: none; }
.barre-achat-texte span { font-weight: 700; }
.barre-achat-texte strong { font-family: var(--police-titre); font-weight: 400; font-size: 17px; }
.barre-achat button { min-height: 46px; padding: 0 18px; }
@media (max-width: 899px) { body.page-produit { padding-bottom: calc(var(--barre) + 74px + env(safe-area-inset-bottom)); } }

/* ------------------------------------------------- pages texte et légales */
.page-fenetre { max-width: 900px; }
.fen-papier { margin: 3px 0 0; padding: 20px 16px 26px; background: #fff; box-shadow: var(--creux); }
.fen-papier.legal { max-width: none; margin: 3px 0 0; padding: 22px 16px 28px; }
.legal-entete { margin-bottom: 8px; }
.legal h1, .histoire-texte h1 { font-size: clamp(31px, 8vw, 46px); line-height: 1.04; }
.legal h2, .histoire-texte h2 { display: flex; align-items: baseline; gap: 10px; font-size: 21px; line-height: 1.2; margin-top: 1.8em; }
.legal h2::before, .histoire-texte h2::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--accent); box-shadow: 0 0 0 1px var(--texte); transform: translateY(-2px); }
.legal h3 { font-size: 18px; }
.legal-intro { font-size: 18px; color: var(--texte-doux); }
.legal li::marker { color: var(--rose-fonce); }
.legal table { font-size: 14px; }
.legal th, .legal td { padding: 8px 6px; }
.legal th { font-size: 13px; }
.legal th { background: var(--gris); font-family: var(--police-titre); font-weight: 400; box-shadow: var(--relief); }
.legal td, .legal th { border-bottom: 1px solid var(--trait); }
.encadre { border: 1px solid var(--texte); border-radius: 0; background: #fffbe0; box-shadow: 3px 3px 0 rgba(20, 20, 20, .14); }
.legal-mise-a-jour { color: var(--texte-doux); }

/* FAQ : une arborescence d'aide, + et − comme dans l'Explorateur */
.faq details { padding: 0; border-bottom: 1px dotted var(--bord); }
.faq summary { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 11px 0; list-style: none; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; flex: none; display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-top: 3px; background: #fff; border: 1px solid #808080; font-family: var(--police-titre); font-size: 15px; line-height: 1; }
.faq details[open] summary::before { content: "−"; }
.faq details div { padding: 0 0 14px 28px; }

/* Formulaires */
.formulaire label, .ck-form label { font-size: 15px; font-weight: 700; }
.formulaire input:not([type="checkbox"]):not(.piege), .formulaire textarea, .formulaire select, .ck-form input:not([type="checkbox"]), .ck-form select {
  border: 0; border-radius: 0; background: #fff; box-shadow: var(--creux); padding: 11px 12px; font-size: 16px; font-weight: 400;
}
.formulaire select, .ck-form select {
  -webkit-appearance: none; appearance: none; padding-right: 38px;
  background: var(--svg-fleche) right 10px center / 10px 6px no-repeat, linear-gradient(var(--gris), var(--gris)) right 2px center / 28px calc(100% - 4px) no-repeat, #fff;
}
.formulaire button[type="submit"], .formulaire [data-confirmer] { display: inline-flex; width: auto; min-width: 200px; }
.contact-infos h2, .formulaire h2 { font-size: 22px; }
.contact-infos p { font-size: 16px; }
.form-message.erreur { color: #a01c4d; }

/* Notre histoire */
.histoire { display: grid; gap: 0; }
.histoire-photo { margin: 3px 0 0; padding: 6px 6px 4px; background: #fff; box-shadow: var(--creux); }
.histoire-photo img { width: 100%; }
.histoire-photo figcaption { padding-top: 4px; font-family: var(--police-titre); font-size: 13px; text-align: center; color: var(--texte-doux); }
.histoire-chapo { font-size: 19px; }
.histoire-texte ul { display: grid; gap: 6px; margin-bottom: 1em; }
.histoire-texte li { position: relative; padding-left: 18px; }
.histoire-texte li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; background: var(--accent); box-shadow: 0 0 0 1px var(--texte); }
.histoire-signature { font-family: var(--police-titre); font-size: 18px; }

/* 404 */
.page-erreur { padding-top: 40px; padding-bottom: 20px; }
.dialogue-erreur { max-width: 540px; }
.dialogue-erreur h1 { font-size: clamp(26px, 6.6vw, 32px); line-height: 1.1; margin-bottom: 6px; }
.dialogue-erreur .dialogue-ico { width: 56px; height: 48px; align-self: flex-start; }

/* --------------------------------------------- tiroir, recherche, consentement */
.voile { background: rgba(38, 22, 92, .32); }
.tiroir { padding: 3px; background: var(--fond); box-shadow: var(--cadre), -6px 0 0 rgba(48, 28, 110, .2); }
.tiroir-entete { min-height: 44px; padding: 3px 3px 3px 10px; border: 0; background: var(--titre); }
.tiroir-entete h2 { color: #fff; font-size: 17px; font-weight: 400; }
.tiroir-entete h2::before { content: "panier.exe — "; }
.tiroir-fermer, .recherche-barre button {
  position: relative; flex: none; width: 46px; height: 38px; padding: 0; border: 0; font-size: 0; color: transparent;
  background: var(--accent); box-shadow: var(--relief-rose);
}
.tiroir-fermer::before, .tiroir-fermer::after, .recherche-barre button::before, .recherche-barre button::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 3px; background: var(--texte); transform: translate(-50%, -50%) rotate(45deg);
}
.tiroir-fermer::after, .recherche-barre button::after { transform: translate(-50%, -50%) rotate(-45deg); }
.tiroir-liste { margin: 8px 5px 0; padding: 2px 12px; background: #fff; box-shadow: var(--creux); }
.ligne-panier { border-bottom: 1px dotted var(--bord); }
.ligne-panier:last-child { border-bottom: 0; }
.ligne-panier img { width: 66px; height: 88px; border-radius: 0; box-shadow: 0 0 0 1px var(--trait); }
.ligne-nom { color: var(--texte); font-weight: 700; line-height: 1.3; }
.ligne-option { color: var(--texte-doux); }
.ligne-bas strong { font-family: var(--police-titre); font-weight: 400; font-size: 17px; }
.quantite { border: 0; border-radius: 0; background: var(--gris); box-shadow: var(--relief); }
.quantite button { width: 42px; height: 42px; font-family: var(--police-titre); font-size: 19px; }
.quantite span { font-family: var(--police-titre); }
.ligne-retirer { min-height: 36px; color: var(--bleu-1); font-size: 14px; }
.tiroir-pied { padding: 12px 8px calc(12px + env(safe-area-inset-bottom)); border-top: 0; }
.tiroir-ligne strong { font-family: var(--police-titre); font-weight: 400; font-size: 21px; }
.tiroir-note { color: var(--texte-doux); }
.tiroir-commander { display: flex; width: 100%; min-height: 50px; font-size: 19px; }
.tiroir-voir { display: flex; align-items: center; justify-content: center; min-height: 44px; color: var(--bleu-1); }
.panier-vide { padding: 34px 10px; }
.panier-vide p { font-family: var(--police-titre); font-size: 18px; }
.recherche { padding: 12px; background: linear-gradient(165deg, #d9ccff, #bfe3ff); }
.recherche-barre { position: relative; max-width: 720px; margin: 0 auto 10px; padding: 38px 8px 8px; background: var(--fond); box-shadow: var(--cadre), var(--ombre); }
.recherche-barre::before { content: "Rechercher des fichiers"; position: absolute; left: 3px; right: 3px; top: 3px; height: 28px; padding-left: 8px; line-height: 28px; background: var(--titre); color: #fff; font-family: var(--police-titre); font-size: 15px; }
.recherche-barre input { min-height: 44px; border: 0; border-radius: 0; background: #fff; box-shadow: var(--creux); font-size: 17px; }
.recherche-barre button { height: 44px; }
.recherche-resultats { padding: 2px 12px; background: #fff; box-shadow: var(--cadre); }
.recherche-resultats:empty { display: none; }
.recherche-resultat { color: var(--texte); border-bottom: 1px dotted var(--bord); }
.recherche-resultat img { border-radius: 0; box-shadow: 0 0 0 1px var(--trait); }
.recherche-resultat strong { font-family: var(--police-titre); font-weight: 400; font-size: 17px; }
.recherche-resultat:hover span { text-decoration: underline; }
.recherche-vide { padding: 14px 0; margin: 0; }
.consent { border: 0; border-radius: 0; box-shadow: var(--cadre), var(--ombre); background: var(--fond); bottom: calc(var(--barre) + 12px); }

/* --------------------------------- panier, commande et confirmation (socle) */
div.page-panier, .ck, .merci { position: relative; margin: 10px 8px 0; padding: 3px 3px 16px; background: var(--fond); box-shadow: var(--cadre), var(--ombre); }
div.page-panier::before, .ck::before, .merci::before {
  display: block; height: 30px; padding: 0 84px 0 8px; line-height: 30px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  background: var(--svg-ctrl) right 5px center / 70px 20px no-repeat, var(--titre); color: #fff; font-family: var(--police-titre); font-size: 15px; text-align: left;
}
div.page-panier::before { content: "panier.exe"; }
.ck::before { content: "commande.exe — Paiement sécurisé par Stripe"; }
.merci::before { content: "Feldra.exe — Commande"; }
div.page-panier h1, .ck h1 { margin: 16px 10px 14px; font-size: clamp(30px, 7.6vw, 42px); line-height: 1.05; }
[data-panier-page] { margin: 0 10px; }
.panier-lignes { padding: 2px 12px; background: #fff; box-shadow: var(--creux); }
.panier-total { margin-top: 14px; }
.ck-grille { padding: 0 10px; }
.ck-form section { position: relative; margin: 0 0 22px; padding: 22px 12px 8px; border: 1px solid var(--bord); box-shadow: inset 1px 1px #fff, 1px 1px #fff; }
.ck-form section h2 { position: absolute; top: -.75em; left: 9px; margin: 0; padding: 0 6px; background: var(--fond); font-size: 17px; }
.ck-form .ck-valider { padding-top: 14px; }
.ck-valider [data-payer] { display: flex; width: 100%; min-height: 54px; font-size: 18px; }
.ck-resume { padding: 3px 3px 10px; border-radius: 0; background: var(--fond); box-shadow: var(--cadre); }
.ck-resume h2 { margin: 0 0 8px; padding: 6px 9px; background: var(--titre); color: #fff; font-size: 16px; font-weight: 400; }
.ck-resume [data-resume] { padding: 0 9px; }
.ck-ligne img { border-radius: 0; box-shadow: 0 0 0 1px var(--trait); }
.ck-total strong { font-family: var(--police-titre); font-weight: 400; font-size: 21px; }
.ck-indisponible { border-radius: 0; background: #fffbe0; box-shadow: 0 0 0 1px var(--texte); }
.ck-cgv a { color: var(--bleu-1); }
.merci { max-width: 640px; margin-top: 30px; }
.merci h1 { margin-top: 22px; font-size: clamp(28px, 7vw, 38px); }
.merci > p { padding: 0 14px; }

/* -------------------------------------------------- mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  .fen-accueil, .telech-barre span { animation: none; }
  .menu-demarrer { transition: none; }
}

/* ========================================================== tablette */
@media (min-width: 600px) {
  .vignettes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .carte-ctrl i:not(:last-child) { display: block; }
  .statut-large { display: block; }
  .pied-corps { grid-template-columns: 1fr 1fr; }
  .galerie-liste li { flex-basis: 62%; }
  .accueil-actions .bouton-gris { display: inline-flex; }
}

/* =========================================================== ordinateur */
@media (min-width: 900px) {
  body { padding-bottom: 0; padding-top: 48px; }
  .haut-mobile { display: none; }
  .barre-taches { top: 0; bottom: auto; height: 48px; padding: 4px 8px; gap: 6px; border-top: 0; border-bottom: 1px solid #fff; box-shadow: 0 1px 0 #8f8aa6, 0 3px 0 rgba(48, 28, 110, .1); }
  .demarrer { height: 40px; }
  .barre-logo { display: inline-flex; padding: 0 10px 0 6px; }
  .barre-logo .logo-mot { font-size: 24px; }
  .taches { display: flex; gap: 4px; flex: 1; min-width: 0; padding-left: 8px; border-left: 1px solid #8f8aa6; box-shadow: inset 1px 0 #fff; }
  .tache { display: flex; align-items: center; gap: 7px; height: 40px; min-width: 0; max-width: 170px; padding: 0 12px; background: var(--gris); box-shadow: var(--relief); color: var(--texte); text-decoration: none; font-family: var(--police-titre); font-size: 16px; }
  .tache span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tache:hover { background: #dedbd3; }
  .tache-active { background: var(--trame); box-shadow: var(--enfonce); font-weight: 600; }
  .barre-chercher { flex: 0 0 210px; height: 40px; }
  .zone-notif { height: 40px; }
  .barre-panier { height: 40px; }
  .menu-demarrer { top: 50px; bottom: auto; max-height: calc(100vh - 70px); transform: translateY(-10px); }
  .menu-demarrer.ouvert { transform: none; }
  .consent { bottom: 12px; }

  .bureau { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 18px; max-width: 1240px; margin: 0 auto; padding: 26px 24px 4px; }
  .icones { display: flex; flex-direction: column; gap: 12px; margin: 0; }
  .icone { padding: 6px 2px; }
  .icone-img { width: 60px; height: 48px; }
  .icone-plus { display: flex; }
  .icone-plus .icone-img { width: 50px; height: 46px; }
  .icone span { font-size: 15px; }
  .fen-accueil { width: 100%; max-width: 940px; justify-self: center; }
  .accueil-corps { display: grid; grid-template-columns: 410px minmax(0, 1fr); align-items: center; }
  .accueil-photo { margin: 3px 0 0; }
  .accueil-photo img { aspect-ratio: 4 / 5; object-position: 50% 40%; }
  .accueil-photo figcaption span:first-child { top: 30%; right: 6%; }
  .accueil-photo figcaption span:last-child { top: 56%; left: 5%; }
  .accueil-texte { padding: 26px 30px; }
  .accueil-promesse { font-size: 19px; max-width: 34ch; }
  .accueil-actions { max-width: 420px; }

  .bureau-suite { padding: 30px 24px 0; gap: 30px; max-width: 1240px; }
  .vignettes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; padding: 20px 18px; }
  .fen-corps { padding: 20px 18px; }
  .bureau-duo { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 30px; }
  .paint { background: var(--fond); }
  .paint-outils { display: grid; grid-template-columns: repeat(2, 24px); grid-auto-rows: 24px; gap: 1px; align-content: start; padding: 16px 6px; border-right: 1px solid var(--trait); }
  .paint-outils i { background: var(--gris); box-shadow: var(--relief); }
  .paint-outils i:nth-child(1) { background: var(--trame); box-shadow: var(--enfonce); }
  .paint-zone { padding: 20px 18px 16px; }
  .look { gap: 12px; padding: 14px; }
  .postit { margin-top: 0; }

  .page-explorateur, .page-fiche, .page-fenetre, .page-erreur { padding: 26px 24px 0; }
  .explorateur { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
  .volet { display: block; padding: 14px 10px; background: linear-gradient(180deg, #e2d9ff, #d2e9ff); border-right: 1px solid var(--trait); }
  .volet-titre { margin: 0; padding: 4px 9px; background: var(--titre); color: #fff; font-family: var(--police-titre); font-size: 15px; }
  .volet ul { margin-bottom: 16px; padding: 4px 0; background: rgba(255, 255, 255, .72); }
  .volet a { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 4px 9px; color: var(--bleu-1); text-decoration: none; font-size: 15px; }
  .volet a svg { width: 24px; height: 19px; }
  .volet a:hover span { text-decoration: underline; }
  .volet a[aria-current] { color: var(--texte); font-weight: 700; background: #fff; }
  .explo-principal { padding: 22px 22px 28px; }
  .dossiers-puces { display: none; }
  .grille { gap: 22px 18px; }
  .fen-statut { font-size: 13px; }

  .proprietes { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: start; }
  .galerie { margin: 3px 0 3px 0; }
  .galerie-liste { display: grid; gap: 6px; overflow: visible; }
  .galerie-liste li { flex: none; }
  .galerie-compte { display: none; }
  .infos { position: sticky; top: 62px; padding: 22px 22px 18px; }
  .grille-avec { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; }

  .fen-papier, .fen-papier.legal { padding: 30px 40px 40px; }
  .histoire { grid-template-columns: 340px minmax(0, 1fr); align-items: start; }
  .histoire-photo { margin: 3px 3px 0 0; position: sticky; top: 62px; }

  div.page-panier, .ck { max-width: 1000px; margin: 26px auto 0; }
  .merci { margin: 50px auto 0; }
  .ck-grille { padding: 0 14px; }
  .ck-resume { top: 62px; }
  .pied { padding: 40px 24px 28px; }
  .pied-corps { grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 30px; padding: 22px 20px 10px; }
  .pied-marque, .pied-courrier { grid-column: auto; }
  .pied-legal { padding: 14px 20px 10px; }
}

@media (min-width: 1100px) {
  .grille { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grille-avec { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
