/* =========================================================
   SHOP LIVE — feuille de styles
   Identité : blanc cassé froid, vert profond, rouge « live » en accent.
   Titres : Bricolage Grotesque · Interface : Instrument Sans
   ========================================================= */

@font-face { font-family: "Instrument Sans"; src: url("../assets/fonts/instrument-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; src: url("../assets/fonts/instrument-sans-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../assets/fonts/bricolage-grotesque-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../assets/fonts/bricolage-grotesque-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --c-bg: #F6F7F5;
  --c-surface: #FFFFFF;
  --c-text: #262A2D;
  --c-text-2: #474D49;
  --c-text-3: #6A716C;
  --c-line: #E3E7E4;
  --c-line-strong: #CBD2CD;

  --c-green: #0A4D3A;
  --c-green-hover: #073B2C;
  --c-green-soft: #E6F4EE;
  --c-green-line: #C4E5D6;
  --c-green-bright: #059C71;
  --c-live: #E5484D;
  --c-live-soft: #FDECEC;

  --c-error: #B42318;
  --c-error-bg: #FEF3F2;

  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;

  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 20px;

  --shadow-card: 0 1px 2px rgba(29, 33, 30, .04), 0 4px 16px -8px rgba(29, 33, 30, .08);
  --shadow-float: 0 1px 2px rgba(29, 33, 30, .04), 0 18px 40px -20px rgba(23, 61, 50, .3);
  --ring: 0 0 0 4px rgba(23, 61, 50, .12);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--c-bg); color: var(--c-text);
  font-family: var(--font); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
main { flex: 1; outline: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--c-green); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--c-green); outline-offset: 2px; }

.icon { width: 18px; height: 18px; flex: none; stroke-width: 1.8; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 14px; border-radius: var(--r-sm); background: var(--c-green); color: #fff; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 720px; }

/* =========================================================
   En-tête
   ========================================================= */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--c-line); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--c-text); text-decoration: none; }
.brand__logo { height: 44px; width: auto; }
.live-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 9px; border-radius: 999px;
  background: var(--c-live-soft); color: var(--c-live); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.live-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 rgba(229, 72, 77, .5); animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { 70%, 100% { box-shadow: 0 0 0 7px rgba(229, 72, 77, 0); } }
.header-link {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  color: var(--c-text); text-decoration: none; font-size: 14px; font-weight: 600; border: 1px solid var(--c-line);
  background: var(--c-surface); transition: border-color .2s, color .2s;
}
.header-link:hover, .header-link[aria-current="page"] { border-color: var(--c-green); color: var(--c-green); }
.header-link .icon { width: 17px; height: 17px; }

/* =========================================================
   Page
   ========================================================= */
.view { padding: 44px 0 80px; animation: view-in .4s var(--ease) both; }
@keyframes view-in { from { opacity: 0; transform: translateY(6px); } }
.page-head { margin-bottom: 28px; }
.page-head h1, h1 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 36px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.page-head p { margin-top: 8px; color: var(--c-text-3); font-size: 15px; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.checkout__form { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

/* Cartes de section */
.card { padding: 26px 28px 28px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-xl); box-shadow: var(--shadow-card); }
.card__title {
  float: left; width: 100%; padding: 0; margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -.015em;
}
.card__title + * { clear: both; }
.card__title--split { justify-content: space-between; flex-wrap: wrap; row-gap: 12px; }
.card__title-main { display: inline-flex; align-items: center; gap: 12px; }
.card__icon { width: 34px; height: 34px; border-radius: 10px; background: var(--c-green-soft); color: var(--c-green); display: grid; place-items: center; }
.card__icon .icon { width: 17px; height: 17px; }

/* =========================================================
   Champs à label flottant
   ========================================================= */
.field { margin-bottom: 14px; min-width: 0; }
.field:last-child { margin-bottom: 0; }
.grid-2, .grid-3 { display: grid; gap: 14px; margin-bottom: 14px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 140px 1fr 1fr; }
.grid-2 > .field, .grid-3 > .field { margin-bottom: 0; }
.grid-2:last-child, .grid-3:last-child { margin-bottom: 0; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; height: 54px; padding: 0 14px;
  border: 1px solid var(--c-line-strong); border-radius: var(--r-md);
  background: var(--c-surface); font-size: 15px; color: var(--c-text);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
  -webkit-appearance: none; appearance: none;
}
input:hover, select:hover, textarea:hover { border-color: #AEB8B1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-green); box-shadow: var(--ring); }
input::placeholder { color: #8A918C; }

.control { position: relative; }
.control input, .control select { padding: 22px 14px 6px; }
.control label {
  position: absolute; left: 15px; top: 17px; max-width: calc(100% - 30px);
  color: var(--c-text-3); font-size: 15px; line-height: 1.3; pointer-events: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transform-origin: left top; transition: transform .18s var(--ease), color .18s;
}
.control input:focus ~ label,
.control input:not(:placeholder-shown) ~ label,
.control textarea:focus ~ label,
.control textarea:not(:placeholder-shown) ~ label,
.control--select label { transform: translateY(-9px) scale(.8); }
.control input:focus ~ label, .control textarea:focus ~ label, .control select:focus ~ label { color: var(--c-green); }
.control--select select { padding-right: 40px; cursor: pointer; }
.control__chevron { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--c-text-3); pointer-events: none; }
.control--textarea textarea { height: auto; min-height: 150px; padding: 28px 14px 12px; resize: vertical; line-height: 1.5; }

[aria-invalid="true"] { border-color: var(--c-error) !important; background: var(--c-error-bg) !important; }
[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .12) !important; }
[aria-invalid="true"] ~ label { color: var(--c-error) !important; }

.field-error { display: block; margin-top: 6px; color: var(--c-error); font-size: 13px; font-weight: 500; }
.field-error--block { margin-top: 12px; }

/* =========================================================
   Lignes référence + quantité
   ========================================================= */
.items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) 132px 92px 44px; gap: 12px; align-items: start; padding: 12px; border-radius: var(--r-lg); background: var(--c-bg); animation: item-in .3s var(--ease) both; }
.item.is-removing { opacity: 0; transform: scale(.98); transition: opacity .2s, transform .2s; }
@keyframes item-in { from { opacity: 0; transform: translateY(-4px); } }
.item__input { padding-right: 42px !important; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.item__state { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: flex; color: var(--c-green); }
.item__state .spinner { width: 16px; height: 16px; color: var(--c-text-3); }
.item__meta { margin: 6px 0 0 2px; font-size: 12.5px; color: var(--c-text-3); }
.item__meta:empty { display: none; }
.item__meta strong { color: var(--c-text); font-weight: 600; }
.item__meta.is-error { color: var(--c-error); font-weight: 500; }
.item__total { height: 54px; display: flex; align-items: center; justify-content: flex-end; font-weight: 700; font-variant-numeric: tabular-nums; }
.item__total.is-empty { color: var(--c-text-3); font-weight: 500; }

.stepper { display: grid; grid-template-columns: 38px 1fr 38px; height: 54px; border: 1px solid var(--c-line-strong); border-radius: var(--r-md); background: var(--c-surface); overflow: hidden; }
.stepper:focus-within { border-color: var(--c-green); box-shadow: var(--ring); }
.stepper button { border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--c-text-2); }
.stepper button:hover:not(:disabled) { background: var(--c-green-soft); color: var(--c-green); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper button .icon { width: 15px; height: 15px; stroke-width: 2.2; }
.stepper input { height: 100%; border: 0; border-radius: 0; padding: 0; text-align: center; font-weight: 700; background: transparent; box-shadow: none !important; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.icon-btn { width: 44px; height: 54px; border: 0; border-radius: var(--r-md); background: transparent; color: var(--c-text-3); cursor: pointer; display: grid; place-items: center; transition: color .15s, background-color .15s; }
.icon-btn:hover { color: var(--c-error); background: var(--c-error-bg); }

/* =========================================================
   Boutons
   ========================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: var(--r-md);
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .12s, box-shadow .2s;
}
.btn:active:not(:disabled) { transform: scale(.985); }
.btn:disabled { cursor: not-allowed; }
.btn .icon { width: 17px; height: 17px; }
.btn--block { width: 100%; }
.btn--lg { height: 56px; font-size: 16px; border-radius: 12px; }
.btn--primary { background: var(--c-green); color: #fff; box-shadow: 0 8px 20px -10px rgba(23, 61, 50, .7); }
.btn--primary:hover:not(:disabled) { background: var(--c-green-hover); }
.btn--primary:disabled { background: #5E7A70; }
.btn--soft { background: var(--c-green-soft); color: var(--c-green); }
.btn--soft:hover { background: var(--c-green-line); }
.btn--outline { background: var(--c-surface); border-color: var(--c-line-strong); color: var(--c-text); }
.btn--outline:hover { border-color: var(--c-green); color: var(--c-green); }
.btn__amount { padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .3); font-variant-numeric: tabular-nums; }
.btn__amount:empty { display: none; }
.btn__spinner, .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn__spinner { display: none; }
.btn.is-loading .btn__spinner { display: block; }
.btn.is-loading .btn__icon, .btn.is-loading .btn__amount { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { padding: 0; border: 0; background: none; color: var(--c-green); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; font-size: inherit; }

/* =========================================================
   Livraison : cartes cliquables
   ========================================================= */
.options { display: grid; gap: 10px; }
.option {
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 14px 16px; border: 1px solid var(--c-line-strong); border-radius: var(--r-lg); background: var(--c-surface);
  cursor: pointer; transition: border-color .18s, box-shadow .18s, background-color .18s;
}
.option:hover { border-color: #AEB8B1; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option__radio { display: none; }
.option__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--c-bg); color: var(--c-text-2); display: grid; place-items: center; transition: background-color .18s, color .18s; }
.option__icon .icon { width: 20px; height: 20px; }
.option__text strong { display: block; font-size: 15px; font-weight: 600; }
.option__text span { display: block; font-size: 13px; color: var(--c-text-3); }
.option__price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.option__price s { display: block; font-weight: 500; font-size: 12px; color: var(--c-text-3); }
.option__price .free { color: var(--c-green); }
.option.is-checked { border-color: var(--c-green); box-shadow: 0 0 0 1px var(--c-green); background: #FBFDFC; }
.option.is-checked .option__icon { background: var(--c-green); color: #fff; }
.option.is-checked::after {
  content: ""; position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--c-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
  box-shadow: 0 0 0 3px var(--c-surface);
}
.option:has(input:focus-visible) { box-shadow: 0 0 0 1px var(--c-green), var(--ring); }
.option.is-disabled { opacity: .5; cursor: not-allowed; }


/* =========================================================
   Paiement : bloc unique façon Stripe
   ========================================================= */
.card-logos { display: flex; gap: 6px; }
.card-logos img { width: 36px; height: 24px; border-radius: 4px; box-shadow: 0 0 0 1px var(--c-line); }
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; border-radius: var(--r-lg); background: var(--c-bg); border: 1px solid var(--c-line); }
.pay__row { position: relative; }
.pay__row--full { grid-column: 1 / -1; }
.pay__row input { height: 52px; padding: 0 44px 0 14px; border: 1.5px solid #9EA8A1; border-radius: var(--r-md); background: var(--c-surface); box-shadow: 0 1px 2px rgba(29, 33, 30, .06); }
.pay__row input:hover { border-color: #7D8880; }
.pay__row input:focus { border-color: var(--c-green); box-shadow: var(--ring); }
.pay__row input::placeholder { color: #6A716C; }
.pay__row .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--c-text-2); pointer-events: none; }
.pay__secure { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12.5px; color: var(--c-text-3); }
.pay__secure .icon { width: 16px; height: 16px; color: var(--c-green); }

/* Validation */
.submit-zone { padding: 4px 4px 0; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; color: var(--c-text-2); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 1.5px solid var(--c-line-strong); background: var(--c-surface); display: grid; place-items: center; color: #fff; transition: background-color .15s, border-color .15s; }
.check__box .icon { width: 13px; height: 13px; stroke-width: 3; transform: scale(0); transition: transform .15s var(--ease); }
.check input:checked + .check__box { background: var(--c-green); border-color: var(--c-green); }
.check input:checked + .check__box .icon { transform: scale(1); }
.check input:focus-visible + .check__box { box-shadow: var(--ring); border-color: var(--c-green); }
.check input[aria-invalid="true"] + .check__box { border-color: var(--c-error); }
#terms-error { margin-left: 30px; }
.form-alert { margin-top: 16px; padding: 12px 14px; border-radius: var(--r-md); background: var(--c-error-bg); color: var(--c-error); font-size: 14px; font-weight: 500; }
#submit-btn { width: 100%; margin-top: 18px; }

/* =========================================================
   Récapitulatif (sticky)
   ========================================================= */
.summary-col { position: sticky; top: calc(var(--header-h) + 20px); }
.summary { padding: 26px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-xl); box-shadow: var(--shadow-float); }
.summary__title { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -.015em; margin-bottom: 18px; }
.summary__lines { display: flex; flex-direction: column; gap: 12px; max-height: 280px; overflow-y: auto; }
.summary__lines:empty { display: none; }
.sline { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; font-size: 14px; }
.sline__ref { min-width: 58px; padding: 5px 9px; border-radius: 7px; background: var(--c-green-soft); color: var(--c-green); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-align: center; }
.sline__qty { color: var(--c-text); font-weight: 500; }
.sline__qty span { color: var(--c-text-3); font-weight: 400; }
.sline__total { font-weight: 600; font-variant-numeric: tabular-nums; }
.summary__empty { padding: 14px; border-radius: var(--r-md); background: var(--c-bg); color: var(--c-text-3); font-size: 13.5px; text-align: center; }
.summary__totals { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 8px; }
.summary__totals > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.summary__totals dt { color: var(--c-text-2); }
.summary__totals dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.free-ship { margin-top: 14px; padding: 10px 12px; border-radius: var(--r-md); background: var(--c-green-soft); font-size: 12.5px; color: var(--c-green); }
.free-ship strong { font-weight: 700; }
.free-ship__bar { height: 4px; margin-top: 7px; border-radius: 4px; background: var(--c-green-line); overflow: hidden; }
.free-ship__bar span { display: block; height: 100%; width: 0; background: var(--c-green); border-radius: inherit; transition: width .5s var(--ease); }
.summary__grand { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--c-line); }
.summary__grand span { font-weight: 600; }
.summary__grand strong { font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--c-green-bright); font-variant-numeric: tabular-nums; }
.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.05); } }
.summary__cta { width: 100%; margin-top: 18px; }
.summary__trust { display: flex; justify-content: center; gap: 18px; margin-top: 14px; font-size: 12.5px; color: var(--c-text-3); }
.summary__trust li { display: inline-flex; align-items: center; gap: 6px; }
.summary__trust .icon { width: 15px; height: 15px; color: var(--c-green); }

/* =========================================================
   Vues secondaires
   ========================================================= */
.card .btn--block { margin-top: 16px; }
.notice { padding: 12px 14px; border-radius: var(--r-md); font-size: 14px; }
.notice--error { background: var(--c-error-bg); color: var(--c-error); }
.notice--info { background: var(--c-green-soft); color: var(--c-green); }
.notice a { font-weight: 600; color: inherit; }

.confirm { text-align: center; }
.confirm__badge { width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; background: var(--c-green); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px var(--c-green-soft); animation: pop .5s var(--ease) both; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.confirm__badge .icon { width: 32px; height: 32px; stroke-width: 2.4; }
.confirm h1 { margin-bottom: 8px; font-size: clamp(24px, 3.4vw, 30px); }
.confirm__lead { color: var(--c-text-3); }
.order-number { display: inline-flex; align-items: center; gap: 12px; margin: 22px 0 26px; padding: 8px 8px 8px 16px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 999px; }
.order-number span { font-size: 11.5px; color: var(--c-text-3); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.order-number strong { font-size: 16px; letter-spacing: .05em; }
.order-number button { padding: 7px 14px; border: 0; border-radius: 999px; background: var(--c-green-soft); color: var(--c-green); font-size: 13px; font-weight: 600; cursor: pointer; }
.confirm .summary { text-align: left; box-shadow: var(--shadow-card); }
.confirm .summary__totals > div.summary__grand { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--c-line); }
.confirm .summary__totals .summary__grand dt { color: var(--c-text); font-weight: 700; }
.confirm .summary__totals .summary__grand dd { font-size: 20px; font-weight: 800; color: var(--c-green); }
.confirm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--c-line); font-size: 14px; }
.confirm__grid h3 { margin-bottom: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-3); font-weight: 700; }
.confirm__grid p { color: var(--c-text-2); }
.confirm__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.confirm__actions .btn--dark { background: var(--c-green); color: #fff; }
.confirm__actions .btn--dark:hover { background: var(--c-green-hover); }

#track-result { margin-top: 20px; }
#track-result > .panel { padding: 26px 28px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-xl); box-shadow: var(--shadow-card); }
.track__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.track__head h2 { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: .02em; }
.track__head p { color: var(--c-text-3); font-size: 13.5px; }
.status-pill { padding: 5px 12px; border-radius: 999px; background: var(--c-green-soft); color: var(--c-green); font-size: 12.5px; font-weight: 700; }
.track__items { padding-top: 18px; border-top: 1px solid var(--c-line); }
.track__total { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--c-line); font-weight: 700; }

.faq.card { padding: 6px 28px; }
.faq details + details { border-top: 1px solid var(--c-line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--c-green); }
.faq__plus { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--c-green-soft); color: var(--c-green); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq__answer { padding: 0 40px 18px 0; font-size: 14px; color: var(--c-text-2); line-height: 1.7; }

#contact-result:not(:empty) { margin-top: 14px; }
.contact-info { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 22px; font-size: 14px; color: var(--c-text-2); }
.contact-info li { display: flex; align-items: center; gap: 8px; }
.contact-info .icon { color: var(--c-green); }
.contact-info a { text-decoration: none; font-weight: 600; }

.legal h1 { font-size: 26px; margin-bottom: 18px; }
.legal h2 { margin: 24px 0 8px; font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.legal p, .legal li { font-size: 14px; color: var(--c-text-2); line-height: 1.75; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal mark { background: var(--c-green-soft); color: var(--c-green); padding: 0 4px; border-radius: 4px; }

/* =========================================================
   Pied de page
   ========================================================= */
.site-footer { background: #1E2225; color: rgba(255, 255, 255, .78); font-size: 14px; }
.site-footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 40px; align-items: center; padding-top: 32px; padding-bottom: 32px; }
.brand--light { color: #fff; }
.brand--light .brand__logo { height: 40px; }
.site-footer__brand p { margin-top: 8px; font-size: 13px; }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.site-footer__links a { color: #fff; text-decoration: none; opacity: .85; }
.site-footer__links a:hover { opacity: 1; text-decoration: underline; }
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.25); transition: background-color .2s, color .2s; }
.socials a:hover { background: #fff; color: var(--c-green); }
.socials .icon { width: 16px; height: 16px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--c-text); color: #fff; font-size: 14px; font-weight: 500; }
.toast .icon { width: 16px; height: 16px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  .checkout { grid-template-columns: 1fr; }
  .summary-col { position: static; order: -1; }
  .summary__cta, .summary__trust { display: none; }
  .site-footer__inner { grid-template-columns: 1fr; justify-items: start; }
  .site-footer__links { justify-content: flex-start; }
}
@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .container { padding: 0 16px; }
  .live-badge { padding: 4px 8px; font-size: 10.5px; }
  .header-link span { display: none; }
  .header-link { padding: 9px; }
  .brand__logo { height: 36px; }
  .view { padding-top: 28px; }
  .card { padding: 20px 16px 22px; border-radius: var(--r-lg); }
  .card__title { font-size: 17px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3 > .field:last-child { grid-column: 1 / -1; }
  .item { grid-template-columns: 1fr auto; grid-template-areas: "ref ref" "qty total"; padding: 10px; position: relative; }
  .item__ref { grid-area: ref; padding-right: 46px; }
  .item__qty { grid-area: qty; }
  .item__qty .stepper { width: 132px; }
  .item__total { grid-area: total; }
  .item .icon-btn { position: absolute; top: 10px; right: 6px; width: 40px; }
  .option { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; padding: 12px 14px; }
  .option__icon { width: 38px; height: 38px; }
  .summary { padding: 20px 16px; }
  .confirm__grid { grid-template-columns: 1fr; }
  .faq.card { padding: 4px 16px; }
}

/* Montant avec suffixe € */
.control--amount input { padding-right: 40px; font-weight: 600; font-variant-numeric: tabular-nums; }
.control__suffix { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--c-text-2); pointer-events: none; }
.sline__ref { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sline__qty { min-width: 0; overflow-wrap: anywhere; }

/* =========================================================
   Page de remerciement
   ========================================================= */
.thanks { max-width: 560px; margin: 0 auto; padding: 44px 44px 40px; text-align: center; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-xl); box-shadow: var(--shadow-float); animation: view-in .45s var(--ease) both; }
.thanks__badge { width: 76px; height: 76px; margin: 0 auto 24px; border-radius: 50%; background: var(--c-green-soft); color: var(--c-green); display: grid; place-items: center; animation: pop .5s var(--ease) .1s both; }
.thanks__badge .icon { width: 34px; height: 34px; stroke-width: 2.4; }
.thanks h1 { font-size: clamp(24px, 3.4vw, 30px); margin-bottom: 10px; }
.thanks__lead { max-width: 40ch; margin: 0 auto; color: var(--c-text-2); font-size: 15.5px; }
.thanks__details { margin: 30px 0 0; padding: 8px 22px; border-radius: var(--r-lg); background: var(--c-bg); border: 1px solid var(--c-line); text-align: left; }
.thanks__details > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 0; font-size: 15px; }
.thanks__details dt { color: var(--c-text-3); }
.thanks__details dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.thanks__details strong { font-weight: 700; }
.thanks__total { margin-top: 4px; border-top: 1px solid var(--c-line); }
.thanks__total strong { font-family: var(--font-display); font-size: 18px; font-weight: 800; color: var(--c-green); }
.thanks__copy { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; margin-right: -8px; border: 0; border-radius: 6px; background: transparent; cursor: pointer; font-weight: 600; letter-spacing: .03em; }
.thanks__copy:hover { background: var(--c-green-soft); color: var(--c-green); }
.thanks__copy .icon { width: 14px; height: 14px; color: var(--c-text-3); }
.thanks__actions { display: grid; gap: 12px; margin-top: 30px; }
.thanks__actions .btn { width: 100%; }
@media (max-width: 640px) {
  .thanks { padding: 32px 18px 24px; }
  .thanks__details { padding: 6px 14px; }
  .thanks__details > div { font-size: 14px; }
}

/* =========================================================
   Écran d'ouverture (~3 s)
   ========================================================= */
.splash {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: radial-gradient(60% 50% at 50% 45%, #EEF8F3 0%, var(--c-surface) 70%);
  animation: splash-out .5s var(--ease) 2.5s forwards;
}
.splash.is-done { animation: splash-out .35s var(--ease) forwards; }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }
.splash__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; width: min(380px, 78vw); }
.splash__logo { position: relative; width: min(150px, 40vw); animation: splash-rise .7s var(--ease) both; }
.splash__logo img { width: 100%; height: auto; clip-path: inset(0 100% 0 0); animation: splash-reveal 1.05s cubic-bezier(.65, 0, .35, 1) .25s forwards; }
@keyframes splash-rise { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes splash-reveal { to { clip-path: inset(0 0 0 0); } }
.splash__shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .85) 50%, transparent 70%) no-repeat;
  background-size: 60% 100%; background-position: -120% 0;
  -webkit-mask: url("../assets/brand/shoplive-icon.png") center / 100% 100% no-repeat;
          mask: url("../assets/brand/shoplive-icon.png") center / 100% 100% no-repeat;
  animation: splash-shine .9s ease-in-out 1.4s forwards;
}
@keyframes splash-shine { to { background-position: 220% 0; } }
.splash__bar { width: 46%; height: 3px; border-radius: 3px; background: var(--c-green-soft); overflow: hidden; }
.splash__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--c-green), var(--c-green-bright)); animation: splash-bar 2.2s cubic-bezier(.4, 0, .2, 1) .2s forwards; }
@keyframes splash-bar { to { width: 100%; } }

/* =========================================================
   Animation de paiement (~3 s)
   ========================================================= */
.pay-overlay { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; background: rgba(20, 26, 23, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade-in .25s ease both; }
@keyframes fade-in { from { opacity: 0; } }
.pay-overlay__card { width: min(360px, 100%); padding: 34px 28px 28px; text-align: center; background: var(--c-surface); border-radius: var(--r-xl); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .45); animation: card-in .45s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }

.pay-visual { position: relative; height: 140px; display: grid; place-items: center; margin-bottom: 22px; }
.pay-visual__card {
  position: relative; width: 186px; height: 116px; border-radius: 14px; overflow: hidden; text-align: left;
  background: linear-gradient(135deg, var(--c-green) 0%, #0B6B4E 55%, var(--c-green-bright) 100%);
  box-shadow: 0 18px 36px -16px rgba(10, 77, 58, .7);
  animation: card-float 1.6s ease-in-out infinite;
  transition: transform .45s var(--ease), opacity .35s ease;
}
@keyframes card-float { 50% { transform: translateY(-6px) rotate(-1.5deg); } }
.pay-visual__chip { position: absolute; left: 16px; top: 38px; width: 30px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, #F2E3B3, #CDB57A); }
.pay-visual__brand { position: absolute; right: 12px; top: 10px; width: 30px; height: 30px; filter: brightness(0) invert(1); opacity: .9; }
.pay-visual__digits { position: absolute; left: 16px; bottom: 16px; color: rgba(255, 255, 255, .85); font-size: 13px; letter-spacing: .14em; }
.pay-visual__shine { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); background-size: 250% 100%; animation: card-shine 1.4s ease-in-out infinite; }
@keyframes card-shine { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.pay-visual__ring { position: absolute; width: 132px; height: 132px; border-radius: 50%; border: 3px solid var(--c-green-soft); border-top-color: var(--c-green-bright); opacity: 0; }
.pay-visual__check { position: absolute; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--c-green-bright); color: #fff; opacity: 0; transform: scale(.4); }
.pay-visual__check .icon { width: 36px; height: 36px; stroke-width: 2.6; }

.pay-overlay.is-success .pay-visual__card { animation: none; transform: scale(.55); opacity: 0; }
.pay-overlay.is-success .pay-visual__ring { animation: ring-burst .6s var(--ease) forwards; border-color: var(--c-green-bright); }
@keyframes ring-burst { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.15); opacity: 0; } }
.pay-overlay.is-success .pay-visual__check { animation: pop-check .5s cubic-bezier(.34, 1.56, .64, 1) .1s forwards; }
@keyframes pop-check { to { opacity: 1; transform: scale(1); } }

.pay-overlay__title { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -.01em; min-height: 1.4em; }
.pay-overlay__title.swap { animation: text-swap .3s ease both; }
@keyframes text-swap { from { opacity: 0; transform: translateY(4px); } }
.pay-overlay__amount { margin-top: 4px; color: var(--c-text-3); font-size: 14px; }
.pay-overlay__bar { height: 4px; margin-top: 22px; border-radius: 4px; background: var(--c-green-soft); overflow: hidden; }
.pay-overlay__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--c-green), var(--c-green-bright)); transition: width .9s cubic-bezier(.4, 0, .2, 1); }
body.is-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .splash { display: none; }
  .pay-visual__card, .pay-visual__ring, .pay-visual__shine { animation: none; }
}

/* =========================================================
   Icônes en couleur (images)
   ========================================================= */
.icon--img { object-fit: contain; }
.card__icon { background: var(--c-green-soft); }
.card__icon .icon--img { width: 20px; height: 20px; }
.option__icon .icon--img { width: 26px; height: 26px; }
.option.is-checked .option__icon { background: var(--c-green-soft); box-shadow: inset 0 0 0 1.5px var(--c-green); }
.header-link .icon--img { width: 18px; height: 18px; }
.btn .icon--img { width: 18px; height: 18px; }
.btn--primary .icon--img { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25)); }
.pay__row .icon--img { width: 22px; height: 22px; }
.pay__secure .icon--img, .summary__trust .icon--img { width: 16px; height: 16px; }
.contact-info .icon--img { width: 20px; height: 20px; }
.thanks__copy .icon--img { width: 15px; height: 15px; }
.socials a { background: #fff; border-color: #fff; }
.socials a:hover { background: #fff; transform: translateY(-2px); }
.socials a { transition: transform .2s var(--ease); }
.socials .icon--img { width: 18px; height: 18px; }

/* =========================================================
   Suivi : commandes du jour
   ========================================================= */
.today__count { min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--c-green); color: #fff; font-family: var(--font); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.today__count:empty { display: none; }

/* Tableau « Vos commandes du jour » */
.orders { margin-bottom: 32px; }
.orders__title { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; text-align: center; }
.orders__note { margin: 14px 0 16px; font-size: 13.5px; color: var(--c-text-3); }
.orders__wrap { overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-surface); box-shadow: var(--shadow-card); }
.orders__table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.orders__table thead th { padding: 16px 18px; background: var(--c-text); color: #fff; font-weight: 700; text-align: left; white-space: nowrap; }
.orders__table thead th:first-child { box-shadow: inset 4px 0 0 var(--c-green-bright); }
.orders__table tbody tr { cursor: pointer; transition: background-color .15s; }
.orders__table tbody tr + tr td { border-top: 1px solid var(--c-line); }
.orders__table tbody tr:hover { background: var(--c-bg); }
.orders__table tbody tr.is-active { background: var(--c-green-soft); }
.orders__table tbody tr:focus-visible { outline: 2px solid var(--c-green); outline-offset: -2px; }
.orders__table td { padding: 16px 18px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.orders__table td strong { font-weight: 700; }
.orders__table .status-pill { padding: 4px 11px; font-size: 12px; }
@media (max-width: 640px) {
  .orders__table thead { display: none; }
  .orders__table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 14px 16px; }
  .orders__table tbody tr + tr td { border-top: 0; }
  .orders__table tbody tr + tr { border-top: 1px solid var(--c-line); }
  .orders__table td { padding: 0; white-space: normal; }
  .orders__table td::before { content: attr(data-label); display: block; font-size: 11.5px; color: var(--c-text-3); }
}
.today__empty { padding: 18px; border-radius: var(--r-md); background: var(--c-surface); border: 1px solid var(--c-line); color: var(--c-text-3); font-size: 14px; text-align: center; }
.section-label { margin: 0 0 12px 4px; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--c-text-2); }

