:root {
  --ink: #2b1a1e;
  --ink-2: #6b5559;
  --line: #eadfdf;
  --bg: #ffffff;
  --soft: #fbf3f2;
  --pink: #ec6f83;
  --pink-d: #d9566b;
  --green: #3f7a34;
  --r: 16px;
  --rs: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { font-family: 'Gabarito', system-ui, sans-serif; color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

/* ---------- annonce + en-tête ---------- */
.announce { background: var(--pink); color: #fff; height: 36px; position: relative; overflow: hidden; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.announce p { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(8px); transition: .5s; }
.announce p.on { opacity: 1; transform: none; }

.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 1px 0 var(--line); }
.header-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; }
.nav { display: flex; gap: 28px; font-weight: 600; font-size: 15px; }
.nav a:hover, .header-r a:hover { color: var(--pink-d); }
.logo img { height: 52px; width: auto; border-radius: 12px; }
.header-r { display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-weight: 600; font-size: 15px; }
.header-r a { margin-right: 14px; }
.icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; position: relative; }
.icon:hover { background: var(--soft); }
.burger { display: none; }
.cart-btn span { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }
.cart-btn span[hidden] { display: none; }
.cart-btn span.pop { animation: pop .45s; }
@keyframes pop { 40% { transform: scale(1.35); } }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 26px; border-radius: var(--rs); background: var(--ink); color: #fff; font-weight: 700; font-size: 16px; transition: background .2s, transform .2s; }
.btn:hover { background: var(--pink-d); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-s { height: 42px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .4; cursor: default; }
.link { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; margin-top: 8px; }

/* ---------- hero bento ---------- */
.hero { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: min(78vh, 700px); min-height: 520px; margin-top: 8px; }
.tile { position: relative; border-radius: var(--r); overflow: hidden; display: block; text-align: left; background: #e9d6d3; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(43,26,30,.55), rgba(43,26,30,0) 55%); }
.tile-main { grid-row: span 2; }
.tile-main img { object-position: 50% 30%; }
.tile-main::after { background: linear-gradient(90deg, rgba(43,26,30,.7), rgba(43,26,30,.25) 55%, rgba(43,26,30,0) 80%); }
.tile-txt { position: absolute; z-index: 1; left: 0; bottom: 0; padding: 32px; color: #fff; max-width: 560px; }
.tile-main .tile-txt { top: 0; display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.tile h1 { font-size: clamp(40px, 4.6vw, 66px); line-height: .98; font-weight: 800; letter-spacing: -.02em; margin: 14px 0 16px; }
.tile .lead { font-size: 18px; max-width: 400px; margin-bottom: 28px; opacity: .95; }
.tile h2 { font-size: clamp(22px, 2vw, 28px); line-height: 1.08; font-weight: 800; margin: 6px 0 16px; letter-spacing: -.01em; }
.tile-main .btn { align-self: flex-start; }
.tile-pack img { object-position: 60% 40%; }
.tile-new img { object-position: 50% 22%; }
.kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.kicker.dark { color: var(--pink-d); }

.rating { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; fill: #fff; stroke: none; }
.rating.dark .stars svg, .qv-rate .stars svg { fill: var(--green); }

/* ---------- accès au quiz ---------- */
.tile-main { cursor: default; }
.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.quiz-link { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.quiz-link:hover { opacity: .8; }
.card-quiz { aspect-ratio: 1; align-self: start; border-radius: var(--r); background: var(--pink); color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.card-quiz b { font-size: 26px; font-weight: 800; line-height: 1.08; letter-spacing: -.01em; margin-bottom: 8px; }
.card-quiz .btn { align-self: flex-start; }
.card-quiz:hover .btn { background: var(--ink); color: #fff; }

/* ---------- réassurance ---------- */
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.usp li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; background: var(--soft); border-radius: var(--r); padding: 18px 20px; }
.usp svg { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #fff; color: var(--green); stroke-width: 2.2; }
.usp b { font-size: 16px; font-weight: 800; line-height: 1.2; }
.usp span { font-size: 14px; color: var(--ink-2); line-height: 1.3; }

/* ---------- sections ---------- */
.sec { padding: 88px 0; }
.sec-tight { padding: 40px 0 88px; }
.sec-soft { background: var(--soft); }
.h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.sub { color: var(--ink-2); font-size: 17px; margin-top: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }

.tabs { display: flex; gap: 6px; background: var(--soft); padding: 5px; border-radius: 12px; }
.tabs button { height: 40px; padding: 0 16px; border-radius: 8px; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(43,26,30,.12); }

/* ---------- rail produits ---------- */
.rail-wrap { max-width: 1320px; margin: 0 auto; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 32px; padding: 0 32px 4px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; display: flex; flex-direction: column; }
.card-img { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--c); width: 100%; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform .8s; }
.card-img .alt { opacity: 0; }
.card:hover .card-img .alt { opacity: 1; }
.card:hover .card-img img:first-child { transform: scale(1.03); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: #fff; border-radius: 8px; padding: 5px 10px; font-size: 13px; font-weight: 700; }
.card-body { padding: 16px 2px 0; display: flex; flex-direction: column; flex: 1; }
.card-gout { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.card-gout i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.card h3 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; margin: 4px 0 2px; }
.card-note { font-size: 15px; color: var(--ink-2); }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; }
.price { font-size: 19px; font-weight: 800; }
.price small { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.price s { font-size: 15px; font-weight: 500; color: var(--ink-2); margin-left: 6px; }
.add { height: 42px; padding: 0 18px; border-radius: var(--rs); border: 1.5px solid var(--ink); font-weight: 700; font-size: 15px; transition: .2s; }
.add:hover { background: var(--ink); color: #fff; }
.add.done { background: var(--green); border-color: var(--green); color: #fff; }

.rail-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 32px; }
.rail-track { flex: 1; height: 3px; background: var(--line); border-radius: 2px; margin-right: 14px; overflow: hidden; }
.rail-track div { height: 100%; background: var(--ink); border-radius: 2px; transition: width .3s; }
.round { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: .2s; }
.round:hover:not(:disabled) { border-color: var(--ink); }
.round:disabled { opacity: .35; cursor: default; }

/* ---------- gammes ---------- */
.ranges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.range { position: relative; aspect-ratio: 4/5; border-radius: var(--r); overflow: hidden; display: grid; place-items: center; }
.range img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.range::after { content: ''; position: absolute; inset: 0; background: rgba(43,26,30,.28); transition: background .3s; }
.range:hover img { transform: scale(1.05); }
.range:hover::after { background: rgba(43,26,30,.4); }
.range span { position: relative; z-index: 1; color: #fff; font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); text-transform: uppercase; letter-spacing: .01em; }

/* ---------- packs ---------- */
.packs-sec { background: #fdeceb; }
.packs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.packs-head .sub { max-width: 480px; }
.seg { display: flex; background: #fff; padding: 5px; border-radius: 12px; }
.seg button { height: 44px; padding: 0 20px; border-radius: 8px; font-weight: 700; color: var(--ink-2); }
.seg button[aria-checked="true"] { background: var(--ink); color: #fff; }
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pack { background: #fff; border-radius: var(--r); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.pack-img { background: var(--c); position: relative; min-height: 100%; }
.pack-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pack-body { padding: 30px 28px; display: flex; flex-direction: column; }
.pack h3 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 16px; }
.pack-comp li { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-weight: 700; padding: 9px 0; border-top: 1px solid var(--line); }
.pack-comp li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c); align-self: center; }
.pack-comp span { font-weight: 400; color: var(--ink-2); font-size: 14px; }
.pack-qty { font-size: 14px; color: var(--ink-2); margin: 14px 0 6px; }
.pack-price { font-size: 26px; }
.pack-save { color: var(--green); font-weight: 700; font-size: 14px; margin: 2px 0 18px; }
.pack .btn { margin-top: auto; }

/* ---------- café vs matcha ---------- */
.switch-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.switch-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3.4; }
.switch-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.vs { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 16px; }
.vs th, .vs td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.vs thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); padding-top: 0; }
.vs thead th:last-child { color: var(--pink-d); }
.vs tbody th { font-weight: 800; width: 26%; }
.vs td { color: var(--ink-2); width: 34%; }
.vs td:last-child { color: var(--ink); font-weight: 700; background: var(--soft); }
.vs-quote { margin-top: 28px; font-size: 20px; font-weight: 600; line-height: 1.35; }
.vs-quote cite { display: block; font-style: normal; font-size: 14px; color: var(--ink-2); font-weight: 500; margin-top: 8px; }

/* ---------- préparation ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; }
.steps img { aspect-ratio: 3/4; width: 100%; object-fit: cover; border-radius: var(--r); }
.steps b { position: absolute; top: 12px; left: 12px; width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.steps h3 { font-size: 20px; font-weight: 800; margin: 16px 0 4px; }
.steps p { color: var(--ink-2); font-size: 15px; }

/* ---------- accessoires ---------- */
.acc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.acc { display: flex; flex-direction: column; }
.acc-img { aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: #f2d9d8; }
.acc-img img { width: 100%; height: 100%; object-fit: cover; }
.acc h3 { font-size: 17px; font-weight: 700; margin: 14px 0 2px; }
.acc .price { font-size: 17px; margin-bottom: 12px; }
.acc .add { align-self: flex-start; margin-top: auto; }
.soldout { margin-top: auto; font-size: 14px; color: var(--ink-2); font-weight: 600; height: 42px; display: flex; align-items: center; }

/* ---------- avis ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reviews figure { border: 1.5px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.reviews blockquote { font-size: 21px; font-weight: 600; line-height: 1.3; flex: 1; }
.reviews figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.reviews figcaption::before { content: 'A acheté'; }
.reviews figcaption img { order: -1; width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }

/* ---------- chiffres ---------- */
.facts { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.fact-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3.6; }
.fact-img img { width: 100%; height: 100%; object-fit: cover; }
.facts dl { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 36px; }
.facts dt { font-size: clamp(40px, 4vw, 58px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--pink-d); }
.facts dd { color: var(--ink-2); margin-top: 6px; font-size: 15px; }
.press-t { text-align: center; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin: 72px 0 24px; }
.press { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 52px; }
.press img { height: 42px; width: auto; max-width: 150px; object-fit: contain; opacity: .75; }

/* ---------- club ---------- */
.club { position: relative; border-radius: var(--r); overflow: hidden; min-height: 460px; display: flex; align-items: center; padding: 0; max-width: 1256px; }
.club img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.club::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,26,30,.72), rgba(43,26,30,.1) 70%); }
.club-txt { position: relative; z-index: 1; color: #fff; padding: 56px; max-width: 520px; }
.club h2 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; margin: 10px 0 14px; }
.club p:not(.kicker) { font-size: 17px; margin-bottom: 28px; opacity: .95; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq .h2 { margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 40px 22px 0; color: var(--ink-2); font-size: 16px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 72px 0 32px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-logo { height: 64px; width: auto; border-radius: 12px; margin-bottom: 16px; }
.footer p { color: rgba(255,255,255,.7); font-size: 15px; max-width: 260px; }
.footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer a { display: block; color: rgba(255,255,255,.75); font-size: 15px; padding: 4px 0; }
.footer a:hover { color: #fff; }
.foot-note { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px !important; max-width: none !important; }

/* ---------- tiroirs ---------- */
.veil { position: fixed; inset: 0; background: rgba(43,26,30,.45); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 50; }
.veil.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 60; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.drawer.on { transform: none; }
.drawer-l { right: auto; left: 0; transform: translateX(-100%); }
.dr-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 18px 24px; border-bottom: 1px solid var(--line); }
.dr-head h2 { font-size: 22px; font-weight: 800; }
.ship { padding: 16px 24px; background: var(--soft); font-size: 15px; }
.ship-track { height: 6px; background: #fff; border-radius: 3px; margin-top: 10px; overflow: hidden; }
.ship-track div { height: 100%; background: var(--green); border-radius: 3px; transition: width .4s; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-items li { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-items li img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; }
.cart-items .empty { display: block; text-align: center; padding: 56px 0; color: var(--ink-2); border: 0; }
.ci-name { font-weight: 700; line-height: 1.2; }
.ci-sub { font-size: 14px; color: var(--ink-2); }
.ci-price { font-weight: 800; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; margin-top: 8px; }
.qty button { width: 32px; height: 32px; font-size: 18px; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 15px; }
.upsell { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; margin: 0 24px 12px; padding: 12px; border-radius: 12px; background: var(--soft); font-size: 14px; }
.upsell img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.upsell .add { height: 38px; padding: 0 14px; font-size: 14px; }
.dr-foot { padding: 16px 24px 24px; border-top: 1px solid var(--line); }
.total { display: flex; justify-content: space-between; font-size: 18px; margin-bottom: 14px; }
.total b { font-weight: 800; }
.secure { text-align: center; font-size: 13px; color: var(--ink-2); margin-top: 10px; }
.menu-logo { height: 44px; border-radius: 10px; }
.menu-nav { display: flex; flex-direction: column; padding: 12px 24px; }
.menu-nav button { text-align: left; font-size: 24px; font-weight: 800; padding: 14px 0; border-bottom: 1px solid var(--line); }

.modal { position: fixed; z-index: 60; left: 50%; top: 50%; width: min(980px, calc(100% - 48px)); max-height: calc(100% - 48px); overflow-y: auto; background: #fff; border-radius: 20px; transform: translate(-50%, -46%); opacity: 0; transition: .3s; }
.modal.on { transform: translate(-50%, -50%); opacity: 1; }
.modal > .close { position: absolute; top: 14px; right: 14px; z-index: 2; background: #fff; }
.qv-body { display: grid; grid-template-columns: 1fr 1fr; }
.qv-img { background: var(--c); aspect-ratio: 1; }
.qv-img img { width: 100%; height: 100%; object-fit: cover; }
.qv-info { padding: 40px 36px 32px; display: flex; flex-direction: column; }
.qv-info h2 { font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1; margin: 6px 0 10px; }
.qv-rate { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.qv-rate span { font-weight: 400; color: var(--ink-2); }
.qv-txt { margin: 16px 0 22px; color: var(--ink-2); font-size: 16px; }
.sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.sizes button { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; text-align: left; display: grid; grid-template-columns: 1fr auto; row-gap: 2px; }
.sizes button[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sizes b { font-weight: 800; }
.sizes span { grid-row: 2; font-size: 13px; color: var(--ink-2); }
.sizes em { font-style: normal; font-weight: 800; grid-row: span 2; align-self: center; }
.sizes button:only-child { grid-column: span 2; }
.qv-list { margin-top: 20px; font-size: 14px; color: var(--ink-2); display: grid; gap: 6px; }
.qv-list li { padding-left: 22px; position: relative; }
.qv-list li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }


/* ---------- quiz ---------- */
.quiz-sec { background: var(--soft); }
.quiz-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.quiz { background: #fff; border-radius: 20px; padding: 36px; min-height: 360px; display: flex; flex-direction: column; justify-content: center; }
.qz-top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.qz-dots { display: flex; gap: 6px; }
.qz-dots i { width: 28px; height: 4px; border-radius: 2px; background: var(--line); }
.qz-dots i.on { background: var(--pink); }
.quiz h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.02em; margin: 18px 0 22px; line-height: 1.1; }
.qz-ans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qz-ans button { border: 1.5px solid var(--line); border-radius: 12px; padding: 18px; text-align: left; font-weight: 700; font-size: 17px; transition: .2s; }
.qz-ans button:hover { border-color: var(--ink); background: var(--soft); }
.qz-back { align-self: flex-start; margin-top: 18px; }
.qz-res { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.qz-res-img { border-radius: 16px; overflow: hidden; background: var(--c); aspect-ratio: 1; }
.qz-res-img img { width: 100%; height: 100%; object-fit: cover; }
.qz-res h3 { margin: 4px 0 8px; font-size: 36px; }
.qz-why { color: var(--ink-2); font-size: 15px; margin-bottom: 18px; }
.qz-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.qz-cta .btn { height: 46px; padding: 0 18px; font-size: 15px; }
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.qz-alt { margin-top: 18px; font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 8px; padding: 5px 10px; font-weight: 700; color: var(--ink); font-size: 14px; }
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.chip:hover { border-color: var(--ink); }
.qz-pack { font-size: 14px; color: var(--ink-2); margin-top: 12px; }
.qz-pack .link, .qz-again { font-size: 14px; margin: 0; }
.qz-again { margin-top: 14px; color: var(--ink-2); display: block; }

/* ---------- calcul ---------- */
.calc-sec { background: var(--ink); color: #fff; }
.calc-sec .kicker.dark { color: #f7a3b0; }
.calc-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.calc-ctrl { margin-top: 36px; display: grid; gap: 28px; }
.calc-ctrl label span { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 12px; color: rgba(255,255,255,.8); }
.calc-ctrl b { color: #fff; font-size: 20px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: rgba(255,255,255,.2); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--pink); border: 4px solid #fff; cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--pink); border: 4px solid #fff; cursor: pointer; }
.calc-out { background: #fff; color: var(--ink); border-radius: 20px; padding: 32px; }
.calc-row { display: grid; grid-template-columns: 1fr auto; row-gap: 8px; margin-bottom: 20px; font-weight: 600; }
.calc-row b { font-size: 22px; font-weight: 800; }
.calc-bar { grid-column: span 2; height: 12px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.calc-bar i { display: block; height: 100%; background: #b9a9ab; border-radius: 6px; transition: width .4s; }
.calc-row.home .calc-bar i { background: var(--green); }
.calc-save { font-size: 20px; line-height: 1.35; padding: 18px 0; border-top: 1px solid var(--line); }
.calc-save b { color: var(--green); font-weight: 800; }
.calc-note { font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }

/* ---------- abonnement ---------- */
.sub-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.sub-pick { background: var(--soft); border-radius: 20px; padding: 32px; }
.step-t { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.step-t b { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; }
.sub-flavors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 28px; }
.sub-flavors button { border-radius: 12px; overflow: hidden; background: #fff; border: 2px solid transparent; text-align: center; transition: .2s; }
.sub-flavors button[aria-checked="true"] { border-color: var(--ink); }
.sub-flavors img { aspect-ratio: 1; width: 100%; object-fit: cover; background: var(--c); }
.sub-flavors span { display: block; font-size: 12px; font-weight: 700; padding: 6px 4px; line-height: 1.15; }
.sub-per { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sub-per button { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 10px; font-weight: 700; font-size: 15px; }
.sub-per button[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.sub-perks { margin-top: 24px; display: grid; gap: 8px; font-weight: 600; }
.sub-perks li, .qv-list li { padding-left: 24px; position: relative; }
.sub-perks li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.sub-card { border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.sub-img { aspect-ratio: 1.3; overflow: hidden; }
.sub-img img { width: 100%; height: 100%; object-fit: cover; }
.sub-sum { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.sub-name { font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.sub-line { font-weight: 600; }
.sub-days { color: var(--ink-2); font-size: 15px; margin: 4px 0 12px; }
.sub-price { font-size: 26px; margin-bottom: 16px; margin-top: auto; }

/* ---------- recettes ---------- */
.recipes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.recipes a { display: block; }
.recipes img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: var(--r); transition: transform .6s; }
.recipes a:hover img { transform: scale(1.02); }
.recipes span { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--green); }
.recipes h3 { font-size: 20px; font-weight: 800; margin-top: 2px; }
.qv-sub { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.qv-sub .link { margin: 0; font-size: 14px; color: var(--ink); }
.qv-rec { margin-top: 20px; background: var(--soft); border-radius: 12px; padding: 16px 18px; }
.qv-rec h3 { font-size: 18px; font-weight: 800; margin: 2px 0 2px; }
.qv-rec p:last-child { font-size: 15px; color: var(--ink-2); }

/* ---------- vidéos ---------- */
.ugc { display: grid; grid-auto-flow: column; grid-auto-columns: 260px; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 32px 4px; scroll-padding: 0 32px; scrollbar-width: none; }
.ugc::-webkit-scrollbar { display: none; }
.reel { position: relative; aspect-ratio: 9/16; border-radius: var(--r); overflow: hidden; background: #e9d6d3; scroll-snap-align: start; }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(43,26,30,.65), rgba(43,26,30,0) 45%); pointer-events: none; }
.reel figcaption { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; color: #fff; display: grid; gap: 10px; }
.reel blockquote { font-weight: 700; font-size: 15px; line-height: 1.3; }
.reel-p { display: flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-radius: 10px; padding: 6px; text-align: left; font-size: 13px; }
.reel-p img { width: 40px; height: 40px; border-radius: 7px; object-fit: cover; }
.reel-p b { display: block; font-size: 14px; }
.reel-sound { position: absolute; z-index: 2; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; display: grid; place-items: center; }
.reel-sound svg { width: 18px; height: 18px; }
.reel-sound .w { opacity: .25; }
.reel.sound .reel-sound { background: var(--pink); }
.reel.sound .reel-sound .w { opacity: 1; }
.reviews figcaption.named::before { content: none; }
.reviews figcaption.named { font-size: 15px; color: var(--ink); font-weight: 800; }

/* ---------- revendeurs ---------- */
.shops { display: grid; grid-template-columns: 360px 1fr; gap: 20px; height: 520px; }
.shops-side { display: flex; flex-direction: column; min-height: 0; }
.shop-search { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; height: 50px; }
.shop-search:focus-within { border-color: var(--ink); }
.shop-search input { border: 0; outline: 0; font: inherit; font-size: 16px; flex: 1; min-width: 0; background: none; color: var(--ink); }
.shop-types { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.shop-types button { border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 12px; font-weight: 700; font-size: 14px; }
.shop-types button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.shop-count { font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.shop-list { flex: 1; overflow-y: auto; min-height: 0; }
.shop-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.shop-list button:hover { background: var(--soft); }
.shop-list i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.shop-list b { display: block; font-size: 15px; }
.shop-list span { font-size: 14px; color: var(--ink-2); }
.shop-list .empty { padding: 20px 4px; color: var(--ink-2); font-size: 15px; }
.demo-flag { font-size: 12px; color: var(--pink-d); font-weight: 700; margin-top: 10px; }
.map { border-radius: var(--r); overflow: hidden; background: var(--soft); z-index: 0; }
.leaflet-container { font-family: inherit; }
.leaflet-container svg { width: auto; height: auto; stroke-width: initial; }

@media (max-width: 1080px) {
  .quiz-in, .calc-in { grid-template-columns: 1fr; gap: 32px; }
  .sub-box { grid-template-columns: 1fr; }
  .recipes { grid-template-columns: repeat(2, 1fr); }
  .shops { grid-template-columns: 1fr; height: auto; }
  .shop-list { max-height: 260px; }
  .map { height: 380px; }
}
@media (max-width: 720px) {
  .quiz { padding: 22px 18px; min-height: 0; }
  .qz-ans { grid-template-columns: 1fr; }
  .qz-ans button { padding: 15px 16px; font-size: 16px; }
  .qz-res { grid-template-columns: 1fr; gap: 18px; }
  .qz-res-img { aspect-ratio: 1.4; }
  .qz-res h3 { font-size: 30px; }
  .calc-out { padding: 22px 18px; }
  .calc-save { font-size: 18px; }
  .sub-pick { padding: 20px 16px; }
  .sub-flavors { grid-template-columns: repeat(4, 1fr); }
  .sub-per { grid-template-columns: 1fr; }
  .recipes { gap: 12px; }
  .recipes h3 { font-size: 16px; }
  .ugc { grid-auto-columns: 62%; gap: 10px; padding: 0 16px 4px; scroll-padding: 0 16px; }
  .map { height: 320px; }
}

/* ---------- tablette ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; margin-left: -10px; }
  .rail { grid-auto-columns: calc((100% - 64px - 2 * 20px) / 2.6); }
  .acc-grid { grid-template-columns: repeat(3, 1fr); }
  .usp { grid-template-columns: repeat(2, 1fr); }
  .pack { grid-template-columns: 1fr; }
  .pack-img { aspect-ratio: 1.3; }
  .ranges { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- mobile ---------- */
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .announce { font-size: 11.5px; height: 32px; }
  .header-in { height: 62px; }
  .logo img { height: 42px; }
  .hide-m { display: none !important; }
  .hero { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; min-height: 0; gap: 10px; }
  .tile-main { grid-column: span 2; grid-row: auto; aspect-ratio: 4/5; }
  .tile-main::after { background: linear-gradient(0deg, rgba(43,26,30,.7), rgba(43,26,30,0) 60%); }
  .tile-main .tile-txt { top: auto; padding: 22px; }
  .hero-cta { gap: 16px; }
  .card-quiz { padding: 22px; }
  .card-quiz b { font-size: 22px; }
  .tile-main img { object-position: 50% 20%; }
  .tile h1 { font-size: 38px; margin: 10px 0 10px; }
  .tile .lead { font-size: 16px; margin-bottom: 18px; }
  .tile-side { aspect-ratio: 1/1.15; }
  .tile-side .tile-txt { padding: 14px; }
  .tile h2 { font-size: 17px; margin-bottom: 10px; }
  .tile-side .btn { height: 36px; padding: 0 14px; font-size: 14px; }
  .kicker { font-size: 11.5px; }
  .usp { gap: 8px; margin-top: 10px; }
  .usp li { grid-template-columns: 1fr; padding: 14px; gap: 4px; }
  .usp svg { grid-row: auto; width: 34px; height: 34px; padding: 7px; margin-bottom: 4px; }
  .usp b { font-size: 15px; }
  .usp span { font-size: 13px; }
  .sec { padding: 60px 0; }
  .sec-tight { padding: 20px 0 60px; }
  .sec-head { margin-bottom: 22px; }
  .tabs { width: 100%; overflow-x: auto; }
  .tabs button { flex: 1; padding: 0 10px; font-size: 14px; white-space: nowrap; }
  .rail { grid-auto-columns: 72%; gap: 12px; padding: 0 16px 4px; scroll-padding: 0 16px; }
  .card h3 { font-size: 19px; }
  .add { padding: 0 14px; }
  .ranges { gap: 10px; margin-top: 20px; }
  .range { aspect-ratio: 1; }
  .packs { grid-template-columns: 1fr; }
  .seg { width: 100%; }
  .seg button { flex: 1; }
  .pack-body { padding: 22px 20px; }
  .switch-in, .facts { grid-template-columns: 1fr; gap: 28px; }
  .vs { font-size: 14px; }
  .vs th, .vs td { padding: 12px 8px; }
  .steps { gap: 12px; }
  .steps h3 { font-size: 17px; }
  .steps p { font-size: 14px; }
  .acc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .reviews { grid-template-columns: 1fr; }
  .reviews blockquote { font-size: 19px; }
  .facts dl { gap: 22px 16px; }
  .press { gap: 18px 30px; }
  .press img { height: 30px; max-width: 110px; }
  .club { margin: 0 16px; min-height: 520px; align-items: flex-end; }
  .club::after { background: linear-gradient(0deg, rgba(43,26,30,.8), rgba(43,26,30,.05) 75%); }
  .club-txt { padding: 26px; }
  .faq summary { font-size: 17px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > div:first-child { grid-column: span 2; }
  .modal { width: 100%; max-height: 92%; top: auto; bottom: 0; left: 0; border-radius: 20px 20px 0 0; transform: translateY(100%); opacity: 1; }
  .modal.on { transform: none; }
  .qv-body { grid-template-columns: 1fr; }
  .qv-img { aspect-ratio: 1.25; }
  .qv-info { padding: 22px 18px 26px; }
  .qv-info h2 { font-size: 30px; }
}

/* ---------- barre d'achat mobile ---------- */
.mbar { display: none; }
* { -webkit-tap-highlight-color: transparent; }
.btn:active, .add:active, .round:active, .qz-ans button:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- mobile : optimisation ---------- */
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .sec { padding: 48px 0; }
  .sec-tight { padding: 12px 0 48px; }
  .h2 { font-size: 28px; }
  .sub { font-size: 15.5px; margin-top: 8px; }
  .sec-head { margin-bottom: 18px; }

  /* sections longues → swipe horizontal */
  .m-rail { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; scroll-padding: 0 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .m-rail::-webkit-scrollbar { display: none; }
  .m-rail > * { scroll-snap-align: start; }
  .packs.m-rail { grid-auto-columns: 88%; }
  .steps.m-rail { grid-auto-columns: 62%; }
  .recipes.m-rail { grid-auto-columns: 56%; }
  .acc-grid.m-rail { grid-auto-columns: 44%; }
  .reviews.m-rail { grid-auto-columns: 84%; }
  .rail, .ugc { overscroll-behavior-x: contain; }

  /* hero et réassurance */
  .tile-side .btn { height: 40px; }
  .quiz-link { padding: 10px 0; }
  .usp li { padding: 12px; }
  .usp span { font-size: 12.5px; }

  /* produits */
  .rail { grid-auto-columns: 64%; }
  .card-body { padding-top: 12px; }
  .card h3 { font-size: 18px; }
  .card-note { font-size: 14px; }
  .price { font-size: 17px; }
  .add { height: 44px; }
  .card-quiz b { font-size: 20px; }

  /* packs */
  .packs-head { margin-bottom: 20px; }
  .pack-img { aspect-ratio: 1.8; }
  .pack h3 { font-size: 24px; margin-bottom: 10px; }
  .pack-comp li { padding: 7px 0; font-size: 15px; }
  .pack-qty { margin-top: 10px; }
  .pack-price { font-size: 22px; }
  .pack-save { margin-bottom: 14px; }

  /* café vs matcha */
  .switch-img { aspect-ratio: 16/10; }
  .vs { margin-top: 18px; }
  .vs tbody th { width: 24%; font-size: 13.5px; }
  .vs-quote { font-size: 17px; margin-top: 18px; }

  /* calcul */
  .calc-ctrl { margin-top: 24px; gap: 20px; }
  input[type=range] { height: 8px; }
  input[type=range]::-webkit-slider-thumb { width: 32px; height: 32px; }

  /* abonnement */
  .sub-flavors { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84px; overflow-x: auto; margin: 0 -16px 22px; padding: 0 16px 4px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .sub-flavors::-webkit-scrollbar { display: none; }
  .sub-flavors button { scroll-snap-align: start; }
  .sub-per { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .sub-per button { padding: 12px 6px; font-size: 13.5px; line-height: 1.2; min-height: 52px; }
  .sub-perks { margin-top: 18px; font-size: 14.5px; }
  .sub-img { aspect-ratio: 2.1; }
  .sub-img img { object-position: 50% 60%; }
  .sub-sum { padding: 18px; }
  .sub-name { font-size: 22px; }

  /* préparation, recettes, accessoires */
  .steps img { aspect-ratio: 4/5; }
  .recipes h3 { font-size: 16px; }
  .acc h3 { font-size: 15px; }

  /* vidéos et avis */
  .ugc { grid-auto-columns: 58%; }
  .reel-sound { width: 44px; height: 44px; top: 8px; right: 8px; }
  .reviews figure { padding: 20px; }
  .reviews blockquote { font-size: 17px; }

  /* chiffres, carte, club, footer */
  .fact-img { aspect-ratio: 16/10; }
  .facts dl { margin-top: 22px; }
  .facts dt { font-size: 36px; }
  .press-t { margin: 40px 0 18px; }
  .press { gap: 16px 26px; }
  .press img { height: 26px; }
  .map { height: 280px; }
  .shop-list { max-height: 220px; }
  .shop-types button { padding: 9px 12px; }
  .club { min-height: 440px; }
  .footer { padding: 48px 0 calc(110px + env(safe-area-inset-bottom)); }
  .footer a { padding: 9px 0; }
  .foot-note { margin-top: 32px; }

  /* fiche rapide : bouton d'ajout toujours visible */
  .qv-info #qvAdd { position: sticky; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 2; box-shadow: 0 8px 24px rgba(43,26,30,.25); }
  .dr-foot { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .qty button { width: 40px; height: 40px; }

  /* barre d'achat */
  .mbar { display: flex; align-items: center; gap: 12px; position: fixed; z-index: 45; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); background: #fff; border-radius: 16px; padding: 10px 10px 10px 16px; box-shadow: 0 10px 30px rgba(43,26,30,.22); transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .mbar.on { transform: none; }
  .veil.on ~ .mbar, body:has(.drawer.on) .mbar, body:has(.modal.on) .mbar { transform: translateY(140%); }
  .mbar-txt { flex: 1; min-width: 0; line-height: 1.25; }
  .mbar-txt b { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; }
  .mbar-txt .stars svg { width: 13px; height: 13px; fill: var(--green); }
  .mbar-txt span { display: block; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mbar .btn { height: 46px; padding: 0 18px; font-size: 15px; flex: none; }
}
.sub-box > *, .quiz-in > *, .calc-in > *, .switch-in > *, .facts > * { min-width: 0; }
@media (max-width: 1080px) { .sub-box { grid-template-columns: minmax(0, 1fr); } }

/* ---------- hero : lisibilité des textes sur photo ---------- */
.tile::after { background: linear-gradient(0deg, rgba(43,26,30,.88) 0%, rgba(43,26,30,.6) 38%, rgba(43,26,30,0) 72%); }
.tile-main::after { background: linear-gradient(90deg, rgba(43,26,30,.86) 0%, rgba(43,26,30,.62) 42%, rgba(43,26,30,.15) 72%, rgba(43,26,30,0) 100%); }
.tile-txt { text-shadow: 0 1px 2px rgba(0,0,0,.35), 0 2px 18px rgba(0,0,0,.3); }
.tile-txt .btn { text-shadow: none; }
.tile .lead { opacity: 1; font-weight: 600; }
.tile .kicker { color: #fff; }
.tile .rating { font-weight: 700; }
@media (max-width: 720px) {
  .tile-main::after { background: linear-gradient(0deg, rgba(43,26,30,.92) 0%, rgba(43,26,30,.72) 45%, rgba(43,26,30,.15) 75%, rgba(43,26,30,0) 100%); }
  .tile-side::after { background: linear-gradient(0deg, rgba(43,26,30,.92) 0%, rgba(43,26,30,.7) 50%, rgba(43,26,30,0) 85%); }
}

/* ---------- typographie : titres équilibrés, pas de mot seul en fin de ligne ---------- */
h1, h2, h3, .h2, .tile h2, blockquote, .card-quiz b { text-wrap: balance; }
p, li, dd, figcaption, summary { text-wrap: pretty; }

/* ---------- mobile : alignements fins ---------- */
.secure { text-wrap: balance; }
@media (max-width: 720px) {
  /* note sous les titres : étoiles et texte sur la même ligne */
  .sub { display: block; }
  .sub .rating { display: inline-flex; vertical-align: -2px; margin-right: 6px; }

  /* flèches inutiles au doigt : seule la barre de progression reste */
  .rail-ctrl .round { display: none; }
  .rail-track { margin-right: 0; }
  .rail-ctrl { margin-top: 22px; }

  /* tableau café / matcha en lignes empilées */
  .vs thead { display: none; }
  .vs, .vs tbody { display: block; }
  .vs tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .vs th, .vs td { border: 0; padding: 0; width: auto !important; }
  .vs tbody th { grid-column: span 2; font-size: 15px; margin-bottom: 8px; }
  .vs td { font-size: 14px; padding: 10px 12px; border-radius: 10px; background: #f6f1f1; line-height: 1.3; }
  .vs td:last-child { background: var(--soft); box-shadow: inset 0 0 0 1.5px #f3c9cf; }
  .vs td::before { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 3px; }
  .vs td:nth-of-type(1)::before { content: 'Café'; }
  .vs td:nth-of-type(2)::before { content: 'Ma-TchaTcha'; color: var(--pink-d); }

  /* récap abonnement : photo à gauche, infos à droite */
  .sub-card { display: grid; grid-template-columns: 112px 1fr; }
  .sub-img { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .sub-img img { object-position: 50% 50%; }
  .sub-sum { padding: 14px 14px 14px 16px; }
  .sub-name { font-size: 20px; }
  .sub-line, .sub-days { font-size: 14px; }
  .sub-price { font-size: 22px; margin: 8px 0 10px; }
  .sub-sum .btn { height: 46px; }
  .sub-sum .secure { font-size: 12px; margin-top: 8px; }

  /* accessoires : « Bientôt de retour » aligné sur les boutons */
  .soldout { height: 44px; }

  /* logos partenaires : 4 par ligne, centrés */
  .press { gap: 18px 0; }
  .press img { flex: 0 0 calc(25% - 1px); padding: 0 8px; height: 28px; max-width: none; }

  /* filtres revendeurs sur une seule ligne qui défile */
  .shop-types { flex-wrap: nowrap; overflow-x: auto; margin: 12px -16px; padding: 0 16px; scrollbar-width: none; }
  .shop-types::-webkit-scrollbar { display: none; }
  .shop-types button { flex: none; }

  /* titres de section : même rythme partout */
  .kicker + .h2 { margin-top: 6px; }
  .recettes-head .link, #recettes .sec-head .link { margin-top: 0; }
}
@media (max-width: 720px) {
  .press { display: grid; grid-template-columns: repeat(8, 1fr); gap: 20px 0; }
  .press img { grid-column: span 2; width: 100%; min-width: 0; height: 28px; padding: 0 8px; object-fit: contain; }
  .press img:nth-child(5) { grid-column: 2 / span 2; }
}

/* ---------- langue ---------- */
.lang { font-weight: 800; font-size: 13px; letter-spacing: .06em; border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 9px; margin-right: 6px !important; }
.lang:hover { border-color: var(--ink); color: var(--ink) !important; }

/* ---------- paliers cadeaux (panier et pack) ---------- */
.tier-msg { font-size: 15px; margin-bottom: 14px; }
.tier-msg b { color: var(--green); }
.tiers { position: relative; height: 6px; background: #fff; border-radius: 3px; margin: 22px 14px 30px; }
.tiers-fill { position: absolute; inset: 0 auto 0 0; background: var(--green); border-radius: 3px; transition: width .4s; }
.tier { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; overflow: visible; transition: .3s; }
.tier img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: grayscale(1); opacity: .55; }
.tier svg { width: 18px; height: 18px; color: var(--ink-2); }
.tier em { position: absolute; top: 38px; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.tier.on { border-color: var(--green); }
.tier.on img { filter: none; opacity: 1; }
.tier.on svg, .tier.on em { color: var(--green); }
.tier:last-child { transform: translate(-70%, -50%); }
.tiers.compact { margin: 18px 12px 30px; background: var(--soft); }
.points { font-size: 14px; color: var(--ink-2); background: var(--soft); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }
.points b { color: var(--ink); }

/* ---------- compose ton pack ---------- */
.builder { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.b-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.b-item { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 10px; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px; transition: border-color .2s, background .2s; }
.b-item.on { border-color: var(--ink); background: var(--soft); }
.b-item img { grid-row: span 2; width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--c); }
.b-item p { line-height: 1.2; }
.b-item b { display: block; font-size: 15px; }
.b-item span { font-size: 13px; color: var(--ink-2); }
.b-qty { display: flex; align-items: center; gap: 4px; }
.b-qty button { width: 36px; height: 36px; border-radius: 9px; border: 1.5px solid var(--line); background: #fff; font-size: 18px; font-weight: 700; }
.b-qty button:last-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.b-qty button:disabled { opacity: .35; }
.b-qty span { min-width: 26px; text-align: center; font-weight: 800; }
.b-sum { position: sticky; top: 96px; border-radius: 18px; background: var(--soft); padding: 22px; }
.b-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; margin-bottom: 10px; }
.b-head span { font-size: 14px; color: var(--ink-2); }
.b-lines { display: grid; gap: 6px; margin-bottom: 16px; font-size: 14.5px; max-height: 190px; overflow-y: auto; }
.b-lines li { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.b-lines li i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.b-lines li span { color: var(--ink-2); font-weight: 400; margin-left: auto; }
.b-lines .b-empty { color: var(--ink-2); font-weight: 400; }
.b-tiers .tier-msg { font-size: 14px; }
.b-tiers .tiers { background: #fff; }

/* ---------- idées cadeaux ---------- */
.gifts-sec { background: linear-gradient(180deg, #fdeceb, #fff 70%); }
.g-filter { margin: 0; }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gift { display: flex; flex-direction: column; }
.gift-img { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: #f2d9d8; }
.gift-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.gift:hover .gift-img img { transform: scale(1.03); }
.gift h3 { font-size: 17px; font-weight: 800; line-height: 1.2; margin: 14px 0 4px; }
.gift-txt { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
.gift-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gift-amount { height: 42px; border: 1.5px solid var(--line); border-radius: var(--rs); padding: 0 10px; font: inherit; font-weight: 700; background: #fff; color: var(--ink); }

/* ---------- recherche ---------- */
.modal.search { top: 24px; left: 50%; width: min(720px, calc(100% - 32px)); transform: translate(-50%, -12px); max-height: calc(100% - 48px); padding: 18px; display: flex; flex-direction: column; }
.modal.search.on { transform: translate(-50%, 0); }
.modal.search > .close { top: 18px; right: 18px; }
.s-field { display: flex; align-items: center; gap: 10px; height: 52px; border: 1.5px solid var(--ink); border-radius: 12px; padding: 0 14px; margin-right: 52px; }
.s-field input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 17px; background: none; color: var(--ink); }
.s-res { overflow-y: auto; margin-top: 14px; }
.s-hint { color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; padding: 6px 2px; }
.s-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; }
.s-item:hover { background: var(--soft); }
.s-item img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; }
.s-item b { display: block; font-size: 15px; }
.s-item span { font-size: 13.5px; color: var(--ink-2); }
.s-item em { font-style: normal; font-weight: 800; font-size: 15px; white-space: nowrap; }
.s-item em small { font-weight: 500; color: var(--ink-2); }
.qv-more { display: inline-block; margin-top: 16px; font-size: 15px; }

/* ---------- page produit ---------- */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); padding-top: 18px; padding-bottom: 18px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; padding-bottom: 40px; }
.pdp-gal { position: sticky; top: 96px; display: grid; gap: 12px; }
.pdp-main { position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--c); }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 10px; }
.pdp-thumbs button { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; }
.pdp-thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(38px, 4vw, 56px); font-weight: 800; letter-spacing: -.02em; line-height: 1; margin: 8px 0 12px; }
.pdp-txt { font-size: 18px; color: var(--ink-2); margin: 18px 0 24px; }
.pdp-label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin: 18px 0 10px; }
.buy-modes { display: grid; gap: 10px; }
.buy-modes > button { border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.buy-modes > button[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--soft); }
.buy-modes b { display: flex; align-items: center; gap: 8px; }
.buy-modes em { font-style: normal; font-weight: 800; }
.buy-sub { grid-column: span 2; font-size: 13.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.buy-sub select { font: inherit; font-weight: 700; color: var(--ink); border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 8px; background: #fff; }
.buy-modes.off [data-mode="sub"] { opacity: .45; cursor: not-allowed; }
.pill { background: var(--green); color: #fff; border-radius: 6px; padding: 2px 7px; font-size: 12px; }
.pdp-add { margin-top: 18px; height: 56px; font-size: 17px; }
.pdp-perks { margin-top: 18px; }
.acc-list { margin-top: 26px; border-top: 1px solid var(--line); }
.acc-list details { border-bottom: 1px solid var(--line); }
.acc-list summary { list-style: none; cursor: pointer; padding: 18px 32px 18px 0; font-weight: 800; font-size: 17px; position: relative; }
.acc-list summary::-webkit-details-marker { display: none; }
.acc-list summary::after { content: '+'; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; transition: transform .25s; }
.acc-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc-list details p, .pdp-steps { padding: 0 0 18px; color: var(--ink-2); }
.pdp-steps { padding-left: 20px; list-style: decimal; display: grid; gap: 4px; }
.rail-static { grid-auto-columns: calc((100% - 64px - 3 * 20px) / 4); }
body[data-page="pdp"] .reviews { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1080px) {
  .builder { grid-template-columns: 1fr; }
  .b-grid { grid-template-columns: repeat(2, 1fr); }
  .b-sum { position: static; }
  .g-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .pdp-gal { position: static; }
}
@media (max-width: 720px) {
  .lang { padding: 5px 7px; }
  .header-r .lang { display: inline-block !important; margin-right: 2px !important; }
  .b-grid { grid-template-columns: 1fr; gap: 8px; }
  .b-item { grid-template-columns: 56px 1fr auto; grid-template-rows: auto; padding: 8px; }
  .b-item img { grid-row: auto; width: 56px; height: 56px; }
  .b-qty button { width: 40px; height: 40px; }
  .b-sum { position: sticky; bottom: calc(8px + env(safe-area-inset-bottom)); top: auto; margin: 4px -6px 0; box-shadow: 0 -6px 24px rgba(43,26,30,.12); padding: 16px; background: #fff; border: 1.5px solid var(--line); }
  .b-sum .b-lines { display: none; }
  .b-sum .tier-msg { font-size: 13.5px; margin-bottom: 8px; }
  .b-sum .tiers { margin: 14px 12px 26px; }
  .b-sum .total { margin-bottom: 10px; font-size: 16px; }
  .b-sum .secure { display: none; }
  #composer .seg { width: 100%; }
  .g-grid.m-rail { grid-template-columns: none; grid-auto-columns: 64%; }
  .gift h3 { font-size: 15.5px; }
  .gift-txt { font-size: 13px; }
  .modal.search { top: 0; width: 100%; max-height: 100%; height: 100%; border-radius: 0; transform: translate(-50%, -20px); }
  .s-field { margin-right: 48px; }
  .crumbs { font-size: 13px; padding-top: 12px; padding-bottom: 12px; }
  .pdp-main { border-radius: 16px; }
  .pdp-thumbs button { width: 64px; height: 64px; }
  .pdp-txt { font-size: 16px; margin: 12px 0 16px; }
  .pdp-info h1 { font-size: 36px; }
  .rail-static { grid-auto-columns: 64%; }
  body[data-page="pdp"] .reviews { grid-template-columns: none; }
  body[data-page="pdp"] .mbar .btn { min-width: 110px; }
}

/* un élément masqué reste masqué, quel que soit son display */
[hidden] { display: none !important; }

/* ---------- réassurance mobile : un seul bloc, 2 × 2, séparé par des filets ---------- */
@media (max-width: 720px) {
  .usp { grid-template-columns: 1fr 1fr; gap: 0; margin-top: 10px; background: var(--soft); border-radius: 16px; overflow: hidden; }
  .usp li { background: none; border-radius: 0; padding: 14px 12px; display: grid; grid-template-columns: 26px 1fr; column-gap: 8px; row-gap: 1px; align-items: center; }
  .usp li:nth-child(odd) { border-right: 1px solid #f0dcdc; }
  .usp li:nth-child(-n+2) { border-bottom: 1px solid #f0dcdc; }
  .usp svg { grid-row: auto; width: 26px; height: 26px; padding: 5px; margin: 0; background: #fff; stroke-width: 2.4; }
  .usp b { font-size: 14px; line-height: 1.15; }
  .usp span { grid-column: 2; font-size: 12px; line-height: 1.3; }
}
@media (max-width: 720px) {
  .usp.wrap { margin: 10px 16px 0; padding: 0; width: auto; }
  .usp li { align-items: start; align-content: start; }
  .usp b { align-self: center; }
}

/* ---------- Accueil allégé : avis + vidéos en un bloc, pages Le rituel / Compose ton pack ---------- */
.proof .rail-wrap + .wrap { margin-top: 36px; }
.proof .press-t { margin-top: 56px; }
.packs-more { text-align: center; margin-top: 28px; font-weight: 600; }
.page-intro { padding: 56px 0 8px; }
.page-intro .h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.jump a { padding: 9px 16px; border-radius: 99px; background: var(--soft); font-weight: 600; font-size: 14px; }
.jump a:hover { background: #f6e3e2; }
.menu-t { margin: 18px 0 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
body[data-page="composer"] #composer { padding-top: 56px; }
@media (max-width: 720px) {
  .proof .rail-wrap + .wrap { margin-top: 24px; }
  .proof .press-t { margin-top: 40px; }
  .packs-more { margin-top: 18px; font-size: 15px; }
  .page-intro { padding: 32px 0 0; }
  .jump { flex-wrap: nowrap; overflow-x: auto; margin: 18px -16px 0; padding: 0 16px; scrollbar-width: none; }
  .jump a { flex: none; }
  body[data-page="composer"] #composer { padding-top: 32px; }
}

/* ---------- Quiz en fenêtre (plus de section sur l'accueil) ---------- */
.quiz-m { width: min(760px, calc(100% - 48px)); }
.quiz-m .quiz { min-height: 420px; padding: 44px 40px 36px; border-radius: 0; background: none; }
.quiz-m .qz-top { padding-right: 44px; }
.card .price small { font-size: 13px; font-weight: 600; color: var(--ink-2); }
@media (max-width: 720px) {
  .quiz-m { width: 100%; }
  .quiz-m .quiz { min-height: 0; padding: 22px 18px calc(24px + env(safe-area-inset-bottom)); }
}

/* ---------- Coverflow des saveurs (remplace le carrousel à plat) ---------- */
#saveurs { --c: #d9c19d; background: radial-gradient(90% 60% at 50% 58%, color-mix(in srgb, var(--c) 38%, #fff) 0%, #fff 72%); transition: background .6s; }
.cf { position: relative; height: 470px; margin-top: 8px; perspective: 1000px; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.cf:active { cursor: grabbing; }
.cf-ring { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; }
.cf-card { position: absolute; width: 340px; aspect-ratio: 1; left: -170px; top: -170px; border-radius: 26px; overflow: hidden; background: var(--c);
  box-shadow: 0 30px 50px -24px rgba(43,26,30,.45); will-change: transform; backface-visibility: hidden; -webkit-user-drag: none; }
.cf-card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.cf-card::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,var(--fog, 0)); pointer-events: none; }
.cf .round { position: absolute; top: 50%; transform: translateY(-50%); z-index: 200; background: #fff; box-shadow: 0 6px 20px rgba(43,26,30,.15); }
.cf-prev { left: max(24px, calc(50% - 560px)); } .cf-next { right: max(24px, calc(50% - 560px)); }
.cf-info { text-align: center; margin-top: 18px; }
.cf-info .card-gout { justify-content: center; }
.cf-info h3 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin: 6px 0 4px; }
.cf-note { color: var(--ink-2); }
.cf-cta { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 18px; }
.cf-cta .btn { min-width: 220px; }
.cf-quiz { margin-top: 16px; font-size: 15px; color: var(--ink-2); }
@media (max-width: 720px) {
  .cf { height: 330px; }
  .cf-card { width: 230px; left: -115px; top: -115px; border-radius: 22px; }
  .cf .round { display: none; }
  .cf-info { margin-top: 10px; }
  .cf-cta { flex-direction: column; gap: 12px; }
  .cf-cta .btn { width: 100%; max-width: 340px; }
}
@media (prefers-reduced-motion: reduce) { #saveurs { transition: none; } }


/* ---------- Devenir revendeur (page Le rituel) ---------- */
.pro { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--soft); border-radius: var(--r); padding: 44px 48px; }
.pro-txt { max-width: 640px; }
.pro-txt p:last-child { color: var(--ink-2); margin-top: 10px; }
.pro .btn { flex: none; }
@media (max-width: 720px) {
  .pro { flex-direction: column; align-items: stretch; gap: 20px; padding: 26px 20px; }
  .pro .btn { width: 100%; }
}
