/* Mimoza : « Galerie ». Photo d'abord, serif Fraunces pour les titres, encre presque noire, prune pour les actions. Mobile d'abord. */
@font-face { font-family: "Fraunces"; src: url(/fonts/fraunces-latin-wght.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/fonts/fraunces-latin-italic-wght.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/fonts/figtree-latin-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/fonts/figtree-latin-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --prune: #3f1547;
  --mimoza: #8e2f88;
  --mimoza-fonce: #6d2169;
  --lilas: #efe3f0;
  --lilas-2: #e0cbe2;
  --fond: #fcfbfc;
  --surface: #ffffff;
  --encre: #1d0f22;
  --encre-2: #6b5a70;
  --trait: #e6dce8;
  --coton: #3f7d2e;
  --coton-clair: #e6f1e0;
  --fleur: #d9559b;
  --fleur-clair: #f7d9ea;
  --alerte: #b3261e;
  --sur-prune: #fbf4fc;
  --sur-mimoza: #ffffff;
  --pilule-claire: #ffffff;
  --pilule-claire-texte: #3f1547;
  --ombre: 0 10px 30px rgba(29, 15, 34, .12), 0 2px 6px rgba(29, 15, 34, .06);
  --ombre-legere: 0 4px 14px rgba(29, 15, 34, .07);
  --r-bulle: 18px;
  --r-champ: 12px;
  --r-photo: 16px;
  --affichage: "Fraunces", "Iowan Old Style", "Palatino", Georgia, serif;
  --texte: "Figtree", "Avenir Next", "Avenir", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sortie: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light dark;
  accent-color: var(--prune);
}
@media (prefers-color-scheme: dark) {
  :root {
    --prune: #efe3f0;
    --mimoza: #d08fcb;
    --mimoza-fonce: #e7b5e3;
    --lilas: #2c1d31;
    --lilas-2: #45304b;
    --fond: #150e19;
    --surface: #1f1524;
    --encre: #f3ecf5;
    --encre-2: #bfb0c4;
    --trait: #36283b;
    --coton: #9ad484;
    --coton-clair: #22381d;
    --fleur: #ea7ab6;
    --fleur-clair: #4a2338;
    --sur-prune: #1d0f22;
    --sur-mimoza: #1d0f22;
    --pilule-claire: #f6eef7;
    --pilule-claire-texte: #3f1547;
    --ombre: 0 10px 30px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .3);
    --ombre-legere: 0 4px 14px rgba(0, 0, 0, .35);
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--texte);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--encre);
  background: var(--fond);
  padding-bottom: 80px;
  overflow-x: clip;
  caret-color: var(--prune);
}
::selection { background: var(--lilas-2); color: var(--encre); }
h1, h2, h3, .affichage {
  font-family: var(--affichage);
  font-weight: 400;
  font-variation-settings: "opsz" 96;
  letter-spacing: -.012em;
  line-height: 1.05;
  margin: 0 0 .5rem;
  color: var(--encre);
  text-wrap: balance;
}
h1 em, h2 em, h3 em, .affichage em { font-style: italic; font-weight: 400; color: var(--mimoza); }
h1 { font-size: clamp(2.2rem, 5.6vw, 3.1rem); }
main.wrap { padding-top: 20px; }
body.page-accueil main.wrap { padding-top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h2 { font-size: clamp(1.55rem, 4.6vw, 2.05rem); margin-top: 2.25rem; }
h3 { font-size: 1.2rem; font-variation-settings: "opsz" 48; }
h2 small, h3 small { font-family: var(--texte); font-weight: 400; color: var(--encre-2); font-size: .9rem; letter-spacing: 0; }
p { margin: 0 0 .8rem; }
a { color: var(--mimoza); text-underline-offset: .16em; text-decoration-thickness: .08em; }
a:hover { color: var(--mimoza-fonce); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.2rem; }
:focus-visible { outline: 3px solid var(--mimoza); outline-offset: 2px; border-radius: 6px; }
@media (min-width: 900px) {
  ::-webkit-scrollbar { width: 10px; }
  ::-webkit-scrollbar-thumb { background: var(--lilas-2); border-radius: 999px; border: 2px solid var(--fond); }
}
.wrap { max-width: 660px; margin: 0 auto; padding: 0 16px; }
body.page-accueil main.wrap { max-width: 1060px; }
.center { text-align: center; }
.muted { color: var(--encre-2); font-size: .9rem; }
.lead { font-size: 1.08rem; max-width: 60ch; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.wrap-row { flex-wrap: wrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: 8px; }
.skip:focus { left: 8px; z-index: 100; }
.js-only { display: none; }
html.js .js-only { display: revert; }
html.js .achat.js-only { display: flex; }
.ic { width: 24px; height: 24px; flex: none; }
.prix, .nombre { font-family: var(--affichage); font-weight: 500; font-variation-settings: "opsz" 48; font-variant-numeric: tabular-nums; letter-spacing: -.01em; color: var(--encre); }
.prix small { font-family: var(--texte); font-weight: 400; color: var(--encre-2); font-size: .85rem; letter-spacing: 0; }

/* Barre haute et navigation */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 60px; padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--trait);
}
.topbar-prune { background: var(--surface); }
.topbar .logo img { height: 34px; width: auto; }
/* Logo : violet sur fond clair, blanc sur fond sombre (jamais de violet sur violet) */
.topbar .logo-blanc { display: none; }
@media (prefers-color-scheme: dark) { .topbar .logo-violet { display: none; } .topbar .logo-blanc { display: inline; } }
.topnav { display: none; }
.topbar-actions { display: flex; gap: 2px; }
.icon-link {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; color: var(--encre); text-decoration: none;
  border: 1px solid var(--trait); margin-left: 6px;
  transition: background .18s var(--sortie);
}
.icon-link:hover, .icon-link:active { background: var(--lilas); }
.badge {
  position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--prune); color: var(--sur-prune); font-size: .72rem; font-weight: 600;
  line-height: 19px; text-align: center; font-family: var(--texte);
}
.badge.bump { animation: bump .45s var(--sortie); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; background: var(--surface); border-top: 1px solid var(--trait);
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a {
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 3px; padding: 9px 2px 7px; min-height: 58px; font-size: .68rem; font-weight: 400;
  text-decoration: none; color: var(--encre-2); letter-spacing: 0;
}
.bottom-nav a .ic { width: 24px; height: 24px; transition: transform .18s var(--sortie); }
.bottom-nav a[aria-current="page"] { color: var(--prune); font-weight: 600; }
.bottom-nav a[aria-current="page"] .ic { transform: translateY(-1px); }
.bottom-nav .badge { top: 3px; right: calc(50% - 24px); }
.offline-badge { background: var(--encre); color: var(--fond); text-align: center; font-size: .85rem; padding: 6px 12px; }
.bandeau-info { background: var(--lilas); color: var(--encre); text-align: center; font-size: .92rem; font-weight: 600; padding: 9px 14px; }
html.js .produit.indisponible .achat, .produit.indisponible .stepper, .ligne.indisponible .stepper, .ligne.indisponible .champ, .produit.indisponible .muted { display: none; }
.produit.indisponible img, .produit.indisponible .tuile-produit { opacity: .45; }
.footer { margin-top: 48px; padding: 28px 0 16px; border-top: 1px solid var(--trait); font-size: .9rem; color: var(--encre-2); }
.footer p { margin-bottom: .45rem; }
.footer strong { color: var(--encre); font-family: var(--affichage); font-weight: 500; font-size: 1.05rem; }
.footer .credit { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--trait); font-size: .82rem; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--trait);
  background: var(--surface); color: var(--encre); font-family: var(--texte); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform .15s var(--sortie), background .18s var(--sortie), box-shadow .18s var(--sortie), border-color .18s var(--sortie);
}
.btn .ic { width: 22px; height: 22px; }
.btn:hover { background: var(--lilas); border-color: var(--lilas-2); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--prune); border-color: var(--prune); color: var(--sur-prune); }
.btn-primary:hover { background: var(--encre); border-color: var(--encre); color: var(--fond); }
.btn-ghost { background: transparent; border-color: var(--trait); color: var(--encre); }
.btn-ghost:hover { background: var(--lilas); }
.btn-blanc { background: #fff; border-color: #fff; color: #3f1547; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.btn-blanc:hover { background: #efe3f0; border-color: #efe3f0; }
.hero-cta .btn { flex: 1 1 auto; padding: 11px 14px; font-size: .95rem; }
.btn-contour-blanc { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .7); color: #fff; backdrop-filter: blur(6px); }
.btn-contour-blanc:hover { background: rgba(255, 255, 255, .22); border-color: #fff; }
.btn-small { min-height: 40px; padding: 7px 14px; font-size: .92rem; }
.btn-big { width: 100%; min-height: 56px; font-size: 1.06rem; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.link-btn { background: none; border: 0; color: var(--mimoza); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: .16em; padding: 8px 0; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.link-btn .ic { width: 18px; height: 18px; }

/* Bulles */
.fil { display: flex; flex-direction: column; gap: 10px; }
.bulle {
  position: relative; max-width: 100%; padding: 12px 16px; border-radius: var(--r-bulle);
  font-family: var(--texte); font-size: .95rem; line-height: 1.5; margin: 0;
}
.bulle-envoi { background: var(--lilas); color: var(--encre); border-bottom-right-radius: 6px; align-self: flex-end; margin-left: 10%; }
.bulle-mimoza { background: var(--surface); color: var(--encre); border: 1px solid var(--trait); border-bottom-left-radius: 6px; align-self: flex-start; margin-right: 10%; }
pre.bulle { white-space: pre-wrap; word-break: break-word; }
.bulle-nom { font-size: .78rem; color: var(--encre-2); margin: 0 0 -4px 10px; }
.bulle-legende { font-size: .78rem; color: var(--encre-2); margin: -2px 0 0 10px; }
.apparait { animation: monte .5s var(--sortie) both; }
@keyframes monte { from { opacity: 0; transform: translateY(8px); } }

/* Accueil : bandeau photo pleine largeur, onglets, grille */
.bandeau-photo {
  position: relative; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  min-height: 440px; max-height: 620px; display: flex; align-items: flex-end; overflow: hidden; background: var(--encre);
  color: #fff;
}
.bandeau-photo .bandeau-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.bandeau-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29, 15, 34, .12) 0%, rgba(29, 15, 34, .22) 35%, rgba(29, 15, 34, .62) 62%, rgba(29, 15, 34, .9) 100%); }
.bandeau-texte { position: relative; z-index: 1; padding: 120px 16px 26px; width: 100%; max-width: 1060px; margin: 0 auto; }
.bandeau-texte h1 { color: #fff; margin-bottom: .45rem; }
.bandeau-texte h1 em { color: #e7b5e3; }
.bandeau-texte .lead { color: rgba(255, 255, 255, .92); margin-bottom: 1rem; text-shadow: 0 1px 12px rgba(29, 15, 34, .5); }
.bandeau-texte h1 { text-shadow: 0 2px 18px rgba(29, 15, 34, .45); }
.hero-cta { margin: 0; }
.onglets { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--trait); margin: 8px 0 18px; }
.onglets::-webkit-scrollbar { display: none; }
.onglets a { white-space: nowrap; padding: 12px 0 11px; text-decoration: none; color: var(--encre-2); font-weight: 400; font-size: 1rem; border-bottom: 2px solid transparent; }
.onglets a[aria-current="page"], .onglets a:hover { color: var(--encre); border-bottom-color: var(--prune); font-weight: 600; }
.grille-produits { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 14px; }
.carte-produit { display: grid; gap: 4px; text-decoration: none; color: inherit; }
.carte-produit .visuel { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--trait); display: grid; place-items: center; }
.carte-produit .visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--sortie); }
.carte-produit:hover .visuel img { transform: scale(1.03); }
.carte-produit .ligne-prix { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 6px; }
.carte-produit .ligne-prix strong { font-family: var(--affichage); font-weight: 500; font-size: 1.15rem; letter-spacing: -.01em; }
.carte-produit .ligne-prix .prix { font-size: .98rem; }
.carte-produit small { color: var(--encre-2); font-size: .85rem; line-height: 1.35; }
.section-titre { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 2rem; }
.section-titre h2 { margin: 0; }
.section-titre a { font-size: .92rem; }
.garanties { margin-top: 36px; padding: 6px 0 0; border-top: 1px solid var(--trait); }
.garanties h2 { margin-top: 1.2rem; }
.garanties ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.garanties li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.garanties .ic { color: var(--coton); width: 26px; height: 26px; }
.outils { margin-top: 36px; }
.outils .fil { gap: 18px; }
.outils .bulle { padding-bottom: 14px; }
.outils .btn { margin-top: 10px; }
.temoignages { margin-top: 36px; }
.faq-teaser { margin-top: 36px; }
.pro-teaser { margin-top: 36px; padding: 22px 0 6px; border-top: 1px solid var(--trait); }
.pro-teaser h2 { margin-top: 0; font-size: 1.35rem; }
.steps { margin-top: 32px; }

/* Sections, listes, détails */
section { margin-bottom: 8px; }
details { border-bottom: 1px solid var(--trait); padding: 6px 0; }
summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--affichage); font-weight: 400; font-size: 1.4rem; color: var(--encre-2); flex: none; }
details[open] summary::after { content: "\2212"; }
details p { margin: 4px 0 10px; color: var(--encre-2); }
.tabs { display: flex; gap: 22px; padding: 0; margin: 0 0 18px; border-bottom: 1px solid var(--trait); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { white-space: nowrap; padding: 10px 0; text-decoration: none; color: var(--encre-2); font-weight: 400; font-size: 1rem; border-bottom: 2px solid transparent; display: inline-flex; align-items: center; min-height: 44px; }
.tabs a[aria-current="page"] { color: var(--encre); border-bottom-color: var(--prune); font-weight: 600; }
.liste-claire { list-style: none; padding: 0; margin: 0 0 12px; }
.liste-claire li { padding: 10px 0; border-bottom: 1px solid var(--trait); display: flex; gap: 10px; }
.liste-claire li:last-child { border-bottom: 0; }
.liste-claire .ic { color: var(--mimoza); }
.img-bloc { border-radius: var(--r-photo); margin: 4px 0 18px; }
.tableau { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .95rem; }
.tableau th, .tableau td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--trait); }
.tableau td:nth-child(n + 2) { font-variant-numeric: tabular-nums; }
.bloc { padding: 4px 0 18px; }
.bloc + .bloc { border-top: 1px solid var(--trait); padding-top: 18px; }
.bloc h2 { margin-top: 0; font-size: 1.35rem; }
.carte { background: var(--surface); border-radius: var(--r-photo); border: 1px solid var(--trait); padding: 18px; margin-bottom: 14px; }

/* Produits */
.composition summary { font-size: .95rem; }
.produits { display: grid; gap: 0; margin-top: 8px; }
.produit { display: grid; grid-template-columns: 108px 1fr; gap: 14px 16px; padding: 20px 0; border-bottom: 1px solid var(--trait); }
.produit:last-child { border-bottom: 0; }
.produit img, .produit .tuile-produit { width: 108px; height: 108px; border-radius: 12px; object-fit: cover; border: 1px solid var(--trait); background: var(--surface); }
/* Galerie produit : on fait défiler au doigt, un point par photo */
.produit .galerie { width: 108px; position: relative; }
.produit .galerie-piste { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 12px; border: 1px solid var(--trait); -webkit-overflow-scrolling: touch; }
.produit .galerie-piste::-webkit-scrollbar { display: none; }
.produit .galerie-piste img { flex: 0 0 100%; scroll-snap-align: start; border-radius: 0; border: 0; }
.produit .galerie-points { display: flex; justify-content: center; gap: 5px; margin-top: 6px; }
.produit .galerie-points i { width: 6px; height: 6px; border-radius: 50%; background: var(--lilas-2); }
.produit .galerie-points i.actif { background: var(--encre); }
.produit .galerie::after { content: ''; position: absolute; right: 8px; top: 46px; width: 8px; height: 8px; border-right: 2px solid #fff; border-top: 2px solid #fff; transform: rotate(45deg); opacity: .95; filter: drop-shadow(0 0 2px rgba(0,0,0,.6)); pointer-events: none; }
.produit .galerie.fin::after { display: none; }
@media (min-width: 720px) { .produit .galerie { width: 160px; } .produit .galerie-piste img { width: 160px; height: 160px; } .produit .galerie::after { top: 72px; } }
/* Best-sellers sur l'accueil */
.best { margin-top: 28px; }
.best-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.best-carte { position: relative; display: grid; gap: 4px; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--trait); text-decoration: none; color: inherit; }
.best-carte img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.best-carte small { color: var(--encre-2); }
.badge-best { position: absolute; top: 16px; left: 16px; background: var(--encre); color: var(--fond); font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; font-family: var(--texte); }
.produit .badge-best, .carte-produit .badge-best { position: static; display: inline-block; margin-left: 6px; vertical-align: middle; }
.tuile-produit {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: var(--surface); color: var(--encre); text-align: center;
}
.tuile-produit .cv-nom { font-family: var(--affichage); font-weight: 500; font-size: 1.2rem; letter-spacing: -.01em; }
.tuile-produit .cv-mm { font-size: .72rem; color: var(--encre-2); }
.produit-body h2 { margin: 0 0 .25rem; font-size: 1.5rem; }
.produit-body p { margin-bottom: .4rem; font-size: .95rem; }
.produit-body .prix { font-size: 1.25rem; }
.produit-actions { grid-column: 1 / -1; }
.achat { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.achat .champ { margin: 0; }
.achat .champ select { width: 86px; min-height: 46px; padding: 8px 10px; }
.achat .stepper input { width: 40px; }
.rupture { color: var(--alerte); font-weight: 600; }
.card-visual { display: none; }

/* Formulaires */
.champ { display: block; margin-bottom: 14px; }
.champ > span, .champ legend { display: block; font-size: .9rem; font-weight: 600; color: var(--encre); margin-bottom: 6px; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--encre);
  border: 1.5px solid var(--trait); border-radius: var(--r-champ); background: var(--surface);
  transition: border-color .15s var(--sortie), box-shadow .15s var(--sortie);
}
.champ input::placeholder, .champ textarea::placeholder { color: var(--encre-2); opacity: .8; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--prune); box-shadow: 0 0 0 4px rgba(63, 21, 71, .12); }
.champ textarea { min-height: 64px; resize: vertical; }
.champ-inline { display: flex; align-items: center; gap: 10px; }
.champ-inline > span { flex: 1; margin: 0; }
.champ-inline input, .champ-inline select { width: 110px; }
fieldset.champ { border: 0; padding: 0; margin: 0 0 14px; }
.choix { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.choix label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px 6px 12px;
  border: 1.5px solid var(--trait); border-radius: 999px; background: var(--surface); font-weight: 600; cursor: pointer;
  transition: background .15s var(--sortie), border-color .15s var(--sortie), color .15s var(--sortie);
}
.choix label:has(input:checked) { background: var(--prune); border-color: var(--prune); color: var(--sur-prune); }
.choix input, .check input { width: 18px; height: 18px; margin: 0; }
.check { display: flex; gap: 12px; align-items: center; min-height: 44px; margin-bottom: 12px; font-weight: 600; }
.hint { color: var(--alerte); font-size: .9rem; font-weight: 600; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--trait); border-radius: 999px; background: var(--surface); }
.stepper .step { width: 44px; height: 44px; border: 0; background: none; color: var(--encre); cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.stepper .step .ic { width: 20px; height: 20px; }
.stepper .step:active { background: var(--lilas); }
.stepper input { width: 46px; height: 44px; border: 0; text-align: center; font-family: var(--texte); font-weight: 600; font-size: 1.05rem; background: none; color: var(--encre); -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Commande */
.famille-titre { margin: 14px 0 0; display: flex; justify-content: space-between; align-items: baseline; font-size: 1rem; color: var(--encre-2); font-family: var(--texte); font-weight: 600; letter-spacing: 0; }
.famille-titre a { font-weight: 400; font-size: .85rem; }
.ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--trait); }
.ligne:last-of-type { border-bottom: 0; }
.ligne-info { flex: 1 1 130px; display: flex; flex-direction: column; }
.ligne-info strong { font-family: var(--affichage); font-weight: 500; font-size: 1.1rem; }
.ligne-info small { color: var(--encre-2); font-size: .82rem; }
.ligne-info .prix { font-size: 1rem; }
.ligne .champ-inline { margin: 0; }
.ligne .champ-inline > span { display: none; }
.ligne .champ-inline select { width: 92px; min-height: 44px; }
.ligne.indispo { opacity: .55; }
.apercu { margin-top: 8px; }
.apercu h2 { font-size: 1.35rem; }
.apercu .fil { margin-top: 8px; }
.recap { margin-top: 12px; }
.recap ul { list-style: none; padding: 0; margin: 0; display: none; }
.recap-ligne { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; color: var(--encre-2); font-size: .95rem; }
.recap-ligne strong { color: var(--encre); font-weight: 600; }
.recap-ligne.total { border-top: 1px solid var(--trait); margin-top: 6px; padding-top: 10px; color: var(--encre); }
.recap-ligne.total strong { font-family: var(--affichage); font-weight: 500; font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; margin: 18px 0 8px; }
.actions .btn-ghost { align-self: center; }
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(29, 15, 34, .55); display: flex; align-items: flex-end; justify-content: center; padding: 12px; backdrop-filter: blur(3px); }
.overlay-box { width: 100%; max-width: 480px; background: var(--fond); border-radius: 22px; padding: 22px 20px 18px; animation: monte .35s var(--sortie); box-shadow: var(--ombre); }
.overlay-box h2 { margin-top: 0; }
.overlay-box .row { margin: 12px 0; }
.overlay-box .fil { margin-top: 12px; max-height: 40vh; overflow: auto; }

/* Quiz */
.quiz { min-height: 220px; margin-bottom: 22px; }
.quiz-progress { color: var(--encre-2); font-size: .85rem; margin: 0 0 8px; }
.quiz .bulle-question { font-family: var(--affichage); font-weight: 400; font-size: 1.35rem; line-height: 1.25; letter-spacing: -.01em; padding: 16px 18px; }
.quiz-options { display: grid; gap: 8px; margin: 14px 0 6px; }
.quiz-options button {
  text-align: left; min-height: 54px; padding: 12px 18px; border-radius: 14px; border: 1.5px solid var(--trait);
  background: var(--surface); font: inherit; font-weight: 600; color: var(--encre); cursor: pointer;
  transition: transform .12s var(--sortie), background .15s var(--sortie), border-color .15s var(--sortie);
}
.quiz-options button:hover { border-color: var(--lilas-2); background: var(--lilas); }
.quiz-options button:active { transform: scale(.985); }
.quiz-options button.on { border-color: var(--prune); background: var(--lilas); color: var(--encre); }
.resultat { display: flex; flex-direction: column; gap: 10px; }
.resultat .cv-nom { font-family: var(--affichage); font-weight: 400; font-size: 2.8rem; letter-spacing: -.02em; line-height: 1; color: var(--encre); }
.resultat img { max-width: 220px; border-radius: 12px; border: 1px solid var(--trait); }
.resultat .pourquoi { margin: 4px 0; }
.resultat .row { margin-top: 6px; }

/* Calendrier : anneau du cycle */
.cycle-tete { text-align: center; margin: 4px 0 8px; }
.cycle-tete .sur { color: var(--encre-2); font-size: .95rem; margin: 0; }
.cycle-tete h2 { margin: 0; font-size: 1.6rem; }
.anneau { position: relative; width: min(100%, 340px); margin: 6px auto 0; }
.anneau svg { width: 100%; height: auto; display: block; }
.anneau .pt { fill: var(--lilas-2); }
.anneau .pt.regles { fill: var(--fleur); }
.anneau .pt.fertile { fill: var(--mimoza); opacity: .55; }
.anneau .pt.ovulation { fill: var(--surface); stroke: var(--coton); stroke-width: 2.5; }
.anneau .pt.aujourdhui { fill: var(--prune); stroke: var(--surface); stroke-width: 3; }
.anneau .num { font-family: var(--texte); font-size: 11px; font-weight: 600; fill: var(--sur-prune); }
.anneau .rep { font-family: var(--texte); font-size: 11px; fill: var(--encre-2); }
.anneau .ovu { font-family: var(--texte); font-size: 9.5px; font-weight: 600; fill: var(--coton); letter-spacing: .12em; }
.anneau .centre { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; text-align: center; pointer-events: none; }
.anneau .centre .sur { color: var(--encre-2); font-size: .95rem; margin: 0; }
.anneau .centre .jour { font-family: var(--affichage); font-weight: 500; font-size: 4rem; line-height: 1; letter-spacing: -.03em; color: var(--encre); font-variant-numeric: tabular-nums; }
.anneau .centre .jour small { font-family: var(--texte); font-size: 1.1rem; color: var(--encre-2); letter-spacing: 0; font-weight: 400; }
.anneau .centre .retard { display: block; color: var(--fleur); font-size: .85rem; font-weight: 600; }
.legende-cycle { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--encre-2); margin: 4px 0 16px; }
.legende-cycle span { display: inline-flex; align-items: center; gap: 6px; }
.legende-cycle i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--lilas-2); }
.legende-cycle i.regles { background: var(--fleur); }
.legende-cycle i.fertile { background: var(--mimoza); opacity: .55; }
.legende-cycle i.ovulation { background: var(--surface); box-shadow: inset 0 0 0 2px var(--coton); }
.cycle-cartes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cycle-carte { background: var(--surface); border: 1px solid var(--trait); border-radius: 16px; padding: 14px; display: grid; gap: 8px; align-content: start; }
.cycle-carte .titre { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.cycle-carte .titre i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--lilas); color: var(--mimoza); font-style: normal; }
.cycle-carte .titre i .ic { width: 18px; height: 18px; }
.cycle-carte .titre i.regles { background: var(--fleur-clair); color: var(--fleur); }
.cycle-carte .titre i.ovulation { background: var(--coton-clair); color: var(--coton); }
.cycle-carte .quand { display: inline-block; width: max-content; max-width: 100%; padding: 6px 10px; border-radius: 8px; font-weight: 600; font-size: .95rem; background: var(--lilas); color: var(--encre); }
.cycle-carte .quand.regles { background: var(--fleur-clair); color: var(--fleur); }
.cycle-carte .quand.ovulation { background: var(--coton-clair); color: var(--coton); }
.cycle-carte small { color: var(--encre-2); font-size: .85rem; }
.cycle-bande { margin-top: 10px; background: var(--surface); border: 1px solid var(--trait); border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.cycle-bande i { width: 40px; height: 40px; border-radius: 50%; background: var(--lilas); color: var(--mimoza); display: grid; place-items: center; flex: none; font-style: normal; }
.cycle-bande i .ic { width: 20px; height: 20px; }
.cycle-bande div { flex: 1; }
.cycle-bande b { display: block; font-weight: 600; }
.cycle-bande small { color: var(--encre-2); font-size: .85rem; }
.cycle-bande .etat { flex: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .88rem; background: var(--lilas); color: var(--encre); }
.cycle-bande .etat.pic { background: var(--prune); color: var(--sur-prune); }
.cycle-bande .etat.fertile { background: var(--mimoza); color: var(--sur-mimoza); }
.cycle-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.cycle-stat { background: var(--surface); border: 1px solid var(--trait); border-radius: 16px; padding: 12px 12px 10px; display: grid; gap: 4px; }
.cycle-stat .ic { width: 20px; height: 20px; color: var(--mimoza); }
.cycle-stat b { font-family: var(--affichage); font-weight: 500; font-size: 1.35rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.cycle-stat small { color: var(--encre-2); font-size: .78rem; line-height: 1.25; }
.cycle-commande { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--trait); }
.commande-avant { font-family: var(--affichage); font-weight: 400; font-size: 1.35rem; color: var(--encre); margin: 0 0 8px; line-height: 1.2; }
.historique { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.historique span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 999px; background: var(--lilas); font-size: .85rem; }
.historique button { border: 0; background: none; color: var(--encre-2); cursor: pointer; font: inherit; padding: 2px 4px; line-height: 1; }
#cycle-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
#cycle-liste li { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--r-bulle); border-bottom-left-radius: 6px; padding: 12px 16px; }

/* Toast, bannière, hors ligne */
.toast {
  position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); z-index: 40;
  background: var(--encre); color: var(--fond); padding: 11px 18px; border-radius: 999px; font-size: .95rem;
  box-shadow: var(--ombre); max-width: 92vw; display: flex; gap: 12px; align-items: center; animation: monte-centre .3s var(--sortie);
}
@keyframes monte-centre { from { opacity: 0; transform: translate(-50%, 8px); } }
.toast span { white-space: nowrap; }
.toast a, .toast button { color: #e7b5e3; font: inherit; font-weight: 600; background: none; border: 0; text-decoration: underline; cursor: pointer; white-space: nowrap; flex: none; }
.install-banner {
  position: fixed; left: 12px; right: 12px; bottom: 88px; z-index: 30; background: var(--surface); border-radius: 18px;
  box-shadow: var(--ombre); padding: 16px; border: 1px solid var(--trait); animation: monte .3s var(--sortie);
}
.install-banner p { margin-bottom: 10px; font-size: .95rem; }

/* Ordinateur */
@media (min-width: 720px) {
  .bandeau-photo { min-height: 520px; border-radius: 0 0 28px 28px; }
  .bandeau-texte { padding: 160px 24px 40px; }
  .bandeau-texte .lead { max-width: 46ch; }
  .hero-cta .btn { flex: 0 1 auto; padding: 11px 22px; font-size: 1rem; }
  .grille-produits { grid-template-columns: repeat(3, 1fr); gap: 26px 20px; }
  .garanties ul { grid-template-columns: repeat(4, 1fr); }
  .produit { grid-template-columns: 160px 1fr; }
  .produit img, .produit .tuile-produit { width: 160px; height: 160px; }
  .produit-actions { grid-column: 2; }
  .cycle-cartes { gap: 14px; }
}
@media (min-width: 900px) {
  body { padding-bottom: 32px; }
  .bottom-nav { display: none; }
  .topbar { height: 68px; padding: 0 28px; }
  .topnav { display: flex; gap: 22px; }
  .topnav a { padding: 8px 2px; text-decoration: none; color: var(--encre-2); font-weight: 400; font-size: .98rem; border-bottom: 2px solid transparent; }
  .topnav a[aria-current="page"], .topnav a:hover { color: var(--encre); border-bottom-color: var(--prune); font-weight: 600; }
  .grille-produits { grid-template-columns: repeat(4, 1fr); }
  .toast, .install-banner { bottom: 28px; }
  .install-banner { left: auto; right: 28px; max-width: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
