/* Design system relevé sur lysi-france.com (thème Shopify, 23/09/2026) :
   texte Poppins 400 · titres Neulis Sans 700, letter-spacing -0.025em · boutons pilule, capitales, 12px gras
   cartes rounded-2xl (16px) / rounded-3xl (24px) · palette : navy 40,50,104 · bouton 99,113,179 · ocean 54,145,164
   vert 108,190,153 · fonds gris 247,247,247 · vert pâle 240,248,245 · bleu pâle 239,245,245 · texte 18,18,18 */
@font-face { font-family: "Neulis Sans"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("https://www.lysi-france.com/cdn/shop/t/16/assets/neulis-sans-bold.B9DNRz_7.min.woff2") format("woff2"),
       url("https://www.lysi-france.com/cdn/shop/t/16/assets/neulis-sans-bold.DIsclcc2.min.woff") format("woff"); }
:root {
  --navy: #283268;
  --violet: #6371B3;
  --violet-dark: #283268;
  --ocean: #3691A4;
  --green: #6CBE99;
  --green-soft: #F0F8F5;
  --ocean-soft: #EFF5F5;
  --cream: #F7F7F7;
  --ink: #121212;
  --muted: #5F6272;
  --line: #E5E7EB;
  --white: #fff;
  --radius: 24px;
  --radius-sm: 16px;
  --heading: "Neulis Sans", Poppins, sans-serif;
  --shadow: 0 10px 30px rgba(40, 50, 104, 0.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--white); color: var(--ink); font-family: Poppins, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body { min-height: 100svh; display: flex; flex-direction: column; }
a { color: var(--violet); }
button { font: inherit; }

.topbar { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); padding: 14px 16px 10px; display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; max-width: 680px; margin: 0 auto; width: 100%; }
.topbar:has(.progress[hidden]) { display: none; }
.brand { grid-column: 1; text-decoration: none; color: var(--ink); font-family: var(--heading); font-weight: 700; letter-spacing: -0.02em; font-size: 20px; }
.brand span { color: var(--ocean); font-size: 14px; }
.step { grid-column: 2; font-size: 13px; color: var(--muted); }
.progress { grid-column: 1; height: 5px; background: var(--line); border-radius: 5px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: var(--navy); transition: width .35s ease; }

.app { flex: 1; width: 100%; max-width: 680px; margin: 0 auto; padding: 28px 16px 40px; }
.screen { animation: rise .32s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

h1 { font-family: var(--heading); font-size: clamp(28px, 5vw, 40px); line-height: 1.05; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 12px; font-weight: 700; }
h1 .accent, h2 .accent { color: var(--ocean); }
h2.q { font-family: var(--heading); font-size: clamp(24px, 4.2vw, 32px); line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 10px; font-weight: 700; }
.sub { color: var(--muted); margin: 0 0 22px; font-size: 15px; }
.eyebrow { color: var(--ocean); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }

.welcome { text-align: center; padding-top: 24px; }
.welcome p { font-size: 17px; color: var(--ink); max-width: 520px; margin: 0 auto 26px; line-height: 1.55; }
.welcome .meta { color: var(--muted); font-size: 13px; margin-top: 14px; }

.options { display: grid; gap: 10px; margin-bottom: 20px; }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 16px 18px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s, transform .1s; font-size: 16px; line-height: 1.35; }
.opt:hover { border-color: var(--violet); }
.opt:active { transform: scale(.99); }
.opt[aria-pressed="true"], .opt[aria-checked="true"] { border-color: var(--navy); background: var(--ocean-soft); }
.opt .box { flex: 0 0 22px; height: 22px; border-radius: 50%; border: 2px solid #C7CAE0; display: grid; place-items: center; transition: all .15s; }
.opt.multi .box { border-radius: 7px; }
.opt[aria-checked="true"] .box, .opt[aria-pressed="true"] .box { background: var(--navy); border-color: var(--navy); }
.opt .box::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: white; opacity: 0; }
.opt.multi .box::after { width: 11px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; border-radius: 0; transform: rotate(-45deg) translate(1px, -1px); background: none; }
.opt[aria-checked="true"] .box::after, .opt[aria-pressed="true"] .box::after { opacity: 1; }
.opt.disabled { opacity: .45; cursor: not-allowed; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 17px 28px; border-radius: 9999px; border: 0; background: var(--violet); color: #fff; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; text-decoration: none; transition: background .15s, transform .1s; }
.btn:hover { background: var(--violet-dark); }
.btn:disabled { background: #C7CAE0; cursor: not-allowed; }
.btn.block { width: 100%; }
.btn.big { font-size: 15px; padding: 20px 28px; letter-spacing: .04em; box-shadow: 0 10px 24px rgba(99, 113, 179, .35); }
.btn.big:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--navy); background: transparent; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.back { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 10px 4px; font-size: 14px; }
.back:hover { color: var(--navy); }
.counter { color: var(--muted); font-size: 13px; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 500; color: var(--navy); }
.field input[type="text"], .field input[type="email"] { width: 100%; padding: 14px 16px; border-radius: 9999px; border: 1.5px solid var(--line); font: inherit; font-size: 16px; }
.field input:focus { outline: 2px solid var(--violet); border-color: var(--violet); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; margin: 12px 0 8px; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--violet); }
.privacy { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 6px 0 18px; }
.error { color: #B3261E; font-size: 13px; margin: -6px 0 12px; }

.card { background: var(--cream); border-radius: var(--radius); padding: 20px; margin-bottom: 14px; }
.card.syn { background: var(--green-soft); }
.card h3 { margin: 0 0 4px; font-family: var(--heading); font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.card .why { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.plist { display: grid; gap: 10px; }
.prod { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; background: var(--white); border-radius: var(--radius-sm); padding: 12px; border: 0; }
.prod img { width: 72px; height: 72px; object-fit: contain; border-radius: 10px; background: #fff; }
.prod .ph { width: 72px; height: 72px; border-radius: 10px; background: var(--line); }
.prod .t { font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.3; }
.prod .d { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.prod .p { font-weight: 700; color: var(--ink); white-space: nowrap; font-size: 15px; }
.prod a { color: inherit; text-decoration: none; }
.prod a:hover .t { text-decoration: underline; }
.pack-price { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; font-size: 14px; color: var(--muted); }
.pack-price b { color: var(--ink); font-size: 20px; font-weight: 700; }
.rank { display: inline-block; font-size: 11px; font-weight: 700; color: var(--ocean); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }

.warn { border-left: 3px solid var(--ocean); background: var(--ocean-soft); padding: 10px 14px; border-radius: 0 12px 12px 0; font-size: 13px; line-height: 1.5; margin: 10px 0; color: var(--ink); }
.legal { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 18px 0; }
.cta-wrap { position: sticky; bottom: 0; z-index: 4; background: #fff; margin: 6px -16px 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(40, 50, 104, .08); }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.cta-row .ship { display: inline-flex; align-items: center; gap: 6px; }
.cta-row .ship.ok { color: #2E8B63; font-weight: 600; }
.cta-row .total { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.15; white-space: nowrap; }
.cta-row .total small { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.cta-row .total .amt { display: inline-flex; align-items: baseline; gap: 6px; }
.cta-row .total b { color: var(--ink); font-size: 18px; }
.cta-row .total s { opacity: .7; font-size: 13px; }
.promo-hint { margin: 8px 0 0; font-size: 13px; line-height: 1.4; color: var(--ocean); font-weight: 600; text-align: center; }
.promo-hint .tick { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.promo-hint.on { color: #2E8B63; font-weight: 600; cursor: default; }
.btn.busy { opacity: .75; pointer-events: none; }
.tick { display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: var(--green); position: relative; flex: 0 0 16px; }
.tick::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 8px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.source { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 14px; border-radius: 9999px; border: 1.5px solid var(--line); background: #fff; font-size: 13px; cursor: pointer; }
.chip:hover, .chip.on { border-color: var(--navy); background: var(--navy); color: #fff; }

.foot { border-top: 1px solid var(--line); padding: 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.foot a { color: var(--muted); }
.debug { margin-top: 30px; font-size: 12px; color: var(--muted); }
.debug summary { cursor: pointer; }
.debug pre { white-space: pre-wrap; background: var(--cream); padding: 10px; border-radius: 10px; }
@media (min-width: 560px) { .options.two { grid-template-columns: 1fr 1fr; } }

/* Mode iframe : pas de barre de marque ni de pied de page, le site hôte les fournit */
html.embedded body { min-height: 0; }
html.embedded .brand, html.embedded .foot { display: none; }
html.embedded .topbar { position: static; grid-template-columns: 1fr auto; padding: 8px 0 10px; border: 0; background: none; backdrop-filter: none; }
html.embedded .progress { grid-column: 1; }
html.embedded .step { grid-column: 2; }
html.embedded .app { padding: 12px 0 24px; } /* la page Shopify fournit déjà les marges latérales */
.cta-wrap.open { position: static; margin: 16px 0 0; padding: 20px 16px; border: 0; border-radius: 24px; background: var(--ocean-soft); box-shadow: none; }
.promo-step h3 { margin: 0 0 6px; color: var(--ocean); }
.promo-step .cta-row { margin: 0 0 14px; }
.promo-step .field { margin-bottom: 4px; }
.promo-step .field input { background: #fff; }
.promo-step .btn { margin-top: 6px; }
.skip { display: block; width: 100%; margin: 10px 0 0; padding: 8px; background: none; border: 0; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.skip:hover { color: var(--navy); }
.promo-step .privacy { margin: 10px 0 0; }
html.embedded .cta-wrap { position: static; margin: 6px 0 0; padding: 10px 0 0; border: 0; box-shadow: none; }
html.embedded .cta-wrap.open { margin: 16px 0 0; padding: 20px 16px; }

.email-card { background: var(--ocean-soft); }
.email-card .field input { background: #fff; }
.email-card h3 { color: var(--ocean); }
.code { display: inline-block; font-family: Poppins, sans-serif; font-weight: 700; letter-spacing: .08em; background: #fff; border: 1.5px dashed var(--ocean); border-radius: 8px; padding: 2px 10px; color: var(--ink); }
.code.big { font-size: 24px; padding: 10px 18px; border-width: 2px; border-radius: 12px; color: var(--navy); }
.code-wrap { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 12px; }
.copy { font: inherit; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--navy); background: #fff; border: 1.5px solid var(--navy); border-radius: 9999px; padding: 9px 14px; cursor: pointer; }
.copy:hover { background: var(--navy); color: #fff; }
.why-label { color: var(--ocean); font-weight: 700; }
.poso { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.poso b { color: var(--ocean); font-weight: 700; }

/* Mobile : fiches produit sur deux colonnes (prix sous le nom), bouton plus compact */
@media (max-width: 430px) {
  .card { padding: 16px; }
  .card h3 { font-size: 20px; }
  .prod { grid-template-columns: 56px 1fr; gap: 6px 12px; align-items: start; }
  .prod img, .prod .ph { width: 56px; height: 56px; }
  .prod .p { grid-column: 2; justify-self: start; font-size: 14px; }
  .btn.big { font-size: 13px; padding: 17px 16px; letter-spacing: .03em; }
}
