:root {
  --green: #3fd12a;
  --green-deep: #24a312;
  --green-soft: #e4f9df;
  --ink: #0c0d0c;
  --ink-2: #3a3d3a;
  --muted: #6c706b;
  --line: #e3e4df;
  --paper: #f6f6f1;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(12, 13, 12, .05), 0 8px 24px rgba(12, 13, 12, .06);
  --display: "Unbounded", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 10px 18px;
  font: 600 15px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:active { transform: scale(.97); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #262826; }
.btn--green { background: var(--green); color: var(--ink); }
.btn--green:hover { background: #52e03c; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: rgba(12, 13, 12, .06); }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
}
.icon-btn:hover { background: rgba(12, 13, 12, .07); }

/* Barre du haut */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(246, 246, 241, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand img { height: 48px; width: auto; }
.topnav { display: flex; gap: 4px; margin-right: auto; }
.topnav button {
  border: 0; background: none; cursor: pointer; padding: 8px 12px; border-radius: 999px;
  font: 500 15px var(--body); color: var(--ink-2);
}
.topnav button:hover, .topnav button[aria-current="true"] { background: rgba(12, 13, 12, .06); color: var(--ink); }
.topbar__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.cart-count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--green); color: var(--ink); font-size: 12px; font-weight: 700;
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

/* Hero */
.hero {
  background: var(--ink); color: #fff; overflow: hidden;
  background-image: radial-gradient(circle at 85% 30%, rgba(63, 209, 42, .22), transparent 45%);
}
.hero__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 80px 0 88px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #c9cdc7;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(63, 209, 42, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(63, 209, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 209, 42, 0); } }
.hero h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 800; }
.hl { color: var(--green); }
.lead { max-width: 520px; margin: 22px 0 32px; font-size: 18px; color: #cfd3cd; }
.hero__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.hero__note { font-size: 14px; color: #9fa49d; }

.eq { display: flex; align-items: center; justify-content: center; gap: 12px; height: 280px; }
.eq span {
  width: 14px; border-radius: 8px; background: var(--green);
  height: 30%; animation: eq 1.4s ease-in-out infinite;
}
.eq span:nth-child(odd) { background: #fff; }
.eq span:nth-child(1) { animation-delay: -1.2s; } .eq span:nth-child(2) { animation-delay: -.3s; }
.eq span:nth-child(3) { animation-delay: -.9s; }  .eq span:nth-child(4) { animation-delay: -.1s; }
.eq span:nth-child(5) { animation-delay: -.6s; }  .eq span:nth-child(6) { animation-delay: -1.1s; }
.eq span:nth-child(7) { animation-delay: -.4s; }  .eq span:nth-child(8) { animation-delay: -.8s; }
.eq span:nth-child(9) { animation-delay: -.2s; }  .eq span:nth-child(10) { animation-delay: -1s; }
.eq span:nth-child(11) { animation-delay: -.5s; } .eq span:nth-child(12) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { height: 18%; } 50% { height: 92%; } }

/* Catalogue */
.catalogue { padding: 64px 0 24px; }
.catalogue__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.catalogue__head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
  padding: 9px 16px; border-radius: 999px; cursor: pointer; font: 500 14px var(--body);
}
.chip:hover { border-color: #c7c9c3; }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.notice {
  margin-bottom: 20px; padding: 12px 16px; border-radius: 12px;
  background: var(--green-soft); color: #1d5e14; font-size: 14px;
}

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(12, 13, 12, .05), 0 16px 36px rgba(12, 13, 12, .1); }
.card--skeleton { height: 380px; background: linear-gradient(90deg, #ecece7, #f5f5f1, #ecece7); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.card__media { position: relative; aspect-ratio: 1 / 1; background: var(--ink); }
.card__img { display: block; width: 100%; height: 100%; border: 0; padding: 0; background: none; cursor: pointer; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card__img img { transform: scale(1.03); }
.card__tag {
  position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 12px; font-weight: 700;
}
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.card__title { font-size: 17px; font-weight: 700; }
.card__title button { all: unset; cursor: pointer; }
.card__title button:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__summary { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.price { font: 700 19px var(--display); }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 48px 0; }

/* Visuel généré quand le produit n'a pas d'image */
.art { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 18%; }
.art i { flex: 1; border-radius: 6px; background: var(--green); }
.art i:nth-child(even) { background: #fff; }

/* Avantages */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; padding: 48px 0 24px; }
.perk { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; border-top: 3px solid var(--ink); }
.perk strong { font-family: var(--display); font-size: 16px; }
.perk span { color: var(--muted); font-size: 15px; }

/* Pied de page */
.footer { border-top: 1px solid var(--line); background: #fff; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px 0; font-size: 14px; color: var(--muted); }
.footer img { height: 40px; width: auto; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--ink); text-decoration: underline; }
.footer p { margin: 0; }

/* Fiche produit */
.modal {
  width: min(920px, 100% - 32px); max-height: min(88vh, 760px); padding: 0; border: 0;
  border-radius: 22px; background: var(--card); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}
.modal::backdrop { background: rgba(12, 13, 12, .55); backdrop-filter: blur(3px); }
.modal__close { position: absolute; right: 12px; top: 12px; z-index: 2; background: rgba(255, 255, 255, .9); }
.modal__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.modal__media { background: var(--ink); }
.modal__img { position: sticky; top: 0; aspect-ratio: 1 / 1; }
.modal__img img { width: 100%; height: 100%; object-fit: cover; }
.modal__info { padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; max-height: min(88vh, 760px); }
.modal__info .card__tag { position: static; align-self: flex-start; background: var(--green-soft); color: #1d5e14; }
.modal__info h3 { font-size: 26px; }
.modal__info .price { font-size: 26px; }
.rich { color: var(--ink-2); font-size: 15px; }
.rich > :last-child { margin-bottom: 0; }
.rich p { margin: 0 0 10px; }
.rich ul, .rich ol { padding-left: 20px; margin: 0 0 10px; }
.rich li { margin-bottom: 3px; }
.rich img { border-radius: 10px; margin: 6px 0; height: auto; }
.rich a { color: var(--green-deep); }
.details { padding: 14px 16px; border-radius: 12px; background: var(--paper); }
.desc { display: flex; flex-direction: column; gap: 10px; }
.desc h4, .voices legend, .field label { margin: 0; font: 700 15px var(--display); }
.demo { margin: 0 0 10px; display: flex; flex-direction: column; gap: 6px; }
.demo figcaption { font-size: 14px; font-weight: 600; color: var(--ink); }
.demo audio, .rich audio { width: 100%; height: 42px; }
.rich video { width: 100%; border-radius: 10px; }
.embed { position: relative; aspect-ratio: 16 / 9; margin: 0 0 10px; border-radius: 12px; overflow: hidden; background: var(--ink); }
.embed--audio { aspect-ratio: auto; height: 166px; background: none; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.delivery { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.delivery svg { color: var(--green-deep); flex: none; }

/* Panier */
.overlay { position: fixed; inset: 0; z-index: 40; background: rgba(12, 13, 12, .45); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(420px, 100%);
  display: flex; flex-direction: column; background: var(--card);
  transform: translateX(100%); visibility: hidden;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s;
  box-shadow: -20px 0 50px rgba(0, 0, 0, .15);
}
.drawer.open { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 20px; }
.drawer__lines { list-style: none; margin: 0; padding: 8px 20px; overflow-y: auto; flex: 1; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line__thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--ink); }
.line__thumb img { width: 100%; height: 100%; object-fit: cover; }
.line__thumb .art { padding: 0 12px; gap: 3px; }
.line__thumb .art i { border-radius: 2px; }
.line__name { font-weight: 700; font-size: 15px; }
.line__price { color: var(--muted); font-size: 14px; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; border-radius: 50%; font-size: 16px; }
.qty button:hover { background: rgba(12, 13, 12, .06); }
.qty span { min-width: 18px; text-align: center; font-size: 14px; font-weight: 600; }
.line__remove { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 13px; text-decoration: underline; }
.line__remove:hover { color: var(--ink); }
.cart-empty { padding: 48px 0; text-align: center; color: var(--muted); }
.drawer__foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.total strong { font: 700 22px var(--display); }
.drawer__hint { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 140%);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px;
  transition: transform .25s ease, visibility 0s linear .25s; max-width: calc(100% - 32px); visibility: hidden;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .25s ease; }

/* Responsive */
@media (max-width: 980px) {
  .topnav { display: none; }
}
@media (max-width: 760px) {
  .topbar__inner { height: 62px; gap: 10px; }
  .brand img { height: 40px; }
  .btn--ghost span, .cart-btn > span:not(.cart-count) { display: none; }
  .hero__inner { grid-template-columns: 1fr; padding: 48px 0 56px; }
  .eq { height: 120px; order: -1; justify-content: flex-start; gap: 8px; }
  .eq span { width: 9px; }
  .perks { grid-template-columns: 1fr; padding: 32px 0 48px; }
  .modal__body { grid-template-columns: 1fr; }
  .modal__media { min-height: 0; aspect-ratio: 16 / 9; }
  .modal__info { padding: 24px 20px; max-height: none; }
  .modal { overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Démo sur les cartes ---------- */
.play {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px 8px 10px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--green); color: var(--ink); font: 700 13px var(--body);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25); transition: transform .15s ease;
}
.play:hover { transform: scale(1.05); }
.play svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.play .i-pause, .play[aria-pressed="true"] .i-play { display: none; }
.play[aria-pressed="true"] .i-pause { display: block; }
.play[aria-pressed="true"] { background: #fff; }

/* ---------- Personnalisation : voix + texte ---------- */
.custom { display: flex; flex-direction: column; gap: 18px; padding-top: 6px; border-top: 1px solid var(--line); }
.step {
  display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; border-radius: 50%;
  background: var(--ink); color: #fff; font: 700 12px var(--body); vertical-align: 1px;
}
.voices { border: 0; padding: 0; margin: 0; }
.voices legend { margin-bottom: 10px; }
.voices__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.voice input { position: absolute; opacity: 0; pointer-events: none; }
.voice__card {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--line);
  border-radius: 12px; cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.voice__card:hover { border-color: #c7c9c3; }
.voice__card strong { display: block; font-size: 15px; line-height: 1.2; }
.voice__card small { color: var(--muted); font-size: 12px; }
.voice__avatar {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--paper); font: 700 15px var(--display);
}
.voice input:checked + .voice__card { border-color: var(--green-deep); background: var(--green-soft); }
.voice input:checked + .voice__card .voice__avatar { background: var(--green); }
.voice input:focus-visible + .voice__card { outline: 3px solid var(--green); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field textarea {
  width: 100%; min-height: 140px; padding: 12px 14px; resize: vertical;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  font: 15px/1.5 var(--body);
}
.field textarea:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 3px var(--green-soft); }
.counter { margin: 0; font-size: 13px; color: var(--muted); }
.form-error { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fdecec; color: #a32020; font-size: 14px; }
.custom .delivery { margin: 0; }

/* Ligne de panier personnalisée */
.line__main { min-width: 0; }
.line__custom { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.line__custom q {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  padding: 0 0 0 8px; border-left: 2px solid var(--green); color: var(--muted); quotes: none;
}

/* ---------- Sections vitrine ---------- */
.sec-label {
  margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--green-deep);
}
.sec-title { margin: 0 0 28px; font-size: clamp(24px, 3vw, 34px); }
.sec-title span { color: var(--green-deep); }
.sec-label--center, .sec-title--center { text-align: center; }

.about { padding: 56px 0 24px; }
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--ink); box-shadow: var(--shadow);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.reviews { padding: 56px 0 24px; }
.reviews__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 4px; }
.reviews__head .sec-title { margin-bottom: 24px; }
.reviews__nav { display: flex; gap: 8px; margin-bottom: 24px; }
.round-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
}
.round-btn:hover { border-color: var(--ink); }
.round-btn[disabled] { opacity: .35; cursor: default; border-color: var(--line); }
.reviews__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px;
  list-style: none; margin: 0; padding: 4px 2px 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px;
  padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
}
.review__stars { display: flex; gap: 3px; }
.review__stars svg { width: 20px; height: 20px; padding: 3px; border-radius: 3px; background: #00b67a; fill: #fff; stroke: none; }
.review blockquote { margin: 0; flex: 1; font-size: 15px; color: var(--ink-2); }
.review__author { margin: 0; display: flex; flex-direction: column; font-size: 14px; }
.review__author span { color: var(--muted); font-size: 13px; }
.reviews__note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.trust {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 20px; padding: 18px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.trust__score { display: flex; align-items: center; gap: 14px; }
.trust__score strong { font: 800 20px var(--display); }
.trust__score small { color: var(--muted); }
.trust__score div span { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.trust__score .tp-stars { display: flex; gap: 3px; }
.tp-stars i { display: block; width: 22px; height: 22px; border-radius: 3px; background: #00b67a; }
.tp-stars i.part { background: linear-gradient(90deg, #00b67a 60%, #dcdcdc 60%); }
.btn--trust { background: #00b67a; color: #fff; }
.btn--trust:hover { background: #009d69; }

.pitch { margin-top: 56px; padding: 72px 0; background: var(--ink); color: #fff; text-align: center; }
.pitch__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.pitch .sec-label { color: var(--green); }
.pitch__text { max-width: 760px; margin: 0; font-size: 18px; line-height: 1.7; color: #cfd3cd; }
.pitch__text strong { color: #fff; }
.pitch__title { font-size: clamp(24px, 3.4vw, 36px); margin-top: 8px; }
.pitch .btn svg { width: 18px; height: 18px; }

.refs { padding: 64px 0 72px; overflow: hidden; }
.logos { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__group { display: flex; align-items: center; gap: 48px; padding-right: 48px; }
.logos__group img { height: 56px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logos__group img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 980px) {
  .reviews__track { grid-auto-columns: calc((100% - 16px) / 2); }
}
@media (max-width: 760px) {
  .modal__img { position: static; }
  .voices__list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .reviews__track { grid-auto-columns: 86%; }
  .pitch { padding: 52px 0; }
  .pitch__text { font-size: 16px; }
  .logos__group img { height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .logos__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .logos__group[aria-hidden="true"] { display: none; }
}

/* Players de démo auto-hébergés (/demos-produits/player/) */
.embed--player { aspect-ratio: auto; background: none; border-radius: 12px; }
.embed--player iframe { position: static; display: block; width: 100%; height: 200px; border: 0; }
.line__style { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); }
.field textarea#custom-style { min-height: 84px; }

/* Bouton « Voir plus » sous la grille */
.more { display: flex; justify-content: center; margin-top: 28px; }
.more__btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
  font: 600 15px var(--body); transition: background .15s ease, color .15s ease;
}
.more__btn:hover { background: var(--ink); color: #fff; }
.more__btn svg { width: 20px; height: 20px; transition: transform .2s ease; }
.more__btn:hover svg { transform: translateY(2px); }
.more--less .more__btn svg { transform: rotate(180deg); }
.more--less .more__btn:hover svg { transform: rotate(180deg) translateY(2px); }
.card__img img { display: block; }
.more[hidden] { display: none; }

/* ---------- Barres de défilement discrètes ---------- */
/* Une seule zone défile dans la fiche produit : la colonne d'infos (sur ordinateur). */
.modal { overflow: hidden; }
.modal__info, .drawer__lines, .modal {
  scrollbar-width: thin;
  scrollbar-color: #d3d6cf transparent;
}
.modal__info { scrollbar-gutter: stable; padding-right: 24px; overscroll-behavior: contain; }
.modal__info::-webkit-scrollbar, .drawer__lines::-webkit-scrollbar, .modal::-webkit-scrollbar { width: 6px; }
.modal__info::-webkit-scrollbar-track, .drawer__lines::-webkit-scrollbar-track, .modal::-webkit-scrollbar-track { background: transparent; margin: 18px 0; }
.modal__info::-webkit-scrollbar-thumb, .drawer__lines::-webkit-scrollbar-thumb, .modal::-webkit-scrollbar-thumb { background: #d3d6cf; border-radius: 6px; }
.modal__info::-webkit-scrollbar-thumb:hover, .drawer__lines::-webkit-scrollbar-thumb:hover { background: #a9ada5; }
.modal__info::-webkit-scrollbar-button, .drawer__lines::-webkit-scrollbar-button, .modal::-webkit-scrollbar-button { display: none; height: 0; }

@media (max-width: 760px) {
  /* Sur mobile, c'est la fenêtre entière qui défile. */
  .modal { overflow-y: auto; overscroll-behavior: contain; }
  .modal__info { padding-right: 20px; scrollbar-gutter: auto; }
}
@media (min-width: 761px) { .modal__media { display: flex; align-items: center; } .modal__img { position: static; width: 100%; } }
.trust__score .tp-stars i { display: grid; place-items: center; }
.trust__score .tp-stars svg { width: 15px; height: 15px; fill: #fff; stroke: none; }

/* Logo plus grand */
.topbar__inner { height: 84px; }
.brand img { height: 62px; }
@media (max-width: 760px) {
  .topbar__inner { height: 68px; }
  .brand img { height: 48px; }
}

/* L'image remplit toujours tout le carré de la carte */
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.card__img img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; }
.card__tag, .play { z-index: 1; }
.modal__img { position: relative; overflow: hidden; }
.modal__img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.line__thumb { position: relative; }
.line__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* Correctif : le bouton radio caché reste dans sa carte (sinon le clic fait défiler toute la fenêtre) */
.voice { position: relative; display: block; }
.voice input { top: 0; left: 0; width: 1px; height: 1px; margin: 0; }
/* La fenêtre produit ne peut pas défiler d'elle-même sur ordinateur (seule la colonne d'infos défile) */
@media (min-width: 761px) {
  .modal { overflow: clip; }
}

/* Recadrage des images produit : aucune bordure visible.
   --img-zoom : agrandissement des images PrestaShop qui ont une bordure (visuel ≈ 64 % du carré).
   --img-trim : léger recadrage des images déjà rognées, pour retirer un éventuel filet clair ou sombre. */
:root { --img-zoom: 1.6; --img-trim: 1.04; }
.card__media, .modal__img, .line__thumb { overflow: hidden; }
.card__img img, .modal__img img, .line__thumb img { transform: scale(var(--img-trim)); transform-origin: center; }
.card__img img.img--zoom, .modal__img img.img--zoom, .line__thumb img.img--zoom { transform: scale(var(--img-zoom)); }
.card:hover .card__img img { transform: scale(calc(var(--img-trim) * 1.03)); }
.card:hover .card__img img.img--zoom { transform: scale(calc(var(--img-zoom) * 1.03)); }

/* ---------- SEO : H1 et pages services ---------- */
.hero h1.hero__seo {
  margin: 0 0 14px; font: 700 15px/1.4 var(--body); letter-spacing: .02em; color: var(--green);
}
.hero__title { margin: 0; font: 800 clamp(38px, 6vw, 72px)/1.05 var(--display); letter-spacing: -.01em; color: #fff; }

.services { padding: 56px 0 8px; }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.service {
  display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  border: 1.5px solid transparent; transition: border-color .15s ease, transform .15s ease;
}
.service:hover { border-color: var(--green-deep); transform: translateY(-2px); }
.service strong { font: 700 17px var(--display); }
.service strong::after { content: " →"; color: var(--green-deep); }
.service span { color: var(--muted); font-size: 14px; }

.footer__services { display: flex; flex-wrap: wrap; gap: 14px; }
.footer__services a { text-decoration: none; color: var(--ink-2); font-weight: 500; }
.footer__services a:hover { text-decoration: underline; }

.crumbs { margin: 0 0 18px; font-size: 13px; color: #9fa49d; }
.crumbs a { color: #cfd3cd; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero .hero__inner { padding: 64px 0 72px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 58px); font-weight: 800; color: #fff; }
.hero__cta .btn--ghost-light { color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.hero__cta .btn--ghost-light:hover { background: rgba(255,255,255,.08); }

.prose { padding: 56px 0 8px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 14px; }
.prose h3 { font: 700 18px var(--display); margin: 22px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.prose ul { padding-left: 20px; }
.aside-card { position: sticky; top: 100px; padding: 24px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.aside-card h2 { color: #fff; font-size: 20px; }
.aside-card ul { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 10px; }
.aside-card li { color: #cfd3cd; font-size: 15px; padding-left: 26px; position: relative; }
.aside-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

.steps { padding: 48px 0 8px; }
.steps ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.steps li::before {
  content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 10px;
  border-radius: 50%; background: var(--green); font: 800 15px var(--display);
}
.steps strong { display: block; font: 700 16px var(--display); margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 15px; }

.voice-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 8px; }
.voice-chip { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.voice-chip b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); font: 700 15px var(--display); }
.voice-chip small { display: block; color: var(--muted); }

.faq { padding: 56px 0 8px; max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font: 700 17px var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green-deep); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); line-height: 1.7; }

@media (max-width: 860px) {
  .prose { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}

/* ---------- Espace client ---------- */
#account-link.is-logged { background: var(--green-soft); }
.btn--sm { padding: 8px 14px; font-size: 14px; }
.btn--sm svg { width: 16px; height: 16px; }
.btn--ghost.btn, .account__actions .btn--ghost { border: 1.5px solid var(--line); }

.account { padding: 48px 0 72px; min-height: 60vh; }
.account__title { font-size: clamp(28px, 4vw, 44px); margin: 0 0 8px; }
.account__email { margin: 0; color: var(--muted); }
.account__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.account__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.account__guest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 48px; align-items: start; }
.account__perks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.account__perks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 16px; }
.account__perks li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); font-size: 12px; font-weight: 800;
}
.account__card { padding: 28px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }

.auth__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 22px; border-radius: 999px; background: var(--paper); }
.auth__tab { border: 0; padding: 10px 12px; border-radius: 999px; background: none; cursor: pointer; font: 600 15px var(--body); color: var(--muted); }
.auth__tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.auth__form { display: flex; flex-direction: column; gap: 14px; }
.auth__form .field { gap: 6px; }
.auth__form label { font-weight: 600; font-size: 14px; }
.auth__form label small { font-weight: 400; color: var(--muted); }
.auth__form input[type="email"], .auth__form input[type="password"], .auth__form input[type="text"], .auth__form input:not([type]) {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font: 15px var(--body); color: var(--ink);
}
.auth__form input:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 3px var(--green-soft); }
.auth__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pw { position: relative; }
.pw input { padding-right: 46px !important; }
.pw__toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.pw__toggle.is-on { color: var(--green-deep); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 14px !important; color: var(--ink-2); cursor: pointer; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--green-deep); flex: none; }
.check a { color: var(--green-deep); }
.auth__error { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fdecec; color: #a32020; font-size: 14px; }
.auth__link { align-self: center; color: var(--ink-2); font-size: 14px; }

.modal--auth { width: min(480px, 100% - 32px); padding: 0; }
.auth-modal { padding: 32px 28px 28px; }
.auth-modal h2 { font-size: 22px; margin: 0 0 6px; padding-right: 36px; }
.auth-modal__lead { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.modal--auth .modal__close { position: absolute; }
@media (min-width: 761px) { .modal--auth { overflow: auto; } }

.orders { display: flex; flex-direction: column; gap: 18px; }
.order { padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.order--skeleton { height: 150px; background: linear-gradient(90deg, #ecece7, #f5f5f1, #ecece7); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
.order__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.order__head h3 { font-size: 18px; margin: 0 0 4px; }
.order__head p { margin: 0; color: var(--muted); font-size: 14px; }
.status {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  background: var(--paper); font-size: 13px; font-weight: 700;
}
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--status); }
.order__products { list-style: none; padding: 0; margin: 0; }
.order__product { padding: 14px 0; border-bottom: 1px solid var(--line); }
.order__product:last-child { border-bottom: 0; }
.order__product-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; }
.order__product-head small { color: var(--muted); font-weight: 400; }
.brief { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--paper); display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink-2); }
.brief q { quotes: none; white-space: pre-wrap; }
.brief__style { color: var(--muted); }
.order__files { margin-top: 12px; padding: 16px; border-radius: 14px; background: var(--green-soft); }
.order__files h4 { margin: 0 0 10px; font: 700 15px var(--display); }
.order__files ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.order__files li { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.order__files small { display: block; color: var(--ink-2); }
.order__pending { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: #fff7e0; color: #6b5200; font-size: 14px; }
.order__invoice { display: inline-block; margin-top: 14px; color: var(--ink-2); font-size: 14px; }
.orders__empty { padding: 40px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-align: center; }
.orders__empty p { color: var(--muted); margin: 0 0 18px; }

@media (max-width: 860px) {
  .account__guest { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .auth__row { grid-template-columns: 1fr; }
  .account__card { padding: 20px; }
  .order { padding: 18px; }
  .order__product-head, .order__files li { flex-direction: column; align-items: flex-start; }
}
.auth__form[hidden] { display: none; }

/* Logo horizontal */
.brand img { height: 46px; width: auto; }
.footer img { height: 34px; width: auto; }
@media (max-width: 760px) { .brand img { height: 34px; } }
@media (max-width: 380px) { .brand img { height: 28px; } }

/* Ancre de la boutique : laisse la place à la barre du haut fixe */
#catalogue { scroll-margin-top: 96px; }
@media (max-width: 760px) { #catalogue { scroll-margin-top: 76px; } }

/* ---------- Pages légales ---------- */
.footer__legal { display: flex; flex-wrap: wrap; gap: 14px; }
.footer__legal a { color: var(--muted); text-decoration: none; font-size: 13px; }
.footer__legal a:hover { color: var(--ink); text-decoration: underline; }
.legal-hero { background: var(--ink); color: #fff; padding: 56px 0 48px; }
.legal-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 46px); }
.legal { max-width: 820px; padding: 48px 0 72px; }
.legal h2 { font-size: clamp(19px, 2.2vw, 23px); margin: 36px 0 12px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; line-height: 1.75; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--green-deep); }
.legal .meta { color: var(--muted); font-size: 14px; }
.legal .facts { list-style: none; padding: 0; margin: 12px 0; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.legal .facts li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; margin: 0; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.legal .facts li:last-child { border-bottom: 0; }
.legal .facts span { color: var(--muted); font-size: 14px; }
.legal .facts strong { font-weight: 600; color: var(--ink); }
.legal mark.todo { background: #ffe66d; color: var(--ink); padding: 1px 4px; border-radius: 4px; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.legal__toc a { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none; font-size: 14px; }
.legal__toc a[aria-current="page"] { background: var(--green); border-color: var(--green); color: var(--ink); }
@media (max-width: 560px) { .legal .facts li { grid-template-columns: 1fr; gap: 2px; } }

/* ==========================================================================
   1.8 — Recherche + refonte mobile
   ========================================================================== */
.topbar__actions { gap: 8px; }
.search { position: relative; display: flex; align-items: center; }
.search__icon { position: absolute; left: 12px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input {
  width: 230px; height: 42px; padding: 0 14px 0 38px; border: 1.5px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font: 15px var(--body); transition: border-color .15s, box-shadow .15s, width .2s;
}
.search input:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 3px var(--green-soft); width: 280px; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search-toggle { display: none; }
.search-status { margin: -8px 0 18px; color: var(--ink-2); font-size: 15px; }
.search-status__clear { margin-left: 8px; border: 0; background: none; color: var(--green-deep); text-decoration: underline; cursor: pointer; font: inherit; }
@media (max-width: 1180px) { .topnav { display: none; } }

/* Fond bloqué quand une fenêtre est ouverte */
html.modal-open, html.modal-open body { overflow: hidden; }

@media (max-width: 760px) {
  /* Animation de l'accueil retirée sur mobile */
  .eq { display: none !important; }
  .hero__inner { padding: 36px 0 44px; }
  .hero__title { font-size: clamp(34px, 10vw, 44px); }

  /* Recherche : loupe dans la barre, champ qui se déplie dessous */
  .search-toggle { display: inline-grid; }
  .search {
    position: absolute; left: 0; right: 0; top: 100%; padding: 10px 16px; display: none;
    background: rgba(246, 246, 241, .98); border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px rgba(0,0,0,.06);
  }
  .search.is-open { display: flex; }
  .search__icon { left: 28px; }
  .search input, .search input:focus { width: 100%; font-size: 16px; }
  .topbar__inner { position: relative; }
  .topbar__actions { gap: 4px; }
  .topbar__actions .btn { padding: 10px 12px; }

  /* Cartes produit compactes : petite image à gauche, infos à droite */
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .card { flex-direction: row; align-items: stretch; border-radius: 16px; }
  .card:hover { transform: none; }
  .card__media { flex: none; width: 112px; aspect-ratio: 1 / 1; align-self: flex-start; margin: 10px 0 10px 10px; border-radius: 12px; }
  .card__tag { display: none; }
  .play { right: 6px; bottom: 6px; padding: 6px 9px 6px 7px; font-size: 12px; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
  .play svg { width: 14px; height: 14px; }
  .play span { display: none; }
  .card__body { padding: 12px 12px 12px 14px; gap: 4px; min-width: 0; }
  .card__title { font-size: 15px; line-height: 1.25; }
  .card__summary { font-size: 13px; -webkit-line-clamp: 2; }
  .card__foot { padding-top: 6px; gap: 8px; flex-wrap: wrap; }
  .card__foot .price { font-size: 16px; }
  .card__foot .btn { padding: 8px 14px; font-size: 14px; }
  .card--skeleton { height: 136px; }

  /* Fiche produit : plein écran, défilement normal, bouton d'achat toujours accessible */
  .modal {
    width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border-radius: 0;
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  }
  .modal__close { position: fixed; top: 12px; right: 12px; z-index: 5; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
  .modal__body { display: block; }
  .modal__media { aspect-ratio: auto !important; min-height: 0 !important; display: flex; justify-content: center; padding: 56px 16px 20px; }
  .modal__img { position: relative !important; width: min(58vw, 240px); aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; }
  .modal__info { padding: 22px 18px 28px; max-height: none; overflow: visible; }
  .modal__info h3 { font-size: 22px; }
  .modal__info > .btn--block, .custom button[type="submit"] {
    position: sticky; bottom: 12px; z-index: 3; box-shadow: 0 10px 28px rgba(12, 13, 12, .28);
  }
  .modal--auth { height: auto; max-height: 100%; border-radius: 0; }
  .embed--player iframe { max-width: 100%; }
}

/* Résultats sous le champ de recherche (pages sans boutique) */
.sr {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 40; width: min(440px, calc(100vw - 32px));
  max-height: min(70vh, 560px); overflow-y: auto; padding: 8px;
  background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(12, 13, 12, .18); border: 1px solid var(--line);
  scrollbar-width: thin; scrollbar-color: #d3d6cf transparent;
}
.sr[hidden] { display: none; }
.sr__list { list-style: none; margin: 0; padding: 0; }
.sr__item { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; }
.sr__item:hover, .sr__item:focus-within { background: var(--paper); }
.sr__open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); font: inherit; }
.sr__open:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 10px; }
.sr__thumb { position: relative; flex: none; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: var(--ink); }
.sr__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sr__thumb img.img--zoom { transform: scale(var(--img-zoom)); }
.sr__thumb .art { padding: 0 10px; gap: 3px; }
.sr__thumb .art i { border-radius: 2px; }
.sr__text { min-width: 0; display: flex; flex-direction: column; }
.sr__text strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr__text small { color: var(--muted); font-size: 13px; }
.sr__item .btn--sm { flex: none; }
.sr__empty { margin: 0; padding: 14px; color: var(--muted); font-size: 14px; }
.sr__all { display: block; margin-top: 4px; padding: 12px; border-top: 1px solid var(--line); text-align: center; color: var(--green-deep); font-weight: 600; text-decoration: none; font-size: 14px; }
.sr__all:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .sr { left: 16px; right: 16px; width: auto; top: calc(100% + 4px); max-height: 65vh; }
  .sr__item .btn--sm { padding: 8px 12px; font-size: 13px; }
}

/* Pied de page toujours en bas de l'écran, même sur les pages courtes */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
body > .topbar, body > .footer { flex-shrink: 0; }

/* Fiche produit : fond = image du produit très floutée (au lieu du noir) */
.modal__media { position: relative; overflow: hidden; isolation: isolate; }
.modal__blur { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.modal__blur img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(48px) saturate(1.35); transform: scale(1.4); opacity: .95;
}
.modal__blur::after { content: ""; position: absolute; inset: 0; background: rgba(12, 13, 12, .12); }
.modal__img { z-index: 1; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); }
@media (min-width: 761px) {
  .modal__media { padding: 36px; justify-content: center; }
  .modal__img { width: 100%; border-radius: 16px; }
}

/* ==========================================================================
   1.8.3 — Filtres et cartes mobiles harmonisés
   ========================================================================== */
/* Noms de catégories en minuscules avec majuscule initiale (PrestaShop les envoie parfois en CAPITALES) */
.chip, .topnav button, .card__tag, .modal__info .card__tag { text-transform: lowercase; }
.chip::first-letter, .topnav button::first-letter, .card__tag::first-letter { text-transform: uppercase; }
.chip, .topnav button, .card__tag { display: inline-block; }

@media (max-width: 760px) {
  /* En-tête de la boutique plus compact */
  .catalogue { padding-top: 32px; }
  .catalogue__head { flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 18px; }
  .catalogue__head h2 { font-size: 28px; }

  /* Filtres : une seule ligne qui défile au doigt */
  .chips {
    flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin: 0 -16px; padding: 2px 16px 6px;
    scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 28px), transparent 100%);
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; scroll-snap-align: start; padding: 8px 14px; font-size: 14px; white-space: nowrap; }

  /* Cartes : même hauteur, nom en haut, prix + bouton toujours alignés en bas */
  .card { min-height: 132px; }
  .card__body { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding: 12px 12px 12px 14px; }
  .card__title {
    font-size: 15px; line-height: 1.25;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .card__summary { display: none; }
  .card__foot { margin-top: auto; padding-top: 0; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 8px; }
  .card__foot .price { font-size: 16px; white-space: nowrap; }
  .card__foot .btn { flex: none; padding: 8px 12px; font-size: 13px; white-space: nowrap; }
}
@media (max-width: 360px) {
  .card__media { width: 96px; }
  .card__foot .btn { padding: 7px 10px; font-size: 12px; }
}
/* Le contenu ne doit jamais s'élargir au-delà de l'écran (filtres et avis défilent dans leur cadre) */
body > main, body > .topbar, body > .footer { min-width: 0; width: 100%; }
.catalogue__head, .chips, .reviews__track { min-width: 0; }
@media (max-width: 760px) { .catalogue__head { flex-wrap: nowrap; } }
@media (max-width: 360px) {
  .card__media { width: 84px; margin: 8px 0 8px 8px; }
  .card { min-height: 100px; }
  .card__body { padding: 10px 10px 10px 12px; }
  .card__foot { gap: 6px; }
  .card__foot .price { font-size: 14px; }
}
@media (max-width: 760px) {
  .card .card__tag { display: none !important; }
  .chips { mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent 100%); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent 100%); }
}
@media (max-width: 760px) { .chips { scroll-padding-inline: 16px; } }

/* ---------- Maintenance (suit le mode maintenance de PrestaShop) ---------- */
html.is-maintenance body > *:not(.maintenance) { display: none !important; }
html.is-maintenance body { background: var(--ink); }
.maintenance {
  min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px 16px; text-align: center;
  background: var(--ink); color: #fff;
  background-image: radial-gradient(circle at 80% 20%, rgba(63, 209, 42, .22), transparent 50%);
}
.maintenance__inner { max-width: 560px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.maintenance img { width: min(220px, 60vw); height: auto; }
.maintenance h1 { font-size: clamp(26px, 5vw, 40px); color: #fff; margin-top: 6px; }
.maintenance__text, .maintenance__text p { color: #cfd3cd; font-size: 17px; line-height: 1.6; margin: 0; }
.maintenance__contact { color: #9fa49d; font-size: 14px; margin: 8px 0 0; }
.maintenance__contact a { color: var(--green); }
.maintenance__eq { display: flex; align-items: center; gap: 7px; height: 64px; }
.maintenance__eq span { width: 8px; border-radius: 6px; background: var(--green); height: 30%; animation: eq 1.4s ease-in-out infinite; }
.maintenance__eq span:nth-child(even) { background: #fff; }
.maintenance__eq span:nth-child(2) { animation-delay: -.3s; } .maintenance__eq span:nth-child(3) { animation-delay: -.9s; }
.maintenance__eq span:nth-child(4) { animation-delay: -.1s; } .maintenance__eq span:nth-child(5) { animation-delay: -.6s; }
.maintenance__eq span:nth-child(6) { animation-delay: -1.1s; } .maintenance__eq span:nth-child(7) { animation-delay: -.4s; }
.maintenance-bar { position: relative; z-index: 60; padding: 8px 16px; background: #ffe66d; color: var(--ink); text-align: center; font-size: 14px; font-weight: 600; }

/* ==========================================================================
   1.9.1 — En-tête PC sur deux lignes : logo · recherche · compte · panier, puis les catégories
   ========================================================================== */
@media (min-width: 761px) {
  .topbar__inner { flex-wrap: wrap; height: auto; column-gap: 24px; row-gap: 0; }
  .brand { order: 1; display: flex; align-items: center; height: 76px; }
  .topbar__actions { order: 2; flex: 1; min-width: 0; margin-left: 0; gap: 10px; }
  .topbar__actions .search { flex: 1; max-width: 560px; margin: 0 auto 0 8px; }
  .topbar__actions .search input, .topbar__actions .search input:focus { width: 100%; }
  .topnav {
    order: 3; flex: 0 0 100%; display: flex !important; align-items: center; gap: 6px; margin: 0;
    height: 50px; border-top: 1px solid var(--line); overflow-x: auto; scrollbar-width: none;
  }
  .topnav::-webkit-scrollbar { display: none; }
  .topnav:empty { display: none !important; }
  .topnav button, .topnav a {
    flex: none; white-space: nowrap; padding: 8px 14px; border: 0; border-radius: 999px; background: none; cursor: pointer;
    font: 500 15px var(--body); color: var(--ink-2); text-decoration: none; text-transform: lowercase;
  }
  .topnav a { display: inline-block; }
  .topnav a::first-letter, .topnav button::first-letter { text-transform: uppercase; }
  .topnav button:hover, .topnav a:hover { background: rgba(12, 13, 12, .06); color: var(--ink); }
  .topnav button[aria-current="true"] { background: var(--ink); color: #fff; }
  #catalogue { scroll-margin-top: 140px; }
}

/* Menu des catégories centré (reste lisible et défilable s'il est plus large que l'écran) */
@media (min-width: 761px) {
  .topnav { justify-content: flex-start; gap: 10px; }
  .topnav > :first-child { margin-left: auto; }
  .topnav > :last-child { margin-right: auto; }
}

/* ==========================================================================
   1.10 — Menu piloté par PrestaShop + pages CMS
   ========================================================================== */
.topnav a[aria-current="page"] { background: var(--ink); color: #fff; }
.menu__group { flex: none; display: flex; }
.menu__toggle {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; padding: 8px 12px 8px 14px; border: 0; border-radius: 999px;
  background: none; cursor: pointer; font: 500 15px var(--body); color: var(--ink-2);
}
.menu__toggle:hover, .menu__toggle[aria-expanded="true"] { background: rgba(12, 13, 12, .06); color: var(--ink); }
.menu__toggle svg { width: 16px; height: 16px; transition: transform .15s; }
.menu__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu__sub {
  position: fixed; z-index: 80; min-width: 220px; max-width: min(320px, calc(100vw - 16px)); max-height: 60vh; overflow-y: auto;
  padding: 6px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 18px 44px rgba(12, 13, 12, .16);
}
.menu__sub[hidden] { display: none; }
.menu__sub .menu__sub-item {
  display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 10px; background: none; cursor: pointer;
  font: 500 15px var(--body); color: var(--ink); text-decoration: none; white-space: normal; text-transform: none;
}
.menu__sub .menu__sub-item::first-letter { text-transform: none; }
.menu__sub .menu__sub-item:hover, .menu__sub .menu__sub-item[aria-current="true"], .menu__sub .menu__sub-item[aria-current="page"] { background: var(--paper); }

/* Mobile : le menu PrestaShop s'affiche sur une ligne qui défile sous l'en-tête */
@media (max-width: 760px) {
  .has-ps-menu .topbar__inner { flex-wrap: wrap; height: auto; }
  .has-ps-menu .brand, .has-ps-menu .topbar__actions { height: 62px; display: flex; align-items: center; }
  .has-ps-menu .topnav {
    display: flex !important; order: 3; flex: 0 0 calc(100% + 32px); margin: 0 -16px; padding: 0 16px 8px; gap: 4px;
    overflow-x: auto; scrollbar-width: none; scroll-padding-inline: 16px;
  }
  .has-ps-menu .topnav::-webkit-scrollbar { display: none; }
  .has-ps-menu .topnav > :first-child, .has-ps-menu .topnav > :last-child { margin: 0; }
  .has-ps-menu .topnav button, .has-ps-menu .topnav a, .has-ps-menu .menu__toggle {
    flex: none; white-space: nowrap; padding: 7px 12px; border: 0; border-radius: 999px; background: none;
    font: 500 14px var(--body); color: var(--ink-2); text-decoration: none;
  }
  .has-ps-menu .topnav [aria-current="true"], .has-ps-menu .topnav [aria-current="page"] { background: var(--ink); color: #fff; }
  .has-ps-menu .search { top: 100%; }
}

/* Page CMS */
.cms { max-width: 920px; }
.cms .rich { font-size: 17px; }
.cms .rich h2 { font-size: clamp(21px, 2.6vw, 28px); margin: 32px 0 12px; }
.cms .rich h3 { font: 700 19px var(--display); margin: 24px 0 8px; }
.cms .rich img { max-width: 100%; height: auto; }
.cms .embed--player { margin: 18px 0; }
/* Seuls les noms de catégories sont remis en minuscules : pages CMS et liens gardent leur écriture */
.topnav a:not([href^="/?categorie"]), .menu__toggle, .menu__sub a:not([href^="/?categorie"]), .topnav button[data-open] { text-transform: none !important; }
.topnav a:not([href^="/?categorie"])::first-letter, .topnav button[data-open]::first-letter { text-transform: none !important; }
.menu__toggle.menu__toggle--cat { text-transform: lowercase !important; }
.menu__toggle.menu__toggle--cat::first-letter { text-transform: uppercase !important; }
.menu__sub [data-cat], .menu__sub a[href^="/?categorie"] { text-transform: lowercase !important; }
.menu__sub [data-cat]::first-letter, .menu__sub a[href^="/?categorie"]::first-letter { text-transform: uppercase !important; }

/* Bouton de commande sur un site externe */
.btn--external svg { width: 15px; height: 15px; margin-left: 2px; }
.btn--lg.btn--external svg { width: 18px; height: 18px; }
.topnav button[data-open], .menu__sub [data-open] { text-transform: none !important; }
