/* ============================================================
   PF CONCEPT FRANCE — Design system « Cadence »
   Palette & typographie extraites du template fourni.
   Identité chaude assumée (thème unique clair, éditorial luxe).
   ============================================================ */

:root {
  /* Surfaces — Éclat (clair & lumineux) */
  --bg: #FCFAF5;
  --surface: #FFFFFF;
  --surface-2: #F4F0E7;
  --footer: #161310;
  /* Encres */
  --ink: #161310;
  --muted: #585044;
  --soft: #7C7466;
  --faint: #A9A192;
  /* Marque — Éclat */
  --navy: #17305C;
  --navy-deep: #0F1C34;
  --accent: #EA6A1E;           /* orange Éclat — accent principal */
  --line: rgba(22, 19, 16, .10);
  --line-2: rgba(22, 19, 16, .16);
  /* Accents (palette Éclat) */
  --m-sept: #17305C;
  --m-oct: #EA6A1E;
  --m-nov: #0FA396;
  --m-dec: #EA5A8B;
  /* États */
  --success: #0FA396;
  --danger: #C0392B;
  --warning: #EA6A1E;
  /* Rayons (arrondis Éclat) & ombres */
  --r-xs: 9px;
  --r-sm: 13px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;
  --shadow-sm: 0 3px 10px -4px rgba(22, 19, 16, .18);
  --shadow-md: 0 22px 44px -26px rgba(22, 19, 16, .40);
  --shadow-lg: 0 40px 80px -34px rgba(22, 19, 16, .5);
  /* Rythme */
  --container: 1280px;
  --gap: 26px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-display: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ------------------------------------------------------------ Reset léger */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy-deep); }
button { font-family: var(--font-body); cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--ink); line-height: 1.08; letter-spacing: -.015em; margin: 0; }
p { margin: 0 0 1em; }
::selection { background: rgba(169, 112, 47, .22); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: var(--r-xs); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(42, 33, 27, .18); border-radius: 20px; }

/* ------------------------------------------------------------ Layout */
.container { max-width: var(--container); margin: 0 auto; padding-left: 26px; padding-right: 26px; }
.section { padding: 26px; }
.stack > * + * { margin-top: var(--flow, 1rem); }
.grid { display: grid; gap: var(--gap); }
/* Autorise les enfants de grille à rétrécir → les tableaux .table-wrap défilent
   au lieu de forcer un débordement horizontal de la page (min-width:auto par défaut). */
.grid > *, .admin-body > *, .form-grid-2 > *, [style*="grid-template-columns"] > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: 10px; } .gap-md { gap: 18px; } .gap-lg { gap: 26px; }
.mt-sm { margin-top: 10px; } .mt-md { margin-top: 20px; } .mt-lg { margin-top: 34px; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.faint { color: var(--faint); }
.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.display { font-family: var(--font-display); font-weight: 600; }
.drawer__title, .modal__title, .kpi__v, .product-card__name, .hv-cat__n, .hv-tag__val, .hv-quote__txt, .hv-stat__n, .hv-slide__title, .hv-h2, .hv-count__n { font-weight: 600; }
.tabular { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ Ticker */
.cad-ticker { background: var(--navy); color: var(--bg); overflow: hidden; white-space: nowrap;
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }
.cad-ticker__track { display: inline-flex; gap: 52px; padding: 9px 0; animation: cadMarquee 30s linear infinite; }
.cad-ticker__track span { opacity: .86; }

/* ------------------------------------------------------------ Header */
.cad-header { position: sticky; top: 0; z-index: 40; background: rgba(252, 250, 245, .82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.cad-header__inner { max-width: var(--container); margin: 0 auto; padding: 15px 26px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.cad-logo { background: none; border: none; display: flex; align-items: center; gap: 11px; padding: 0; }
.cad-logo__img { height: 42px; width: auto; display: block; transition: transform .35s var(--ease); }
.cad-logo:hover .cad-logo__img { transform: scale(1.03); }
.cad-logo__img--mark { display: none; }
.cad-logo__mark { width: 40px; height: 40px; border-radius: 13px; background: var(--accent);
  display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; transform: rotate(-4deg); transition: transform .35s var(--ease); }
.cad-logo:hover .cad-logo__mark { transform: rotate(3deg) scale(1.05); }
.cad-logo__mark::after { content: ''; position: absolute; inset: 4px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .35); }
.cad-logo__mark span { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .02em; color: #fff; position: relative; }
.cad-logo__name { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: .01em; line-height: 1; color: var(--ink); }
.cad-logo__tag { font-size: 8px; letter-spacing: .28em; text-transform: uppercase; color: var(--faint); }
.cad-monthnav { display: flex; gap: 5px; margin-left: 14px; }
.cad-monthpill { display: inline-flex; align-items: center; gap: 7px; background: transparent;
  border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 7px 13px; font-size: 12px;
  color: var(--muted); transition: border-color .3s var(--ease), color .3s var(--ease); }
.cad-monthpill:hover { border-color: rgba(42, 33, 27, .3); color: var(--ink); }
.cad-monthpill.is-active { border-color: var(--ink); color: var(--ink); }
.cad-monthpill .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* Barre des familles (2ᵉ niveau du header) */
.cad-catbar { border-top: 1px solid var(--line); background: rgba(255, 255, 255, .55); }
.cad-catbar__inner { max-width: var(--container); margin: 0 auto; padding: 9px 26px; display: flex; align-items: center; gap: 7px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.cad-catbar__inner::-webkit-scrollbar { display: none; }
.cad-catbar .cad-monthpill { flex-shrink: 0; white-space: nowrap; }
.cad-catbar__label { flex-shrink: 0; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-right: 4px; }
.cad-navlink { background: none; border: none; font-size: 13px; color: var(--muted); letter-spacing: .02em; padding: 6px 4px; transition: color .2s var(--ease); }
.cad-navlink:hover { color: var(--ink); }
.cad-headbtn { position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-xs);
  color: var(--ink); font-size: 14px; padding: 9px 12px; display: inline-flex; align-items: center; gap: 7px; transition: border-color .2s var(--ease); }
.cad-headbtn:hover { border-color: rgba(42, 33, 27, .3); }
.cad-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px;
  padding: 0 5px; border-radius: var(--r-pill); background: var(--accent); color: #fff; font-size: 11px; }
.cad-cartbtn { background: var(--ink); border: none; color: var(--bg); border-radius: var(--r-pill);
  padding: 11px 18px; font-size: 13px; letter-spacing: .03em; display: inline-flex; align-items: center; gap: 8px; transition: filter .2s var(--ease), transform .2s var(--ease); }
.cad-cartbtn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.cad-cartbtn .cad-count { background: var(--accent); color: #fff; }
.cad-burger { display: none; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-xs); padding: 9px 11px; font-size: 16px; color: var(--ink); }

/* ------------------------------------------------------------ Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent;
  border-radius: var(--r-pill); padding: 14px 26px; font-size: 13.5px; font-weight: 600; letter-spacing: .02em;
  cursor: pointer; transition: filter .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { filter: brightness(.93); transform: translateY(-2px); color: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { filter: brightness(.93); transform: translateY(-2px); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 15px; font-size: 12.5px; }
.btn--danger { background: var(--danger); color: #fff; }
.btn-spinner { width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: cadSpin .7s linear infinite; }

/* ------------------------------------------------------------ Cards & surfaces */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); }
.card--pad { padding: 24px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 22px; }
.hr { height: 1px; background: var(--line); border: 0; margin: 16px 0; }

/* Badges / pills */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; letter-spacing: .08em;
  text-transform: uppercase; padding: 5px 10px; border-radius: var(--r-pill); background: var(--accent); color: #fff; }
.badge--dark { background: var(--ink); }
.badge--soft { background: color-mix(in oklab, var(--accent) 14%, var(--surface)); color: var(--accent); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; padding: 4px 11px; border-radius: var(--r-pill); }
.pill--ok { background: rgba(47, 107, 95, .14); color: var(--success); }
.pill--wait { background: rgba(169, 112, 47, .16); color: var(--warning); }
.pill--off { background: rgba(162, 59, 59, .12); color: var(--danger); }
.pill--muted { background: var(--surface-2); color: var(--muted); }

/* ------------------------------------------------------------ Product card */
.product-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .4s cubic-bezier(.34, 1.4, .5, 1), box-shadow .4s var(--ease), border-color .3s var(--ease); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-card__media { position: relative; aspect-ratio: 1/1; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06) rotate(2deg); }
.product-card__plate { font-family: var(--font-display); font-size: clamp(34px, 6vw, 58px); letter-spacing: .04em;
  color: rgba(42, 33, 27, .22); text-transform: uppercase; user-select: none; }
.product-card__badge { position: absolute; top: 12px; right: 12px; }
.product-card__dots { position: absolute; left: 14px; bottom: 12px; display: flex; gap: 6px; }
.product-card__dots .dot { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid rgba(251,247,240,.7); box-shadow: var(--shadow-sm); }
.product-card__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__brand { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.product-card__name { font-family: var(--font-display); font-size: 20px; color: var(--ink); line-height: 1.15; }
.product-card__desc { font-size: 13px; color: var(--soft); line-height: 1.5; }
.product-card__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 10px; }
.product-card__price { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; background: color-mix(in oklab, var(--accent) 14%, var(--surface));
  color: var(--accent); padding: 6px 13px; border-radius: var(--r-pill); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.product-card__price del { color: var(--faint); font-weight: 400; font-size: 13px; }
/* --- Achat rapide sur la carte (coloris / quantité / panier / achat / favori) --- */
.product-card__medialink { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.product-card__fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(255,255,255,.9); backdrop-filter: blur(4px); color: var(--soft); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: transform .3s var(--spring), color .25s, background .25s; }
.product-card__fav:hover { transform: scale(1.12); color: var(--berry); }
.product-card__fav.is-active { background: var(--berry); color: #fff; }
.product-card__fav.is-active svg { fill: #fff; }
.product-card__price { align-self: flex-start; }
.product-card__buy { margin-top: auto; display: flex; flex-direction: column; gap: 9px; padding-top: 4px; }
.product-card__swatches { display: flex; flex-wrap: wrap; gap: 7px; }
.pc-swatch { position: relative; display: inline-flex; cursor: pointer; }
.pc-swatch input { position: absolute; opacity: 0; width: 0; height: 0; }
.pc-swatch__dot { position: relative; width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); box-shadow: 0 0 0 2px transparent; transition: box-shadow .2s, transform .2s; }
.pc-swatch:hover .pc-swatch__dot { transform: scale(1.08); }
.pc-swatch input:checked + .pc-swatch__dot { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.pc-swatch.is-out { cursor: not-allowed; }
.pc-swatch.is-out .pc-swatch__dot { opacity: .45; }
.pc-swatch.is-out .pc-swatch__dot::after { content: ''; position: absolute; left: 50%; top: 50%; width: 22px; height: 1px; background: var(--danger); transform: translate(-50%, -50%) rotate(-45deg); }
.product-card__actions { display: flex; gap: 8px; align-items: stretch; }
.qty--sm { flex-shrink: 0; }
.qty--sm button { width: 28px; height: 34px; font-size: 15px; }
.qty--sm input { width: 28px; height: 34px; font-size: 13px; }
.product-card__add { flex: 1; min-width: 0; gap: 7px; padding: 9px 10px; color: #fff; }
.product-card__add svg { width: 15px; height: 15px; }
.product-card__buynow { justify-content: center; gap: 7px; }
.product-card__buynow svg { width: 14px; height: 14px; }

/* ------------------------------------------------------------ Hero */
.hero { position: relative; border-radius: var(--r-sm); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: center; min-height: 474px; }
.hero__copy { padding: 52px; }
.hero__title { font-family: var(--font-display); font-size: clamp(40px, 6vw, 66px); line-height: 1.02; margin: 20px 0 0; letter-spacing: -.01em; text-wrap: balance; }
.hero__sub { font-size: 16.5px; line-height: 1.62; color: var(--muted); max-width: 430px; margin: 20px 0 0; }
.hero__plate { position: relative; height: 100%; min-height: 474px; display: flex; align-items: center; justify-content: center; }
.hero__word { position: absolute; font-family: var(--font-display); font-size: 22vw; color: rgba(42,33,27,.05); pointer-events: none; top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; }

/* Month showcase */
.month-card { position: relative; border-radius: var(--r-sm); overflow: hidden; padding: 26px; min-height: 210px;
  display: flex; flex-direction: column; justify-content: space-between; color: #FBF7F0; transition: transform .3s var(--ease); }
.month-card:hover { transform: translateY(-4px); }
.month-card__word { position: absolute; right: 8px; bottom: -10px; font-family: var(--font-display); font-size: 92px; color: rgba(251,247,240,.10); pointer-events: none; }

/* ------------------------------------------------------------ Forms */
.field { display: block; }
.field > .label, .label { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 7px; }
.input, .select, .textarea { width: 100%; min-width: 0; padding: 12px 13px; border: 1px solid var(--line-2); border-radius: var(--r-xs);
  background: var(--bg); font-size: 14px; color: var(--ink); outline: none; font-family: var(--font-body); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30,57,104,.12); }
.textarea { min-height: 120px; resize: vertical; }
.field--error .input, .field--error .select, .field--error .textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 12px; margin-top: 6px; }
.req { color: var(--danger); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
/* Pastille de coloris sélectionnée (fiche produit) */
.var-swatch:has(input:checked) { border-color: var(--navy) !important; box-shadow: 0 0 0 1px var(--navy); }
.var-swatch:has(input:disabled) { pointer-events: none; }
.radio-card { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--bg);
  border: 1px solid var(--line-2); border-radius: var(--r-xs); padding: 14px 16px; margin-bottom: 10px; transition: border-color .2s var(--ease); }
.radio-card:hover { border-color: rgba(42,33,27,.3); }
.radio-card.is-active { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(30,57,104,.14); }
.radio-card__radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); flex-shrink: 0; position: relative; }
.radio-card.is-active .radio-card__radio { border-color: var(--navy); }
.radio-card.is-active .radio-card__radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--navy); }

/* ------------------------------------------------------------ Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
.table th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 500; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table td { padding: 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ Steps (checkout) */
.steps { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.step { display: flex; align-items: center; gap: 10px; }
.step__badge { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; background: var(--surface-2); color: var(--soft); border: 1px solid var(--line-2); }
.step.is-active .step__badge, .step.is-done .step__badge { background: var(--accent); color: #fff; border-color: transparent; }
.step__name { font-size: 14px; color: var(--soft); }
.step.is-active .step__name { color: var(--ink); font-weight: 500; }
.step__arrow { color: #C4B6A6; margin: 0 4px; }

/* ------------------------------------------------------------ Drawer / overlay */
.overlay { position: fixed; inset: 0; background: rgba(22, 35, 63, .5); backdrop-filter: blur(2px); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease); }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; height: 100dvh; width: min(420px, 92vw); background: var(--bg);
  z-index: 100; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: var(--shadow-lg); }
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--font-display); font-size: 22px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 18px 22px; background: var(--surface); }
.iconbtn { background: none; border: none; font-size: 20px; color: var(--soft); padding: 4px; line-height: 1; border-radius: var(--r-xs); }
.iconbtn:hover { color: var(--ink); }

/* Modal (compare) */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.modal.is-open { display: flex; }
.modal__card { background: var(--bg); border-radius: var(--r-sm); width: min(920px, 100%); box-shadow: var(--shadow-lg); }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }

/* Cart line */
.cart-line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line__media { width: 66px; height: 66px; border-radius: var(--r-xs); background: var(--surface-2); flex-shrink: 0; overflow: hidden; display:flex; align-items:center; justify-content:center; }
.cart-line__media img { width:100%; height:100%; object-fit: contain; padding: 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-xs); overflow: hidden; }
.qty button { background: var(--surface); border: none; width: 30px; height: 30px; font-size: 15px; color: var(--ink); }
.qty button:hover { background: var(--surface-2); }
.qty input { width: 38px; text-align: center; border: none; background: var(--bg); font-size: 14px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ------------------------------------------------------------ Sidebars (account / admin) */
.side-nav { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px; position: sticky; top: 18px; }
.side-nav a, .side-nav button { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left; background: none; border: none;
  border-radius: var(--r-xs); padding: 11px 13px; font-size: 13.5px; color: var(--muted); transition: background .2s var(--ease), color .2s var(--ease); }
.side-nav a:hover, .side-nav button:hover { background: var(--surface-2); color: var(--ink); }
.side-nav a.is-active { background: var(--ink); color: var(--bg); }
.side-nav .badge-mini { margin-left: auto; background: var(--surface-2); color: var(--soft); border-radius: var(--r-pill); font-size: 11px; padding: 2px 8px; }
.side-nav a.is-active .badge-mini { background: rgba(255,255,255,.2); color: var(--bg); }

/* KPI */
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px; }
.kpi__k { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.kpi__v { font-family: var(--font-display); font-size: 30px; margin-top: 8px; }
.kpi__d { font-size: 12px; margin-top: 4px; }
.trend-up { color: var(--success); } .trend-down { color: var(--danger); }

/* Bar chart (CSS) */
.bars { display: flex; align-items: flex-end; gap: 12px; height: 190px; }
.bars__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 9px; height: 100%; justify-content: flex-end; }
.bars__bar { width: 100%; max-width: 46px; border-radius: var(--r-xs) var(--r-xs) 0 0; background: var(--navy); transform-origin: bottom; animation: cadFill .8s var(--ease) both; }
.progress { height: 7px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; }
.progress__fill { height: 100%; border-radius: var(--r-pill); background: var(--accent); }

/* ------------------------------------------------------------ Admin shell */
.admin-topbar { background: var(--navy-deep); color: var(--bg); }
.admin-topbar__inner { max-width: var(--container); margin: 0 auto; padding: 14px 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.admin-body { display: grid; grid-template-columns: 230px 1fr; gap: 26px; align-items: start; }

/* ------------------------------------------------------------ Footer (sombre, façon Éclat) */
.cad-footer { border-top: 1px solid var(--line); background: var(--footer); color: rgba(251, 247, 240, .72); }
.cad-footer__grid { max-width: var(--container); margin: 0 auto; padding: 48px 26px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; }
.cad-footer .soft { color: rgba(251, 247, 240, .6); }
.cad-footer .cad-logo__name { color: #fff; }
.cad-footer a { color: rgba(251, 247, 240, .72); }
.cad-footer__col h4 { font-family: var(--font-body); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 12px; font-weight: 600; }
.cad-footer__col a { display: block; font-size: 13px; padding: 5px 0; transition: color .2s var(--ease), padding-left .2s var(--ease); }
.cad-footer__col a:hover { color: var(--accent); padding-left: 4px; }
.cad-footer__bar { border-top: 1px solid rgba(251, 247, 240, .12); }
.cad-footer__bar-inner { max-width: var(--container); margin: 0 auto; padding: 16px 26px; font-size: 11.5px; color: rgba(251, 247, 240, .5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.cad-footer__contact { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; }
.cad-footer__contact a, .cad-footer__contact span { display: flex; align-items: center; gap: 9px; color: rgba(251, 247, 240, .6); }
.cad-footer__contact a:hover { color: var(--accent); }
.cad-footer__contact svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--accent); }
.cad-footer__soc { display: flex; gap: 10px; margin-top: 18px; }
.cad-footer__soc a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(251, 247, 240, .18); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .25s, transform .3s var(--spring), border-color .25s; }
.cad-footer__soc a:hover { background: var(--accent); border-color: transparent; transform: translateY(-3px); color: #fff; }
.cad-footer__soc svg { width: 18px; height: 18px; }
.cad-footer__pay { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cad-footer__pay > span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid rgba(251, 247, 240, .16); border-radius: 8px; font-size: 10.5px; letter-spacing: .04em; color: rgba(251, 247, 240, .7); }
.cad-footer__pay svg { width: 15px; height: 15px; color: var(--accent); }

/* ------------------------------------------------------------ Chat / SAV widget */
.cad-chat { position: fixed; right: 22px; bottom: 22px; z-index: 80; }
.cad-chat__btn { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; border: none; font-size: 22px; box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; transition: transform .2s var(--ease); }
.cad-chat__btn:hover { transform: scale(1.06); }
.cad-chat__panel { position: absolute; right: 0; bottom: 68px; width: min(340px, 86vw); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg); overflow: hidden; display: none; }
.cad-chat__panel.is-open { display: block; animation: cadUp .3s var(--ease) both; }
.cad-chat__head { background: var(--navy-deep); color: var(--bg); padding: 16px 18px; }
.cad-chat__body { padding: 16px 18px; }

/* ------------------------------------------------------------ Toasts */
.toast-stack { position: fixed; right: 20px; top: 20px; z-index: 120; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.toast { background: var(--ink); color: var(--bg); padding: 13px 16px; border-radius: var(--r-sm); box-shadow: var(--shadow-md);
  font-size: 13.5px; display: flex; align-items: flex-start; gap: 10px; animation: cadSlideL .3s var(--ease) both; }
.toast--success { background: var(--success); } .toast--error { background: var(--danger); } .toast--info { background: var(--navy); }
.toast__close { margin-left: auto; background: none; border: none; color: inherit; opacity: .8; font-size: 16px; }

/* Empty state */
.empty { text-align: center; padding: 60px 20px; color: var(--soft); }
.empty__icon { font-size: 40px; opacity: .3; margin-bottom: 12px; }

/* ------------------------------------------------------------ Animations */
@keyframes cadUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cadIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cadMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes cadSlideL { from { transform: translateX(40px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes cadFill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes cadSpin { to { transform: rotate(360deg); } }
.animate-up { animation: cadUp .6s var(--ease) both; }
.animate-in { animation: cadIn .4s var(--ease) both; }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1000px) {
  .cad-monthnav { display: none; }
  /* Tablette + mobile : nav repliée dans le menu burger */
  .cad-navlink { display: none; }
  .cad-catbar { display: none; }
  .cad-burger { display: inline-flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .admin-body { grid-template-columns: 1fr; }
  .side-nav { position: static; }
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__plate { display: none; }
  .cad-footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__copy { padding: 34px 24px; }
  /* Les grilles 2-colonnes définies en style inline (fiche produit, checkout,
     panier, compte, détails admin…) s'empilent sur petits écrans. */
  [style*="grid-template-columns"]:not(.keep-cols) { grid-template-columns: 1fr !important; }
  aside[style*="sticky"], div[style*="position:sticky"] { position: static !important; }
}
@media (max-width: 640px) {
  .container, .section { padding-left: 16px; padding-right: 16px; }
  .cad-header__inner { gap: 10px; padding: 12px 16px; }
  .cad-logo__img { display: none; }
  .cad-logo__img--mark { display: block; height: 38px; }
  .cad-navlink { display: none; }
  .cad-burger { display: inline-flex; }
  .cad-catbar { display: none; }
  .admin-topbar__inner { padding: 12px 16px; gap: 10px; }
  .admin-topbar__inner > .badge { display: none; }
  .grid-4, .grid-3, .grid-2, .form-grid-2 { grid-template-columns: 1fr; }
  .cad-footer__grid { grid-template-columns: 1fr; }
  .hero__copy { padding: 28px 20px; }
  .steps { gap: 6px; font-size: 12px; }
  .step__name { display: none; }
  .step.is-active .step__name { display: inline; }
}

/* Mobile drawer nav (revealed by burger) */
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--surface); padding: 6px 16px 12px; }
.mobile-nav.is-open { display: block; animation: cadIn .25s var(--ease) both; }
.mobile-nav__link { display: flex; align-items: center; padding: 12px 4px; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); }
.mobile-nav__link:last-child { border-bottom: 0; }
.mobile-nav__link:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   ACCUEIL — vitrine animée « Cadence » (préfixe hv-)
   Autonome : n'affecte que la page d'accueil. Fallback sans JS
   assuré (les .hv-reveal ne sont masqués que si .hv-js est posé).
   ============================================================ */
:root { --cream: #FBF7F0; --gold: #E0A65A; --spring: cubic-bezier(.34, 1.4, .5, 1);
  --hv-orange: #E4671E; --hv-teal: #0FA396; --hv-sun: #F4C24C; --hv-grape: #6B4FD8; --hv-rose: #EA5A8B; }

.hv-ic { display: inline-block; vertical-align: middle; }

/* Reveal au scroll (masqué seulement quand JS est actif) */
.hv-reveal { opacity: 1; transform: none; }
.hv-js .hv-reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hv-js .hv-reveal.in { opacity: 1; transform: none; }

/* Boutons vitrine */
.hv-btn--pop { background: var(--hv-orange); color: #fff; box-shadow: 0 14px 26px -14px rgba(228, 103, 30, .7); }
.hv-btn--pop:hover { background: color-mix(in oklab, var(--hv-orange) 90%, #000); color: #fff; transform: translateY(-2px); }
.hv-btn--ghostlight { border: 1px solid rgba(251, 247, 240, .3); color: var(--cream); }
.hv-btn--ghostlight:hover { border-color: var(--cream); background: rgba(251, 247, 240, .08); color: var(--cream); transform: translateY(-2px); }
.hv-btn--light { background: var(--cream); color: var(--ink); }
.hv-btn--light:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------------------------------------------------------- HERO slider (clair, façon Éclat) */
.hv-hero { position: relative; overflow: hidden; background: var(--bg); }
.hv-hero__vp { position: relative; height: min(84vh, 720px); min-height: 540px; }
.hv-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.hv-slide.is-active { opacity: 1; visibility: visible; }
.hv-slide__bg { position: absolute; inset: 0; }
.hv-slide__blob { position: absolute; width: 420px; height: 420px; right: 10%; top: 12%; border-radius: 50%; filter: blur(24px); opacity: .5; }
.hv-slide__in { position: relative; z-index: 5; height: 100%; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.hv-slide__copy { max-width: 560px; color: var(--ink); }
.hv-slide__eye { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--ink); padding: 8px 15px; border-radius: var(--r-pill); background: #fff; box-shadow: var(--shadow-sm); }
.hv-slide__eye .hv-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.hv-slide__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5.6vw, 82px); line-height: 1; letter-spacing: -.01em; margin: 22px 0 0; color: var(--ink); text-wrap: balance; }
.hv-slide__sub { margin: 20px 0 0; font-size: 16.5px; color: var(--muted); max-width: 440px; line-height: 1.62; }
.hv-slide__cta { display: flex; gap: 13px; margin-top: 34px; flex-wrap: wrap; }
.hv-slide__stage { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }
.hv-slide__disc { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(440px, 90%); aspect-ratio: 1; border-radius: 50%; box-shadow: 0 40px 80px -30px rgba(28, 22, 16, .45); }
.hv-slide__prod { position: relative; z-index: 3; width: min(340px, 72%); max-height: 76%; object-fit: contain; background: #fff; border-radius: 20px; padding: 18px; box-shadow: 0 30px 56px -24px rgba(28, 22, 16, .5); animation: hvFloaty 6s ease-in-out infinite; }
.hv-slide__plate { position: relative; z-index: 3; font-family: var(--font-display); font-size: 13vw; color: rgba(28, 22, 16, .14); letter-spacing: .03em; }
.hv-slide__tag { position: absolute; z-index: 4; background: #fff; border-radius: var(--r-pill); padding: 10px 16px; box-shadow: var(--shadow-md); display: inline-flex; align-items: baseline; gap: 8px; }
.hv-slide__tag .hv-tag__lab { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.hv-slide__tag .hv-tag__val { font-family: var(--font-display); font-size: 19px; color: var(--ink); }
.hv-slide__tag.hv-tag-1 { right: 2%; top: 22%; } .hv-slide__tag.hv-tag-2 { left: 0; bottom: 20%; }
.hv-slide__tag.hv-tag-price { left: 50%; bottom: 8%; transform: translateX(-50%); align-items: center; gap: 9px; padding: 11px 20px; }
.hv-slide__tag.hv-tag-price .hv-ic { color: var(--accent); }
@keyframes hvFloaty { 0%, 100% { transform: translateY(-10px); } 50% { transform: translateY(12px); } }

.hv-slide__eye, .hv-slide__title, .hv-slide__sub, .hv-slide__cta, .hv-slide__stage { opacity: 0; transform: translateY(26px); }
.hv-slide.is-active .hv-slide__eye { animation: hvRise .7s var(--ease) .15s forwards; }
.hv-slide.is-active .hv-slide__title { animation: hvRise .8s var(--ease) .28s forwards; }
.hv-slide.is-active .hv-slide__sub { animation: hvRise .8s var(--ease) .42s forwards; }
.hv-slide.is-active .hv-slide__cta { animation: hvRise .8s var(--ease) .56s forwards; }
.hv-slide.is-active .hv-slide__stage { animation: hvPop 1s var(--ease) .2s forwards; }
@keyframes hvRise { to { opacity: 1; transform: translateY(0); } }
@keyframes hvPop { from { opacity: 0; transform: translateY(30px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }

.hv-hero__ui { position: absolute; z-index: 20; left: 0; right: 0; bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hv-hero__dots { display: flex; gap: 9px; }
.hv-hdot { width: 34px; height: 4px; border-radius: var(--r-pill); background: rgba(28, 22, 16, .16); overflow: hidden; position: relative; cursor: pointer; border: 0; padding: 0; }
.hv-hdot span { position: absolute; inset: 0; width: 0; background: var(--hv-orange); border-radius: inherit; }
.hv-hdot.is-active span { animation: hvFill 6s linear forwards; }
@keyframes hvFill { to { width: 100%; } }
.hv-hero__arrows { display: flex; gap: 10px; }
.hv-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: transform .3s var(--spring), background .25s, color .25s; }
.hv-arrow:hover { background: var(--ink); color: var(--cream); transform: scale(1.08); }

/* ---------------------------------------------------------- Réassurance */
.hv-usp { background: var(--surface); border-bottom: 1px solid var(--line); }
.hv-usp__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.hv-usp__it { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-right: 1px solid var(--line); transition: background .25s; }
.hv-usp__it:last-child { border-right: none; }
.hv-usp__it:hover { background: var(--bg); }
.hv-usp__ic { width: 44px; height: 44px; flex-shrink: 0; border-radius: 13px; color: #fff; display: flex; align-items: center; justify-content: center; }
.hv-usp__it:nth-child(1) .hv-usp__ic { background: var(--hv-orange); }
.hv-usp__it:nth-child(2) .hv-usp__ic { background: var(--hv-teal); }
.hv-usp__it:nth-child(3) .hv-usp__ic { background: var(--hv-grape); }
.hv-usp__it:nth-child(4) .hv-usp__ic { background: var(--hv-rose); }
.hv-usp__t { font-weight: 600; font-size: 14px; }
.hv-usp__d { font-size: 12px; color: var(--soft); margin-top: 1px; }

/* ---------------------------------------------------------- Sections */
.hv-sec { padding: clamp(60px, 8vw, 100px) 26px; }
.hv-sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 26px; margin-bottom: 40px; flex-wrap: wrap; }
.hv-h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 4vw, 50px); margin: 12px 0 0; letter-spacing: -.01em; text-wrap: balance; }
.hv-sec__lead { max-width: 340px; font-size: 14px; color: var(--soft); line-height: 1.6; margin: 0; }
.hv-seelink { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.hv-seelink .hv-ic { transition: transform .3s var(--ease); }
.hv-seelink:hover .hv-ic { transform: translateX(4px); }

/* ---------------------------------------------------------- Familles (bento clair, façon Éclat) */
.hv-cats { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 210px; gap: 18px; }
.hv-cat { position: relative; grid-column: span 2; border-radius: var(--r-lg); overflow: hidden; color: var(--ink); box-shadow: var(--shadow-md); transition: transform .4s var(--spring), box-shadow .4s var(--ease); }
.hv-cat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hv-cat--wide { grid-column: span 3; } .hv-cat--tall { grid-row: span 2; }
/* Produit ENTIER (contain) ; le multiply fait disparaître le fond blanc de la photo sur la teinte pastel. Zone basse réservée au texte. */
.hv-cat__img { position: absolute; inset: 16px 18px 76px; background-size: contain; background-position: center; background-repeat: no-repeat; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.hv-cat:hover .hv-cat__img { transform: scale(1.05); }
.hv-cat__plate { position: absolute; inset: 0 0 60px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 56px; color: rgba(28, 22, 16, .16); }
.hv-cat__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 22px 20px; }
.hv-cat__k { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; opacity: .68; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hv-cat__n { display: block; font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 27px); margin-top: 3px; line-height: 1.05; }
.hv-cat__go { margin-top: 9px; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; transition: gap .3s; }
.hv-cat:hover .hv-cat__go { gap: 13px; }
.hv-cat.t-1 { background: #FCE8D6; } .hv-cat.t-2 { background: #D9EFE9; } .hv-cat.t-3 { background: #FBF0CE; }
.hv-cat.t-4 { background: #DEE6F2; } .hv-cat.t-5 { background: #E9E2FA; } .hv-cat.t-6 { background: #FBE0EA; }

/* ---------------------------------------------------------- Carrousel produits */
.hv-pcarousel { position: relative; }
.hv-ptrack { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 22px; scrollbar-width: none; }
.hv-ptrack::-webkit-scrollbar { display: none; }
.hv-ptrack > .product-card { scroll-snap-align: start; flex: 0 0 clamp(240px, 72vw, 286px); }
.hv-pcarousel__nav { display: flex; align-items: center; gap: 10px; }
.hv-pnav { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); display: flex; align-items: center; justify-content: center; transition: transform .3s var(--spring), background .25s, color .25s, border-color .25s; }
.hv-pnav:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); transform: scale(1.06); }

/* ---------------------------------------------------------- Promo + compte à rebours */
.hv-promo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(120deg, var(--hv-orange) 0%, #F2994A 55%, var(--hv-sun) 110%); color: #fff; }
.hv-promo::before { content: ''; position: absolute; width: 520px; height: 520px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .2), transparent 70%); }
.hv-promo__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding: clamp(34px, 5vw, 60px); }
.hv-promo__eye { color: #fff; opacity: .95; }
.hv-promo__h { color: #fff; }
.hv-promo__p { margin-top: 16px; color: rgba(255, 255, 255, .92); max-width: 420px; }
.hv-promo__p strong { color: #fff; letter-spacing: .04em; }
.hv-count { display: flex; gap: 14px; margin-top: 30px; }
.hv-count__b { background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--r-md); width: 82px; padding: 14px 6px; text-align: center; backdrop-filter: blur(6px); }
.hv-count__n { font-family: var(--font-display); font-size: 34px; font-variant-numeric: tabular-nums; color: #fff; line-height: 1; }
.hv-count__l { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); margin-top: 7px; }
.hv-promo__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 210px; }
.hv-promo__ring { position: absolute; width: 260px; height: 260px; border: 1px dashed rgba(255, 255, 255, .55); border-radius: 50%; animation: hvSpin 26s linear infinite; }
.hv-promo__badge { position: relative; z-index: 2; width: 150px; height: 150px; border-radius: 50%; background: #fff; color: var(--hv-orange); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 34px; box-shadow: 0 20px 40px -18px rgba(28, 22, 16, .45); }
@keyframes hvSpin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------- Bandeau marques */
.hv-brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.hv-brands__track { display: flex; width: max-content; align-items: center; animation: hvMarquee 30s linear infinite; }
.hv-brands__track:hover { animation-play-state: paused; }
.hv-brands__track span { padding: 26px 46px; font-family: var(--font-display); font-size: 24px; color: var(--faint); letter-spacing: .04em; transition: color .3s; white-space: nowrap; }
.hv-brands__track span:hover { color: var(--navy); }
@keyframes hvMarquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------- Avis clients */
.hv-testi { background: linear-gradient(180deg, var(--surface), var(--bg)); }
.hv-testi__wrap { max-width: 820px; margin: 0 auto; text-align: center; position: relative; }
.hv-quote { opacity: 0; position: absolute; inset: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.hv-quote.is-on { opacity: 1; position: relative; pointer-events: auto; }
.hv-quote__stars { display: inline-flex; gap: 3px; color: var(--gold); margin-bottom: 20px; }
.hv-quote__txt { font-family: var(--font-display); font-size: clamp(22px, 2.8vw, 32px); line-height: 1.32; color: var(--ink); }
.hv-quote__who { display: flex; align-items: center; justify-content: center; gap: 13px; margin-top: 26px; }
.hv-av { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(140deg, var(--navy), var(--navy-deep)); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 18px; }
.hv-quote__name { font-weight: 600; font-size: 14.5px; }
.hv-quote__role { font-size: 12.5px; color: var(--soft); }
.hv-testi__dots { display: flex; gap: 9px; justify-content: center; margin-top: 38px; }
.hv-tdot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); cursor: pointer; border: 0; padding: 0; transition: background .25s, transform .25s; }
.hv-tdot.is-on { background: var(--accent); transform: scale(1.25); }

/* ---------------------------------------------------------- Chiffres */
.hv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.hv-stat__n { font-family: var(--font-display); font-size: clamp(34px, 5vw, 58px); color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.hv-statc:nth-child(1) .hv-stat__n { color: var(--hv-orange); }
.hv-statc:nth-child(2) .hv-stat__n { color: var(--hv-teal); }
.hv-statc:nth-child(3) .hv-stat__n { color: var(--hv-grape); }
.hv-statc:nth-child(4) .hv-stat__n { color: var(--hv-rose); }
.hv-stat__l { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin-top: 10px; }

/* ---------------------------------------------------------- CTA devis / contact */
.hv-cta { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); color: #fff; padding: clamp(40px, 6vw, 72px); text-align: center; }
.hv-cta::before { content: ''; position: absolute; width: 360px; height: 360px; left: -120px; bottom: -150px; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--hv-teal) 45%, transparent), transparent 70%); filter: blur(6px); }
.hv-cta::after { content: ''; position: absolute; width: 300px; height: 300px; right: -100px; top: -130px; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--hv-orange) 45%, transparent), transparent 70%); filter: blur(6px); }
.hv-cta__in { position: relative; z-index: 2; max-width: 580px; margin: 0 auto; }
.hv-cta__p { margin-top: 14px; color: rgba(255, 255, 255, .85); }
.hv-cta__btns { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* ---------------------------------------------------------- Responsive */
@media (max-width: 1080px) {
  .hv-cats { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; }
  .hv-cat--wide { grid-column: span 2; }
}
@media (max-width: 900px) {
  .hv-slide__in { grid-template-columns: 1fr; }
  .hv-slide__stage { display: none; }
  .hv-hero__vp { height: auto; min-height: 0; padding: 70px 0 92px; }
  .hv-slide { position: relative; }
  .hv-slide:not(.is-active) { display: none; }
  .hv-usp__in { grid-template-columns: repeat(2, 1fr); }
  .hv-usp__it:nth-child(2) { border-right: none; }
  .hv-usp__it:nth-child(1), .hv-usp__it:nth-child(2) { border-bottom: 1px solid var(--line); }
  .hv-promo__in { grid-template-columns: 1fr; }
  .hv-promo__stage { order: -1; }
  .hv-stats { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
}
@media (max-width: 560px) {
  .hv-usp__in { grid-template-columns: 1fr; }
  .hv-usp__it { border-right: none; border-bottom: 1px solid var(--line); }
  .hv-usp__it:last-child { border-bottom: none; }
  .hv-cats { grid-template-columns: 1fr; grid-auto-rows: 180px; }
  .hv-cat--wide, .hv-cat--tall { grid-column: span 1; grid-row: span 1; }
  .hv-stats { grid-template-columns: 1fr 1fr; }
}

/* ── Bandeau consentement cookies (RGPD / CNIL) ─────────────────────────── */
.cookie-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95;
  max-width: 720px; margin: 0 auto; background: var(--surface);
  border: 1px solid var(--line-2); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); animation: ccUp .4s var(--ease) both; }
.cookie-consent[hidden] { display: none; }
.cookie-consent__inner { display: flex; align-items: center; gap: 18px;
  padding: 15px 18px; flex-wrap: wrap; }
.cookie-consent__text { flex: 1; min-width: 240px; }
.cookie-consent__text strong { display: block; font-family: var(--font-display);
  font-size: 15px; margin-bottom: 4px; }
.cookie-consent__text p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.cookie-consent__text a { color: var(--accent); text-decoration: underline; }
.cookie-consent__actions { display: flex; gap: 10px; flex-shrink: 0; }
@keyframes ccUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .cookie-consent__actions { width: 100%; }
  .cookie-consent__actions .btn { flex: 1; }
}
