/* Jouer Malin : bois clair du plateau + pions arc-en-ciel des tables 1 à 10.
   Mise en page : grandes sections pleine largeur, grille 10×10 comme motif récurrent. */
:root {
  --ink: #1B2A4A;
  --ink-soft: #4A5672;
  --paper: #FFFDF8;
  --birch: #F5E9D4;
  --birch-deep: #E9D5B0;
  --line: #E6DCCB;
  --cta: #E8462A;
  --cta-dark: #C7361D;
  --ok: #1F9D63;
  --c1: #E5484D; --c2: #F2873A; --c3: #F5C542; --c4: #9CCB4A; --c5: #3FB37F;
  --c6: #2BB3B1; --c7: #3D9BE9; --c8: #4C6FE0; --c9: #8A5CD6; --c10: #D9579B;
  --f-display: "Fredoka", "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --f-body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 14px;
  --shadow: 0 10px 30px -12px rgba(27, 42, 74, .28);
  --wrap: 1120px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--c7); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.section { padding-block: clamp(48px, 8vw, 88px); }
.section--birch { background: var(--birch); }
.section--ink { background: var(--ink); color: #fff; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cta); }
.section--ink .eyebrow { color: var(--c3); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.section--ink .lead { color: #C9D2E6; }
.stack { display: grid; gap: 14px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.muted { color: var(--ink-soft); font-size: .92rem; }
.tnum { font-variant-numeric: tabular-nums; }

/* Barre d'annonce */
.announce { background: var(--ink); color: #fff; font-size: .88rem; font-weight: 700; text-align: center; padding: 8px 16px; }
.announce strong { color: var(--c3); }

/* En-tête */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(255, 253, 248, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; }
.logo-mark { display: grid; grid-template-columns: repeat(2, 12px); gap: 3px; }
.logo-mark i { width: 12px; height: 12px; border-radius: 50%; }
.logo-mark i:nth-child(1) { background: var(--c1); } .logo-mark i:nth-child(2) { background: var(--c3); }
.logo-mark i:nth-child(3) { background: var(--c5); } .logo-mark i:nth-child(4) { background: var(--c7); }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: .95rem; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--cta); }
.nav .hide-sm { display: inline; }
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 9px 16px; font: 800 .95rem var(--f-body); cursor: pointer; }
.cart-count { background: var(--c3); color: var(--ink); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: .8rem; padding: 0 6px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; padding: 16px 28px; font: 800 1.05rem var(--f-body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; text-align: center; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--cta { background: var(--cta); color: #fff; box-shadow: 0 6px 0 var(--cta-dark); }
.btn--cta:hover { background: var(--cta-dark); }
.btn--ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn--wa { background: #1FA855; color: #fff; }
.btn--block { width: 100%; }
.btn:has(small) { flex-direction: column; gap: 2px; padding-block: 12px; }
.btn small { display: block; font-weight: 700; font-size: .78rem; opacity: .9; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Hero produit */
.hero { padding-block: 28px 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-media { position: relative; }
.hero-media img { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero-photo { position: relative; }
.badge-float { position: absolute; left: 14px; bottom: 14px; background: #fff; border-radius: 12px; padding: 8px 12px; font-weight: 800; font-size: .85rem; box-shadow: var(--shadow); display: flex; gap: 8px; align-items: center; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 1; }
.thumbs button[aria-current="true"] { border-color: var(--cta); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price { font-family: var(--f-display); font-size: 2.4rem; font-weight: 700; }
.price-note { font-weight: 700; color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Sélecteur d'offre */
.offers { display: grid; gap: 10px; }
.offer { position: relative; display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; transition: border-color .15s; }
.offer input { accent-color: var(--cta); width: 20px; height: 20px; margin: 0; }
.offer:has(input:checked) { border-color: var(--cta); background: #FFF6F2; }
.offer strong { display: block; font-size: 1.02rem; }
.offer span { font-size: .88rem; color: var(--ink-soft); }
.offer .o-price { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; text-align: right; }
.offer .o-price s { display: block; font-size: .85rem; color: var(--ink-soft); font-family: var(--f-body); font-weight: 600; }
.tag { position: absolute; top: -11px; right: 14px; background: var(--c3); color: var(--ink); font-size: .72rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }

/* Compte à rebours */
.countdown { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: linear-gradient(120deg, var(--cta), #F2742A); color: #fff; border-radius: var(--r); padding: 12px 16px; }
.countdown-label { font-weight: 800; font-size: .92rem; flex: 1 1 160px; }
.countdown-label small { display: block; font-weight: 700; color: #FFE4D6; font-size: .8rem; }
.cd-units { display: flex; gap: 6px; }
.cd-unit { background: rgba(27, 42, 74, .28); border-radius: 8px; min-width: 50px; padding: 4px 6px; text-align: center; }
.cd-unit b { display: block; font-family: var(--f-display); font-size: 1.35rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cd-unit i { font-style: normal; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: #FFE4D6; }
.stock-bar { display: grid; gap: 6px; font-size: .9rem; font-weight: 700; }
.stock-track { height: 8px; border-radius: 99px; background: var(--birch-deep); overflow: hidden; }
.stock-fill { height: 100%; background: linear-gradient(90deg, var(--c2), var(--cta)); border-radius: 99px; }

/* Bandeau de confiance */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust div { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: .9rem; line-height: 1.3; }
.trust svg { flex: 0 0 34px; }

/* Grille interactive 10x10 */
.grid-demo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.grid-demo > * { min-width: 0; }
.board { background: linear-gradient(145deg, #F1DDB8, #E3C691); border-radius: 18px; padding: clamp(10px, 2vw, 18px); box-shadow: var(--shadow), inset 0 0 0 1px rgba(120, 80, 30, .15); }
.board-grid { display: grid; grid-template-columns: repeat(11, 1fr); gap: clamp(2px, .6vw, 5px); }
.board-grid .h { font-family: var(--f-display); font-weight: 700; color: #7A5424; display: grid; place-items: center; font-size: clamp(.6rem, 1.6vw, .95rem); aspect-ratio: 1; }
.board-grid button { aspect-ratio: 1; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: rgba(120, 80, 30, .18); box-shadow: inset 0 2px 3px rgba(80, 50, 10, .3); font: 800 clamp(.5rem, 1.4vw, .82rem) var(--f-body); color: transparent; transition: transform .12s, background .12s; }
.board-grid button.on { color: #fff; box-shadow: 0 2px 0 rgba(0, 0, 0, .18); transform: scale(1.04); }
.board-grid button.hl { outline: 3px solid var(--ink); outline-offset: 1px; }
.board-grid .h.hl { color: var(--cta); }
.quiz { display: grid; gap: 16px; }
.quiz-card { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); text-align: center; }
.quiz-q { font-family: var(--f-display); font-size: 3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.quiz-a { min-height: 1.6em; font-weight: 800; color: var(--ok); }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.steps li { list-style: none; background: #fff; border-radius: var(--r); padding: 18px; display: grid; gap: 8px; align-content: start; }
.steps li::before { counter-increment: s; content: counter(s); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 1.1rem var(--f-display); background: var(--c1); }
.steps li:nth-child(2)::before { background: var(--c2); } .steps li:nth-child(3)::before { background: var(--c5); }
.steps li:nth-child(4)::before { background: var(--c7); } .steps li:nth-child(5)::before { background: var(--c9); }
.steps { padding: 0; margin: 0; }

/* Contenu du kit */
.kit { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.kit-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 8px; align-content: start; }
.kit-item .dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 1.1rem var(--f-display); color: #fff; }

/* Problème / avant-après */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split > * { min-width: 0; }
.split img { border-radius: 20px; box-shadow: var(--shadow); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare > div { border-radius: var(--r); padding: 18px; }
.compare .bad { background: #fff; border: 1px dashed var(--birch-deep); }
.compare .good { background: #EAF7F0; border: 1px solid #BFE6D2; }
.compare ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: .95rem; }

/* Défi 30 jours */
.challenge { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.challenge div { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); padding: 18px; }
.challenge b { font-family: var(--f-display); font-size: 1.1rem; display: block; color: var(--c3); }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 1.4rem/1 var(--f-display); color: var(--cta); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 16px; color: var(--ink-soft); }

/* Livraison */
.ship { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ship > div { background: #fff; border-radius: var(--r); padding: 20px; border: 1px solid var(--line); }
.zone-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.zone-table td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.zone-table td:last-child { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Barre collante mobile */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); display: none; align-items: center; gap: 12px; box-shadow: 0 -8px 24px -12px rgba(27, 42, 74, .3); transform: translateY(110%); transition: transform .25s ease; }
.sticky-buy.show { transform: none; }
.sticky-buy .sb-price { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; line-height: 1.1; }
.sticky-buy .sb-price small { display: block; font: 700 .75rem var(--f-body); color: var(--ink-soft); }
.sticky-buy .btn { flex: 1; padding: 13px 18px; }

/* Panier latéral */
.drawer-bg { position: fixed; inset: 0; background: rgba(27, 42, 74, .45); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); z-index: 61; transform: translateX(100%); transition: transform .28s ease; display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body.cart-open .drawer { transform: none; }
body.cart-open .drawer-bg { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.icon-btn { background: none; border: 0; cursor: pointer; font-size: 1.6rem; line-height: 1; padding: 6px; color: var(--ink); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: grid; gap: 14px; align-content: start; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px; display: grid; gap: 10px; background: #fff; }
.progress { display: grid; gap: 6px; font-size: .9rem; font-weight: 700; background: #fff; border-radius: 12px; padding: 12px; border: 1px solid var(--line); }
.progress-track { height: 8px; background: var(--birch); border-radius: 99px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--ok); border-radius: 99px; transition: width .3s; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; }
.line img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.line-name { font-weight: 800; font-size: .95rem; line-height: 1.3; }
.line-price { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; margin-top: 6px; background: #fff; }
.qty button { border: 0; background: none; width: 30px; height: 30px; cursor: pointer; font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.qty span { min-width: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.upsell-card { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; background: #FFF8E6; border: 1px dashed var(--c3); border-radius: 12px; padding: 12px; }
.upsell-card img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.upsell-card button { border: 0; background: var(--ink); color: #fff; border-radius: 99px; padding: 8px 14px; font: 800 .85rem var(--f-body); cursor: pointer; white-space: nowrap; }
.sum-row > span:last-child { white-space: nowrap; }
.sum-row { display: flex; gap: 12px; justify-content: space-between; font-weight: 700; font-variant-numeric: tabular-nums; }
.sum-row.total { font-size: 1.15rem; font-weight: 900; }
.sum-row .save { color: var(--ok); }
.empty { text-align: center; padding: 40px 0; color: var(--ink-soft); display: grid; gap: 14px; justify-items: center; }

/* Formulaire de commande */
.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.checkout > * { min-width: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 3vw, 28px); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; font: 600 1rem var(--f-body); color: var(--ink); padding: 13px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--paper); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c7); outline: none; }
.field .hint { font-size: .82rem; color: var(--ink-soft); }
.field.err input, .field.err select { border-color: var(--cta); }
.field .msg { color: var(--cta); font-size: .82rem; font-weight: 700; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay { display: grid; gap: 10px; }
.bump { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; border: 2px dashed var(--cta); background: #FFF6F2; border-radius: 14px; padding: 14px; cursor: pointer; }
.bump input { width: 22px; height: 22px; accent-color: var(--cta); margin: 2px 0 0; }
.bump b { color: var(--cta); }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .85rem; color: var(--ink-soft); font-weight: 700; }
.steps-bar { display: flex; gap: 8px; font-size: .82rem; font-weight: 800; color: var(--ink-soft); margin-bottom: 18px; flex-wrap: wrap; }
.steps-bar span { padding: 4px 12px; border-radius: 99px; background: var(--birch); }
.steps-bar span.on { background: var(--ink); color: #fff; }

/* Page merci */
.thanks-hero { text-align: center; display: grid; gap: 14px; justify-items: center; }
.big-check { width: 72px; height: 72px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; }
.ppo { border: 3px solid var(--cta); border-radius: 20px; padding: clamp(18px, 3vw, 28px); background: #fff; display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; }
.ppo img { border-radius: 14px; }
.ppo > * { min-width: 0; }

/* Catalogue accueil */
.home-hero { padding-block: clamp(36px, 7vw, 80px); position: relative; overflow: hidden; }
.home-hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.home-hero .wrap > * { min-width: 0; }
.dots-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.product-card { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; }
.product-card > * { min-width: 0; }
.product-card img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; align-self: stretch; }
.product-card .pc-body { padding: clamp(20px, 3vw, 36px); display: grid; gap: 14px; align-content: center; }
.upcoming { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.upcoming.two { grid-template-columns: repeat(2, 1fr); }
.upcoming > div { border-radius: 18px; padding: 22px; background: #fff; border: 1px solid var(--line); display: grid; gap: 10px; position: relative; overflow: hidden; }
.upcoming .soon { font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.values > div { display: grid; gap: 8px; }
.values .vnum { font-family: var(--f-display); font-size: 2.2rem; font-weight: 700; color: var(--c3); }

/* Newsletter */
.news { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.news > * { min-width: 0; }
.news-form { display: flex; gap: 10px; flex-wrap: wrap; }
.news-form input { flex: 1 1 220px; min-width: 0; font: 600 1rem var(--f-body); padding: 14px 16px; border-radius: 999px; border: 2px solid transparent; }
.news-form .btn { padding: 14px 22px; }
.news-ok { font-weight: 800; color: var(--c4); }
.modal-bg { position: fixed; inset: 0; z-index: 70; background: rgba(27, 42, 74, .55); display: grid; place-items: center; padding: 16px; }
.modal { background: var(--paper); border-radius: 22px; max-width: 440px; width: 100%; padding: 28px; position: relative; display: grid; gap: 14px; text-align: center; }
.modal .icon-btn { position: absolute; top: 8px; right: 10px; }
.modal input { width: 100%; font: 600 1rem var(--f-body); padding: 14px 16px; border-radius: 12px; border: 2px solid var(--line); background: #fff; }
.mini-board { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; max-width: 200px; margin: 0 auto; }
.mini-board i { display: block; aspect-ratio: 1; border-radius: 50%; }

/* Pied de page */
.footer { background: var(--ink); color: #C9D2E6; padding-block: 48px 110px; font-size: .92rem; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.footer a { text-decoration: none; display: block; padding: 3px 0; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; }

/* WhatsApp flottant */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 44; width: 56px; height: 56px; border-radius: 50%; background: #1FA855; display: grid; place-items: center; box-shadow: var(--shadow); }
body.sticky-on .wa-float { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }

/* Toast */
.toast { position: fixed; left: 50%; top: 80px; transform: translate(-50%, -20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 800; z-index: 80; opacity: 0; transition: all .25s; pointer-events: none; font-size: .95rem; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Pages d'infos */
.prose { max-width: 720px; margin: 0 auto; display: grid; gap: 14px; }
.prose h2 { margin-top: 28px; font-size: 1.6rem; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

.video-slot { aspect-ratio: 9 / 16; max-width: 320px; border-radius: 20px; background: var(--ink); color: #fff; display: grid; place-items: center; text-align: center; padding: 24px; margin: 0 auto; position: relative; overflow: hidden; }
.video-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.video-slot p { position: relative; font-weight: 800; }

/* Supports imprimés */
.supports { display: grid; grid-template-columns: repeat(7, minmax(150px, 1fr)); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.supports figure { margin: 0; scroll-snap-align: start; display: grid; gap: 8px; }
.supports img { border-radius: 12px; box-shadow: var(--shadow); aspect-ratio: 700 / 990; object-fit: cover; width: 100%; background: #fff; }
.supports figcaption { font-size: .85rem; font-weight: 800; text-align: center; }
@media (max-width: 900px) { .supports { grid-template-columns: repeat(7, 62%); margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; } }

/* Menu mobile */
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.menu-btn span { display: block; height: 3px; border-radius: 3px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); background: var(--paper); padding: 6px 20px 14px; display: grid; }
.mobile-menu a { text-decoration: none; font-weight: 800; font-size: 1.05rem; padding: 13px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }
.ok-line { display: flex; gap: 8px; align-items: center; color: var(--ok); }
.ok-line::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; flex: 0 0 18px; }
.promo-box { display: flex; gap: 8px; }
.promo-box input { flex: 1; min-width: 0; text-transform: uppercase; }
.promo-box button { border: 0; border-radius: 12px; background: var(--ink); color: #fff; font: 800 .95rem var(--f-body); padding: 0 16px; cursor: pointer; }
.promo-msg { font-size: .85rem; font-weight: 700; }
.promo-msg.ok { color: var(--ok); } .promo-msg.bad { color: var(--cta); }
.code-card { border: 2px dashed var(--ink); border-radius: 18px; padding: 20px; text-align: center; display: grid; gap: 10px; justify-items: center; background: #fff; }
.code { font: 700 1.8rem var(--f-display); letter-spacing: .08em; background: var(--birch); padding: 6px 18px; border-radius: 12px; user-select: all; }
.ship-mode { display: grid; gap: 10px; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: .92rem; background: #F2F6FF; border: 1px solid #C9D6F5; border-radius: 12px; padding: 12px; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--c8); }
.featured-next { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.featured-next > * { min-width: 0; }
.ttt { background: linear-gradient(145deg, #FFB547, #F2873A); display: grid; place-items: center; padding: 28px; }
.ttt-device { background: #FFC94D; border-radius: 28px; padding: 14px; box-shadow: 0 14px 0 #E0A21F, 0 20px 30px rgba(0,0,0,.18); }
.ttt-device .ttt-grid { background: #14161C; border-radius: 16px; padding: 10px; gap: 0; }
.ttt-device .ttt-grid span { background: none; box-shadow: none; border-radius: 0; border-right: 2px solid #E9EEF6; border-bottom: 2px solid #E9EEF6; }
.ttt-device .ttt-grid span:nth-child(3n) { border-right: 0; }
.ttt-device .ttt-grid span:nth-child(n+7) { border-bottom: 0; }
.ttt-device .ttt-grid .x { color: #FF4D4D; text-shadow: 0 0 10px rgba(255,77,77,.7); }
.ttt-device .ttt-grid .o { color: #4DA3FF; text-shadow: 0 0 10px rgba(77,163,255,.7); }
.ttt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(220px, 100%); }
.ttt-grid span { aspect-ratio: 1; border-radius: 14px; background: rgba(120, 80, 30, .16); box-shadow: inset 0 2px 4px rgba(80, 50, 10, .25); display: grid; place-items: center; font: 700 2.2rem var(--f-display); }
.ttt-grid .x { color: var(--c1); } .ttt-grid .o { color: var(--c7); }
.featured-next .fn-body { padding: clamp(20px, 3vw, 32px); display: grid; gap: 12px; align-content: center; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { background: var(--birch); border-radius: 99px; padding: 4px 12px; font-size: .85rem; font-weight: 800; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .featured-next { grid-template-columns: 1fr; }
  .ttt { padding: 18px; }
  .ttt-grid { width: 150px; gap: 6px; }
  .ttt-grid span { font-size: 1.6rem; border-radius: 10px; }
  .upcoming.two { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-grid, .grid-demo, .split, .checkout, .home-hero .wrap, .news, .product-card { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:last-child { grid-column: 1 / -1; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .challenge { grid-template-columns: repeat(2, 1fr); }
  .ship, .upcoming, .values { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .footer .wrap > :first-child { grid-column: 1 / -1; }
  .sticky-buy { display: flex; }
  .nav .hide-sm { display: none; }
  .product-card img { min-height: 0; height: auto; aspect-ratio: 16 / 10; align-self: start; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .compare, .row2 { grid-template-columns: 1fr; }
  .ppo { grid-template-columns: 1fr; }
  .cd-unit { min-width: 44px; }
  .price { font-size: 2rem; }
}
@media (max-width: 900px) {
  .announce { font-size: .78rem; padding: 6px 12px; line-height: 1.35; }
  .header .wrap { height: 56px; }
  .hero { padding-block: 14px 40px; }
  .hero-media img { aspect-ratio: 5 / 4; border-radius: 18px; }
  .thumbs { grid-template-columns: repeat(4, 60px); gap: 8px; }
  .badge-float { font-size: .78rem; padding: 6px 10px; left: 10px; bottom: 10px; }
  .wa-float { width: 50px; height: 50px; right: 12px; }
  .wa-float svg { width: 24px; height: 24px; }
  .upsell-card .muted { font-size: .8rem; line-height: 1.35; }
  .qty button { width: 38px; height: 38px; }
  .section { padding-block: 44px; }
  .faq summary { padding: 16px 0; }
  .board-grid button { min-height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
