/* =========================================================
   ProDos — correcteur de posture, landing Conakry (fr)
   Un seul fichier, pas de framework.
   ========================================================= */

:root {
  --bg: #eef2f9;
  --bg-2: #f7f9fd;
  --surface: #ffffff;
  --ink: #0b1220;
  --ink-2: #33415c;
  --muted: #64748b;
  --line: #dde5f0;

  --blue: #1d4ed8;
  --blue-2: #3b82f6;
  --sky: #0ea5e9;
  --orange: #f9631a;
  --orange-2: #ff8a3d;
  --green: #0f9d58;
  --red: #e11d48;

  --grad-blue: linear-gradient(135deg, #2563eb, #0ea5e9);
  --grad-cta: linear-gradient(135deg, #ff8a3d, #f04e00);

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;

  --sh-1: 0 1px 2px rgba(11, 18, 32, .06), 0 6px 18px rgba(11, 18, 32, .06);
  --sh-2: 0 18px 44px rgba(13, 38, 89, .12);
  --sh-cta: 0 10px 26px rgba(240, 78, 0, .32);

  --wrap: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.022em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.05rem, 6.4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.5rem); }
h3 { font-size: clamp(1.12rem, 2.5vw, 1.35rem); }
p { margin: 0 0 1em; }
b, strong { font-weight: 800; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 820px; }

/* ---------- boutons ---------- */
.btn {
  --btn-bg: var(--grad-cta);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--btn-bg); color: #fff;
  font: inherit; font-weight: 800; letter-spacing: -.01em;
  border: 0; border-radius: 999px;
  padding: 14px 24px; min-height: 48px;
  text-decoration: none; cursor: pointer;
  box-shadow: var(--sh-cta);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0 auto 0 -60%;
  width: 45%; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  animation: sheen 3.6s ease-in-out infinite;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(240,78,0,.38); }
.btn:active { transform: translateY(0); }
.btn-lg { width: 100%; padding: 17px 22px; font-size: 1.06rem; min-height: 56px; }
/* Le libellé et le prix forment un seul bloc : en deux nœuds séparés, un
   écran étroit coupait le bouton entre « Commander — » et le montant. */
.btn-label { white-space: nowrap; }
.btn-ghost {
  --btn-bg: transparent;
  color: var(--blue); border: 2px solid rgba(29,78,216,.28); box-shadow: none;
}
.btn-ghost:hover { box-shadow: 0 10px 24px rgba(29,78,216,.14); background: rgba(29,78,216,.05); }
.btn-ghost::after { display: none; }

@keyframes sheen {
  0%, 62% { left: -60%; }
  92%, 100% { left: 130%; }
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(238, 242, 249, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .25s ease, background .25s ease;
}
.nav.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 26px rgba(13, 38, 89, .07); background: rgba(247, 249, 253, .93); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; flex: none; border-radius: 13px;
  display: grid; place-items: center; color: #fff;
  background: var(--grad-blue); box-shadow: 0 8px 18px rgba(37, 99, 235, .3);
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-txt { display: flex; flex-direction: column; font-weight: 800; font-size: 1.08rem; letter-spacing: -.02em; }
.brand-txt span { font-weight: 600; font-size: .69rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.nav-cta { padding: 10px 20px; min-height: 42px; font-size: .95rem; }
.progress { height: 3px; background: var(--grad-blue); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- décor ---------- */
.blob {
  position: absolute; border-radius: 50%; filter: blur(70px);
  opacity: .5; pointer-events: none; z-index: 0;
}
.blob-1 { width: 460px; height: 460px; background: #9dc0ff; top: -170px; right: -130px; animation: float1 17s ease-in-out infinite; }
.blob-2 { width: 380px; height: 380px; background: #ffd0ad; bottom: -180px; left: -140px; animation: float2 21s ease-in-out infinite; }
.blob-3 { width: 520px; height: 520px; background: #bcd4ff; top: -220px; left: 50%; opacity: .45; animation: float1 19s ease-in-out infinite; }
@keyframes float1 { 50% { transform: translate3d(-38px, 34px, 0) scale(1.09); } }
@keyframes float2 { 50% { transform: translate3d(34px, -30px, 0) scale(1.12); } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 42px 0 54px;
  background:
    radial-gradient(1000px 420px at 78% -10%, #ffffff 0%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: 26px;
  grid-template-columns: 1fr;
}
/* Sur téléphone, le bloc prix du hero ne s'affiche pas : le formulaire juste
   sous la photo porte déjà le prix, la remise et les garanties, et le répéter
   au-dessus ne ferait que repousser le formulaire hors de l'écran. */
.hero-offer { display: none; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; font-size: .84rem; font-weight: 700; color: var(--ink-2);
  box-shadow: var(--sh-1); margin-bottom: 18px;
}
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(15,157,88,.55); animation: ping 2.1s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(15,157,88,0); } 100% { box-shadow: 0 0 0 0 rgba(15,157,88,0); } }

h1 .hl {
  display: block;
  background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede { color: var(--ink-2); font-size: 1.06rem; max-width: 34em; }

.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; }
.hero-facts li {
  flex: 1 1 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 11px 13px; box-shadow: var(--sh-1);
}
.hero-facts b { display: block; font-size: 1.28rem; letter-spacing: -.03em; color: var(--blue); }
.hero-facts span { font-size: .78rem; color: var(--muted); font-weight: 600; }

.hero-media { position: relative; }
.hero-stage { position: relative; display: grid; place-items: center; padding: 12px 0; }
.hero-stage img {
  position: relative; z-index: 2; width: min(78%, 330px);
  filter: drop-shadow(0 26px 34px rgba(13, 38, 89, .28));
  animation: bob 6.5s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-13px); } }
.halo {
  position: absolute; z-index: 0; width: 74%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.30), rgba(59,130,246,0) 68%);
  animation: pulse 5.5s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(1.12); opacity: .75; } }
.ring {
  position: absolute; z-index: 1; width: 60%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px dashed rgba(37, 99, 235, .32);
  animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-tag {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 13px; font-size: .78rem; font-weight: 700; color: var(--ink-2);
  box-shadow: var(--sh-2);
}
.hero-tag svg { width: 15px; height: 15px; color: var(--blue); }
.hero-tag-1 { top: 12%; left: 0; animation: bob 7.5s ease-in-out infinite; }
.hero-tag-2 { bottom: 12%; right: 0; animation: bob 8.5s ease-in-out .8s infinite; }

/* formulaire du hero */
.orderbox-hero { padding: 18px; }
.oh-head { margin-bottom: 16px; }
.oh-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.oh-price .price { font-size: clamp(1.9rem, 7.5vw, 2.4rem); }
.oh-note { color: var(--muted); font-size: .88rem; margin: 8px 0 12px; }
.oh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.oh-chips span {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(15,157,88,.09); color: #0b6b3d;
  font-size: .74rem; font-weight: 700; padding: 5px 10px; border-radius: 999px;
}
.oh-chips span::before {
  content: ''; width: 12px; height: 12px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f9d58' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* offre */
.offer {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px; box-shadow: var(--sh-2);
}
.offer-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.price { font-size: clamp(2rem, 8vw, 2.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.price-cur { font-weight: 800; color: var(--ink-2); }
.price-old { color: var(--muted); text-decoration: line-through; font-weight: 600; font-size: .95rem; }
.save {
  margin-left: auto; background: rgba(15,157,88,.12); color: var(--green);
  font-weight: 800; font-size: .84rem; padding: 5px 11px; border-radius: 999px;
}
.offer-note { color: var(--muted); font-size: .88rem; margin: 10px 0 14px; }
.assur { display: grid; gap: 7px; margin-top: 14px; }
.assur span { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.assur svg { width: 15px; height: 15px; flex: none; color: var(--green); }

/* ---------- ticker ---------- */
.ticker-wrap { background: var(--ink); color: #fff; overflow: hidden; padding: 11px 0; }
.ticker { display: flex; width: max-content; gap: 26px; align-items: center; animation: slide 26s linear infinite; }
.ticker span { font-size: .82rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.ticker i { color: var(--orange-2); font-style: normal; font-size: .6rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { position: relative; padding: 62px 0; }
.sec-tint { background: linear-gradient(180deg, var(--bg-2), #fff 60%, var(--bg-2)); }
.head { max-width: 700px; margin: 0 auto 34px; text-align: center; }
.kicker {
  display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.head .sub { color: var(--ink-2); font-size: 1.02rem; }

/* ---------- problème ---------- */
.prob-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.prob-img {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: #fff; box-shadow: var(--sh-2); max-height: 380px;
}
.prob-img img { width: 100%; object-fit: cover; object-position: 50% 42%; height: 380px; }
.prob-ping {
  position: absolute; left: 50%; top: 58%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border-radius: 50%; background: rgba(225,29,72,.85);
  box-shadow: 0 0 0 0 rgba(225,29,72,.5); animation: ping2 2.4s infinite;
}
@keyframes ping2 { 70% { box-shadow: 0 0 0 26px rgba(225,29,72,0); } 100% { box-shadow: 0 0 0 0 rgba(225,29,72,0); } }

.prob-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.prob-list li {
  display: flex; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px; box-shadow: var(--sh-1);
}
.prob-list .ico {
  flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: .82rem; color: var(--blue); background: rgba(37,99,235,.09);
}
.prob-list b { display: block; margin-bottom: 3px; }
.prob-list p { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- posture ---------- */
.posture { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: center; }
.posture-stage {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: 18px;
  display: grid; place-items: center;
}
.fig { width: 100%; max-width: 320px; height: auto; }
.fig .plumb { stroke: rgba(100,116,139,.35); stroke-width: 1.5; stroke-dasharray: 5 6; }
.fig .floor { stroke: rgba(100,116,139,.3); stroke-width: 2; stroke-linecap: round; }
.fig .head { fill: #cbd5e1; }
.fig .spine, .fig .neck, .fig .body, .fig .legs, .fig .arm {
  fill: none; stroke: #94a3b8; stroke-width: 13; stroke-linecap: round; stroke-linejoin: round;
}
.fig .neck { stroke-width: 9; }
.fig .arm { stroke-width: 7; stroke: #adb9c9; }
.fig .legs { stroke-width: 11; }
.fig .ache { fill: none; stroke: var(--red); stroke-width: 4.5; stroke-linecap: round; opacity: .9; animation: acheBlink 1.6s ease-in-out infinite; }
.fig .ache-2 { animation-delay: .35s; }
@keyframes acheBlink { 50% { opacity: .25; } }

.fig-off, .fig-on { transition: opacity .55s ease, transform .55s ease; }
.fig-on { opacity: 0; transform: translateX(-6px); }
.fig-off { opacity: 1; }
[data-state="on"] .fig-on { opacity: 1; transform: none; }
[data-state="on"] .fig-off { opacity: 0; }
[data-state="on"] .fig-on .head { fill: #93b4f5; }
[data-state="on"] .fig-on .spine,
[data-state="on"] .fig-on .shoulder,
[data-state="on"] .fig-on .body,
[data-state="on"] .fig-on .legs { stroke: #7f9fd6; }
.fig .brace-x { stroke: url(#gBrace); stroke-width: 6; stroke-linecap: round; fill: none; }
.fig .brace-belt { fill: url(#gBrace); opacity: .92; }

.posture-label {
  position: absolute; top: 14px; left: 14px;
  font-size: .76rem; font-weight: 800; padding: 6px 12px; border-radius: 999px;
  transition: opacity .4s ease;
}
.lab-off { background: rgba(225,29,72,.1); color: var(--red); opacity: 1; }
.lab-on { background: rgba(37,99,235,.1); color: var(--blue); opacity: 0; }
[data-state="on"] .lab-off { opacity: 0; }
[data-state="on"] .lab-on { opacity: 1; }

.posture-switch {
  display: inline-flex; background: #eaeff8; border-radius: 999px; padding: 4px; gap: 4px; margin-bottom: 16px;
}
.pbtn {
  font: inherit; font-weight: 800; font-size: .9rem; border: 0; cursor: pointer;
  background: transparent; color: var(--muted); padding: 10px 22px; min-height: 44px; border-radius: 999px;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.pbtn[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: var(--sh-1); }

.check { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.check li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: .96rem; }
.check li::before {
  content: ''; position: absolute; left: 0; top: .34em; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(15,157,88,.13) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f9d58' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}
.fine { font-size: .84rem; color: var(--muted); margin: 0; }

/* ---------- cartes détails ---------- */
.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 16px; box-shadow: var(--sh-1);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.card-img {
  border-radius: var(--r); overflow: hidden; background: #f1f5fb; margin-bottom: 14px;
  aspect-ratio: 4 / 3; display: grid; place-items: center;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- démos clips ---------- */
.demo-grid { display: grid; gap: 26px; grid-template-columns: 1fr; align-items: center; }
.demo-media { position: relative; display: grid; place-items: center; }
.phone {
  position: relative; width: min(300px, 78%); border-radius: 28px; overflow: hidden;
  border: 8px solid #0b1220; background: #0b1220; box-shadow: var(--sh-2);
}
.phone img { width: 100%; border-radius: 20px; }
.phone::before {
  content: ''; position: absolute; z-index: 2; top: 0; left: 50%; transform: translateX(-50%);
  width: 86px; height: 15px; background: #0b1220; border-radius: 0 0 12px 12px;
}
.demo-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: .78rem; font-weight: 700; color: var(--ink-2); box-shadow: var(--sh-1);
}
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: acheBlink 1.4s infinite; }

.steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; position: relative; }
.steps li { display: flex; gap: 14px; }
.steps > li > b {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-blue); color: #fff; font-size: .9rem; box-shadow: 0 6px 14px rgba(37,99,235,.28);
}
.steps p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.note {
  background: rgba(249, 99, 26, .08); border: 1px solid rgba(249, 99, 26, .22);
  border-radius: var(--r); padding: 13px 15px; font-size: .9rem; color: var(--ink-2); margin: 0;
}

/* ---------- galerie ---------- */
.gal { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-bottom: 26px; }
.gal figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); }
.gal img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; }
.gal figcaption { padding: 10px 12px; font-size: .8rem; color: var(--muted); font-weight: 600; }
.gal figure:last-child { grid-column: span 2; }
.gal figure:last-child img { aspect-ratio: 16 / 9; object-position: 50% 45%; }

.usage { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-1); }
.usage h3 { display: flex; align-items: center; gap: 9px; }
.usage h3 svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.usage-grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 8px; }
.usage-grid > div { background: var(--bg-2); border-radius: var(--r); padding: 14px; }
.usage-grid b { color: var(--blue); font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; }
.usage-grid p { margin: 5px 0 0; font-size: .9rem; color: var(--muted); }
.warn {
  margin: 0; font-size: .86rem; color: var(--ink-2);
  background: rgba(225,29,72,.06); border: 1px solid rgba(225,29,72,.18);
  border-radius: var(--r); padding: 13px 15px;
}

/* ---------- packs ---------- */
.sec-order { overflow: hidden; background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.packs { display: grid; gap: 14px; grid-template-columns: 1fr; margin-bottom: 22px; position: relative; z-index: 1; }
.pack {
  position: relative; text-align: left; font: inherit; cursor: pointer;
  background: #fff; border: 2px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; box-shadow: var(--sh-1);
  display: grid; gap: 4px;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.pack:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.pack.on { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12), var(--sh-2); }
.pack-top { font-weight: 800; font-size: 1.06rem; }
.pack-price { font-size: 1.85rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.pack-price i { font-style: normal; font-size: .95rem; color: var(--ink-2); }
.pack-old { color: var(--muted); text-decoration: line-through; font-size: .88rem; font-weight: 600; }
.pack-note { color: var(--muted); font-size: .88rem; }
.pack-note b { color: var(--green); }
.pack-pick {
  margin-top: 8px; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; border-radius: 999px; font-weight: 800; font-size: .92rem;
  background: rgba(37,99,235,.09); color: var(--blue);
  transition: background .22s ease, color .22s ease;
}
.pack.on .pack-pick { background: var(--grad-blue); color: #fff; }
.pack-best { border-color: rgba(37,99,235,.35); }
.pack-flag {
  position: absolute; top: -12px; right: 16px;
  background: var(--grad-cta); color: #fff; font-size: .72rem; font-weight: 800;
  padding: 5px 12px; border-radius: 999px; box-shadow: var(--sh-cta);
}

/* ---------- formulaire ---------- */
.orderbox {
  position: relative; z-index: 1;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px; box-shadow: var(--sh-2);
}
.order-head { display: grid; gap: 12px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.order-head h3 { margin-bottom: 4px; }
.order-head p { margin: 0; font-size: .9rem; color: var(--muted); }
.order-total { background: var(--bg-2); border-radius: var(--r); padding: 12px 15px; }
.order-total span { display: block; font-size: .78rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.order-total b { font-size: 1.5rem; letter-spacing: -.03em; color: var(--blue); }
.nowrap { white-space: nowrap; }

.order-form { display: grid; gap: 14px; grid-template-columns: 1fr; }
.field { display: grid; gap: 6px; }
.field label, .qty legend { font-weight: 800; font-size: .88rem; }
.field input {
  font: inherit; font-size: 16px; /* 16px : iOS ne zoome pas au focus */
  padding: 13px 15px; min-height: 50px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-2); color: var(--ink); width: 100%;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.field input::placeholder { color: #9aa8bd; }
.field input:focus {
  outline: none; border-color: var(--blue-2); background: #fff;
  box-shadow: 0 0 0 4px rgba(59,130,246,.14);
}
.err { display: none; font-size: .8rem; color: var(--red); font-weight: 700; }
.field.invalid input { border-color: var(--red); background: rgba(225,29,72,.04); }
.field.invalid .err { display: block; }

.qty { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.qty legend { padding: 0; margin-bottom: 2px; }
.qty-opt { position: relative; display: block; cursor: pointer; }
.qty-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
/* Le sélecteur vise l'enfant direct : le prix à droite contient lui-même un
   <span> (celui que le JS réécrit), et un sélecteur large lui collerait une
   deuxième bordure et une deuxième pastille. */
.qty-opt > span {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--bg-2);
  padding: 13px 15px; min-height: 52px; transition: border-color .18s ease, background .18s ease;
}
.qty-opt > span::before {
  content: ''; width: 20px; height: 20px; border-radius: 50%; flex: none;
  border: 2px solid #c3cfe0; margin-right: 2px; transition: border-color .18s ease, box-shadow .18s ease;
}
.qty-opt b { flex: 1; }
.qty-opt i { font-style: normal; font-weight: 800; color: var(--blue); white-space: nowrap; }
.qty-opt input:checked + span { border-color: var(--blue); background: rgba(37,99,235,.05); }
.qty-opt input:checked + span::before { border-color: var(--blue); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 20px var(--blue); }
.qty-opt input:focus-visible + span { box-shadow: 0 0 0 4px rgba(59,130,246,.18); }

.form-fine { font-size: .82rem; color: var(--muted); margin: 0; text-align: center; }
.submit-btn:disabled { opacity: .82; cursor: default; }
.spinner {
  width: 17px; height: 17px; border-radius: 50%; display: inline-block;
  border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite;
}
.hidden { display: none !important; }

/* Une fois la commande envoyée, l'en-tête prix n'a plus rien à faire là. */
.orderbox.done .oh-head, .orderbox.done .order-head { display: none; }
.order-done { text-align: center; padding: 12px 4px; }
.done-mark {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px;
  background: rgba(15,157,88,.12); color: var(--green); animation: pop .5s cubic-bezier(.2,1.4,.4,1) both;
}
.done-mark svg { width: 30px; height: 30px; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 4px 16px; box-shadow: var(--sh-1);
}
.faq summary {
  cursor: pointer; list-style: none; font-weight: 800; padding: 14px 30px 14px 0;
  position: relative; min-height: 44px; display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 2px; top: 50%; width: 11px; height: 11px;
  border-right: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { margin: 0 0 14px; color: var(--muted); font-size: .94rem; }
.faq details[open] p { animation: fadeDown .3s ease both; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

.faq-cta {
  margin-top: 24px; text-align: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px 18px; box-shadow: var(--sh-1);
}
.faq-cta p { color: var(--ink-2); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #cbd5e1; padding: 40px 0 96px; }
.foot .brand { color: #fff; margin-bottom: 16px; }
.foot .brand-txt span { color: #94a3b8; }
.foot-note { font-size: .85rem; max-width: 66ch; color: #94a3b8; }
.foot-copy { font-size: .8rem; color: #64748b; margin: 0; }

/* ---------- dock ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(115%); transition: transform .32s cubic-bezier(.3,.9,.3,1);
}
.dock.up { transform: none; }
.dock-in { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.dock-price { line-height: 1.15; }
.dock-price b { display: block; font-size: 1.16rem; letter-spacing: -.03em; }
.dock-price span { font-size: .74rem; color: var(--muted); font-weight: 700; }
.dock .btn { margin-left: auto; padding: 12px 22px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); transition-delay: var(--d, 0ms); }
.reveal-s { transform: translateY(22px) scale(.97); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   ≥ 700px
   ========================================================= */
@media (min-width: 700px) {
  .sec { padding: 78px 0; }
  .prob-grid { grid-template-columns: .82fr 1.18fr; align-items: start; }
  .prob-img { max-height: none; }
  .prob-img img { height: 100%; min-height: 420px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .usage-grid { grid-template-columns: repeat(3, 1fr); }
  .order-form { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
  .qty { grid-template-columns: 1fr 1fr; }
  .qty legend { grid-column: 1 / -1; }
  .submit-btn { grid-column: 1 / -1; }
  .form-fine { grid-column: 1 / -1; }
  .order-head { grid-template-columns: 1fr auto; align-items: center; }
  .packs { grid-template-columns: 1fr 1fr; }
  .gal { grid-template-columns: repeat(3, 1fr); }
  .gal figure:last-child { grid-column: auto; }
  .gal figure:last-child img { aspect-ratio: 3 / 4; }
  .posture { grid-template-columns: .9fr 1.1fr; }
  .demo-grid { grid-template-columns: .85fr 1.15fr; }
  .demo-rev .demo-media { order: 2; }
  .hero-facts li { flex: 0 1 auto; min-width: 118px; }
}

/* =========================================================
   ≥ 980px — deux colonnes dans le hero
   ========================================================= */
@media (min-width: 980px) {
  .hero { padding: 56px 0 74px; }
  .hero-grid {
    grid-template-columns: 1.05fr .95fr;
    grid-template-areas: 'intro media' 'offer media' 'form form';
    align-items: center; gap: 28px 42px;
  }
  .hero-intro { grid-area: intro; }
  .hero-media { grid-area: media; }
  .hero-offer { grid-area: offer; max-width: 460px; display: block; }
  .hero-form { grid-area: form; }
  .orderbox-hero { padding: 24px; }
  .orderbox-hero .oh-head {
    display: grid; grid-template-columns: auto 1fr; align-items: center;
    gap: 6px 22px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
  }
  .orderbox-hero .oh-price { grid-row: span 2; }
  .orderbox-hero .oh-note { margin: 0; align-self: end; }
  .orderbox-hero .oh-chips { align-self: start; }
  .hero-stage img { width: min(84%, 400px); }
  .assur { grid-template-columns: 1fr 1fr; }
  .assur span:first-child { grid-column: 1 / -1; }
  .nav-in { height: 74px; }
  .foot { padding-bottom: 48px; }
}

/* =========================================================
   Petits écrans
   ========================================================= */
@media (max-width: 400px) {
  body { font-size: 16px; }
  .wrap { padding: 0 15px; }
  .brand-txt { font-size: 1rem; }
  .brand-txt span { font-size: .62rem; letter-spacing: .04em; }
  .nav-cta { padding: 10px 16px; font-size: .9rem; }
  .hero-tag { font-size: .72rem; padding: 6px 10px; }
  .hero-facts li { padding: 9px 11px; }
  .hero-facts b { font-size: 1.15rem; }
  .offer, .orderbox, .usage, .posture-stage { padding: 16px; }
  .pack { padding: 15px; }
}

/* =========================================================
   Accessibilité — mouvement réduit
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
