/* 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; transition-duration: .01ms !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; }
.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: 760px) { .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; }
.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: .5; 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:"Bricolage Grotesque";font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/bricolage-grotesque-800.woff2) format("woff2")}
@font-face{font-family:"Outfit";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/outfit-400.woff2) format("woff2")}
@font-face{font-family:"Outfit";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/outfit-600.woff2) format("woff2")}

/* ==========================================================================
   ZOUZIE : le color-block et le sticker.
   Tout est découpé en grands aplats. Les pastilles ont l'air collées à la main :
   bord blanc de découpe, ombre sèche, jamais droites.
   Texte sur bleu : blanc. Texte sur jaune et rose : encre.
   ========================================================================== */
:root {
  --blanc: #ffffff; --jaune: #ffd60a; --bleu: #1d3bff; --rose: #ff5fa2; --encre: #15121a;
  --ciel: #c7d5ff; --jaune-pale: #fff3b8; --rose-pale: #ffdcea; --ciel-pale: #e7edff;

  --fond: #ffffff; --fond-2: #fff3b8; --texte: #15121a; --texte-doux: #4a4453;
  --accent: #1d3bff; --accent-texte: #ffffff; --bord: #d8d4df; --rayon: 16px;
  --police-titre: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --police-texte: "Outfit", system-ui, sans-serif;

  --bande: #ffffff; --bande-texte: #15121a;
  --gouttiere: 16px;
  --rebond: cubic-bezier(.34, 1.56, .64, 1);
  --colle: 2px 3px 0 rgba(21, 18, 26, .16);
}
.page-boutique, .page-faq, .page-panier, .page-merci, .page-introuvable { --bande: #ffd60a; --bande-texte: #15121a; }
.page-contact { --bande: #ff5fa2; --bande-texte: #15121a; }
.page-texte { --bande: #c7d5ff; --bande-texte: #15121a; }

body { font-size: 17px; line-height: 1.45; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.035em; line-height: .96; }
a { text-underline-offset: 3px; }
strong, b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }
.icone { width: 22px; height: 22px; flex: none; }
::selection { background: var(--jaune); color: var(--encre); }

/* Un bug du socle : la page panier met .page-panier sur le body ET sur son conteneur. */
body.page-panier { max-width: none; margin: 0; padding: 0; }

/* -------------------------------------------------------------- les boutons */
.bouton, .achat-bouton, .tiroir-commander, .formulaire button[type="submit"], .formulaire [data-confirmer], [data-payer], .barre-achat button {
  font-family: var(--police-titre); font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em;
  border-radius: 999px; padding: 15px 24px; min-height: 54px;
  transition: transform .22s var(--rebond), background-color .15s;
}
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.bouton-secondaire { border-radius: 999px !important; border: 2px solid var(--encre) !important; font-weight: 600; min-height: 48px; padding: 10px 20px; }
.rond-outil {
  position: relative; display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; padding: 0;
  border: 2px solid var(--encre); border-radius: 50%; background: var(--blanc); color: var(--encre); font-size: 1.6rem; line-height: 1; text-decoration: none;
  transition: transform .22s var(--rebond), background-color .15s;
}
.compteur {
  position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 4px; display: grid; place-items: center;
  border-radius: 999px; background: var(--rose); color: var(--encre); font: 800 .78rem/1 var(--police-titre); box-shadow: 0 0 0 2px var(--blanc);
}
@media (hover: hover) {
  .bouton:hover, .achat-bouton:hover, .tiroir-commander:hover, .formulaire button[type="submit"]:hover, .barre-achat button:hover { transform: scale(1.04) rotate(-1deg); }
  [data-payer]:not(:disabled):hover { transform: scale(1.03) rotate(-.6deg); }
  .rond-outil:hover { transform: scale(1.1) rotate(-8deg); background: var(--jaune); color: var(--encre); }
  .achat-choix label:hover span { transform: scale(1.08) rotate(-4deg); }
}

/* ----------------------------------------------------------------- le logo */
.logo { display: block; flex: none; width: 104px; color: inherit; line-height: 0; }
.logo-svg { width: 100%; height: auto; transform: rotate(-2deg); overflow: visible; }
.logo-pastille { fill: var(--rose); stroke: var(--blanc); stroke-width: 3.5; }

/* ------------------------------------------------- l'entête : mobile d'abord */
.pilule { display: none; }
.haut-mobile { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px var(--gouttiere) 8px; background: var(--bande); color: var(--bande-texte); }
.haut-sticker {
  display: inline-block; padding: 5px 12px; font-size: .84rem; font-weight: 600; line-height: 1.2; color: var(--encre); background: var(--blanc);
  border: 2px solid var(--encre); border-radius: 999px; transform: rotate(2deg);
}
.page-accueil .haut-sticker { background: var(--jaune); border-color: var(--blanc); box-shadow: var(--colle); }
.haut-fiche .logo { width: 96px; }

.onglets {
  position: fixed; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 50;
  display: flex; gap: 2px; width: min(calc(100% - 24px), 430px); padding: 5px;
  background: var(--blanc); border: 2px solid var(--encre); border-radius: 999px; box-shadow: 0 4px 0 rgba(21, 18, 26, .14);
}
.onglet {
  position: relative; flex: 1; min-width: 0; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  padding: 2px 0; background: none; border: 0; border-radius: 999px; color: var(--encre); font-size: .76rem; font-weight: 600; text-decoration: none; transition: transform .2s var(--rebond);
}
.onglet[aria-current="page"] { background: var(--jaune); }
.onglet:active { transform: scale(.92) rotate(-3deg); }
.onglet .compteur { top: 0; right: calc(50% - 27px); }

/* Le menu mobile : une feuille qui monte, en tuiles de couleur. */
.feuille {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; max-height: 90dvh; overflow-y: auto;
  padding: 16px var(--gouttiere) calc(20px + env(safe-area-inset-bottom));
  background: var(--blanc); border-radius: 32px 32px 0 0; transform: translateY(104%); transition: transform .28s cubic-bezier(.2, .9, .3, 1.05);
}
.feuille.ouvert { transform: none; }
.feuille-haut { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.feuille-titre { margin: 0; font: 800 1.9rem/1 var(--police-titre); letter-spacing: -.035em; }
.feuille-tout {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 12px 20px; margin-bottom: 10px;
  background: var(--bleu); color: var(--blanc); border-radius: 22px; font: 800 1.35rem/1 var(--police-titre); letter-spacing: -.02em; text-decoration: none;
}
.feuille-rayons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rayon {
  display: flex; align-items: center; gap: 8px; min-height: 68px; padding: 8px; border-radius: 22px;
  font: 800 1.08rem/1 var(--police-titre); letter-spacing: -.025em; text-decoration: none; color: var(--encre);
}
.rayon img { width: 48px; height: 48px; flex: none; object-fit: cover; object-position: 50% 22%; border-radius: 50%; border: 2px solid var(--blanc); }
.rayon-jaune { background: var(--jaune); } .rayon-rose { background: var(--rose); } .rayon-ciel { background: var(--ciel); }
.rayon-bleu { background: var(--bleu); color: var(--blanc); }
.feuille-liens { display: flex; flex-wrap: wrap; gap: 2px 15px; margin-top: 12px; padding: 0 4px; }
.feuille-liens a { display: inline-block; padding: 11px 0; font-weight: 600; }

.haut-commande { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--gouttiere); background: var(--jaune); }
.lien-retour { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-weight: 600; text-decoration: none; }

/* --------------------------------------------------------------- l'accueil */
.bento {
  display: grid; gap: 8px; padding: 2px 12px 0; grid-template-columns: 1.1fr 1fr;
  grid-template-rows: minmax(0, 1fr) 92px 92px;
  grid-template-areas: "photo photo" "jaune bleue" "jaune rose";
  height: max(590px, calc(100svh - 62px - 142px));
}
.tuile {
  position: relative; display: block; min-width: 0; overflow: hidden; border-radius: 28px; color: var(--encre); text-decoration: none;
  transition: transform .26s var(--rebond);
}
.tuile-photo { grid-area: photo; background: #bd1a63; color: var(--jaune); }
.tuile-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.tuile-photo h1 {
  position: absolute; top: 14px; right: 14px; margin: 0; text-align: right; color: var(--jaune);
  font-size: clamp(3.9rem, 19.5vw, 8rem); line-height: .86; letter-spacing: -.05em;
}
.tuile-sous { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.tuile-promesse {
  position: absolute; right: 8px; bottom: 64px; padding: 6px 13px; background: var(--blanc); color: var(--encre); border-radius: 999px;
  font-size: .95rem; font-weight: 600; line-height: 1.15; transform: rotate(-3deg); box-shadow: var(--colle); white-space: nowrap;
}
.tuile-cta {
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 10px 20px; background: var(--bleu); color: var(--blanc); border-radius: 999px;
  font: 800 1.1rem/1 var(--police-titre); letter-spacing: -.01em; box-shadow: 0 0 0 3px var(--blanc);
}
.tuile-sur { display: block; font-size: .84rem; font-weight: 600; line-height: 1.15; }
.tuile-jaune { grid-area: jaune; background: var(--jaune); padding: 12px 14px; }
.tuile-prix { display: block; margin-top: 8px; font: 800 clamp(2.2rem, 12.4vw, 3rem)/.88 var(--police-titre); letter-spacing: -.05em; white-space: nowrap; }
.tuile-prix small { display: block; font-size: 1.5rem; letter-spacing: -.03em; }
.tuile-note { display: block; position: absolute; left: 14px; bottom: 11px; max-width: 58%; font-size: .84rem; font-weight: 600; line-height: 1.12; }
.tuile-jaune .tuile-vignette {
  position: absolute; right: -8px; bottom: -14px; width: 74px; height: 98px; object-fit: cover; object-position: 60% 60%;
  border-radius: 16px; border: 3px solid var(--blanc); transform: rotate(8deg);
}
.tuile-bleue { grid-area: bleue; background: var(--bleu); color: var(--blanc); padding: 12px 14px; }
.tuile-rose { grid-area: rose; background: var(--rose); padding: 12px 14px; }
.tuile-mot { position: absolute; left: 14px; bottom: 11px; font: 800 clamp(1.7rem, 9vw, 2.15rem)/.92 var(--police-titre); letter-spacing: -.045em; white-space: nowrap; }
.tuile-bleue .tuile-vignette, .tuile-rose .tuile-vignette {
  position: absolute; right: 7px; top: 7px; width: 48px; height: 48px; object-fit: cover; object-position: 50% 22%;
  border-radius: 50%; border: 3px solid var(--blanc); transform: rotate(8deg);
}
.tuile-blanche { display: none; }

/* Bande de texte qui défile */
.defile-cadre { overflow: hidden; padding: 12px 0 8px; }
.defile { background: var(--bleu); color: var(--blanc); transform: rotate(-1.3deg) scale(1.03); }
.defile-piste { display: flex; width: max-content; animation: defile 34s linear infinite; }
.defile-piste > div { display: flex; align-items: center; gap: 16px; padding: 7px 8px; font: 800 1.2rem/1 var(--police-titre); letter-spacing: -.02em; white-space: nowrap; }
.defile-piste i { display: inline-grid; place-items: center; width: 24px; height: 24px; background: var(--rose); color: var(--encre); border-radius: 50%; font-style: normal; font-size: .95rem; transform: rotate(10deg); }
@keyframes defile { to { transform: translateX(-50%); } }

/* Pastilles de rayons */
.pastilles { display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--gouttiere) 14px; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-left: var(--gouttiere); }
.pastilles::-webkit-scrollbar, .rail::-webkit-scrollbar, .galerie-rail::-webkit-scrollbar { display: none; }
.pastille {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 58px; padding: 5px 18px 5px 6px; border-radius: 999px; scroll-snap-align: start;
  font: 800 1.14rem/1 var(--police-titre); letter-spacing: -.02em; text-decoration: none; color: var(--encre); border: 3px solid var(--blanc); box-shadow: var(--colle);
  transition: transform .22s var(--rebond);
}
.pastille:nth-child(odd) { transform: rotate(-1.6deg); } .pastille:nth-child(even) { transform: rotate(1.6deg); }
.pastille > span:only-child { padding-left: 12px; }
.pastille img { width: 44px; height: 44px; flex: none; object-fit: cover; object-position: 50% 22%; border-radius: 50%; }
.pastille-jaune { background: var(--jaune); } .pastille-rose { background: var(--rose); } .pastille-ciel { background: var(--ciel); }
.pastille-bleu { background: var(--bleu); color: var(--blanc); }

.titre-geant { font-size: clamp(3.2rem, 15vw, 8rem); margin: 0; letter-spacing: -.05em; line-height: .88; }
.titre-geant em { font-style: normal; color: var(--bleu); }
.point-sticker {
  display: inline-grid; place-items: center; width: .82em; height: .82em; margin-left: .1em; background: var(--rose); color: var(--encre); border-radius: 50%;
  font-size: .78em; transform: rotate(12deg) translateY(-.05em); border: 3px solid var(--blanc); box-shadow: var(--colle);
}

/* Le drop */
.drop { padding: 22px 0 56px; }
.drop-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 0 var(--gouttiere); }
.drop-aide { margin: 12px 0 0; padding: 0 var(--gouttiere); font-weight: 600; }
.rail-fleches { display: none; gap: 8px; }
.rail { display: flex; gap: 16px; overflow-x: auto; padding: 22px var(--gouttiere) 10px; scroll-snap-type: x mandatory; scroll-padding-left: var(--gouttiere); scrollbar-width: none; }
.rail > .carte { flex: 0 0 min(78vw, 340px); scroll-snap-align: start; }

/* Cartes produit */
.carte { position: relative; display: flex; flex-direction: column; border-radius: 24px; padding: 8px; color: var(--encre); transition: transform .26s var(--rebond); }
.carte-jaune { background: var(--jaune); } .carte-rose { background: var(--rose); } .carte-ciel { background: var(--ciel); }
.carte-lien { display: block; color: inherit; text-decoration: none; }
.carte-photo { display: block; overflow: hidden; border-radius: 17px; aspect-ratio: 3 / 4; background: var(--blanc); }
.carte-photo img { width: 100%; height: 100%; object-fit: cover; }
.carte-nom { margin: 10px 4px 2px; font-size: 1.14rem; line-height: 1; letter-spacing: -.025em; }
.carte-couleur { display: block; margin: 0 4px 6px; font-size: .9rem; line-height: 1.2; }
.carte-prix {
  position: absolute; top: -9px; right: -7px; width: 62px; height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--blanc); color: var(--encre); border-radius: 50%; border: 2px solid var(--encre); transform: rotate(9deg); line-height: .9;
  transition: transform .26s var(--rebond);
}
.carte-prix b { font: 800 1.02rem/.95 var(--police-titre); letter-spacing: -.03em; }
.carte-prix i { font-style: normal; font: 800 .82rem/1 var(--police-titre); }
.carte:nth-child(3n + 2) .carte-prix { transform: rotate(-7deg); }
@media (hover: hover) {
  .carte:hover { transform: scale(1.03) rotate(-1.2deg); z-index: 2; }
  .carte:nth-child(even):hover { transform: scale(1.03) rotate(1.2deg); }
  .carte:hover .carte-prix { transform: rotate(-12deg) scale(1.1); }
  .tuile:hover { transform: scale(1.012) rotate(-.5deg); z-index: 2; }
  .pastille:hover { transform: scale(1.07) rotate(-3deg); }
}
.carte-large .carte-photo { aspect-ratio: 4 / 5; }
.carte-large .carte-nom { font-size: 1.5rem; }
.carte-large .carte-prix { width: 76px; height: 76px; top: -12px; right: -6px; }
.carte-large .carte-prix b { font-size: 1.28rem; } .carte-large .carte-prix i { font-size: 1rem; }
.carte-tailles { display: flex; gap: 6px; margin-top: auto; padding: 4px 2px 2px; }
.carte-tailles button {
  flex: 1; min-width: 0; height: 46px; padding: 0; background: var(--blanc); color: var(--encre); border: 2px solid var(--encre); border-radius: 999px;
  font: 800 .98rem/1 var(--police-titre); transition: transform .2s var(--rebond), background-color .12s, color .12s;
}
.carte-tailles button:active { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); transform: scale(1.08) rotate(-3deg); }
@media (hover: hover) {
  .carte-tailles button:hover { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); transform: scale(1.08) rotate(-3deg); }
}

/* Blocs couleur empilés */
.bloc { position: relative; padding: 38px var(--gouttiere) 74px; margin-top: -34px; border-radius: 36px 36px 0 0; color: var(--encre); }
.drop + .bloc { margin-top: 0; }
.bloc-jaune { background: var(--jaune); } .bloc-rose { background: var(--rose); } .bloc-ciel { background: var(--ciel); }
.bloc-bleu { background: var(--bleu); color: var(--blanc); }
.bloc-tete { margin-bottom: 26px; }
.bloc-tete h2 { margin: 0; font-size: clamp(3.3rem, 16.4vw, 11.5rem); line-height: .86; letter-spacing: -.055em; }
.bloc-tete h2 a { color: inherit; text-decoration: none; }
.bloc-accroche {
  display: inline-block; margin: 12px 0 0; padding: 7px 15px; background: var(--blanc); color: var(--encre); border-radius: 999px; font-weight: 600; line-height: 1.2;
  transform: rotate(-1.6deg); box-shadow: var(--colle);
}
.bloc-inverse .bloc-accroche { transform: rotate(1.4deg); }
.bloc-bleu .bloc-accroche { background: var(--jaune); }
.bloc-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.bouton-bloc { margin-top: 22px; }
.bloc-bleu .bouton-bloc { background: var(--blanc); color: var(--encre); }

/* Tu hésites ? */
.hesites { position: relative; margin-top: -34px; padding: 42px var(--gouttiere) 34px; background: var(--blanc); border-radius: 36px 36px 0 0; }
.hesites-tete p { margin: 12px 0 0; font-size: 1.12rem; font-weight: 600; }
.combos { display: grid; gap: 30px; margin-top: 28px; }
.combo h3 { margin: 16px 0 5px; font-size: 2rem; }
.combo p { margin: 0 0 10px; }
.combo ul li + li { border-top: 2px solid var(--encre); }
.combo ul { border-top: 2px solid var(--encre); border-bottom: 2px solid var(--encre); }
.combo ul a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 8px 2px; font-weight: 600; text-decoration: none; }
.combo ul b { font-weight: 600; white-space: nowrap; }
.combo-aplats { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-radius: 28px; overflow: hidden; }
.combo-moitie { display: block; padding: 16px 12px; }
.combo-moitie img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; border: 3px solid var(--blanc); transition: transform .26s var(--rebond); }
.combo-moitie:first-child img { transform: rotate(-2.4deg); } .combo-moitie:nth-child(2) img { transform: rotate(2.4deg); }
.moitie-jaune { background: var(--jaune); } .moitie-bleu { background: var(--bleu); } .moitie-rose { background: var(--rose); }
.moitie-rouge { background: #f4301f; } .moitie-orange { background: #ff8a1f; } .moitie-vert { background: #1fb45a; }
.combo-plus {
  position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; display: grid; place-items: center; background: var(--blanc); color: var(--encre);
  border-radius: 50%; font: 800 1.9rem/1 var(--police-titre); box-shadow: var(--colle); transform: rotate(-8deg);
}
@media (hover: hover) {
  .combo-moitie:hover img { transform: scale(1.04) rotate(0); }
}

/* Pastilles rondes de réassurance */
.ronds-zone { padding: 10px var(--gouttiere) 46px; }
.ronds { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.rond {
  width: 124px; height: 124px; flex: none; margin: -3px; padding: 12px; display: grid; place-items: center; text-align: center; border-radius: 50%;
  font-size: .9rem; font-weight: 600; line-height: 1.12; border: 3px solid var(--blanc); box-shadow: var(--colle);
  animation: dandine 7s ease-in-out infinite; --a: -6deg;
}
.rond:nth-child(2) { --a: 7deg; animation-delay: -1.5s; } .rond:nth-child(3) { --a: -3deg; animation-delay: -3s; }
.rond:nth-child(4) { --a: 5deg; animation-delay: -4.5s; } .rond:nth-child(5) { --a: -8deg; animation-delay: -6s; }
.rond-jaune { background: var(--jaune); } .rond-rose { background: var(--rose); } .rond-ciel { background: var(--ciel); }
.rond-bleu { background: var(--bleu); color: var(--blanc); }
@keyframes dandine { 0%, 100% { transform: rotate(var(--a)); } 50% { transform: rotate(calc(var(--a) + 4deg)); } }

/* ---------------------------------------------------------- pages de liste */
.bande { padding: 6px var(--gouttiere) 30px; background: var(--bande); color: var(--bande-texte); border-radius: 0 0 36px 36px; }
.bande h1 { margin: 0; font-size: clamp(3.3rem, 16vw, 10rem); line-height: .86; letter-spacing: -.055em; }
.bande p { margin: 12px 0 0; font-size: 1.15rem; font-weight: 600; }
.outils { padding: 18px var(--gouttiere) 6px; }
.outils-court { padding-top: 0; }
.filtres { display: flex; gap: 8px; overflow-x: auto; margin: 0 calc(var(--gouttiere) * -1); padding: 2px var(--gouttiere) 10px; scrollbar-width: none; }
.filtres::-webkit-scrollbar { display: none; }
.filtre {
  flex: none; min-height: 46px; padding: 8px 17px; background: var(--blanc); color: var(--encre); border: 2px solid var(--encre); border-radius: 999px;
  font-weight: 600; transition: transform .2s var(--rebond), background-color .12s;
}
.filtre.actif { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }
.outils-bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.filtres-couleur { display: flex; gap: 6px; }
.rond-couleur {
  width: 46px; height: 46px; padding: 0; background: var(--c); border: 3px solid var(--blanc); border-radius: 50%; box-shadow: 0 0 0 2px transparent, var(--colle);
  transition: transform .2s var(--rebond), box-shadow .12s;
}
.rond-couleur.actif { box-shadow: 0 0 0 3px var(--encre); transform: scale(1.06) rotate(-8deg); }
.tri { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.tri-compte { font-weight: 600; white-space: nowrap; }
.tri select {
  min-height: 46px; max-width: 62%; padding: 8px 34px 8px 15px; font-size: 16px; font-weight: 600; appearance: none; -webkit-appearance: none; border: 2px solid var(--encre); border-radius: 999px;
  background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%2315121a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 12px;
}
.grille { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; padding: 18px var(--gouttiere) 56px; }

/* ------------------------------------------------------------ fiche produit */
.fiche-bandeau { background: var(--bande); color: var(--bande-texte); padding: 0 var(--gouttiere) 150px; border-radius: 0 0 36px 36px; }
.fil { display: none; gap: 7px; font-size: .92rem; font-weight: 600; }
.fil a { color: inherit; }
.fiche-corps { padding: 0 12px; margin-top: -142px; }
.galerie { position: relative; }
.galerie-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 30px; scrollbar-width: none; background: var(--blanc); }
.galerie-photo { flex: 0 0 100%; margin: 0; scroll-snap-align: start; height: min(125vw, 49svh); }
.galerie-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.galerie-photo:first-child img { object-position: var(--cadre, 50% 30%); }
.etiquette { position: absolute; display: grid; place-items: center; font: 800 1.12rem/.95 var(--police-titre); letter-spacing: -.03em; text-align: center; color: var(--encre); }
.etiquette svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--blanc); stroke: var(--encre); stroke-width: 1.4; stroke-linejoin: round; }
.etiquette > span { position: relative; width: 60px; }
.galerie-prix { top: -14px; right: -4px; width: 92px; height: 92px; --a: 9deg; animation: dandine 7s ease-in-out infinite; pointer-events: none; }
.galerie-points { position: absolute; left: 0; right: 0; bottom: 2px; display: flex; justify-content: center; gap: 2px; }
.galerie-points button { position: relative; width: 44px; height: 44px; padding: 0; background: none; border: 0; }
.galerie-points button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 10px; margin: -5px 0 0 -13px; border-radius: 999px; background: var(--blanc); box-shadow: 0 0 0 1.5px var(--encre); transition: background-color .15s; }
.galerie-points button[aria-current="true"]::after { background: var(--jaune); }
.fiche-texte { padding: 14px 4px 0; }
.fiche-texte h1 { margin: 0; font-size: clamp(2.2rem, 10.4vw, 4.2rem); line-height: .9; letter-spacing: -.05em; }
.fiche-prix { margin: 7px 0 10px; font: 800 1.6rem/1 var(--police-titre); letter-spacing: -.03em; }
.fiche-prix small { font-family: var(--police-texte); font-size: .9rem; font-weight: 400; letter-spacing: 0; }
.fiche-resume { margin: 8px 0 20px; font-size: 1.14rem; font-weight: 600; line-height: 1.25; }
.achat-option { margin-bottom: 12px; }
.achat-option legend { margin-bottom: 7px; font-size: .95rem; }
.achat-choix { gap: 7px; }
.achat-choix label { display: block; }
.achat-choix span {
  display: grid; place-items: center; width: 56px; height: 56px; min-width: 0; padding: 0; border: 2px solid var(--encre); border-radius: 50%; background: var(--blanc);
  font: 800 1.08rem/1 var(--police-titre); transition: transform .2s var(--rebond), background-color .12s;
}
.achat-choix input:checked + span { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); transform: rotate(-7deg) scale(1.06); }
.achat-bouton { font-size: 1.22rem; min-height: 60px; }
.achat-erreur { color: #b00c43; font-weight: 600; }
.fiche-guide { margin: 4px 0 0; font-size: .96rem; }
.fiche-guide a { display: inline-block; padding: 11px 0; }
.fiche-promesses { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 2px; }
.fiche-promesses li { padding: 5px 12px; font-size: .9rem; font-weight: 600; line-height: 1.2; background: var(--jaune-pale); border-radius: 999px; }
.fiche-promesses li:nth-child(odd) { transform: rotate(-1.2deg); } .fiche-promesses li:nth-child(even) { transform: rotate(1.2deg); background: var(--rose-pale); }
.fiche-promesses li:nth-child(3) { background: var(--ciel-pale); }
.accordeons { display: grid; gap: 8px; }
.acc { border-radius: 22px; overflow: hidden; }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 12px 18px; cursor: pointer; list-style: none;
  font: 800 1.16rem/1.05 var(--police-titre); letter-spacing: -.02em;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; flex: none; font-size: 1.6rem; line-height: 1; transition: transform .22s var(--rebond); }
.acc[open] summary::after { transform: rotate(135deg); }
.acc > div { padding: 0 18px 16px; }
.acc p:last-child { margin-bottom: 0; }
.acc-jaune { background: var(--jaune); } .acc-rose { background: var(--rose-pale); } .acc-ciel { background: var(--ciel); }
.acc-blanc { background: var(--blanc); border: 2px solid var(--encre); }
.fiche-details { display: flex; flex-wrap: wrap; gap: 6px; }
.fiche-details li { padding: 4px 11px; background: var(--blanc); border-radius: 999px; font-size: .92rem; font-weight: 600; }
.fiche-infos > div { border-bottom-color: rgba(21, 18, 26, .22); }
.fiche-infos dt, .bloc-conformite { color: var(--texte); }
.avec { padding: 46px 0 8px; }
.avec .titre-geant { padding: 0 var(--gouttiere); font-size: clamp(3rem, 14vw, 6.4rem); }
.grille-avec { padding-top: 24px; }

/* Barre d'achat : posée comme une pilule, et rien d'autre en bas sur la fiche. */
.barre-achat {
  left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px 6px 6px 20px; border: 2px solid var(--encre); border-radius: 999px;
  transform: translateY(170%); box-shadow: 0 4px 0 rgba(21, 18, 26, .14);
  visibility: hidden; transition: transform .2s, visibility .2s;
}
.barre-achat.visible { visibility: visible; }
.barre-achat-texte span { font-weight: 600; }
.barre-achat-texte strong { font: 800 1.08rem/1.05 var(--police-titre); }
.barre-achat button { padding: 10px 24px; min-height: 50px; }

/* ----------------------------------------------------------- notre histoire */
.histoire-tete { display: grid; gap: 0; background: var(--rose); padding: 0 var(--gouttiere) 28px; border-radius: 0 0 36px 36px; }
.page-apropos { --bande: #ff5fa2; }
.histoire-titre h1 { margin: 0; font-size: clamp(3.8rem, 19vw, 11rem); line-height: .84; letter-spacing: -.055em; }
.histoire-titre p { margin: 14px 0 18px; font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.histoire-photo img { width: 100%; border-radius: 28px; transform: rotate(1.5deg); border: 4px solid var(--blanc); }
.histoire-texte { padding: 38px var(--gouttiere) 10px; font-size: 1.14rem; }
.histoire-gros { font: 800 clamp(1.9rem, 8.2vw, 3.6rem)/.98 var(--police-titre); letter-spacing: -.04em; }
.regles { display: grid; gap: 12px; padding: 24px var(--gouttiere) 10px; }
.regle { padding: 22px; border-radius: 28px; }
.regle h2 { font-size: 2rem; margin-bottom: 8px; }
.regle p { margin: 0; }
.regle-jaune { background: var(--jaune); transform: rotate(-.7deg); } .regle-rose { background: var(--rose); transform: rotate(.6deg); }
.regle-bleu { background: var(--bleu); color: var(--blanc); transform: rotate(-.5deg); } .regle-ciel { background: var(--ciel); transform: rotate(.7deg); }
.histoire-fin { padding: 34px var(--gouttiere) 48px; }
.histoire-fin p { font: 800 clamp(2.4rem, 11vw, 5rem)/.92 var(--police-titre); letter-spacing: -.045em; margin-bottom: 16px; }

/* ----------------------------------------------------- textes, aide, légal */
.legal { max-width: none; padding: 0; }
.legal-entete { margin: 0; }
.legal h1 { font-size: clamp(2.3rem, 10.8vw, 6.8rem); line-height: .93; }
.legal-intro { color: inherit; font-weight: 600; }
.legal-corps { max-width: 780px; margin: 0 auto; padding: 30px var(--gouttiere) 64px; }
.page-contact .legal-corps { max-width: 1040px; }
.legal-corps > .legal-intro { font-size: 1.15rem; line-height: 1.3; }
.legal h2 { font-size: 1.75rem; margin-top: 1.5em; }
.legal h3 { font-size: 1.28rem; }
.legal a { color: #1a2fd6; }
.legal-corps table { background: var(--jaune-pale); border-radius: 18px; overflow: hidden; }
.legal th { background: var(--jaune); }
.legal th, .legal td { border-bottom-color: rgba(21, 18, 26, .14); }
.legal-mise-a-jour { color: var(--texte-doux); }
.encadre { background: var(--rose-pale); border: 0; border-radius: 22px; }
.faq details { border: 0; padding: 0; margin-bottom: 8px; border-radius: 22px; overflow: hidden; background: var(--jaune-pale); }
.faq details:nth-child(3n + 2) { background: var(--rose-pale); }
.faq details:nth-child(3n) { background: var(--ciel-pale); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 13px 18px; list-style: none; font: 800 1.16rem/1.08 var(--police-titre); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.6rem; line-height: 1; transition: transform .22s var(--rebond); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details div { padding: 0 18px 14px; }
.faq details p { margin: 0; }

/* Formulaires */
.formulaire label, .ck-form label { font-weight: 600; }
.formulaire input:not([type="checkbox"]):not(.piege), .formulaire textarea, .formulaire select, .ck-form input:not([type="checkbox"]), .ck-form select {
  min-height: 52px; padding: 12px 16px; border: 2px solid var(--encre); border-radius: 16px; background: var(--blanc);
}
.formulaire input:focus, .formulaire textarea:focus, .ck-form input:focus, .ck-form select:focus { outline: 3px solid var(--jaune); outline-offset: 0; border-color: var(--bleu); }
.formulaire h2, .contact-infos h2 { margin-top: 0; font-size: 2rem; }
.contact-infos { align-self: start; padding: 20px; background: var(--jaune); border-radius: 28px; }
.contact-infos a { color: inherit; }
.contact-infos p:last-child { margin-bottom: 0; }
.form-message.erreur, .achat-erreur { color: #b00c43; }
.form-message.ok { color: #0e6b3b; font-weight: 600; }

/* ----------------------------------------------------------------- le tiroir */
.tiroir { border-radius: 28px 0 0 28px; overflow: hidden; }
.tiroir-entete { padding: 14px 16px 14px 22px; background: var(--jaune); border: 0; }
.tiroir-entete h2 { font-size: 1.95rem; letter-spacing: -.04em; }
.tiroir-fermer { width: 46px; height: 46px; padding: 0; background: var(--blanc); border: 2px solid var(--encre); border-radius: 50%; font-size: 1.6rem; }
.tiroir-pied { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 0; background: var(--ciel-pale); border-radius: 28px 28px 0 0; }
.tiroir-ligne strong { font: 800 1.45rem/1 var(--police-titre); letter-spacing: -.03em; }
.tiroir-note { color: var(--texte); }
.tiroir-commander { font-size: 1.25rem; min-height: 58px; }
.tiroir-voir { min-height: 44px; display: grid; place-items: center; font-weight: 600; }
.ligne-panier img { border-radius: 14px; }
.ligne-nom { font: 800 1.12rem/1.05 var(--police-titre); letter-spacing: -.02em; }
.ligne-option { font-size: .92rem; color: var(--texte-doux); }
.ligne-bas strong { font: 800 1.08rem/1 var(--police-titre); }
.quantite { border: 2px solid var(--encre); border-radius: 999px; background: var(--blanc); }
.quantite button { width: 44px; height: 44px; font-size: 1.25rem; }
.ligne-retirer { min-height: 44px; padding: 8px 0 0; font-size: .9rem; color: var(--texte-doux); }
.panier-vide p { font: 800 1.6rem/1 var(--police-titre); letter-spacing: -.03em; }
.panier-vide a { display: inline-grid; place-items: center; min-height: 52px; padding: 10px 24px; background: var(--bleu); color: var(--blanc); border-radius: 999px; font: 800 1.1rem/1 var(--police-titre); text-decoration: none; }
.voile { background: rgba(21, 18, 26, .45); }

/* Page panier */
div.page-panier { max-width: none; padding: 0 0 56px; }
div.page-panier h1 { margin: 0; padding: 6px var(--gouttiere) 28px; font-size: clamp(3.3rem, 16vw, 9rem); line-height: .86; letter-spacing: -.055em; background: var(--bande); border-radius: 0 0 36px 36px; }
[data-panier-page] { max-width: 880px; margin: 0 auto; padding: 22px var(--gouttiere) 0; }
.panier-total { max-width: none; padding: 18px; background: var(--ciel-pale); border-radius: 26px; }

/* ----------------------------------------------------------------- commande */
.ck { max-width: 1120px; padding: 22px var(--gouttiere) 52px; }
.ck h1 { font-size: clamp(2.8rem, 12vw, 5rem); line-height: .9; letter-spacing: -.05em; margin-bottom: 20px; }
.ck h2 { font-size: 1.5rem; }
.ck-resume { padding: 18px; background: var(--jaune-pale); border-radius: 26px; }
.ck-form section { padding: 18px; margin-bottom: 12px; background: var(--blanc); border: 2px solid var(--encre); border-radius: 26px; }
.ck-form section.ck-valider { border: 0; padding: 4px 0 0; }
.ck-ligne img { border-radius: 12px; }
.ck-total strong { font: 800 1.45rem/1 var(--police-titre); letter-spacing: -.03em; }
.ck-indisponible { background: var(--rose-pale); border-radius: 16px; }
.ck-cgv input { accent-color: var(--bleu); }
[data-payer]:disabled { opacity: 1; background: var(--ciel); color: var(--encre); }
.ck-securite, .ck-note { color: var(--texte-doux); }
.merci { padding-top: 40px; }
.merci h1 { font-size: clamp(3rem, 13vw, 6rem); line-height: .9; letter-spacing: -.05em; }

/* ---------------------------------------------------------------- recherche */
.recherche { padding: 12px var(--gouttiere); }
.recherche-barre { gap: 8px; }
.recherche-barre input { min-height: 54px; padding: 12px 20px; font-size: 17px; border: 2px solid var(--encre); border-radius: 999px; }
.recherche-barre input:focus { outline: 3px solid var(--jaune); outline-offset: 0; }
.recherche-barre button { width: 48px; height: 48px; flex: none; padding: 0; background: var(--jaune); border-radius: 50%; color: var(--encre); }
.recherche-resultat { gap: 12px; padding: 10px 6px; border-bottom: 0; border-radius: 18px; }
.recherche-resultat:nth-child(odd) { background: var(--jaune-pale); } .recherche-resultat:nth-child(even) { background: var(--rose-pale); }
.recherche-resultat + .recherche-resultat { margin-top: 6px; }
.recherche-resultat img { border-radius: 14px; }
.recherche-resultat span { font: 800 1.14rem/1.05 var(--police-titre); letter-spacing: -.02em; }
.recherche-resultat strong { padding-right: 8px; }
.recherche-vide { text-align: center; font-weight: 600; padding: 24px 0; }

/* ---------------------------------------------------------------- le pied */
.pied { padding: 34px var(--gouttiere) calc(104px + env(safe-area-inset-bottom)); background: var(--jaune); color: var(--encre); border-radius: 36px 36px 0 0; }
.page-produit { padding-bottom: 0; }
.page-produit .pied { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
.pied-titre { margin: 0 0 18px; font: 800 clamp(4.4rem, 24.4vw, 19rem)/.8 var(--police-titre); letter-spacing: -.06em; white-space: nowrap; }
.pied-point {
  display: inline-grid; place-items: center; width: 1.2em; height: 1.2em; margin-left: .1em; vertical-align: .95em; background: var(--rose); color: var(--encre); border-radius: 50%;
  font-size: .34em; letter-spacing: 0; line-height: 1; transform: rotate(12deg); border: 3px solid var(--blanc); box-shadow: var(--colle);
}
.pied-lettre p:first-child { margin-bottom: 10px; font-weight: 600; line-height: 1.25; }
.newsletter { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter input[type="email"] { flex: 1 1 170px; min-width: 0; min-height: 54px; padding: 10px 20px; font-size: 16px; background: var(--blanc); border: 2px solid var(--encre); border-radius: 999px; }
.newsletter button { min-height: 54px; padding: 10px 24px; background: var(--bleu); color: var(--blanc); border: 0; border-radius: 999px; font: 800 1.1rem/1 var(--police-titre); transition: transform .2s var(--rebond); }
.newsletter .form-message, .newsletter-note { flex-basis: 100%; }
.newsletter .form-message { margin: 0; min-height: 0; }
.newsletter-note { color: var(--encre); font-size: .84rem; margin: 0; }
.pied-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 18px; margin-top: 30px; }
.pied-colonnes h2 { margin-bottom: 8px; font-size: 1.4rem; }
.pied-colonnes a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; line-height: 1.2; text-decoration: none; }
.pied-colonnes a:hover { text-decoration: underline; }
.pied-mail { font-weight: 600; word-break: break-word; }
.pied-coord { padding: 5px 0; font-size: .95rem; line-height: 1.3; }
.pied-coord a { text-decoration: none; }
.pied-leger .pied-coord { margin: 0 0 10px; padding: 0; }
.pied-pastilles { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 22px; }
.pied-pastilles li { padding: 7px 15px; background: var(--blanc); border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1.2; box-shadow: var(--colle); }
.pied-pastilles li:nth-child(1) { transform: rotate(-2deg); } .pied-pastilles li:nth-child(2) { transform: rotate(1.6deg); background: var(--rose); }
.pied-pastilles li:nth-child(3) { transform: rotate(-1deg); background: var(--ciel); }
.pied-legal { padding-top: 14px; border-top: 2px solid var(--encre); font-size: .9rem; }
.logos-paiement { margin: 8px 0 10px; }
.lien-retractation { display: inline-block; padding: 11px 0; }
.pied-leger { padding-top: 22px; padding-bottom: 28px; border-radius: 28px 28px 0 0; }
.pied-ligne { display: flex; flex-wrap: wrap; gap: 0 16px; margin-bottom: 8px; }
.pied-ligne a { display: inline-block; padding: 11px 0; font-size: .95rem; }

/* Consentement, s'il est un jour activé : posé au-dessus de la barre d'onglets. */
.consent { bottom: 90px; border: 2px solid var(--encre); border-radius: 24px; box-shadow: none; }
.consent button { min-height: 46px; border: 2px solid var(--encre); border-radius: 999px; font-weight: 600; }
.consent [data-consent-ok] { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }

/* --------------------------------------------------------------- la page 404 */
.perdu { max-width: 860px; margin: 0 auto; padding: 16px var(--gouttiere) 64px; }
.perdu-code { margin: 0 0 8px; font: 800 clamp(7rem, 40vw, 18rem)/.8 var(--police-titre); letter-spacing: -.07em; color: var(--rose); }
.perdu h1 { font-size: clamp(2.8rem, 12vw, 6rem); line-height: .9; letter-spacing: -.05em; margin-bottom: 14px; }

/* ==================================================================== BUREAU */
@media (min-width: 761px) {
  :root { --gouttiere: 32px; }
  .haut-mobile, .onglets, .feuille { display: none; }
  main { display: block; }

  .pilule {
    position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 4px;
    max-width: calc(100% - 28px); padding: 6px 7px 6px 20px; background: var(--blanc); border: 2px solid var(--encre); border-radius: 999px; box-shadow: 0 4px 0 rgba(21, 18, 26, .14);
  }
  .pilule .logo { margin-right: 12px; }
  .pilule .logo { width: 92px; }
  .pilule-liens { display: flex; align-items: center; gap: 2px; margin-right: 6px; }
  .pilule-liens a { display: none; align-items: center; min-height: 42px; padding: 6px 13px; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; transition: transform .2s var(--rebond), background-color .12s; }
  .pilule-liens .pilule-tout { display: flex; background: var(--jaune); }
  .pilule-liens a:hover { background: var(--rose); transform: rotate(-3deg) scale(1.06); }
  .pilule .rond-outil { width: 44px; height: 44px; }
  .rond-panier { background: var(--bleu); color: var(--blanc); border-color: var(--bleu); }

  .haut-commande { justify-content: space-between; padding: 14px 32px; }

  .bento {
    max-width: 1360px; margin: 0 auto; padding: 86px 20px 0; gap: 12px; height: max(640px, min(100vh, 820px)); box-sizing: border-box;
    grid-template-columns: 5fr 3fr 3fr;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    grid-template-areas: "photo jaune bleue" "photo jaune bleue" "photo rose bleue" "photo rose blanche";
  }
  .tuile { border-radius: 36px; }
  .tuile-fond { object-position: 30% 35%; }
  .tuile-photo h1 { top: 22px; right: 26px; font-size: clamp(5rem, 9.4vw, 9rem); }
  .tuile-sous { left: 20px; right: 20px; bottom: 20px; }
  .tuile-promesse { right: 8px; bottom: 74px; font-size: 1.05rem; }
  .tuile-cta { font-size: 1.25rem; min-height: 58px; padding: 12px 26px; }
  .tuile-jaune, .tuile-bleue, .tuile-rose { padding: 20px 22px; }
  .tuile-sur { font-size: 1rem; }
  .tuile-prix { margin-top: 14px; font-size: clamp(2.6rem, 5.8vw, 5.4rem); }
  .tuile-prix small { font-size: .5em; }
  .tuile-note { left: 22px; bottom: 18px; font-size: 1rem; }
  .tuile-jaune .tuile-vignette { width: 38%; height: 58%; right: 12px; bottom: -14px; object-position: 62% 62%; }
  .tuile-note { max-width: 50%; }
  .tuile-mot { position: static; display: block; font-size: clamp(2.4rem, 4.2vw, 3.8rem); margin-top: 8px; }
  .tuile-bleue .tuile-vignette {
    top: auto; bottom: 14px; left: 14px; right: 14px; width: calc(100% - 28px); height: calc(100% - 128px); margin: 0; border-radius: 24px; transform: rotate(1.4deg); object-position: 50% 28%;
  }
  .tuile-rose .tuile-mot { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
  .tuile-rose .tuile-vignette { top: 14px; right: 14px; bottom: 14px; width: 43%; height: calc(100% - 28px); border-radius: 24px; transform: rotate(-1.4deg); object-position: 50% 30%; }
  .tuile-blanche {
    grid-area: blanche; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 12px 22px; background: var(--ciel);
    font: 800 clamp(1.1rem, 1.9vw, 1.5rem)/1.05 var(--police-titre); letter-spacing: -.025em;
  }

  .drop { padding-top: 30px; }
  .rail-fleches { display: flex; }
  .drop-tete, .drop-aide, .rail { max-width: 1360px; margin-left: auto; margin-right: auto; }
  .drop-aide { font-size: 1.1rem; margin-top: 14px; margin-bottom: 0; }
  .rail { padding-top: 24px; }

  .bloc { padding: 56px var(--gouttiere) 92px; }
  .bloc-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; max-width: 1296px; margin: 0 auto 32px; }
  .bloc-tete h2 { font-size: clamp(5rem, 12.6vw, 10.6rem); }
  .bloc-inverse .bloc-tete { flex-direction: row-reverse; }
  .bloc-accroche { margin: 0 0 10px; font-size: 1.14rem; white-space: nowrap; }
  .bloc-grille { grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1296px; margin: 0 auto; }
  .bouton-bloc { display: flex; width: max-content; margin: 26px auto 0; }
  .carte { padding: 10px; }
  .carte-nom { font-size: 1.32rem; margin-top: 12px; }
  .carte-couleur { font-size: .98rem; }
  .carte-prix { width: 72px; height: 72px; top: -12px; right: -10px; }
  .carte-prix b { font-size: 1.16rem; }
  .carte-large .carte-nom { font-size: 1.7rem; }

  .hesites { padding: 58px var(--gouttiere) 48px; }
  .hesites-tete, .combos { max-width: 1296px; margin-left: auto; margin-right: auto; }
  .hesites-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
  .hesites-tete h2 { flex: none; padding-right: .12em; }
  .hesites-tete p { margin: 0 0 10px; }
  .combos { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }

  .ronds-zone { padding-bottom: 62px; }
  .ronds { gap: 18px; }
  .rond { width: 158px; height: 158px; font-size: 1.05rem; padding: 18px; }

  .bande { padding: 104px var(--gouttiere) 40px; }
  .bande h1, .bande p { max-width: 1296px; margin-left: auto; margin-right: auto; }
  .outils, .grille { max-width: 1360px; margin: 0 auto; }
  .outils { padding-top: 22px; }
  .tri { width: auto; }
  .tri select { max-width: none; }
  .grille { grid-template-columns: repeat(3, 1fr); gap: 26px 20px; padding-top: 24px; padding-bottom: 72px; }
  .pastilles { justify-content: safe center; }
  .pastilles-page { padding-top: 18px; }

  .fiche-bandeau { padding: 88px var(--gouttiere) 150px; }
  .fil { display: flex; max-width: 1176px; margin: 0 auto; }
  .fil a { padding: 3px 0; }
  .fiche-corps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 760px; margin: -128px auto 0; padding: 0 var(--gouttiere); }
  .fiche-texte { padding-top: 0; }
  .galerie-photo { height: auto; aspect-ratio: 4 / 5; }
  .avec { max-width: 1360px; margin: 0 auto; padding-top: 58px; }
  .histoire-tete { padding: 104px var(--gouttiere) 44px; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: end; }
  .histoire-tete > * { min-width: 0; }
  .histoire-titre h1 { font-size: clamp(5rem, 11vw, 10rem); }
  .histoire-photo img { max-height: 560px; object-fit: cover; object-position: 50% 12%; }
  .histoire-texte { max-width: 880px; margin: 0 auto; padding-top: 58px; }
  .regles { grid-template-columns: repeat(4, 1fr); max-width: 1296px; margin: 0 auto; gap: 16px; padding-top: 34px; }
  .histoire-fin { max-width: 1296px; margin: 0 auto; text-align: center; padding: 56px var(--gouttiere) 70px; }

  .legal-corps { padding-top: 44px; padding-bottom: 80px; }

  div.page-panier h1 { padding: 104px var(--gouttiere) 40px; }
  [data-panier-page] { padding-top: 34px; }

  .ck { padding-top: 30px; }
  .merci { padding-top: 120px; }

  .tiroir-entete { padding: 18px 20px 18px 26px; }
  .pied { padding: 56px var(--gouttiere) 34px; }
  .page-produit .pied { padding-bottom: 34px; }
  .pied-leger { padding-top: 26px; padding-bottom: 26px; }
  .pied-tete, .pied-colonnes, .pied-pastilles, .pied-legal, .pied-ligne, .pied-leger .pied-mail, .pied-leger .pied-coord { max-width: 1296px; margin-left: auto; margin-right: auto; }
  .pied-tete { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: end; }
  .pied-titre { margin-bottom: 0; font-size: clamp(7rem, 18vw, 17rem); }
  .pied-colonnes { grid-template-columns: repeat(4, 1fr); margin-top: 44px; }
  .pied-colonnes h2 { font-size: 1.6rem; }
  .pied-colonnes a { min-height: 0; padding: 6px 0; }
  .pied-pastilles { margin-top: 34px; margin-bottom: 26px; }
  .pied-legal { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 8px 24px; }
  .pied-legal p { margin: 0; }
  .logos-paiement { margin: 0; }

  .consent { bottom: 20px; }
  .perdu { padding: 108px var(--gouttiere) 80px; }
}

@media (min-width: 1040px) {
  .pilule-liens a { display: flex; }
  .grille { grid-template-columns: repeat(4, 1fr); }
  .fiche-corps { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 52px; max-width: 1240px; }
  .galerie { position: sticky; top: 92px; align-self: start; }
  .fiche-texte { padding-top: 140px; }
  .fiche-bandeau { padding-bottom: 130px; }
  .fiche-corps { margin-top: -108px; }
}

@media (min-width: 761px) and (max-width: 1039px) {
  .pilule-liens .pilule-tout { margin-right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .defile-piste, .rond, .galerie-prix { animation: none; }
  .rond, .galerie-prix { transform: rotate(var(--a)); }
}

/* Le guide des tailles : pas de plage de mesures coupée en deux sur mobile. */
@media (max-width: 760px) {
  .legal .tableau th, .legal .tableau td { padding: 9px 6px; font-size: .9rem; }
  .legal .tableau table:has(th:nth-child(5)) td { white-space: nowrap; }
}
