/* =========================================================================
   ADN NUTRITION — maquette e-commerce
   Identité du client : noir, vert lime et blanc, logo à trois bandes obliques.
   Bandeaux noirs (header, héros, footer), zones de lecture et fiches produits
   sur fond clair. Le lime s'emploie en aplat avec du texte noir ; sur fond
   clair, les accents de texte passent en vert olive foncé pour rester lisibles.
   ========================================================================= */
:root {
  /* Identité ADN NUTRITION */
  --noir: #000000;        /* fond du logo fourni : header et footer doivent garder ce noir exact */
  --noir-2: #161616;
  --accent: #D4F542;      /* lime du logo, valeur reprise du script de facturation du client */
  --accent-d: #C2E62A;
  --on-accent: #0A0A0A;
  --accent-ink: #4F6100;  /* texte et pictos d'accent sur fond clair */
  --accent-tint: #F4FBD0;
  --white: #FFFFFF;
  --mist: #F4F5F1;

  /* Neutres */
  --ink: #0D0D0D;
  --ink-2: #3D3F3A;
  --muted: #6B6E66;
  --line: #E4E5E0;
  --line-2: #CDCFC7;
  --on-dark: #D2D4CC;
  --on-dark-2: #9A9D92;

  /* Répartition des macros (protéines, glucides, lipides) */
  --m-p: #A9CC16;
  --m-g: #7C8591;
  --m-l: #F2A93B;

  /* États */
  --ok: #10915A;
  --ok-bg: #E4F6EC;
  --warn: #B86E00;
  --warn-bg: #FFF3DC;
  --bad: #D0342C;
  --bad-bg: #FDE8E7;

  --grad: linear-gradient(120deg, #000000 0%, #0A0A0A 55%, #1C2106 100%);

  --f-display: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --f-body: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
  --f-mono: 'JetBrains Mono', Consolas, 'Courier New', monospace;
  --f-mark: 'Michroma', 'Montserrat', Arial, sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 24px -12px rgba(0, 0, 0, .18);
  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .35);
  --wrap: 1240px;
  --gutter: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 2px var(--noir); border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
.num, .price { font-variant-numeric: tabular-nums; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 10px; border: 1.5px solid transparent;
  font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none !important; transition: background .15s, transform .15s, box-shadow .15s, border-color .15s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); border-color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-d); transform: translateY(-1px); }
.btn-light { background: var(--white); color: var(--noir); }
.btn-light:hover { background: var(--mist); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); background: var(--mist); }
.btn-ghost-dark { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .25); }
.btn-ghost-dark:hover { border-color: var(--accent); background: rgba(212, 245, 66, .12); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 12px; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 15px; }
/* Pleine largeur : le texte passe à la ligne plutôt que d'élargir la page sur mobile (« Valider la commande · 88,40 € » en 390 px) */
.btn-block { width: 100%; white-space: normal; text-align: center; padding-block: 8px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent-ink); font-weight: 600; }
.link-btn:hover { text-decoration: underline; }

.eyebrow {
  font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--accent); }

/* ---------- Bandeau démo + topbar ---------- */
.topbar { background: var(--noir); color: var(--on-dark); font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-msg { display: flex; gap: 18px; align-items: center; overflow: hidden; white-space: nowrap; }
.topbar-msg span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-msg svg { width: 14px; height: 14px; color: var(--accent); }
.demo-tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #FFD27A; border: 1px solid rgba(255, 210, 122, .35); padding: 2px 8px; border-radius: 99px; }
.zone-picker { display: flex; align-items: center; gap: 8px; flex: none; }
.zone-picker label { color: var(--on-dark-2); }
.zone-picker select { background: rgba(255, 255, 255, .08); color: var(--white); border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px; padding: 3px 8px; font-size: 13px; }
.zone-picker select option { color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--noir); color: var(--white); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.header-main { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: flex; align-items: center; color: var(--white); text-decoration: none !important; flex: none; }
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: 46px; width: auto; }
.foot-brand .logo img { height: 58px; }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 72px; padding: 0 12px; color: var(--on-dark); font-weight: 600; font-size: 14.5px;
  text-decoration: none !important; border-bottom: 2px solid transparent; background: none; border-top: 0; border-left: 0; border-right: 0;
}
.nav-link:hover, .nav-link.active { color: var(--white); border-bottom-color: var(--accent); }
.nav-link svg { width: 14px; height: 14px; opacity: .6; }
.nav-link.hl { color: var(--white); }
.nav-link.hl::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(212, 245, 66, .22); }
.mega {
  position: absolute; top: 100%; left: -12px; min-width: 520px; background: var(--white); color: var(--ink); border-radius: 0 0 var(--r) var(--r);
  box-shadow: var(--shadow-lg); padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 14.5px; }
.mega a:hover { background: var(--accent); text-decoration: none; color: var(--on-accent); }
.mega .dot { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.mega-foot { grid-column: 1 / -1; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--muted); }

.nav-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 0; background: transparent; color: var(--white);
}
.icon-btn:hover { background: rgba(255, 255, 255, .08); }
.icon-btn svg { width: 22px; height: 22px; }
.badge-count {
  position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: var(--on-accent);
  font-size: 11px; font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums; border: 2px solid var(--noir);
}
.badge-count.bump { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.35); } }
.burger { display: none; }
.coach-link { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #FFD27A !important; border: 1px solid rgba(255, 210, 122, .35); border-radius: 8px; padding: 6px 10px; margin-right: 6px; text-decoration: none !important; }
.coach-link:hover { background: rgba(255, 210, 122, .1); }

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad); color: var(--white); }
.hero-fp { position: absolute; right: -90px; top: 40px; width: 780px; height: 390px; color: var(--accent); opacity: .16; pointer-events: none; animation: bandes .9s cubic-bezier(.3, .6, .2, 1) both; }
@keyframes bandes { from { transform: translateX(70px); opacity: 0; } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-block: 72px 84px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.02; margin-top: 18px; }
.hero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.hero h1 .accent { color: var(--accent); }
.hero-lead { color: var(--on-dark); font-size: 18px; max-width: 34em; margin-top: 20px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-proof div { display: flex; flex-direction: column; }
.hero-proof b { font-family: var(--f-display); font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hero-proof span { color: var(--on-dark-2); font-size: 13px; }

/* Carte « aperçu de bilan » du héros */
.plan-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-lg); padding: 24px;
  backdrop-filter: blur(10px); box-shadow: var(--shadow-lg);
}
.plan-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.plan-card-head small { display: block; color: var(--on-dark-2); font-size: 12.5px; }
.plan-card-head strong { font-family: var(--f-display); font-size: 17px; }
.plan-kcal { margin-top: 20px; display: flex; align-items: baseline; gap: 8px; }
.plan-kcal b { font-family: var(--f-display); font-size: 52px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-kcal span { color: var(--on-dark-2); font-family: var(--f-mono); font-size: 13px; }
.pill-live { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; background: rgba(16, 145, 90, .2); color: #5BE3A3; padding: 4px 9px; border-radius: 99px; white-space: nowrap; }

/* Barre de macros (P / G / L) : signature visuelle */
.macro-bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; margin-top: 18px; gap: 3px; }
.macro-bar i { display: block; height: 100%; border-radius: 99px; }
.m-p { background: var(--m-p); }
.m-g { background: var(--m-g); }
.m-l { background: var(--m-l); }
.macro-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.macro-legend div { display: flex; flex-direction: column; gap: 2px; }
.macro-legend span { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.macro-legend span::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--m-p)); }
.macro-legend b { font-family: var(--f-mono); font-size: 15px; font-variant-numeric: tabular-nums; }
.plan-card .macro-legend span { color: var(--on-dark-2); }
.plan-meals { margin-top: 20px; display: grid; gap: 8px; }
.plan-meals div { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.plan-meals span { color: var(--on-dark-2); font-family: var(--f-mono); font-size: 12px; white-space: nowrap; }

/* ---------- Sections ---------- */
.section { padding-block: 80px; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--grad); color: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-top: 10px; }
.section-head p { color: var(--muted); max-width: 36em; margin-top: 10px; }
.section-dark .section-head p { color: var(--on-dark); }

/* Univers */
.univers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.univ {
  position: relative; overflow: hidden; border-radius: var(--r-lg); min-height: 400px; padding: 24px; display: flex; flex-direction: column;
  color: var(--white); background: var(--noir); text-decoration: none !important; isolation: isolate;
}
.univ::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 34%, rgba(0, 0, 0, .96) 58%); z-index: -1; }
.univ-visual { position: absolute; inset: 0 0 auto; height: 56%; z-index: -2; display: grid; place-items: center; padding-top: 36px; transition: transform .5s; }
.univ-visual svg { width: auto; height: 100%; max-width: 70%; }
.univ:hover .univ-visual { transform: scale(1.05) rotate(-1deg); }
.univ-1 { background: linear-gradient(160deg, #2A3206, #000000); }
.univ-light { background: linear-gradient(160deg, #FFFFFF, #D9DBD3); }
.univ .eyebrow { align-self: flex-start; background: var(--noir); color: var(--accent); padding: 5px 9px; border-radius: 6px; }
.univ h3 { font-size: 26px; font-weight: 800; margin-top: auto; }
.univ p { color: var(--on-dark); margin-top: 8px; font-size: 15px; }
.univ .go { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.univ .go svg { width: 18px; height: 18px; transition: transform .2s; }
.univ:hover .go svg { transform: translateX(4px); }

/* Parcours premier bilan (vraie séquence) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); overflow: hidden; }
.step { padding: 28px; position: relative; }
.step + .step { border-left: 1px solid var(--line); }
.step-n { font-family: var(--f-mono); font-size: 13px; color: var(--accent-ink); font-weight: 600; }
.step h3 { font-size: 19px; margin-top: 10px; }
.step p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.step-time { margin-top: 14px; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--ink-2); background: var(--mist); padding: 4px 10px; border-radius: 99px; }
.step-time svg { width: 14px; height: 14px; }

/* ---------- Cartes produits ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-products.cols-3 { grid-template-columns: repeat(3, 1fr); }
.p-card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); transition: box-shadow .2s, transform .2s, border-color .2s; min-width: 0; }
.p-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--line-2); }
.p-media { position: relative; display: block; aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 42%, #FFFFFF 0%, var(--mist) 70%); border-radius: var(--r) var(--r) 0 0; overflow: hidden; max-width: 100%; }
.p-media svg.pv { width: 100%; height: 100%; display: block; transition: transform .35s; }
.p-card:hover .p-media svg.pv { transform: scale(1.04); }
.p-tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: var(--noir); color: var(--white); }
.tag-accent { background: var(--accent); color: var(--on-accent); }
.tag-warn { background: var(--warn-bg); color: var(--warn); }
.tag-bad { background: var(--bad-bg); color: var(--bad); }
.p-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-cat { font-size: 12px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.p-cat i { width: 8px; height: 8px; border-radius: 2px; background: var(--cc, var(--noir)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.p-name { font-family: var(--f-display); font-weight: 700; font-size: 16.5px; color: var(--ink); line-height: 1.25; }
.p-name a { color: inherit; }
.p-short { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.p-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.p-price { font-family: var(--f-display); font-weight: 800; font-size: 19px; font-variant-numeric: tabular-nums; }
.p-price small { font-family: var(--f-body); font-weight: 500; font-size: 12px; color: var(--muted); margin-right: 4px; }
.add-mini { width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid var(--on-accent); background: var(--accent); color: var(--on-accent); display: grid; place-items: center; flex: none; transition: background .15s; }
.add-mini:hover { background: var(--accent-d); }
.add-mini:disabled { background: var(--line-2); border-color: var(--line-2); color: var(--white); cursor: not-allowed; }
.add-mini svg { width: 20px; height: 20px; }
.stars { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.stars svg { width: 14px; height: 14px; color: #F5B301; }
.stock-line { font-size: 12.5px; display: flex; align-items: center; gap: 6px; font-weight: 500; }
.stock-line::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.s-ok { color: var(--ok); }
.s-low { color: var(--warn); }
.s-out { color: var(--bad); }

/* ---------- Bilans ---------- */
.bilan-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.b-card { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.section-dark .b-card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); color: var(--white); }
.b-card.featured { background: var(--white); color: var(--ink); border: 2px solid var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.b-flag { position: absolute; top: -13px; left: 26px; background: var(--accent); color: var(--on-accent); font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.b-level { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.section-dark .b-card:not(.featured) .b-level { color: var(--on-dark-2); }
.b-card h3 { font-size: 24px; font-weight: 800; margin-top: 8px; }
.b-pitch { margin-top: 10px; font-size: 15px; color: var(--muted); min-height: 3em; }
.section-dark .b-card:not(.featured) .b-pitch { color: var(--on-dark); }
.b-price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.b-price b { font-family: var(--f-display); font-size: 46px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.b-price span { font-size: 14px; color: var(--muted); }
.section-dark .b-card:not(.featured) .b-price span { color: var(--on-dark-2); }
.b-delay { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.b-delay svg { width: 16px; height: 16px; color: var(--accent-ink); }
.b-list { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; font-size: 14.5px; }
.b-list li { display: flex; gap: 10px; align-items: flex-start; }
.b-list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent-ink); }
.b-list li.no { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(107, 114, 148, .5); }
.section-dark .b-card:not(.featured) .b-list li.no { color: var(--on-dark-2); }
.b-list li.no svg { color: var(--line-2); }
.b-card .btn { margin-top: auto; }

/* ---------- Zones de livraison ---------- */
.zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.zone-card { padding: 26px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column; gap: 8px; }
.zone-code { font-family: var(--f-mark); font-size: 30px; color: var(--accent); }
.zone-card h3 { font-size: 20px; }
.zone-delay { font-family: var(--f-display); font-weight: 800; font-size: 17px; }
.zone-card p { color: var(--on-dark); font-size: 14px; }
.zone-card .fee { margin-top: auto; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .15); font-family: var(--f-mono); font-size: 13px; color: var(--on-dark); }

/* ---------- Témoignages ---------- */
.testis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { padding: 26px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.testi-res { font-family: var(--f-display); font-weight: 900; font-size: 24px; color: var(--ink); align-self: flex-start; padding: 0 6px; background: linear-gradient(transparent 58%, var(--accent) 58%); }
.testi q { font-size: 15.5px; color: var(--ink-2); quotes: '« ' ' »'; }
.testi-who { margin-top: auto; display: flex; justify-content: space-between; gap: 10px; align-items: flex-end; font-size: 14px; border-top: 1px solid var(--line); padding-top: 14px; flex-wrap: wrap; }
.testi-who b { display: block; }
.testi-who span { color: var(--muted); font-size: 13px; }
.consent-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; color: var(--ink); text-decoration: none !important; min-width: 0; }
.post-cover { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--noir); max-width: 100%; }
.post-cover svg { width: 100%; height: 100%; display: block; transition: transform .5s; }
.post:hover .post-cover svg { transform: scale(1.04); }
.post-cover .tag { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .92); color: var(--noir); }
.post-meta { margin-top: 16px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.post h3 { font-size: 19px; font-weight: 700; margin-top: 8px; }
.post:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 4px; text-underline-offset: 3px; }
.post p { font-size: 14.5px; color: var(--muted); margin-top: 8px; }

/* ---------- Communauté / newsletter ---------- */
.community { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.community h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-top: 10px; }
.community p { color: var(--on-dark); margin-top: 12px; max-width: 32em; }
.socials { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.social { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: var(--white); font-weight: 600; font-size: 14px; }
.social:hover { background: rgba(255, 255, 255, .14); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.nl-box { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: 28px; }
.nl-box h3 { font-size: 22px; }
.nl-box p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.nl-form { display: flex; gap: 8px; margin-top: 18px; }
.nl-form input { flex: 1; min-width: 0; }

/* ---------- Formulaires ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 96px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(212, 245, 66, .6); }
.input.invalid, .select.invalid { border-color: var(--bad); }
.field .err { font-size: 12.5px; color: var(--bad); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.input-unit { position: relative; }
.input-unit .input { padding-right: 46px; }
.input-unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-family: var(--f-mono); font-size: 13px; }

.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.opt {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--white); cursor: pointer; text-align: left; transition: border-color .15s, background .15s;
}
.opt:hover { border-color: var(--ink); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt b { font-size: 14.5px; }
.opt small { font-size: 12.5px; color: var(--muted); }
.opt.sel, .opt:has(input:checked) { border-color: var(--ink); background: var(--accent-tint); box-shadow: inset 0 0 0 1px var(--ink); }
.opt:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink); font-weight: 600; font-size: 14px;
}
.chip:hover { border-color: var(--ink); }
.chip.sel { border-color: var(--ink); background: var(--ink); color: var(--accent); }
.chip.out { color: var(--line-2); text-decoration: line-through; cursor: not-allowed; }
.chip .sw { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); flex: none; }
.chip small { font-weight: 500; opacity: .75; font-family: var(--f-mono); font-size: 12px; }

/* ---------- Page header (pages internes) ---------- */
.page-head { background: var(--grad); color: var(--white); position: relative; overflow: hidden; }
.page-head .container { position: relative; padding-block: 44px 48px; }
.page-head h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; text-transform: uppercase; margin-top: 12px; }
.page-head p { color: var(--on-dark); margin-top: 10px; max-width: 42em; }
.page-head .hero-fp { width: 420px; height: 210px; right: -50px; top: -30px; opacity: .14; }
.crumbs { font-size: 13px; color: var(--on-dark-2); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--on-dark); }
.crumbs.light { color: var(--muted); }
.crumbs.light a { color: var(--ink-2); }

/* ---------- Catalogue ---------- */
.shop { display: grid; grid-template-columns: 260px 1fr; gap: 36px; padding-block: 36px 80px; align-items: start; }
.filters { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 22px; }
.f-group h4 { font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.f-list { display: flex; flex-direction: column; gap: 4px; }
.f-opt { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 14.5px; cursor: pointer; }
.f-opt:hover { background: var(--mist); }
.f-opt input { width: 17px; height: 17px; accent-color: var(--ink); }
.f-opt .n { margin-left: auto; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.f-opt i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.range-row { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 13px; color: var(--ink-2); margin-top: 6px; }
input[type=range] { width: 100%; accent-color: var(--ink); }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.shop-bar .count { color: var(--muted); font-size: 14.5px; }
.shop-bar .count b { color: var(--ink); }
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line-2); border-radius: var(--r); display: grid; gap: 12px; justify-items: center; }
.filters-toggle { display: none; }

/* ---------- Fiche produit ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; padding-block: 28px 64px; align-items: start; }
.pdp-media { position: sticky; top: 92px; min-width: 0; }
.pdp-main { aspect-ratio: 1 / 1; border-radius: var(--r-lg); background: radial-gradient(circle at 50% 40%, #fff 0%, var(--mist) 72%); position: relative; overflow: hidden; max-width: 100%; }
.pdp-main svg.pv { width: 100%; height: 100%; display: block; }
.pdp-main .p-tags { top: 18px; left: 18px; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.pdp-thumbs button { aspect-ratio: 1 / 1; border-radius: 12px; border: 1.5px solid var(--line); background: var(--mist); padding: 0; overflow: hidden; }
.pdp-thumbs button.sel { border-color: var(--ink); box-shadow: 0 0 0 2px var(--accent); }
.pdp-thumbs svg { width: 100%; height: 100%; display: block; }
.pdp-info { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.pdp-info h1 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; margin-top: 6px; }
.pdp-sub { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pdp-price b { font-family: var(--f-display); font-size: 36px; font-weight: 900; font-variant-numeric: tabular-nums; }
.pdp-price span { font-size: 13.5px; color: var(--muted); font-family: var(--f-mono); }
.pdp-block { display: flex; flex-direction: column; gap: 10px; }
.pdp-block .label { display: flex; justify-content: space-between; gap: 10px; }
.buy-row { display: flex; gap: 12px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 10px; height: 54px; flex: none; }
.qty button { width: 44px; height: 100%; border: 0; background: none; color: var(--ink); display: grid; place-items: center; }
.qty button svg { width: 16px; height: 16px; }
.qty span { min-width: 30px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty.sm { height: 38px; }
.qty.sm button { width: 34px; }
.buy-row .btn { flex: 1; }
.delivery-box { border-radius: var(--r); background: var(--mist); padding: 16px 18px; display: grid; gap: 10px; font-size: 14px; }
.delivery-box .row { display: flex; gap: 12px; align-items: flex-start; }
.delivery-box svg { width: 20px; height: 20px; color: var(--accent-ink); flex: none; margin-top: 1px; }
.delivery-box b { color: var(--ink); }
.delivery-box .muted { color: var(--muted); font-size: 13px; }
.zone-inline { display: inline-flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.zone-inline button { border: 1.5px solid var(--line-2); background: var(--white); border-radius: 8px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.zone-inline button.sel { border-color: var(--ink); background: var(--accent); color: var(--on-accent); }
.claims { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.claims div { display: flex; gap: 8px; }
.claims svg { width: 16px; height: 16px; color: var(--ok); flex: none; margin-top: 3px; }
.share { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.share button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--white); display: grid; place-items: center; color: var(--ink-2); }
.share button:hover { border-color: var(--ink); background: var(--accent); color: var(--on-accent); }
.share svg { width: 16px; height: 16px; }

.tabs { display: flex; gap: 4px; border-bottom: 1.5px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab { padding: 14px 16px; border: 0; background: none; font-family: var(--f-display); font-weight: 700; font-size: 14.5px; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1.5px; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab.sel { color: var(--ink); border-bottom-color: var(--ink); }
.tab-panel { padding-block: 28px; }
.pdp-details { padding-bottom: 64px; }
.detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.detail-grid > * { min-width: 0; }
.prose { max-width: 68ch; color: var(--ink-2); display: grid; gap: 14px; font-size: 16px; }
.prose h3 { color: var(--ink); font-size: 20px; margin-top: 10px; }
.legal-version { margin: 0; color: var(--muted); font-size: 14px; }

/* Encadré réglementaire (§10) */
.legal-box { border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; }
.legal-box-head { background: var(--noir); color: var(--white); padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.legal-box-head b { font-family: var(--f-display); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.legal-box-head span { font-family: var(--f-mono); font-size: 12px; color: var(--on-dark); }
.legal-rows { display: grid; }
.legal-rows > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 14.5px; }
.legal-rows > div:first-child { border-top: 0; }
.legal-rows dt, .legal-rows .k { font-weight: 700; color: var(--ink); font-size: 13.5px; }
.legal-rows .v { color: var(--ink-2); min-width: 0; }
.legal-rows .warn-row { background: var(--warn-bg); }
.legal-rows .warn-row .k { color: var(--warn); }

.table-wrap { overflow-x: auto; border: 1.5px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--mist); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.r, th.r { text-align: right; font-variant-numeric: tabular-nums; }
.nut-table td:first-child { font-weight: 600; }
.nut-table tr.sub td:first-child { font-weight: 400; padding-left: 28px; color: var(--muted); }
.nut-table caption { caption-side: bottom; text-align: left; padding: 10px 14px; font-size: 12.5px; color: var(--muted); }

.reviews-sum { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; }
.rating-big { font-family: var(--f-display); font-size: 56px; font-weight: 900; line-height: 1; }
.review { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.review-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.review-head span { color: var(--muted); }
.verified { font-size: 12px; color: var(--ok); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

.size-table td, .size-table th { text-align: center; }

/* ---------- Questionnaire bilan ---------- */
.bilan-flow { display: grid; grid-template-columns: 340px 1fr; gap: 40px; padding-block: 36px 80px; align-items: start; }
.bilan-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.bilan-side .b-card { padding: 24px; }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 28px; }
.stepper div { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.stepper div::before { content: ''; height: 5px; border-radius: 99px; background: var(--line); }
.stepper div.done::before, .stepper div.cur::before { background: var(--ink); }
.stepper div.cur { color: var(--ink); }
.stepper span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 26px; font-weight: 800; }
.form-card > p { color: var(--muted); margin-top: 6px; }
.form-body { display: grid; gap: 20px; margin-top: 26px; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.estimate { border-radius: var(--r); background: var(--noir); color: var(--white); padding: 20px; }
.estimate h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.estimate .plan-kcal b { font-size: 40px; }
.estimate .macro-legend span { color: var(--on-dark-2); }
.estimate small { display: block; color: var(--on-dark-2); font-size: 12px; margin-top: 12px; }
.rgpd { background: var(--accent-tint); border: 1.5px solid #D5E77A; border-radius: var(--r); padding: 16px; display: grid; gap: 10px; }
.rgpd p { font-size: 13px; color: var(--ink-2); }
.upload { border: 1.5px dashed var(--line-2); border-radius: var(--r); padding: 18px; display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); cursor: pointer; }
.upload:hover { border-color: var(--ink); }
.upload svg { width: 26px; height: 26px; color: var(--accent-ink); flex: none; }
.upload input { display: none; }
.recap { display: grid; gap: 8px; font-size: 14.5px; }
.recap div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.recap span { color: var(--muted); }
.recap b { text-align: right; }

/* ---------- Panier & commande ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 36px; padding-block: 36px 80px; align-items: start; }
.cart-layout > * { min-width: 0; }
.cart-list { display: grid; }
.c-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.c-thumb { width: 96px; height: 96px; border-radius: 12px; background: var(--mist); overflow: hidden; display: grid; place-items: center; }
.c-thumb svg { width: 100%; height: 100%; }
.c-thumb.bilan { background: var(--grad); color: var(--accent); }
.c-thumb.bilan svg { width: 60%; height: 60%; }
.c-info { min-width: 0; display: grid; gap: 4px; }
.c-info b { font-family: var(--f-display); font-size: 16px; }
.c-info span { font-size: 13.5px; color: var(--muted); }
.c-info .qty { justify-self: start; }
.c-info .c-delai { display: flex; align-items: center; gap: 6px; color: var(--ink-2); }
.c-info .c-delai svg { width: 15px; height: 15px; flex: none; }
.c-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.c-side .p-price { font-size: 17px; }
.rm { border: 0; background: none; color: var(--muted); font-size: 13px; display: inline-flex; gap: 4px; align-items: center; }
.rm:hover { color: var(--bad); }
.rm svg { width: 15px; height: 15px; }
.summary { position: sticky; top: 92px; background: var(--mist); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 16px; }
.summary h3 { font-size: 20px; }
.sum-rows { display: grid; gap: 10px; font-size: 15px; }
.sum-rows div { display: flex; justify-content: space-between; gap: 12px; }
.sum-rows span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.sum-rows .disc span:last-child { color: var(--ok); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1.5px solid var(--line-2); }
.sum-total b { font-family: var(--f-display); font-size: 28px; font-weight: 900; font-variant-numeric: tabular-nums; }
.promo-row { display: flex; gap: 8px; }
.promo-row .input { min-height: 42px; text-transform: uppercase; }
.promo-ok { font-size: 13px; color: var(--ok); display: flex; justify-content: space-between; gap: 8px; }
.free-bar { font-size: 13px; color: var(--ink-2); display: grid; gap: 6px; }
.free-bar .track { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.free-bar .track i { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; font-size: 13.5px; background: var(--warn-bg); color: #6E4400; }
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--warn); }
.notice.info { background: var(--accent-tint); color: var(--ink-2); }
.notice.info svg { color: var(--accent-ink); }
.pay-icons { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pay-icons span { font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; padding: 4px 8px; border-radius: 5px; background: var(--white); border: 1px solid var(--line); color: var(--ink-2); }
.secure { font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; justify-content: center; }
.secure svg { width: 14px; height: 14px; }

.co-section { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 18px; }
.co-section + .co-section { margin-top: 18px; }
.co-section h2 { font-size: 20px; display: flex; align-items: center; gap: 12px; }
.co-section h2 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--accent); font-size: 14px; display: grid; place-items: center; flex: none; font-family: var(--f-mono); }
.card-field { display: grid; grid-template-columns: 1fr 110px 90px; gap: 12px; }
.stripe-box { border: 1.5px solid var(--line-2); border-radius: 12px; padding: 16px; display: grid; gap: 12px; background: #FCFCFA; }
.stripe-head { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); gap: 8px; flex-wrap: wrap; }
.processing { position: fixed; inset: 0; background: rgba(0, 0, 0, .8); display: grid; place-items: center; z-index: 200; color: var(--white); }
.spinner { width: 54px; height: 54px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .2); border-top-color: var(--accent); animation: spin 1s linear infinite; margin: 0 auto 16px; }
@keyframes spin { to { transform: rotate(360deg); } }

.confirm { max-width: 720px; margin: 0 auto; padding-block: 64px 80px; text-align: center; display: grid; gap: 18px; justify-items: center; }
.confirm-ico { width: 84px; height: 84px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; }
.confirm-ico svg { width: 40px; height: 40px; }
.confirm h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; }
.confirm p { color: var(--muted); max-width: 36em; }
.confirm .co-section { text-align: left; width: 100%; }

/* ---------- Compte client ---------- */
.acct { display: grid; grid-template-columns: 250px 1fr; gap: 36px; padding-block: 36px 80px; align-items: start; }
.acct > * { min-width: 0; }
.acct-nav { position: sticky; top: 92px; display: grid; gap: 4px; }
.acct-user { display: flex; align-items: center; gap: 12px; padding: 0 8px 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: var(--white); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; flex: none; }
.acct-user > div { min-width: 0; }
.acct-user b { display: block; overflow-wrap: anywhere; }
.acct-user span { font-size: 13px; color: var(--muted); }
.acct-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 14.5px; }
.acct-nav a svg { width: 18px; height: 18px; }
.acct-nav a:hover { background: var(--mist); text-decoration: none; }
.acct-nav a.sel { background: var(--noir); color: var(--white); }
.acct-nav a .pill { margin-left: auto; }
.acct h2 { font-size: 26px; font-weight: 800; }
.acct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.acct-head p { color: var(--muted); margin-top: 6px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); display: grid; gap: 6px; align-content: start; }
.tile .k { font-size: 13px; color: var(--muted); font-weight: 600; }
.tile .v { font-family: var(--f-display); font-size: 30px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.1; }
.tile .d { font-size: 13px; color: var(--muted); }
.tile .d.up { color: var(--ok); font-weight: 600; }
.tile.dark { background: var(--grad); color: var(--white); border-color: transparent; }
.tile.dark .k, .tile.dark .d { color: var(--on-dark); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-bad { background: var(--bad-bg); color: var(--bad); }
.pill-info { background: var(--accent-tint); color: var(--accent-ink); }
.pill-neutral { background: var(--mist); color: var(--ink-2); }
.pill.plain::before { display: none; }
/* Pastille cliquable : colonne Boutique du catalogue du pilotage (demande du 23/11/2026) */
.boutique-form { display: inline-flex; margin: 0; }
.pill-btn { border: 0; font-family: inherit; line-height: inherit; cursor: pointer; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .15s; }
.pill-btn:hover { box-shadow: inset 0 0 0 1px currentColor; }
.pill-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pill-btn:disabled { cursor: progress; opacity: .6; }

.order { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.order + .order { margin-top: 16px; }
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; background: var(--mist); flex-wrap: wrap; }
.order-head b { font-family: var(--f-mono); font-size: 14px; }
.order-head span { font-size: 13.5px; color: var(--muted); }
.order-body { padding: 18px 20px; display: grid; gap: 18px; }
.order-lines { display: grid; gap: 8px; font-size: 14.5px; }
.order-lines div { display: flex; justify-content: space-between; gap: 12px; }
.order-lines span { color: var(--muted); }

/* Frise de suivi (colis ou bilan) */
.track { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); position: relative; }
.track-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: 12.5px; color: var(--muted); position: relative; padding-inline: 4px; }
.track-step::before { content: ''; position: absolute; top: 13px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; }
.track-step:first-child::before { display: none; }
.track-step.done::before, .track-step.cur::before { background: var(--ink); }
.track-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 3px solid var(--line); display: grid; place-items: center; position: relative; z-index: 1; }
.track-dot svg { width: 14px; height: 14px; }
.track-step.done .track-dot { background: var(--ink); border-color: var(--ink); color: var(--accent); }
.track-step.cur .track-dot { border-color: var(--ink); box-shadow: 0 0 0 5px rgba(212, 245, 66, .7); }
.track-step.cur .track-dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.track-step.done, .track-step.cur { color: var(--ink); font-weight: 600; }
.track-step small { font-weight: 400; color: var(--muted); font-family: var(--f-mono); font-size: 11px; }

.bilan-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; margin-top: 20px; }
.bilan-panel > * { min-width: 0; }
.box { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; background: var(--white); display: grid; gap: 14px; align-content: start; }
.box h3 { font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.files { display: grid; gap: 8px; }
.file { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; background: var(--mist); }
.file > svg { width: 30px; height: 30px; color: var(--bad); flex: none; }
.file div { flex: 1; min-width: 0; }
.file b { display: block; font-size: 14px; overflow-wrap: anywhere; }
.file span { font-size: 12px; color: var(--muted); font-family: var(--f-mono); }
.file button { flex: none; }
.chat { display: flex; flex-direction: column; gap: 10px; max-height: 360px; overflow-y: auto; padding-right: 4px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; }
.msg small { display: block; font-size: 11px; opacity: .65; margin-top: 4px; font-family: var(--f-mono); }
.msg.coach { background: var(--mist); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--ink); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-form { display: flex; gap: 8px; }
.chat-form .input { flex: 1; min-width: 0; }
.day-plan { display: grid; gap: 8px; }
.day-plan div { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; font-size: 14px; padding: 10px 12px; background: var(--mist); border-radius: 10px; align-items: center; }
.day-plan span { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.day-plan em { font-style: normal; font-family: var(--f-mono); font-size: 12px; color: var(--accent-ink); font-weight: 600; white-space: nowrap; }
.points { display: grid; gap: 10px; }
.point { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.point .track-dot { flex: none; width: 24px; height: 24px; }
.point.done .track-dot { background: var(--ok); border-color: var(--ok); color: var(--white); }
.point p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.refer { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.code-box { display: flex; gap: 8px; align-items: center; padding: 10px 10px 10px 16px; border: 1.5px dashed var(--ink); border-radius: 12px; background: var(--accent-tint); }
.code-box b { flex: 1; font-family: var(--f-mono); font-size: 18px; letter-spacing: .06em; color: var(--ink); }

/* ---------- Back-office coach ---------- */
.bo-head { background: var(--noir); color: var(--white); }
.bo-head .container { padding-block: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.bo-head h1 { font-size: 26px; font-weight: 800; }
.bo-head p { color: var(--on-dark-2); font-size: 14px; margin-top: 4px; }
.bo-tabs { background: var(--noir-2); }
.bo-tabs .tabs { border-bottom: 0; }
.bo-tabs .tab { color: var(--on-dark-2); }
.bo-tabs .tab:hover { color: var(--white); }
.bo-tabs .tab.sel { color: var(--white); border-bottom-color: var(--accent); }
.bo-body { padding-block: 32px 80px; display: grid; gap: 24px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bo-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.bo-grid > * { min-width: 0; }
.chart { display: grid; gap: 8px; }
.bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; align-items: end; height: 200px; padding-top: 24px; border-bottom: 1px solid var(--line-2); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 50px; background-position: 0 24px; }
.bar { position: relative; background: #CDCFC7; border-radius: 6px 6px 0 0; min-height: 4px; }
.bar.last { background: var(--ink); }
.bar b { position: absolute; top: -22px; left: 0; right: 0; text-align: center; font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.bar.last b { color: var(--ink); }
.bar-labels { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; text-align: center; font-size: 12px; color: var(--muted); font-family: var(--f-mono); }
.hbars { display: grid; gap: 14px; }
.hbar { display: grid; grid-template-columns: 110px 1fr 52px; gap: 12px; align-items: center; font-size: 14px; }
.hbar .t { height: 10px; background: var(--mist); border-radius: 99px; overflow: hidden; }
.hbar .t i { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
.hbar .t i.warn { background: var(--warn); }
.hbar b { text-align: right; font-family: var(--f-mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.bo-table td { font-size: 14px; }
.bo-table .mono { font-family: var(--f-mono); font-size: 12.5px; }
.bo-table select { min-height: 34px; padding: 4px 8px; border-radius: 8px; border: 1.5px solid var(--line-2); background: var(--white); font-size: 13px; }
tr.flash td { animation: flash 1.2s; }
@keyframes flash { 0%, 40% { background: #F4FBD0; } }
.stock-num { font-family: var(--f-mono); font-weight: 600; }

/* ---------- Tiroir panier, modales, toasts ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 90; opacity: 0; visibility: hidden; transition: .2s; }
.overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--white); z-index: 100; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .28s cubic-bezier(.3, .7, .2, 1); box-shadow: var(--shadow-lg);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 19px; }
.drawer-head .icon-btn { color: var(--ink); }
.drawer-head .icon-btn:hover { background: var(--mist); }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 22px; }
.drawer-body .c-item { grid-template-columns: 72px 1fr auto; gap: 14px; }
.drawer-body .c-thumb { width: 72px; height: 72px; }
.drawer-foot { padding: 18px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--mist); }

.modal-wrap { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .65); }
.modal { width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); position: relative; animation: pop .22s ease-out; }
.modal.wide { width: min(760px, 100%); }
@keyframes pop { from { transform: translateY(10px) scale(.98); opacity: 0; } }
.modal-close { position: absolute; top: 12px; right: 12px; color: var(--ink); z-index: 2; }
.modal-close:hover { background: var(--mist); }
.modal-body { padding: 30px; display: grid; gap: 16px; }
.modal h3 { font-size: 22px; padding-right: 30px; }
.modal p { color: var(--muted); }
.nl-modal { display: grid; grid-template-columns: 200px 1fr; }
.nl-modal-side { background: var(--grad); color: var(--accent); display: grid; place-items: center; padding: 20px; border-radius: var(--r-lg) 0 0 var(--r-lg); }
.nl-modal-side b { font-family: var(--f-display); font-size: 46px; font-weight: 900; color: var(--white); display: block; text-align: center; line-height: 1; }
.nl-modal-side span { display: block; text-align: center; font-family: var(--f-mono); font-size: 12px; color: var(--on-dark); margin-top: 6px; }
.search-results { display: grid; gap: 4px; max-height: 50vh; overflow-y: auto; }
.search-results a { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; color: var(--ink); }
.search-results a:hover { background: var(--mist); text-decoration: none; }
.search-results .c-thumb { width: 52px; height: 52px; border-radius: 8px; }

.toasts { position: fixed; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); z-index: 300; display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); }
.toast { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 12px; background: var(--noir-2); color: var(--white); border: 1px solid rgba(255, 255, 255, .16); box-shadow: var(--shadow-lg); font-size: 14.5px; animation: pop .25s ease-out; }
.toast svg { width: 20px; height: 20px; color: #5BE3A3; flex: none; }
.toast.info svg { color: var(--accent); }

.cookie { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 110; width: min(420px, calc(100% - 32px)); background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 18px; display: grid; gap: 12px; font-size: 13.5px; color: var(--ink-2); }
.cookie b { color: var(--ink); font-size: 15px; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--noir); color: var(--on-dark); font-size: 14.5px; border-top: 1px solid rgba(255, 255, 255, .1); }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-block: 60px 40px; }
.foot-top h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; font-weight: 600; }
.foot-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-top a { color: var(--on-dark); }
.foot-top a:hover { color: var(--white); }
.foot-brand p { margin-top: 16px; max-width: 30em; color: var(--on-dark-2); }
.foot-reassure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 28px; border-top: 1px solid rgba(255, 255, 255, .08); }
.foot-reassure div { display: flex; gap: 12px; align-items: flex-start; }
.foot-reassure svg { width: 24px; height: 24px; color: var(--accent); flex: none; }
.foot-reassure b { display: block; color: var(--white); font-size: 14px; }
.foot-reassure span { font-size: 13px; color: var(--on-dark-2); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--on-dark-2); }
.foot-bottom a { color: var(--on-dark-2); }

.article { max-width: 760px; margin: 0 auto; padding-block: 40px 80px; }
.article .post-cover { aspect-ratio: 21 / 9; margin-block: 24px 32px; }
.article .prose { font-size: 17.5px; line-height: 1.7; }
.article-products { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-block: 40px 80px; align-items: start; }
.contact > * { min-width: 0; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 14px; padding: 18px; border-radius: var(--r); background: var(--mist); }
.contact-card svg { width: 24px; height: 24px; color: var(--accent-ink); flex: none; }
.contact-card b { display: block; }
.contact-card span { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
details.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
details.faq summary { cursor: pointer; font-weight: 700; font-family: var(--f-display); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--ink); }
details.faq[open] summary::after { content: '–'; }
details.faq p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }

.compare { margin-top: 48px; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare .yes { color: var(--ok); }
.compare .no { color: var(--line-2); }
.compare svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .main-nav .nav-link { padding: 0 8px; font-size: 14px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .coach-link { display: none; }
}
@media (max-width: 960px) {
  .burger { display: grid; }
  .main-nav {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 88%); background: var(--noir); flex-direction: column; align-items: stretch; gap: 0;
    padding: calc(80px + env(safe-area-inset-top, 0px)) 20px 20px; transform: translateX(-100%); transition: transform .28s; z-index: 101; overflow-y: auto;
  }
  .main-nav.open { transform: none; }
  .nav-link { height: auto; padding: 14px 6px; border-bottom: 1px solid rgba(255, 255, 255, .08); width: 100%; }
  .mega { display: none; }
  .header-main { gap: 12px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-block: 48px 56px; }
  .univers, .bilan-cards, .zones, .testis, .blog-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; border-top: 1px solid var(--line); }
  .shop { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: flex; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); }
  .filters-toggle { display: inline-flex; }
  .pdp, .detail-grid, .bilan-flow, .cart-layout, .acct, .contact, .bo-grid, .community, .bilan-panel, .refer { grid-template-columns: 1fr; }
  .pdp-media, .bilan-side, .summary, .acct-nav { position: static; }
  .acct-nav { grid-template-columns: repeat(2, 1fr); }
  .acct-user { grid-column: 1 / -1; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-reassure { grid-template-columns: 1fr 1fr; }
  .reviews-sum { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding-block: 56px; }
  .topbar-msg span:not(:first-child) { display: none; }
  .grid-products, .grid-products.cols-3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .p-body { padding: 12px; }
  .p-name { font-size: 14.5px; }
  .p-short { display: none; }
  .p-price { font-size: 16px; }
  .add-mini { width: 38px; height: 38px; }
  .univers, .bilan-cards, .zones, .testis, .blog-grid, .tiles, .grid-2, .grid-3, .kpis { grid-template-columns: 1fr; }
  .univ { min-height: 300px; }
  .hero-proof { gap: 20px; }
  .legal-rows > div { grid-template-columns: 1fr; gap: 4px; }
  .c-item { grid-template-columns: 72px 1fr; }
  .c-thumb { width: 72px; height: 72px; }
  .c-side { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; }
  .card-field { grid-template-columns: 1fr 1fr; }
  .card-field .field:first-child { grid-column: 1 / -1; }
  .form-card { padding: 22px; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-reassure { grid-template-columns: 1fr; }
  .track-step { font-size: 11px; }
  .track-step small { display: none; }
  .nl-modal { grid-template-columns: 1fr; }
  .nl-modal-side { border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 24px; }
  .nl-form { flex-direction: column; }
  .acct-nav { grid-template-columns: 1fr 1fr; }
  .day-plan div { grid-template-columns: 1fr auto; }
  .day-plan span { grid-column: 1 / -1; }
  .hbar { grid-template-columns: 90px 1fr 46px; }
  .logo img { height: 38px; }
  .nav-actions .icon-btn { width: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Identité ADN NUTRITION : compléments ---------- */
.eyebrow::before { content: ''; width: 18px; height: 10px; flex: none; transform: skewX(-32deg); background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 7px, currentColor 7px 11px, transparent 11px 14px, currentColor 14px 18px); }
.univ-fp { color: var(--accent); opacity: .92; }
.bandes { display: block; }
.p-brand { display: block; font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.pdp-info h1 .p-brand { font-size: 13px; margin-bottom: 6px; }
.ref { font-family: var(--f-mono); font-size: 12px; color: var(--muted); white-space: nowrap; margin-left: 6px; }
.todo { color: var(--warn); font-style: italic; }
.visuel-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }
.shop-more { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 28px; font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); }
.shop-more:empty { display: none; }
.filters .select { min-height: 42px; }
.section-dark .b-card.featured { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(212, 245, 66, .18); }
.section-dark .b-card:not(.featured) .b-list svg, .section-dark .b-card:not(.featured) .b-delay svg { color: var(--accent); }
.section-dark .b-card:not(.featured) .b-list li.no svg { color: var(--on-dark-2); }
.nav-link, .coach-link { white-space: nowrap; }
@media (max-width: 1280px) { .coach-link { display: none; } .header-main { gap: 18px; } }

/* ---------- Pilotage ---------- */
button.tile { text-align: left; font: inherit; color: inherit; cursor: pointer; }
.tile.link { transition: border-color .15s, box-shadow .15s; }
.tile.link:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.tile.link.alert { border-color: var(--ink); background: var(--accent-tint); }
.bo-table .sub, .inv .sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.bo-table .sub { font-family: var(--f-mono); font-size: 11.5px; }
.bo-table td.mono { white-space: nowrap; }
.bo-table input.prix { width: 110px; min-height: 38px; text-align: right; margin-left: auto; }
.bo-table input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--ink); }
.bo-table .row-actions { flex-wrap: nowrap; }
.bo-bar { display: flex; gap: 12px; flex-wrap: wrap; }
.bo-bar .input { flex: 1; min-width: min(100%, 240px); }
.bo-bar .select { width: auto; }
.bo-grid.even { grid-template-columns: 1fr 1fr; }
.inv { border: 1.5px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 18px; font-size: 14px; }
.inv p { color: var(--ink-2); font-size: 13.5px; margin-top: 4px; }
.inv-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 14px; }
.inv-head div { display: flex; flex-direction: column; gap: 2px; }
.inv-head span { font-size: 13px; color: var(--muted); }
.inv-brand { font-family: var(--f-display); font-weight: 900; font-size: 22px; letter-spacing: .02em; }
.inv-type { font-family: var(--f-display); font-weight: 900; font-size: 20px; }
.inv-total { display: grid; gap: 6px; justify-self: end; width: min(100%, 300px); }
.inv-total div { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.inv-total .net { background: var(--accent); color: var(--on-accent); font-weight: 800; padding: 8px 10px; border-radius: 6px; }
@media (max-width: 960px) { .bo-grid.even { grid-template-columns: 1fr; } .bo-table .row-actions { flex-wrap: wrap; } }
@media (max-width: 1100px) { .univers { grid-template-columns: 1fr 1fr; } .nav-link svg { display: none; } .logo img { height: 40px; } }
@media (max-width: 640px) { .univers { grid-template-columns: 1fr; } }
.nav-open .site-header { z-index: 95; }

/* Garde-fous largeur mobile */
.hero-inner > *, .community > *, .univers > *, .section-head > * { min-width: 0; }
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(27px, 7.4vw, 40px); }
  .page-head h1 { font-size: clamp(24px, 7vw, 34px); overflow-wrap: anywhere; }
  .plan-meals div { flex-wrap: wrap; }
  .plan-kcal { flex-wrap: wrap; }
  .zone-picker label { display: none; }
  .topbar-msg { min-width: 0; }
  .univ { min-height: 380px; }
  .hero-proof b { font-size: 22px; }
}
.buy-row .btn { min-width: 0; }
@media (max-width: 640px) {
  .buy-row .btn { padding: 0 14px; font-size: 13px; white-space: normal; text-align: center; }
}

/* ---------- Packs produits avec bilan offert (fiches du client du 16/11/2026) ---------- */
.pack-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.pack-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); color: var(--ink); transition: transform .2s, box-shadow .2s; min-width: 0; }
.pack-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pack-card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.pack-card-body h3 { font-size: 22px; font-weight: 800; text-transform: uppercase; }
.pack-card-body p { color: var(--ink-2); font-size: 15px; }
.pack-card-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.pack-card-price b { font-family: var(--f-display); font-size: 26px; font-weight: 800; }
.pack-card-price span { color: var(--muted); font-size: 14px; }
.pack-card .go { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.pack-card .go svg { width: 18px; height: 18px; transition: transform .2s; }
.pack-card:hover .go svg { transform: translateX(4px); }
.pack-card .pill { align-self: flex-start; }

.pack-visual { position: relative; aspect-ratio: 16 / 10; background: var(--grad); overflow: hidden; display: grid; place-items: center; max-width: 100%; }
.pack-visual.big { aspect-ratio: 1 / 1; border-radius: var(--r-lg); }
.pack-visual.has-img { background: var(--noir); }
.pack-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pack-fp { position: absolute; right: -40px; top: -20px; width: 70%; height: 60%; color: var(--accent); opacity: .18; pointer-events: none; }
.pack-badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--accent); color: var(--on-accent); font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; }
.pack-items { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4%; width: 88%; align-items: end; }
.pack-items.n3 { grid-template-columns: repeat(3, 1fr); width: 72%; }
.pack-items.n2 { grid-template-columns: repeat(2, 1fr); width: 52%; }
.pack-items > div { aspect-ratio: 3 / 4; display: grid; place-items: end center; min-width: 0; }
.pack-items svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45)); }
.pack-items .pv-photo { border-radius: 10px; padding: 6%; box-shadow: 0 10px 18px rgba(0, 0, 0, .45); aspect-ratio: 1 / 1; height: auto; }

.pack-pdp h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; text-transform: uppercase; margin-top: 8px; }
.pack-accroche { color: var(--ink-2); font-size: 18px; margin-top: 6px; }
.pack-solidaire { display: flex; gap: 12px; align-items: flex-start; background: var(--accent-tint); color: var(--ink-2); border-radius: var(--r); padding: 12px 16px; font-size: 14px; }
.pack-solidaire svg { width: 20px; height: 20px; flex: none; color: var(--accent-ink); margin-top: 1px; }
.pack-solidaire b { color: var(--ink); }
.pack-form { display: grid; gap: 14px; }
.pack-choice { display: grid; gap: 6px; }
.pack-select { height: 46px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: 0 12px; font: inherit; font-size: 15px; background: var(--white); color: var(--ink); max-width: 360px; }
.pack-select:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 1px; }
.pack-form .btn { justify-self: start; }
.pack-pourqui { color: var(--ink-2); font-size: 15px; }
.pack-delai { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; }
.pack-delai svg { width: 18px; height: 18px; flex: none; color: var(--muted); }

.pack-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pack-table th { text-align: left; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.pack-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink-2); }
.pack-table .r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pack-table .mono { font-family: var(--f-mono); font-size: 12.5px; white-space: nowrap; }
.pack-table tr.total td { font-weight: 700; color: var(--ink); border-bottom: 0; }
.pack-prod { display: flex; gap: 12px; align-items: center; min-width: 220px; }
.pack-prod b { color: var(--ink); display: block; }
.pack-prod span, .pack-prod small { display: block; font-size: 13px; }
.pack-prod small { color: var(--muted); margin-top: 2px; }
.pack-thumb { width: 56px; height: 56px; flex: none; border-radius: 10px; background: var(--mist); overflow: hidden; display: grid; place-items: center; }
.pack-thumb svg { width: 100%; height: 100%; }
.pack-thumb.bilan { background: var(--grad); color: var(--accent); }
.pack-thumb.bilan svg { width: 70%; height: 70%; }

.pack-offert { position: relative; display: grid; gap: 10px; background: var(--grad); color: var(--white); border-radius: var(--r-lg); padding: 26px 24px 24px; }
.pack-offert b { font-family: var(--f-display); font-size: 18px; }
.pack-offert p { color: var(--on-dark); font-size: 15px; }
.pack-offert-tag { justify-self: start; background: var(--accent); color: var(--on-accent); font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.pack-rdv { display: flex; gap: 10px; align-items: flex-start; }
.pack-rdv svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }
.pack-rdv b { font-family: var(--f-body); font-size: 15px; color: var(--white); }
.pack-mentions { color: var(--muted); font-size: 13px; max-width: 90ch; margin-top: 28px; }
.c-thumb.pack { background: var(--grad); }

/* Paiement Qonto : page d'attente de la confirmation */
.pay-wait { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 14px; }
.pay-wait svg { width: 16px; height: 16px; flex: none; }

@media (max-width: 960px) {
  .pack-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pack-cards { grid-template-columns: 1fr; }
  .pack-select { max-width: 100%; }
  .pack-form .btn { justify-self: stretch; }
  .pack-prod { min-width: 180px; }
}

/* ---------- ADN SOLIDAIRE (synthèse du client du 29/10/2026) ---------- */
.sol-tag { justify-self: start; align-self: start; background: var(--accent); color: var(--on-accent); font-family: var(--f-display); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; }
.sol-fp { position: absolute; right: -60px; top: -20px; width: 60%; height: 120%; color: var(--accent); opacity: .12; pointer-events: none; }

/* Bandeau de l'accueil : composition du visuel du client (logo, trait lime, règle), en texte pour donner la règle complète */
.sol-bandeau { display: grid; grid-template-columns: minmax(150px, 26%) 1fr; align-items: center; gap: 0 clamp(24px, 3.5vw, 56px); position: relative; overflow: hidden; padding: clamp(32px, 4.5vw, 64px) clamp(24px, 4vw, 64px); border-radius: var(--r-lg); background: var(--noir); color: var(--white); transition: box-shadow .2s, transform .2s; }
.sol-bandeau:hover { text-decoration: none; box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.sol-bandeau > * { position: relative; }
.sol-bandeau > .sol-fp { position: absolute; }
.sol-bandeau-logo { justify-self: center; }
.sol-bandeau-logo .logo img { height: clamp(40px, 5vw, 64px); }
.sol-bandeau-txt { display: grid; gap: 6px; padding-left: clamp(20px, 3vw, 44px); border-left: 4px solid var(--accent); }
.sol-bandeau-txt .sol-tag { margin-bottom: 8px; }
.sol-bandeau-txt b { font-family: var(--f-display); font-size: clamp(28px, 3.6vw, 52px); font-weight: 900; text-transform: uppercase; line-height: 1.05; }
.sol-bandeau-txt b span { white-space: nowrap; }
.sol-bandeau-txt b em { font-style: normal; color: var(--accent); }
.sol-bandeau-phrase { margin-top: 8px; color: var(--on-dark); font-size: clamp(15px, 1.5vw, 20px); }
.sol-mini { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; align-items: center; margin-top: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.sol-mini-txt { display: grid; gap: 2px; font-size: 14px; color: var(--ink-2); }
.sol-mini-txt b { color: var(--ink); font-size: 15px; }
.sol-mini .link-btn { display: inline-flex; align-items: center; gap: 6px; }
.sol-mini .link-btn svg { width: 16px; height: 16px; }
.sol-mini .sol-barre { grid-column: 1 / -1; }

/* Barre de progression vers le plafond du trimestre */
.sol-barre { height: 16px; border: 2px solid var(--accent); border-radius: 99px; padding: 2px; }
.sol-barre i { display: block; height: 100%; min-width: 8px; background: var(--accent); border-radius: 99px; }
.sol-barre.claire { height: 12px; border-color: var(--accent-ink); }
.sol-barre.claire i { background: var(--accent-d); }

/* Compteur de la page */
.sol-compteur { position: relative; overflow: hidden; display: grid; gap: 12px; padding: 30px 28px; border-radius: var(--r-lg); background: var(--grad); color: var(--white); }
.sol-compteur > * { position: relative; }
.sol-compteur .sol-fp { position: absolute; }
.sol-periode { color: var(--on-dark); font-size: 15px; }
.sol-montant { font-family: var(--f-display); font-size: clamp(48px, 7vw, 76px); font-weight: 900; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.sol-sous { color: var(--on-dark); }
.sol-plafond { justify-self: start; background: var(--accent); color: var(--on-accent); font-weight: 700; border-radius: var(--r-sm); padding: 8px 12px; }
.sol-legende { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--on-dark); }
.sol-chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.sol-chiffres div { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.sol-chiffres b { font-family: var(--f-display); font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.sol-chiffres span { font-size: 13px; color: var(--on-dark); }
.sol-note { font-size: 13px; color: var(--on-dark); }
.sol-note b { color: var(--white); }

/* Page : formules, règles, association, historique */
.sol-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: start; }
.sol-intro { display: grid; gap: 18px; }
.sol-intro h2, .sol-asso h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin-top: 8px; }
.sol-formules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sol-formule { display: grid; gap: 8px; align-content: start; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.sol-formule-tag { font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.sol-prix { font-family: var(--f-display); font-size: 40px; font-weight: 900; line-height: 1.05; }
.sol-formule p { color: var(--ink-2); font-size: 15px; }
.sol-formule .sol-detail { color: var(--muted); font-size: 13.5px; }
.sol-regles { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--ink-2); font-size: 15px; }
.sol-regles li { display: flex; gap: 10px; align-items: flex-start; }
.sol-regles svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent-ink); }
.sol-asso { display: grid; gap: 14px; align-content: start; }
.sol-asso p { color: var(--ink-2); max-width: 46ch; }
.sol-asso .btn { justify-self: start; }
.sol-table .r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sol-table .sub { color: var(--muted); font-size: 12.5px; }
.sol-vide { color: var(--ink-2); padding: 20px 22px; border: 1px dashed var(--line-2); border-radius: var(--r); }
.sol-photos-titre { font-size: 20px; margin: 32px 0 14px; }
.sol-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.sol-photos figure { margin: 0; display: grid; gap: 8px; }
.sol-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--mist); }
.sol-photos figcaption { font-size: 13.5px; color: var(--ink-2); }

/* Panier et commande : au-dessus du bouton de validation */
.sol-mention { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--accent-tint); color: var(--ink-2); font-size: 13.5px; }
.sol-mention a { color: var(--accent-ink); font-weight: 600; }

/* Pilotage */
.sol-saisie, .sol-versement { display: grid; gap: 12px; }
.sol-saisie .btn, .sol-versement .btn { justify-self: start; }
.sol-details summary { cursor: pointer; }
.sol-details[open] > summary { margin-bottom: 12px; }
.sol-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.sol-actions .btn { white-space: nowrap; }

@media (max-width: 960px) {
  .sol-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .sol-bandeau { grid-template-columns: 1fr; gap: 14px; padding: 26px 22px 28px; }
  .sol-bandeau-logo { justify-self: start; }
  .sol-bandeau-logo .logo img { height: 30px; }
  .sol-bandeau-txt { padding-left: 0; border-left: 0; }
  .sol-bandeau-txt b { font-size: clamp(24px, 7.4vw, 36px); }
  .sol-formules { grid-template-columns: 1fr; }
  .sol-mini { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .sol-chiffres { grid-template-columns: 1fr; }
  .sol-compteur { padding: 26px 20px; }
}

/* ---------- Pilotage : fréquentation du site (choix du 19/11/2026) ---------- */
.freq-periodes { align-items: center; }
.freq-comparaison { font-size: 12.5px; color: var(--muted); margin-left: 4px; }
.freq-delta { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 7px; border-radius: 99px; font-family: var(--f-mono); font-size: 12px; font-weight: 600; background: var(--mist); color: var(--ink-2); }
.freq-delta.up { background: var(--ok-bg); color: var(--ok); }
.freq-delta.down { background: var(--bad-bg); color: var(--bad); }
.tile.dark .freq-delta { background: rgba(255, 255, 255, .12); color: var(--white); }
.freq-chart { display: grid; gap: 8px; }
.freq-bars { display: grid; gap: 4px; align-items: end; height: 200px; padding-top: 24px; border-bottom: 1px solid var(--line-2); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 50px; background-position: 0 24px; }
.freq-bar { position: relative; background: var(--line-2); border-radius: 4px 4px 0 0; min-height: 2px; }
.freq-bar.last { background: var(--ink); }
.freq-bar:hover, .freq-bar:focus-visible { background: var(--accent-ink); outline: none; }
.freq-bar b { position: absolute; top: -20px; left: -6px; right: -6px; text-align: center; font-family: var(--f-mono); font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.freq-labels { display: grid; gap: 4px; text-align: center; font-size: 11.5px; color: var(--muted); font-family: var(--f-mono); white-space: nowrap; }
.freq-hbars .hbar { grid-template-columns: minmax(90px, 160px) 1fr 52px; }
.freq-hbars .hbar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.freq-funnel { display: grid; gap: 14px; }
.freq-step { display: grid; gap: 6px; }
.freq-step-h { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-size: 14px; }
.freq-step-h b { font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.freq-step-h small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.freq-step .t { height: 12px; background: var(--mist); border-radius: 99px; overflow: hidden; }
.freq-step .t i { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
.freq-perte { font-size: 12.5px; color: var(--muted); }
.freq-camp { grid-template-columns: 132px 1fr; align-items: start; gap: 20px; }
.freq-camp-qr { width: 132px; aspect-ratio: 1; max-width: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 4px; }
.freq-camp-qr svg { display: block; width: 100%; height: 100%; }
.freq-camp-main { display: grid; gap: 10px; min-width: 0; }
.freq-camp-main h3 { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.freq-camp-lien { display: flex; gap: 8px; flex-wrap: wrap; }
.freq-camp-lien .input { flex: 1 1 260px; min-width: 0; font-size: 13px; }
.freq-camp-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-2); }
.freq-camp-stats b { font-family: var(--f-mono); color: var(--ink); }
@media (max-width: 640px) {
  .freq-camp { grid-template-columns: 1fr; }
  .freq-camp-qr { width: 120px; }
  .freq-bars { gap: 2px; }
}
/* Remise et validité d'une offre personnelle : menus à leur largeur, même dans une colonne étroite */
.bo-table .row-actions .select { flex: none; width: auto; }
