/* 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:"Comfortaa";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/comfortaa-700.woff2) format("woff2")}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/dm-sans-400.woff2) format("woff2")}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/dm-sans-600.woff2) format("woff2")}

/* ==========================================================================
   Glinzo : les nuages.
   Ciel pâle qui glisse du bleu au lilas puis à la pêche en descendant,
   formes rondes, cartes coiffées de bosses de nuage, boutons corail posés
   sur une « semelle » plus sombre, échelle d'épaisseur en nuages.
   ========================================================================== */
:root {
  --ciel: #eaf2fc; --ciel-2: #dce8f8; --lilas: #ece6fb; --peche: #ffe7dc; --blanc: #ffffff;
  --nuit: #2c3a63; --nuit-fonce: #1f2747; --corail: #e8735a; --corail-sombre: #c45a42; --doux: #56618a;
  --fond: #eaf2fc; --fond-2: #ffffff; --texte: #2c3a63; --texte-doux: #56618a;
  --accent: #e8735a; --accent-texte: #1f2747; --bord: #cdd9ee; --rayon: 22px;
  --police-titre: "Comfortaa", "Trebuchet MS", system-ui, sans-serif;
  --police-texte: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ombre: 0 14px 34px -22px rgba(44, 58, 99, .45);
  --nuage-blanc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 32'%3E%3Cpath fill='%23ffffff' d='M11 28A8 8 0 1 1 13.03 12.26A10 10 0 0 1 33 13.08A8 8 0 1 1 37 28Z'/%3E%3C/svg%3E");
  --nuage-corail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 32'%3E%3Cpath fill='%23e8735a' d='M11 28A8 8 0 1 1 13.03 12.26A10 10 0 0 1 33 13.08A8 8 0 1 1 37 28Z'/%3E%3C/svg%3E");
  --nuage-ciel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 32'%3E%3Cpath fill='%23d3e2f7' d='M11 28A8 8 0 1 1 13.03 12.26A10 10 0 0 1 33 13.08A8 8 0 1 1 37 28Z'/%3E%3C/svg%3E");
}
.fond-ciel { --fc: #d9e7fb; }
.fond-lilas { --fc: #e3dbfa; }
.fond-peche { --fc: #ffdccd; }
.fond-menthe { --fc: #d4efe3; }
.fond-blanc { --fc: #ffffff; }

html { background: var(--ciel); }
body {
  font-size: 1rem; line-height: 1.6; color: var(--texte);
  background: linear-gradient(180deg, var(--ciel) 0, #edeafb 28%, var(--lilas) 52%, #f9e9ea 78%, var(--peche) 100%);
  min-height: 100vh;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -.015em; color: var(--nuit); }
a { color: var(--nuit); text-decoration-color: var(--corail); text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--nuit); outline-offset: 3px; border-radius: 12px; }
::selection { background: #ffd2c4; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ------------------------------------------------------------ les boutons */
.bouton, .achat-bouton, .tiroir-commander, [data-payer], .formulaire button[type="submit"], .formulaire [data-confirmer], .barre-achat button {
  background: var(--corail); color: var(--accent-texte); border: 0; border-radius: 999px;
  font-family: var(--police-texte); font-weight: 600; font-size: 1.05rem; letter-spacing: .005em;
  padding: 14px 26px; min-height: 52px; box-shadow: 0 4px 0 var(--corail-sombre);
  transition: transform .15s ease, box-shadow .15s ease, background-color .2s;
}
.bouton:hover, .achat-bouton:hover, .tiroir-commander:hover, [data-payer]:not(:disabled):hover, .formulaire button[type="submit"]:hover, .barre-achat button:hover { background: #ec8068; }
.bouton:active, .achat-bouton:active, .tiroir-commander:active, [data-payer]:active, .formulaire button[type="submit"]:active, .barre-achat button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--corail-sombre); }
.bouton { display: inline-flex; align-items: center; justify-content: center; }
.bouton-grand { width: 100%; font-size: 1.12rem; min-height: 56px; }
.bouton-clair, .bouton-secondaire { background: #fff !important; color: var(--nuit) !important; box-shadow: 0 4px 0 var(--bord) !important; border: 0 !important; border-radius: 999px; }
.bouton-rond {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .72); color: var(--nuit); font-size: 1.6rem; line-height: 1; padding: 0;
}
.bouton-rond svg { width: 22px; height: 22px; }
.bouton-rond:hover { background: #fff; }

/* ------------------------------------------------------------ l'entête */
.entete { position: relative; z-index: 30; }
.entete-ligne {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "logo actions" "nav nav";
  align-items: center; gap: 8px 10px; max-width: 1240px; margin: 0 auto; padding: 10px 16px 4px;
}
.logo { grid-area: logo; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-height: 44px; }
.logo-nuage { width: 44px; height: 35px; flex: none; }
.logo-nom { font-family: var(--police-titre); font-weight: 700; font-size: 1.32rem; letter-spacing: -.03em; color: var(--nuit); white-space: nowrap; }
.logo:hover .logo-nuage { animation: rebond .6s ease; }
@keyframes rebond { 40% { transform: translateY(-3px); } 70% { transform: translateY(1px); } }
.entete-nav { grid-area: nav; display: flex; gap: 6px; }
.entete-nav a {
  flex: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px;
  border-radius: 999px; background: rgba(255, 255, 255, .62); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.entete-nav a:hover { background: #fff; }
.entete-actions { grid-area: actions; display: flex; align-items: center; gap: 4px; }
.panier-nuage {
  position: relative; width: 58px; height: 44px; border: 0; background: none; padding: 0; color: var(--nuit);
  display: grid; place-items: center;
}
.panier-nuage svg { width: 56px; height: 38px; fill: #fff; stroke: var(--nuit); stroke-width: 2.4; stroke-linejoin: round; overflow: visible; }
.panier-compte {
  position: absolute; left: 0; right: 0; top: 15px; text-align: center; font-family: var(--police-titre); font-weight: 700; font-size: .9rem; line-height: 1;
}
.panier-compte:not([data-n="0"]) { color: var(--corail-sombre); }
.panier-nuage:hover svg { fill: var(--peche); }
.retour-panier { justify-self: end; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .7); text-decoration: none; font-weight: 600; font-size: .95rem; }
.entete-leger .entete-ligne { grid-template-areas: "logo actions"; padding-bottom: 8px; }

/* ------------------------------------------------------------ le menu */
.voile { background: rgba(44, 58, 99, .32); }
.menu {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 75; width: min(376px, 90vw);
  background: radial-gradient(circle at 0 50%, #fff 0 15px, transparent 16px) right 0 top 0 / 16px 30px repeat-y, linear-gradient(#fff, #fff) left / calc(100% - 15px) 100% no-repeat;
  padding: 14px 36px calc(24px + env(safe-area-inset-bottom)) 20px; overflow-y: auto;
  transform: translateX(-108%); transition: transform .28s ease; display: flex; flex-direction: column; gap: 6px;
}
.menu.ouvert { transform: none; }

.menu-tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.menu-tete .bouton-rond { background: var(--ciel); }
.menu-titre { font-family: var(--police-titre); font-weight: 700; font-size: 1.15rem; }
.menu-groupe { padding: 8px 0 10px; border-bottom: 2px dotted var(--bord); }
.menu-groupe:last-child { border-bottom: 0; }
.menu-sous { margin: 4px 0 2px; font-size: .8rem; color: var(--doux); font-weight: 600; }
.menu a { display: flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-weight: 600; font-size: 1.02rem; }
.menu a small { color: var(--doux); font-weight: 400; font-size: .82rem; }
.menu a:hover { color: var(--corail-sombre); }
.menu-aide a { font-weight: 400; min-height: 40px; }

/* ------------------------------------------- les nuages d'épaisseur */
.echelle-nuages { display: inline-flex; gap: 2px; align-items: center; flex: none; }
.echelle-nuages svg { width: 18px; height: 12px; overflow: visible; }
.echelle-nuages .plein { fill: var(--corail); }
.echelle-nuages .vide { fill: none; stroke: #8f9cc0; stroke-width: 3; }
.echelle-nuages.mini svg { width: 16px; height: 11px; }
.echelle-nuages.grand { gap: 4px; }
.echelle-nuages.grand svg { width: 34px; height: 23px; }

/* ------------------------------------------------------------ le premier écran */
.ciel-haut { position: relative; overflow: hidden; }
.derive { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.derive span { position: absolute; background: var(--nuage-blanc) center / contain no-repeat; animation: derive 38s ease-in-out infinite alternate; }
.derive .d1 { width: 110px; height: 74px; top: 34%; left: -46px; opacity: .9; }
.derive .d2 { width: 84px; height: 56px; top: 38%; right: -22px; opacity: .8; animation-duration: 52s; animation-direction: alternate-reverse; }
.derive .d3 { width: 150px; height: 100px; bottom: 6%; left: 48%; opacity: .55; animation-duration: 64s; display: none; }
@keyframes derive { from { transform: translateX(0); } to { transform: translateX(46px); } }

.hero {
  position: relative; display: grid; grid-template-areas: "titre" "visuel" "actions";
  max-width: 1240px; margin: 0 auto; padding: 8px 16px 30px;
}
.hero-titre { grid-area: titre; }
.hero-titre h1 { font-size: clamp(2.1rem, 9.4vw, 4.6rem); line-height: 1.06; margin: 0 0 .22em; letter-spacing: -.035em; }
.hero-promesse { margin: 0; font-size: 1.02rem; line-height: 1.5; color: var(--doux); max-width: 36ch; }
.hero-visuel { grid-area: visuel; position: relative; width: min(80vw, 316px); margin: 0 auto 26px; }
.hero-socle {
  /* le nuage commence sous la semelle (elle s'arrête à 86 % de la photo) : la paire se pose dessus sans s'y fondre */
  position: absolute; left: -12%; right: -12%; top: 83%; bottom: -9%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80' preserveAspectRatio='none'%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='30' cy='54' r='24'/%3E%3Ccircle cx='68' cy='40' r='32'/%3E%3Ccircle cx='116' cy='34' r='32'/%3E%3Ccircle cx='158' cy='46' r='27'/%3E%3Ccircle cx='182' cy='60' r='17'/%3E%3Crect x='8' y='52' width='188' height='28' rx='14'/%3E%3C/g%3E%3C/svg%3E") center top / 100% 93% no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80' preserveAspectRatio='none'%3E%3Cg fill='%23d3e1f5'%3E%3Ccircle cx='30' cy='54' r='24'/%3E%3Ccircle cx='68' cy='40' r='32'/%3E%3Ccircle cx='116' cy='34' r='32'/%3E%3Ccircle cx='158' cy='46' r='27'/%3E%3Ccircle cx='182' cy='60' r='17'/%3E%3Crect x='8' y='52' width='188' height='28' rx='14'/%3E%3C/g%3E%3C/svg%3E") 52% bottom / 98% 90% no-repeat;
}
.hero-image { position: relative; width: 100%; height: auto; mix-blend-mode: multiply; }
.hero-etiquette {
  position: absolute; top: 4%; right: -4%; display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  padding: 7px 14px 8px; border-radius: 18px 18px 18px 4px; background: #fff; text-decoration: none; box-shadow: var(--ombre);
  font-size: .78rem; line-height: 1.3; color: var(--doux);
}
.hero-etiquette strong { font-family: var(--police-titre); color: var(--nuit); font-size: .98rem; white-space: nowrap; }
.hero-actions { grid-area: actions; }
.pastilles-titre { margin: 14px 0 6px; font-size: .84rem; color: var(--doux); text-align: center; }
.pastilles { display: flex; gap: 8px; }
.pastille {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; padding: 6px 4px;
  border-radius: 26px; background: rgba(255, 255, 255, .78); text-decoration: none; font-weight: 600; font-size: .86rem; white-space: nowrap;
}
.pastille:hover { background: #fff; }
.hero-reassurance { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; margin: 12px 0 0; font-size: .8rem; color: var(--doux); }
.hero-reassurance span::before { content: ""; display: inline-block; width: 13px; height: 9px; margin-right: 5px; background: var(--nuage-corail) center / contain no-repeat; }

/* ------------------------------------------------------------ les blocs */
.bloc { max-width: 1240px; margin: 0 auto; padding: 34px 16px 10px; }
.bloc-tete { margin-bottom: 18px; }
.bloc-tete h2 { font-size: clamp(1.55rem, 6.2vw, 2.5rem); margin: 0 0 .2em; display: flex; align-items: center; gap: 10px; }
.bloc-tete h2::before { content: ""; width: 34px; height: 23px; flex: none; background: var(--nuage-corail) center / contain no-repeat; }
.bloc-tete p { margin: 0; color: var(--doux); max-width: 52ch; }
.bloc-tete-ligne { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 20px; }
.lien-fleche { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; text-decoration: none; padding: 0 2px; }
.lien-fleche span { transition: transform .2s; }
.lien-fleche:hover span { transform: translateX(4px); }

/* ------------------------------------------------------------ les cartes */
.grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
.carte { position: relative; min-width: 0; }
.carte-lien { display: block; text-decoration: none; color: var(--nuit); }
.carte-visuel {
  position: relative; isolation: isolate; margin-top: 16px; aspect-ratio: 1; border-radius: 30px 30px 26px 26px;
  background: var(--fc, #d9e7fb); transition: transform .3s ease;
}
.carte-visuel::before, .carte-visuel::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; background: var(--fc, #d9e7fb); transition: transform .4s ease; }
.carte-visuel::before { left: 12%; top: -15px; width: 42%; height: 46px; }
.carte-visuel::after { left: 44%; top: -8px; width: 32%; height: 34px; }
.carte-visuel img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; mix-blend-mode: multiply; }
.carte:nth-child(3n+2) .carte-visuel::before { left: 30%; }
.carte:nth-child(3n+2) .carte-visuel::after { left: 8%; width: 30%; }
.carte:nth-child(3n) .carte-visuel::before { left: 46%; width: 38%; }
.carte:nth-child(3n) .carte-visuel::after { left: 18%; width: 34%; top: -6px; }
.carte-lien:hover .carte-visuel { transform: translateY(-4px); }
.carte-lien:hover .carte-visuel::before { transform: scale(1.08); }
.carte-nom { font-size: 1rem; line-height: 1.2; margin: 12px 2px 6px; }
.carte-nom span { display: block; margin-top: 3px; font-family: var(--police-texte); font-weight: 400; font-size: .86rem; letter-spacing: 0; color: var(--doux); }
.carte-semelle { display: flex; align-items: center; gap: 6px; margin: 0 2px 4px; font-size: .78rem; color: var(--doux); }
.carte-bas { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 8px; margin: 0 2px; }
.carte-prix { font-family: var(--police-titre); font-size: 1.02rem; white-space: nowrap; }
.carte-allure { font-size: .76rem; color: var(--doux); white-space: nowrap; }

/* la rangée qui défile (pastels) */
.rangee {
  display: grid; grid-auto-flow: column; grid-auto-columns: 62vw; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 16px; padding: 4px 16px 14px; margin: 0 -16px; scrollbar-width: none;
}
.rangee::-webkit-scrollbar { display: none; }
.carte-rangee { scroll-snap-align: start; }
.carte-rangee .carte-visuel { border-radius: 40px 40px 34px 34px; }

/* ------------------------------------------- combien de pas aujourd'hui ? */
.pas-choix { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .7); margin-bottom: 14px; }
.pas-bouton {
  flex: 1; min-height: 46px; padding: 8px 10px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: .92rem;
  color: var(--nuit); white-space: nowrap; transition: background-color .2s, color .2s;
}
.pas-bouton[aria-pressed="true"] { background: var(--nuit); color: #fff; }
.pas-bouton:not([aria-pressed="true"]):hover { background: #fff; }
.pas-phrase { margin: 0 0 4px; font-weight: 600; }
.grille-trois { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; }
.grille-trois .carte-visuel { border-radius: 24px 24px 20px 20px; margin-top: 12px; }
.grille-trois .carte-visuel::before { height: 32px; top: -11px; }
.grille-trois .carte-visuel::after { height: 24px; top: -6px; }
.grille-trois .carte-nom { font-size: .9rem; }
.grille-trois .carte-nom span { font-size: .78rem; }
.grille-trois .carte-semelle span:not(.echelle-nuages) { display: none; }
.grille-trois .carte-allure { display: none; }
.grille-trois .carte-prix { font-size: .92rem; }

/* ------------------------------------------------------------ les familles */
.familles-liste { display: grid; gap: 12px; }
.famille a {
  display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; text-decoration: none;
  background: rgba(255, 255, 255, .72); border-radius: 30px;
}
.famille a:hover { background: #fff; }
.famille-visuel { display: block; isolation: isolate; aspect-ratio: 1; border-radius: 24px; background: var(--fc); overflow: hidden; }
.famille-visuel img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.famille-texte { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.famille-texte strong { font-family: var(--police-titre); font-size: 1.05rem; }
.famille-texte span { font-size: .86rem; color: var(--doux); line-height: 1.4; }
.famille-texte em { font-style: normal; font-size: .8rem; font-weight: 600; color: var(--nuit); }

/* ------------------------------------------- la réassurance posée sur des nuages */
.reassurance { padding-bottom: 20px; }
.reassurance-nuages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; padding-top: 18px; }
.reassurance-nuages li {
  position: relative; display: flex; flex-direction: column; justify-content: flex-start; gap: 4px; padding: 26px 14px 20px;
  background: #fff; border-radius: 36px 36px 30px 30px; text-align: center; font-size: .86rem; line-height: 1.4; color: var(--doux);
}
.reassurance-nuages li::before, .reassurance-nuages li::after { content: ""; position: absolute; background: #fff; border-radius: 50%; z-index: 0; }
.reassurance-nuages li::before { width: 46%; height: 52px; top: -20px; left: 12%; }
.reassurance-nuages li::after { width: 34%; height: 38px; top: -11px; left: 50%; }
.reassurance-nuages li > * { position: relative; z-index: 1; }
.reassurance-nuages li:nth-child(even) { margin-top: 22px; }
.reassurance-sur { font-size: .76rem; font-weight: 600; color: var(--doux); }
.reassurance-nuages strong { font-family: var(--police-titre); color: var(--nuit); font-size: .98rem; line-height: 1.3; }
.reassurance-contact { margin: 22px 0 0; text-align: center; font-size: .92rem; color: var(--doux); }

/* ------------------------------------------------------------ les rayons */
.rayon { max-width: 1240px; margin: 0 auto; padding: 4px 16px 20px; }
.fil { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: .86rem; color: var(--doux); padding: 6px 0 4px; }
.fil a { color: var(--doux); display: inline-flex; min-height: 36px; align-items: center; }
.rayon-tete { padding: 12px 0 8px; }
.rayon-tete h1 { font-size: clamp(2rem, 8.4vw, 3.3rem); margin: 0 0 .15em; }
.rayon-tete > p { margin: 0 0 12px; color: var(--doux); }
.rayon-familles { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 16px 6px; margin: 0 -16px; }
.rayon-familles::-webkit-scrollbar { display: none; }
.rayon-familles a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .6);
  text-decoration: none; font-size: .88rem; font-weight: 600; white-space: nowrap;
}
.rayon-familles a[aria-current="page"] { background: var(--nuit); color: #fff; }
.filtres { background: rgba(255, 255, 255, .78); border-radius: 30px; padding: 14px 0 6px; margin: 10px 0 8px; }
.filtre-groupe { display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 6px; padding: 0 0 8px 14px; }
.filtre-titre { font-size: .8rem; font-weight: 600; color: var(--doux); }
.pilules { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 14px 2px 2px; }
.pilules::-webkit-scrollbar { display: none; }
.pilule {
  display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 44px; padding: 6px 15px; border-radius: 999px;
  border: 1.5px solid var(--bord); background: #fff; color: var(--nuit); font-weight: 600; font-size: .9rem; white-space: nowrap;
}
.pilule:hover { border-color: var(--nuit); }
.pilule.actif { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.pilule.actif .echelle-nuages .vide { stroke: #c4cde6; }
.pastille-couleur { width: 14px; height: 14px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(44, 58, 99, .25); }
.c-pastel { background: conic-gradient(#f6b9c6 0 25%, #c8b7f1 0 50%, #a9cdf2 0 75%, #b5e3cc 0); }
.c-neutre { background: conic-gradient(#fff 0 33%, #e6d6be 0 66%, #b0b6c2 0); }
.c-rose { background: #f4b2c0; } .c-lilas { background: #c7b3ef; } .c-bleu { background: #8fb8e8; } .c-vert { background: #9fd6b8; }
.c-blanc { background: #fff; } .c-beige { background: #e2cfb3; } .c-gris { background: #a3a9b6; } .c-noir { background: #26293a; }
.c-metallise { background: linear-gradient(135deg, #cfcfd4, #fff 45%, #d7b56a); }
.filtre-bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 14px 8px; border-top: 2px dotted var(--bord); margin-top: 4px; padding-top: 10px; }
.compte { margin: 0; font-weight: 600; font-size: .92rem; }
.tri { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--doux); }
.tri select {
  appearance: none; -webkit-appearance: none; min-height: 44px; font-size: 16px; font-weight: 600; color: var(--nuit); border: 1.5px solid var(--bord);
  border-radius: 999px; padding: 6px 38px 6px 16px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%232c3a63' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 12px 8px no-repeat;
}
.grille-vide { text-align: center; padding: 30px 16px 34px; margin: 14px 0; background: #fff; border-radius: 34px; }
.grille-vide::before { content: ""; display: block; width: 96px; height: 64px; margin: 0 auto 8px; background: var(--nuage-ciel) center / contain no-repeat; }
.grille-vide p { margin: 0 0 4px; font-family: var(--police-titre); font-weight: 700; font-size: 1.15rem; }
.grille-vide .grille-vide-aide { font-family: var(--police-texte); font-weight: 400; font-size: .92rem; color: var(--doux); margin-bottom: 16px; }
.rayon .grille { margin-top: 18px; }

/* ------------------------------------------------------------ la fiche */
.fiche { max-width: 1240px; margin: 0 auto; padding: 0 16px 16px; }
.fiche-grille { display: grid; gap: 18px; }
.fiche-gauche { min-width: 0; }
.fiche-visuel { position: relative; isolation: isolate; margin-top: 24px; border-radius: 44px; background: var(--fc, #d9e7fb); }
.fiche-visuel::before, .fiche-visuel::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; background: var(--fc, #d9e7fb); }
.fiche-visuel::before { left: 10%; top: -22px; width: 44%; height: 70px; }
.fiche-visuel::after { left: 46%; top: -12px; width: 30%; height: 50px; }
.fiche-photos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 44px; scrollbar-width: none; overscroll-behavior-x: contain; }
.fiche-photos::-webkit-scrollbar { display: none; }
.fiche-photo { flex: 0 0 100%; scroll-snap-align: center; }
.fiche-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; mix-blend-mode: multiply; }
.fiche-vignettes { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.fiche-vignettes button { width: 60px; height: 60px; padding: 0; border: 2.5px solid transparent; border-radius: 20px; background: #fff; overflow: hidden; }
.fiche-vignettes button[aria-current="true"] { border-color: var(--nuit); }
.fiche-vignettes img { width: 100%; height: 100%; object-fit: cover; }
.fiche-droite { min-width: 0; }
.fiche-sur { margin: 0 0 4px; font-size: .84rem; font-weight: 600; color: var(--doux); }
.fiche-droite h1 { font-size: clamp(2.1rem, 8.6vw, 3.2rem); line-height: 1.05; margin: 0 0 8px; }
.fiche-droite h1 span { display: block; margin-top: 6px; font-family: var(--police-texte); font-weight: 400; font-size: 1.1rem; letter-spacing: 0; color: var(--doux); }
.fiche-resume { margin: 0 0 12px; color: var(--doux); }
.fiche-prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 14px; }
.fiche-prix strong { font-family: var(--police-titre); font-size: 1.8rem; white-space: nowrap; }
.fiche-prix span { font-size: .86rem; color: var(--doux); }
.echelle { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 18px; border-radius: 999px; background: #fff; margin: 0 0 16px; }
.echelle-titre { font-size: .84rem; color: var(--doux); }
.echelle strong { font-family: var(--police-titre); font-size: 1rem; }
.coloris { margin-bottom: 16px; }
.coloris p { margin: 0 0 6px; }
.coloris-aussi { font-size: .88rem; color: var(--doux); }
.coloris-liste { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; }
.coloris-liste a { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 74px; text-decoration: none; font-size: .74rem; line-height: 1.25; text-align: center; }
.coloris-liste img { width: 64px; height: 64px; object-fit: cover; border-radius: 20px; border: 3px solid var(--fc); background: #fff; transition: transform .2s; }
.coloris-liste a:hover img { transform: translateY(-3px); }

.achat { background: rgba(255, 255, 255, .78); border-radius: 30px; padding: 16px 16px 20px; margin: 0 0 14px; }
.achat-option legend { font-family: var(--police-titre); font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
/* 21 pointures, du 36 au 46 par demi-pointure : 7 colonnes sur 3 rangs, de 36 à 39, de 39,5 à 42,5, de 43 à 46. */
.achat-choix { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.achat-choix span {
  display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 48px; padding: 4px 1px; border-radius: 999px;
  border: 1.5px solid var(--bord); background: #fff; font-weight: 600; font-size: .95rem; letter-spacing: -.01em; white-space: nowrap;
  font-variant-numeric: tabular-nums; transition: border-color .15s, background-color .15s;
}
.achat-choix label:hover span { border-color: var(--nuit); }
.achat-choix input:checked + span { background: var(--nuit); border-color: var(--nuit); color: #fff; }
.achat-erreur { color: #a3261f; font-weight: 600; }
.aide-pointure { margin: 4px 0 6px; font-size: .88rem; color: var(--doux); }
.pointure-choisie { margin: 0 0 10px; min-height: 1.5em; font-weight: 600; font-size: .95rem; }
.pointure-choisie:not(:empty)::before { content: ""; display: inline-block; width: 16px; height: 11px; margin-right: 6px; background: var(--nuage-corail) center / contain no-repeat; }
.achat-bouton { width: 100%; font-size: 1.1rem; }
.fiche-promesses { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 0 0 20px; font-size: .84rem; color: var(--doux); }
.fiche-promesses li { display: flex; align-items: baseline; gap: 6px; line-height: 1.4; }
.fiche-promesses li::before { content: ""; width: 14px; height: 10px; flex: none; background: var(--nuage-corail) center / contain no-repeat; transform: translateY(1px); }
.trois-points h2 { font-size: 1.25rem; margin: 0 0 10px; }
.trois-points ul { display: grid; gap: 8px; margin-bottom: 16px; }
.trois-points li { display: grid; grid-template-columns: 82px 1fr; gap: 10px; align-items: baseline; padding: 12px 16px; border-radius: 22px; background: #fff; font-size: .94rem; line-height: 1.45; }
.trois-points strong { font-family: var(--police-titre); font-size: .92rem; }
.fiche-texte { font-size: 1rem; }
.fiche-texte p { margin: 0 0 16px; }
.fiche-details { background: #fff; border-radius: 24px; padding: 0 18px; margin-bottom: 10px; }
.fiche-details summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; list-style: none; font-family: var(--police-titre); font-weight: 700; font-size: .98rem; }
.fiche-details summary::-webkit-details-marker { display: none; }
.fiche-details summary::after { content: "+"; font-family: var(--police-texte); font-size: 1.4rem; line-height: 1; color: var(--corail-sombre); }
.fiche-details[open] summary::after { content: "–"; }
.fiche-details[open] { padding-bottom: 14px; }
.fiche-infos > div { border-bottom: 1.5px dotted var(--bord); font-size: .92rem; }
.fiche-infos > div:last-child { border-bottom: 0; }
.meme-ciel { padding-left: 0; padding-right: 0; padding-top: 44px; }

/* barre d'achat collée en bas (mobile) */
@media (max-width: 899px) {
  body.page-produit { padding-bottom: 0; }
  .page-produit .pied-ciel { padding-bottom: calc(104px + env(safe-area-inset-bottom)); }
}
.barre-achat { background: #fff; border-top: 0; border-radius: 26px 26px 0 0; box-shadow: 0 -12px 30px -18px rgba(44, 58, 99, .45); padding-top: 12px; }
.barre-achat-texte span { font-weight: 600; }
.barre-achat-texte strong { font-family: var(--police-titre); }
.barre-achat button { min-height: 48px; padding: 10px 22px; font-size: 1rem; white-space: nowrap; }

/* ------------------------------------------------------------ le tiroir */
.tiroir { background: #fff; }
.tiroir::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -16px; width: 16px; pointer-events: none;
  background: radial-gradient(circle at 100% 50%, #fff 0 15px, transparent 16px) 0 0 / 16px 30px repeat-y;
}
.tiroir-entete { border-bottom: 0; padding: 18px 20px 10px; background: #fff; }
.tiroir-entete h2 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.tiroir-entete h2::before { content: ""; width: 30px; height: 20px; background: var(--nuage-corail) center / contain no-repeat; }
.tiroir-fermer { width: 44px; height: 44px; border-radius: 50%; background: var(--ciel) !important; color: var(--nuit); font-size: 1.6rem; }
.tiroir-liste { padding: 4px 20px; }
.ligne-panier { gap: 14px; padding: 14px 0; border-bottom: 2px dotted var(--bord); }
.ligne-panier > a:first-child { flex: none; display: block; width: 78px; height: 78px; border-radius: 22px; background: #d9e7fb; isolation: isolate; overflow: hidden; }
.ligne-panier img { width: 78px; height: 78px; object-fit: cover; border-radius: 22px; mix-blend-mode: multiply; }
.ligne-nom { font-family: var(--police-titre); font-weight: 700; font-size: .95rem; line-height: 1.3; }
.ligne-option { margin-top: 2px; }
.ligne-bas strong { font-family: var(--police-titre); white-space: nowrap; }
.quantite { border: 1.5px solid var(--bord); border-radius: 999px; background: #fff; }
.quantite button { width: 40px; height: 40px; border-radius: 50%; color: var(--nuit); }
.ligne-retirer { min-height: 32px; color: var(--doux); }
.tiroir-pied { border-top: 0; background: var(--ciel); border-radius: 30px 30px 0 0; padding: 18px 20px calc(16px + env(safe-area-inset-bottom)); }
.tiroir-ligne strong { font-family: var(--police-titre); font-size: 1.2rem; }
.tiroir-note { color: var(--doux); }
.tiroir-voir { min-height: 44px; display: flex; align-items: center; justify-content: center; font-weight: 600; margin-top: 6px; }
.panier-vide { padding: 34px 10px; }
.panier-vide::before { content: ""; display: block; width: 110px; height: 74px; margin: 0 auto 10px; background: var(--nuage-ciel) center / contain no-repeat; }
.panier-vide p { font-family: var(--police-titre); font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; }
.panier-vide a { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 22px; border-radius: 999px; background: var(--corail); color: var(--accent-texte); text-decoration: none; font-weight: 600; box-shadow: 0 4px 0 var(--corail-sombre); }

/* ------------------------------------------------------------ la recherche */
.recherche { background: linear-gradient(180deg, var(--ciel), var(--lilas)); padding: 18px 16px; }
.recherche-barre { margin-bottom: 18px; }
.recherche-barre input { min-height: 54px; padding: 12px 22px; border: 2px solid #fff; border-radius: 999px; background: #fff; font-size: 1.05rem; box-shadow: var(--ombre); }
.recherche-barre input:focus { border-color: var(--nuit); outline: none; }
.recherche-barre button { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--nuit); }
.recherche-resultat { gap: 14px; padding: 10px 12px; margin-bottom: 8px; border: 0; border-radius: 24px; background: rgba(255, 255, 255, .8); }
.recherche-resultat:hover { background: #fff; }
.recherche-resultat img { width: 60px; height: 60px; object-fit: cover; border-radius: 18px; }
.recherche-resultat span { font-weight: 600; }
.recherche-resultat strong { font-family: var(--police-titre); white-space: nowrap; }
.recherche-vide { text-align: center; color: var(--doux); }

/* ------------------------------------------------------------ pages de texte */
.texte-page { max-width: 880px; margin: 0 auto; padding: 10px 16px 30px; }
.texte-tete { padding: 14px 0 6px; }
.texte-nuage { display: block; width: 62px; height: 42px; margin-bottom: 8px; background: var(--nuage-corail) center / contain no-repeat; animation: derive 9s ease-in-out infinite alternate; }
.texte-tete h1 { font-size: clamp(1.95rem, 8vw, 3rem); margin: 0 0 .25em; hyphens: manual; }
.texte-intro { font-size: 1.06rem; color: var(--doux); max-width: 60ch; margin: 0; }
.texte-carte { position: relative; background: #fff; border-radius: 34px; }
.texte-carte::before, .texte-carte::after { content: ""; position: absolute; z-index: 0; background: #fff; border-radius: 50%; pointer-events: none; }
.texte-carte::before { width: 150px; height: 72px; top: -22px; right: 14%; }
.texte-carte::after { width: 96px; height: 52px; top: -12px; right: calc(14% + 118px); }
.legal.texte-carte { max-width: none; margin: 34px 0 0; padding: 26px 20px 30px; }
.texte-carte > * { position: relative; z-index: 1; }
.legal h2 { display: flex; align-items: center; gap: 10px; font-size: 1.22rem; margin: 1.8em 0 .6em; }
.legal h2::before { content: ""; width: 24px; height: 16px; flex: none; background: var(--nuage-corail) center / contain no-repeat; }
.legal > h2:first-child, .legal > .legal-intro + h2 { margin-top: .6em; }
.legal h3 { font-size: 1.04rem; }
.legal-intro { font-size: 1.04rem; color: var(--doux); }
.legal ol { padding-left: 1.3em; margin: 0 0 1em; }
.legal ol li { margin-bottom: .35em; }
.legal ul li::marker { color: var(--corail); }
.legal table { border-collapse: separate; border-spacing: 0; border-radius: 20px; overflow: hidden; background: #f6f9fe; }
.legal th { background: var(--ciel-2); font-weight: 600; }
.legal th, .legal td { border-bottom: 1.5px solid #fff; }
.legal-mise-a-jour { color: var(--doux); }
.encadre { border: 0; background: var(--lilas); border-radius: 24px; padding: 16px 20px; }
.texte-cta { margin-top: 26px; }
.echelle-legende { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1em; }
.echelle-legende p { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px; border-radius: 999px; background: var(--ciel); font-weight: 600; }

.faq details { border: 0; background: #f4f8fe; border-radius: 24px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 10px 0; list-style: none; font-family: var(--police-titre); font-weight: 700; font-size: 1rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--police-texte); font-size: 1.4rem; color: var(--corail-sombre); }
.faq details[open] summary::after { content: "–"; }
.faq details div { padding: 0 0 14px; }
.faq details p { margin: 0; }

.contact-infos h2, .formulaire h2 { font-size: 1.2rem; }
.formulaire label, .ck-form label { font-weight: 600; color: var(--nuit); }
.formulaire input:not([type="checkbox"]):not(.piege), .formulaire textarea, .formulaire select,
.ck-form input:not([type="checkbox"]), .ck-form select {
  border: 1.5px solid var(--bord); border-radius: 18px; background: #f7faff; padding: 13px 16px; min-height: 50px; color: var(--nuit);
}
.formulaire textarea { border-radius: 22px; }
.formulaire input:focus, .formulaire textarea:focus, .ck-form input:focus, .ck-form select:focus { border-color: var(--nuit); outline: 2px solid var(--nuit); outline-offset: 1px; background: #fff; }
.formulaire button[type="submit"], .formulaire [data-confirmer] { width: auto; min-width: 200px; }
.form-message.ok { color: #1d6b40; font-weight: 600; }
.form-message.erreur { color: #a3261f; font-weight: 600; }

/* ------------------------------------------------------------ panier, commande, merci */
div.page-panier, .ck, .merci { padding-top: 18px; }
.page-panier h1, .ck h1 { font-size: clamp(1.9rem, 7.4vw, 2.7rem); display: flex; align-items: center; gap: 12px; }
.page-panier h1::before, .ck h1::before { content: ""; width: 44px; height: 30px; flex: none; background: var(--nuage-corail) center / contain no-repeat; }
.panier-lignes { background: #fff; border-radius: 30px; padding: 4px 18px; }
.panier-lignes .ligne-panier:last-child { border-bottom: 0; }
.panier-total { background: #fff; border-radius: 30px; padding: 18px 20px 22px; }
div.page-panier > div > .panier-vide { background: #fff; border-radius: 30px; }
.ck-form section { background: #fff; border-radius: 30px; padding: 20px 18px 8px; margin-bottom: 16px; }
.ck-form section h2 { display: flex; align-items: center; gap: 8px; font-size: 1.12rem; }
.ck-form section h2::before { content: ""; width: 22px; height: 15px; flex: none; background: var(--nuage-corail) center / contain no-repeat; }
.ck-valider { padding-bottom: 20px !important; }
.ck-resume { background: #fff; border-radius: 30px; padding: 18px 18px 16px; box-shadow: inset 0 0 0 2px var(--lilas); }
.ck-resume h2 { font-size: 1.12rem; }
.ck-ligne img { width: 56px; height: 56px; object-fit: cover; border-radius: 16px; background: var(--ciel); }
.ck-ligne strong, .ck-total strong { font-family: var(--police-titre); white-space: nowrap; }
.ck-totaux { border-top: 2px dotted var(--bord); }
.ck-indisponible { background: var(--peche); border-radius: 20px; }
.ck-cgv input { accent-color: var(--nuit); }
.ck-form .ck-cgv { font-size: .92rem; }
.merci { text-align: center; }
.merci::before { content: ""; display: block; width: 120px; height: 80px; margin: 0 auto 14px; background: var(--nuage-corail) center / contain no-repeat; }
.merci h1 { font-size: clamp(1.9rem, 7.4vw, 2.7rem); }

/* ------------------------------------------------------------ 404 */
.introuvable { max-width: 640px; margin: 0 auto; padding: 40px 16px 30px; text-align: center; }
.introuvable .texte-nuage { width: 120px; height: 80px; margin: 0 auto 16px; }
.introuvable h1 { font-size: clamp(1.9rem, 7.6vw, 2.8rem); }
.introuvable p { color: var(--doux); }

/* ------------------------------------------------------------ le pied de page */
.pied { margin-top: 30px; }
.pied-nuages {
  height: 70px; margin-bottom: -1px;
  background:
    radial-gradient(circle at 50% 100%, #fff 0 40px, transparent 41px) 0 100% / 118px 62px repeat-x,
    radial-gradient(circle at 50% 100%, #fff 0 28px, transparent 29px) 59px 100% / 118px 70px repeat-x,
    linear-gradient(#fff, #fff) 0 100% / 100% 14px no-repeat;
  animation: houle 70s linear infinite;
}
@keyframes houle { to { background-position: 118px 100%, 177px 100%, 0 100%; } }
.pied-ciel { background: linear-gradient(180deg, #fff 0, #fff 6px, var(--ciel-2) 34px); padding: 18px 16px calc(26px + env(safe-area-inset-bottom)); }
.pied-haut { max-width: 1240px; margin: 0 auto; display: grid; gap: 26px; }
.pied-marque p { margin: 8px 0 0; font-size: .92rem; color: var(--doux); max-width: 34ch; }
.pied-mail a { font-weight: 600; display: inline-flex; min-height: 44px; align-items: center; }
.pied-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pied-titre { font-family: var(--police-titre); font-weight: 700; font-size: 1rem; margin: 0 0 4px; }
.pied-colonnes a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; font-size: .92rem; line-height: 1.3; }
.pied-colonnes a:hover { text-decoration: underline; text-decoration-color: var(--corail); }
.pied-lettre p { font-size: .92rem; color: var(--doux); margin: 0 0 10px; }
.pied-lettre .pied-titre { color: var(--nuit); margin-bottom: 4px; }
.newsletter { display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter input[type="email"] { flex: 1 1 180px; min-width: 0; min-height: 48px; padding: 10px 18px; border: 1.5px solid #fff; border-radius: 999px; background: #fff; font-size: 16px; }
.newsletter input[type="email"]:focus { border-color: var(--nuit); outline: none; }
.newsletter button { min-height: 48px; padding: 10px 20px; border: 0; border-radius: 999px; background: var(--nuit); color: #fff; font-weight: 600; }
.newsletter button:hover { background: var(--nuit-fonce); }
.newsletter .form-message, .newsletter-note { flex-basis: 100%; }
.newsletter-note { color: var(--doux); }
.pied-legal { max-width: 1240px; margin: 26px auto 0; padding-top: 18px; border-top: 2px dotted #b4c4e3; display: grid; gap: 4px; font-size: .84rem; color: var(--doux); }
.pied-legal a { color: var(--nuit); }
.pied-legal-coord a { font-weight: 600; }
.logos-paiement { margin: 6px 0; }
.logos-paiement svg { width: 46px; height: 29px; }
.lien-retractation { display: inline-flex; align-items: center; min-height: 40px; }
.pied-legal-copy { font-family: var(--police-titre); font-weight: 700; color: var(--nuit); }
.pied-leger { margin-top: 30px; }
.pied-leger .pied-ciel { background: var(--ciel-2); border-radius: 34px 34px 0 0; }
.pied-legers { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 0 18px; }
.pied-legers a { display: inline-flex; align-items: center; min-height: 40px; font-size: .88rem; }
.pied-leger .pied-legal { margin-top: 8px; }

/* ------------------------------------------------------------ plus large */
@media (min-width: 430px) {
  .rangee { grid-auto-columns: 54vw; }
}
@media (min-width: 760px) {
  .grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 20px; }
  .grille-trois { gap: 26px 20px; }
  .grille-trois .carte-nom { font-size: 1rem; }
  .grille-trois .carte-semelle span:not(.echelle-nuages) { display: inline; }
  .grille-trois .carte-allure { display: inline; }
  .grille-trois .carte-visuel { border-radius: 30px 30px 26px 26px; margin-top: 16px; }
  .grille-trois .carte-visuel::before { height: 46px; top: -15px; }
  .grille-trois .carte-visuel::after { height: 34px; top: -8px; }
  .rangee { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; gap: 34px 20px; overflow: visible; margin: 0; padding: 4px 0 8px; }
  .familles-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reassurance-nuages { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .reassurance-nuages li:nth-child(even) { margin-top: 34px; }
  .pas-choix { width: max-content; }
  .pas-bouton { padding: 8px 24px; font-size: 1rem; }
  .bloc { padding: 46px 32px 12px; }
  .rayon, .fiche { padding-left: 32px; padding-right: 32px; }
  .rayon-familles { margin: 0; padding: 2px 0 6px; flex-wrap: wrap; }
  .filtres { padding: 18px 8px 8px; }
  .filtre-groupe { grid-template-columns: 90px minmax(0, 1fr); padding-left: 18px; }
  .pilules { flex-wrap: wrap; overflow: visible; }
  .filtre-bas { padding-left: 18px; padding-right: 18px; }
  .legal.texte-carte { padding: 34px 40px 40px; }
  .pied-ciel { padding-left: 32px; padding-right: 32px; }
  .pied-haut { grid-template-columns: 1.1fr 1.5fr 1.1fr; gap: 36px; }
  .derive .d3 { display: block; }
}
@media (min-width: 860px) {
  .entete-ligne { grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav actions"; padding: 16px 32px 8px; gap: 20px; }
  .entete-nav { justify-content: flex-end; }
  .entete-nav a { flex: none; padding: 8px 20px; }
  .logo-nuage { width: 52px; height: 41px; }
  .logo-nom { font-size: 1.5rem; }
  .entete-leger .entete-ligne { grid-template-columns: auto 1fr; grid-template-areas: "logo actions"; }
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "titre visuel" "actions visuel";
    align-items: end; column-gap: 40px; padding: 30px 32px 54px;
  }
  .hero-titre { align-self: end; }
  .hero-actions { align-self: start; max-width: 460px; }
  .hero-promesse { font-size: 1.15rem; }
  .hero-visuel { width: min(100%, 520px); margin: 0 3% 40px auto; }
  .hero-socle { left: -7%; right: -7%; }
  .bouton-grand { width: auto; padding-left: 40px; padding-right: 40px; }
  .pastilles-titre, .hero-reassurance { text-align: left; justify-content: flex-start; }
  .pastilles { max-width: 420px; }
  .fiche-grille { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: start; }
  .fiche-gauche { position: sticky; top: 16px; }
  .fiche-droite { padding-top: 24px; }
}
@media (min-width: 1100px) {
  .grille { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grille-trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Bureau : la phrase prend la place d'une carte, les trois paires remplissent la ligne. */
  .pas-panneau:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 20px; align-items: center; }
  .pas-phrase {
    position: relative; margin: 16px 0 0; padding: 30px 26px; border-radius: 40px; background: #fff;
    font-family: var(--police-titre); font-weight: 700; font-size: 1.3rem; line-height: 1.4; color: var(--nuit);
  }
  .pas-phrase::before { content: ""; position: absolute; left: 22px; top: -22px; width: 76px; height: 50px; background: var(--nuage-blanc) no-repeat center / contain; }
  .familles-liste { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .famille a { grid-template-columns: 1fr; padding: 12px 12px 16px; text-align: center; border-radius: 34px; }
  .famille-visuel { border-radius: 26px; }
  .famille-texte { align-items: center; }
  .hero-titre h1 { font-size: 4.6rem; }
  .achat-choix { gap: 8px; }
  .achat-choix span { font-size: 1rem; }
}
