/* ==========================================================================
   17 · « La conversation » — tout le site EST une discussion WhatsApp avec Hector.
   Desktop : WhatsApp Web (rail d'icônes · liste des discussions · conversation).
   Mobile : la discussion plein écran, en-tête et barre de saisie collants.
   ========================================================================== */

.v17 {
  --w-bg: #efeae2;          /* fond de conversation */
  --w-panel: #f0f2f5;       /* en-têtes, barre de saisie */
  --w-line: #e9edef;
  --w-ink: #111b21;
  --w-ink-2: #3b4a54;
  --w-grey: #667781;
  --w-out: #d9fdd3;
  --w-in: #ffffff;
  --w-green: #1fa855;
  --w-link: #0b7a43;
  --w-shadow: 0 1px .5px rgba(11, 20, 26, .13);
  background: var(--w-bg);
  color: var(--w-ink);
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: var(--sh-card); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Ossature ---------- */
.app { display: grid; grid-template-columns: 64px 400px minmax(0, 1fr); min-height: 100vh; background: #fff; }
.rail { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0 16px; background: var(--w-panel); border-right: 1px solid var(--w-line); }
.rail__btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #54656f; }
.rail__btn svg { width: 24px; height: 24px; }
.rail__btn:hover, .rail__btn.is-on { background: #d9dbdf; color: var(--w-ink); }
.rail__sp { flex: 1; }
.rail__me img { width: 36px; height: 36px; border-radius: 50%; box-shadow: var(--sh-logo); }

.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: #fff; border-right: 1px solid var(--w-line); padding-bottom: 80px; scrollbar-width: thin; }
.side__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 10px 20px; }
.side__logo { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; letter-spacing: -.4px; color: var(--c-ink-logo); }
.side__logo img { border-radius: 50%; box-shadow: var(--sh-logo); }
.side__logo b { color: var(--c-green); }
.side__cta { min-height: 38px; padding: 9px 14px; font-size: 14px; }
.side__search { margin: 4px 14px 0; display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; border-radius: 10px; background: var(--w-panel); color: var(--w-grey); font-size: 14px; }
.side__search svg { width: 18px; height: 18px; flex: none; }
.side__filters { display: flex; gap: 8px; padding: 12px 14px 6px; }
.side__filters span { padding: 6px 12px; border-radius: 999px; background: var(--w-panel); color: #54656f; font-size: 13.5px; }
.side__filters .is-on { background: var(--c-green-pale); color: #136c38; font-weight: 600; }

.pins { margin: 8px 14px 6px; padding: 10px 12px 12px; border-radius: 12px; background: #f7f8fa; display: flex; flex-wrap: wrap; gap: 6px; }
.pins__label { width: 100%; font-size: 12.5px; font-weight: 600; color: var(--w-grey); margin-bottom: 2px; }
.pins a { padding: 6px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--w-line); font-size: 13.5px; font-weight: 500; }
.pins a:hover { border-color: var(--w-green); color: var(--w-link); }

.chats { margin-top: 4px; }
.chat { display: flex; align-items: center; gap: 14px; padding: 0 0 0 14px; height: 72px; }
.chat.is-on { background: var(--w-panel); }
.chat__av { position: relative; flex: none; width: 49px; height: 49px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--bg, #dfe5e7); font-size: 26px; }
.chat__av img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.75); }
img.chat__av--logo { object-fit: cover; }
.chat__b { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding-right: 16px; border-bottom: 1px solid var(--w-line); }
.chat__b p { display: flex; align-items: center; gap: 8px; }
.chat__b b { flex: 1; font-weight: 500; font-size: 16px; }
.chat__b time { font-size: 12px; color: var(--w-grey); }
.chat__last { flex: 1; min-width: 0; display: flex; align-items: center; gap: 3px; font-size: 14px; color: var(--w-grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__last img { width: 16px; height: 16px; flex: none; }
.chat__b i { font-style: normal; min-width: 20px; height: 20px; border-radius: 999px; background: var(--c-green); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }

/* ---------- Volet conversation ---------- */
.pane { position: relative; min-width: 0; background: var(--w-bg); display: flex; flex-direction: column; isolation: isolate; }
.pane::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(/assets/img/whatsapp-chat-bg-pattern.png) 0 0 / 400px auto; opacity: .08; pointer-events: none; }

.ph { position: sticky; top: 0; z-index: 30; height: 64px; display: flex; align-items: center; gap: 14px; padding: 0 16px; background: var(--w-panel); border-bottom: 1px solid var(--w-line); }
.ph__av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ph__id { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.ph__id b { font-size: 16px; font-weight: 600; }
.ph__status { font-size: 13px; color: var(--w-grey); }
.ph__status.is-typing { color: var(--w-green); font-weight: 500; }
.ph__cta { min-height: 40px; padding: 10px 16px; font-size: 15px; }
.ph__menu { position: relative; display: none; }
.ph__menu summary { list-style: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #54656f; }
.ph__menu summary::-webkit-details-marker { display: none; }
.ph__menu summary svg { width: 22px; height: 22px; }
.ph__menu[open] summary { background: #d9dbdf; }
.ph__menu nav { position: absolute; right: 0; top: 46px; width: 230px; padding: 8px 0; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(11, 20, 26, .2); display: flex; flex-direction: column; }
.ph__menu nav a { padding: 12px 20px; font-size: 15.5px; }
.ph__menu nav a:hover { background: var(--w-panel); }

.convo { flex: 1; padding: 20px clamp(20px, 6vw, 88px) 32px; }
.ch { scroll-margin-top: 76px; padding-bottom: 26px; }
.ch + .ch { padding-top: 10px; }

/* ---------- Messages ---------- */
.grp { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; }
.grp--in { align-items: flex-start; }
.grp--out { align-items: flex-end; }
.m { position: relative; max-width: min(600px, 78%); padding: 7px 10px 8px; border-radius: 8px; background: var(--w-in); box-shadow: var(--w-shadow); font-size: 15.5px; line-height: 1.45; color: var(--w-ink); overflow-wrap: anywhere; }
.m--out { background: var(--w-out); }
h2.m, h3.m { font-size: 15.5px; font-weight: 600; letter-spacing: 0; }
.m--q { font-size: 16.5px; }
/* queue de bulle (première bulle d'un groupe) */
.grp > .m:first-child { border-top-left-radius: 0; }
.grp--out > .m:first-child { border-top-left-radius: 8px; border-top-right-radius: 0; }
.grp > .m:first-child::before { content: ""; position: absolute; top: 0; left: -8px; width: 8px; height: 13px; background: inherit; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.grp--out > .m:first-child::before { left: auto; right: -8px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.grp > .m--photo:first-child::before, .grp > .m--video:first-child::before { background: var(--w-in); }

.t { float: right; position: relative; top: 6px; margin: 0 -2px 0 14px; display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 400; line-height: 15px; color: var(--w-grey); white-space: nowrap; }
.t img { width: 16px; height: 16px; }
.t--b { float: none; top: 0; display: flex; justify-content: flex-end; margin: 4px -2px -2px 0; }
.t--over { position: absolute; right: 10px; bottom: 8px; top: auto; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.5); }

.big { font-size: 20px; line-height: 1.25; font-weight: 650; letter-spacing: -.01em; }
.mt { margin-top: 6px; }
.muted { color: var(--w-ink-2); }
.accent { color: var(--w-link); }
.light { font-weight: 400; color: var(--w-grey); }

.m--hero { max-width: min(680px, 88%); padding: 14px 16px 12px; }
.m--hero h1, .m--hero h2 { font-size: clamp(32px, 2.2rem + 1.4vw, 54px); line-height: 1.04; letter-spacing: -.03em; font-weight: 650; color: var(--c-ink-2); }
.m--badge { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.m--badge img { height: 18px; width: auto; }

.m--photo { padding: 3px; width: min(420px, 78%); }
.m--photo > img { width: 100%; height: auto; border-radius: 6px; }
.m--photo figcaption { padding: 6px 7px 4px; }
.m--wide { width: min(640px, 88%); }
.m--small { width: min(220px, 52%); }
.ch--hero .m--photo { width: min(360px, 70%); }
.cap-t { display: block; font-weight: 600; }
.cap-t--l { font-size: 19px; margin-bottom: 2px; }
.step-n { display: block; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 1px; color: var(--w-green); text-transform: uppercase; }
.m--step h3 { margin-top: 2px; font-size: 17px; font-weight: 650; }
.m--step p:last-child { color: var(--w-ink-2); }
.m--video { padding: 3px; width: min(480px, 80%); }
.m--video video { width: 100%; aspect-ratio: 1664 / 956; object-fit: cover; border-radius: 6px; background: #d8d2c6; }
.vlen { position: absolute; left: 12px; bottom: 9px; display: inline-flex; align-items: center; gap: 5px; color: #fff; font-size: 12px; font-weight: 500; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.vlen svg { width: 16px; height: 16px; }

.chk { display: grid; gap: 6px; padding: 2px 0; }
.chk li { font-weight: 500; }
.chk--g { margin-top: 8px; gap: 4px; }
.chk--g li { position: relative; padding-left: 24px; font-weight: 400; }
.chk--g li::before { content: "✓"; position: absolute; left: 2px; color: var(--w-green); font-weight: 800; }
.pts { display: grid; gap: 7px; }
.pts li { display: flex; gap: 10px; align-items: baseline; }

/* boutons de modèle WhatsApp sous une bulle */
.m--btns { min-width: min(300px, 100%); }
.bb { margin: 8px -10px -8px; display: grid; border-top: 1px solid var(--w-line); }
.bb a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px; font-weight: 600; font-size: 15px; color: var(--w-link); }
.bb a + a { border-top: 1px solid var(--w-line); }
.bb a:hover { background: #f5f6f6; }
.bb__main::before { content: ""; width: 18px; height: 18px; background: url(/assets/img/wa-icon-send.svg) center / 10px no-repeat, var(--w-green); border-radius: 50%; }
.bb--2 a:last-child { color: var(--w-ink-2); }

/* réactions */
.m--react { margin-bottom: 14px; }
.rx { position: absolute; left: 10px; bottom: -15px; padding: 1px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--c-wa-reaction-border); font-size: 12.5px; line-height: 18px; box-shadow: var(--w-shadow); }
.m--out .rx { left: auto; right: 10px; }

/* messages système */
.sys { text-align: center; margin: 14px 0 6px; }
.sys span { display: inline-block; max-width: 92%; padding: 6px 12px; border-radius: 8px; background: #fff; color: #54656f; font-size: 13px; box-shadow: var(--w-shadow); }
.sys--day span { text-transform: uppercase; font-size: 12px; letter-spacing: .3px; }
.sys--note span { background: #ffeecd; color: #54460e; }
.sys--offer span { background: var(--c-green-pale); color: #136c38; font-weight: 600; }

/* démonstration du rappel */
.demo { display: flex; flex-direction: column; gap: 4px; margin: 6px 0 0; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .35); border: 1px dashed rgba(17, 27, 33, .14); max-width: 640px; margin-inline: auto; }
.demo .m { max-width: 82%; }
.demo .m--in { align-self: flex-start; }
.demo .m--out { align-self: flex-end; }

/* réponses rapides */
.qr { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.qr a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--w-link); border: 1.5px solid rgba(31, 168, 85, .45); font-weight: 600; font-size: 15px; box-shadow: 0 2px 6px rgba(11, 20, 26, .08); transition: background-color .2s, transform .2s; }
.qr a::before { content: "↩"; font-size: 14px; opacity: .7; }
.qr a.is-used { opacity: .5; }
.qr a:hover { background: var(--c-green-pale); transform: translateY(-1px); }

/* indicateur « Hector écrit… » */
.typing { display: inline-flex; margin: 4px 0; padding: 12px 14px; border-radius: 0 8px 8px 8px; background: #fff; box-shadow: var(--w-shadow); gap: 4px; width: max-content; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8696a0; animation: dot 1.1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* apparition des messages */
html.js [data-reveal] { opacity: 0; transform: translateY(10px) scale(.985); transition: opacity .32s var(--ease), transform .32s var(--ease); }
html.js .grp--in [data-reveal] { transform-origin: left top; }
html.js .grp--out [data-reveal] { transform-origin: right top; }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
.m--q.is-asked { animation: asked 1.2s var(--ease); }
@keyframes asked { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); } 100% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } }
@media (prefers-reduced-motion: reduce) { html.js [data-reveal] { opacity: 1; transform: none; transition: none; } .typing i { animation: none; } }

/* preuve + témoignages transférés */
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.rating strong { font-size: 30px; letter-spacing: -.5px; }
.rating span { color: var(--w-grey); font-size: 14px; }
.stars { display: inline-flex; gap: 2px; }
.stars img { width: 18px; height: 18px; }
.fwd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: 8px; margin-top: 8px; align-items: start; }
.m--fwd { max-width: none; padding: 3px; }
.m--fwd > img { width: 100%; height: auto; aspect-ratio: 1 / .78; object-fit: cover; border-radius: 6px; }
.m--fwd figcaption { padding: 6px 7px 4px; }
.m--fwd blockquote { font-size: 14.5px; line-height: 1.45; }
.m--fwd cite { display: flex; flex-direction: column; gap: 3px; margin-top: 6px; font-style: normal; font-size: 13.5px; }
.m--fwd cite span { display: inline-flex; align-items: center; gap: 6px; color: var(--w-grey); font-size: 12px; }
.m--fwd cite span img { height: 14px; width: auto; }
.m--fwd-text { padding: 3px 4px; grid-column: 1 / span 2; }
.m--fwd-text .stars { margin-bottom: 6px; }
.fwd { display: flex; align-items: center; gap: 4px; padding: 3px 6px 4px; font-size: 12.5px; font-style: italic; color: #8696a0; }
.fwd svg { width: 14px; height: 14px; }
.m--sticker { margin-top: 6px; }
.m--sticker img { width: 130px; height: auto; filter: drop-shadow(0 6px 10px rgba(11, 20, 26, .15)); }

/* Hector vs le reste */
.m--vs { max-width: min(700px, 92%); padding: 12px 14px 10px; }
.vs__kicker { display: inline-block; margin-bottom: 6px; padding: 3px 9px; border-radius: 6px; background: var(--c-green-pale); color: #136c38; font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.vs { margin-top: 12px; border: 1px solid var(--w-line); border-radius: 10px; overflow: hidden; }
.vs__row { display: grid; grid-template-columns: 1fr 1fr; }
.vs__row + .vs__row { border-top: 1px solid var(--w-line); }
.vs__row > span { display: flex; align-items: flex-start; gap: 9px; padding: 10px 12px; font-size: 14.5px; line-height: 1.35; }
.vs__row--h > span { align-items: center; flex-wrap: wrap; gap: 6px 8px; font-weight: 700; font-size: 15px; background: #f7f8fa; }
.vs__row--h > span:first-child { background: var(--c-green-hector); }
.vs__row--h img { width: 26px; height: 26px; border-radius: 50%; }
.vs__row--h small { width: 100%; font-weight: 400; font-size: 11.5px; color: var(--w-grey); }
.vs__logos { display: inline-flex; }
.vs__logos img { width: 22px; height: 22px; border-radius: 6px; border: 2px solid #fff; margin-right: -6px; object-fit: cover; background: #fff; }
.vs__logos img:last-child { margin-right: 4px; }
.vs__y { background: var(--c-green-hector); font-weight: 600; }
.vs__y::before, .vs__n::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 0; background: url(/assets/img/icon-check-green.svg) center / contain no-repeat; }
.vs__n { color: var(--w-grey); }
.vs__n::before { background-image: url(/assets/img/icon-cross-grey.svg); }

/* pour qui : album */
.m--album { padding: 3px; width: min(560px, 88%); }
.album { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.album__i { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 10; }
.album__i:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.album__i img { width: 100%; height: 100%; object-fit: cover; }
.album__i figcaption { position: absolute; left: 8px; bottom: 8px; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 12.5px; font-weight: 600; }
.who { display: grid; gap: 10px; padding: 10px 8px 2px; }
.who b { display: block; font-weight: 650; }
.who span { color: var(--w-ink-2); }
.who q { display: block; margin-top: 4px; quotes: none; font-size: 14px; font-style: italic; color: var(--w-link); }
.who cite { font-style: normal; font-weight: 600; }
.m--album .bb { margin: 8px -3px -3px; }
.m--album .t--b { margin-right: 6px; }

/* réserves : message liste */
.m--list { max-width: min(560px, 88%); }
.list__foot { margin-top: 8px; font-size: 13px; color: var(--w-grey); }
.list__btn { margin: 8px -10px -8px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-top: 1px solid var(--w-line); color: var(--w-link); font-weight: 600; }
.list__btn svg { width: 18px; height: 18px; }
.sheet { width: min(560px, 92%); margin-top: 6px; padding: 8px 16px 16px; border-radius: 16px; background: #fff; box-shadow: 0 8px 30px rgba(11, 20, 26, .14); scroll-margin-top: 80px; }
.sheet__grip { width: 38px; height: 4px; border-radius: 4px; background: #d1d7db; margin: 2px auto 8px; }
.sheet__t { text-align: center; font-size: 16px; font-weight: 650; padding-bottom: 8px; border-bottom: 1px solid var(--w-line); }
.opts li + li { border-top: 1px solid var(--w-line); }
.opt { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 22px; align-items: center; gap: 4px 14px; padding: 14px 8px; border-radius: 10px; transition: background-color .2s; }
.opt:hover { background: #f5f6f6; }
.opt--rec { background: var(--c-green-hector); box-shadow: inset 0 0 0 1.5px rgba(31, 168, 85, .5); margin: 4px 0; }
.opt--rec:hover { background: #e6f8dc; }
.opt__badge { grid-column: 1 / -1; justify-self: start; padding: 3px 8px; border-radius: 6px; background: var(--w-green); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .5px; }
.opt__main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.opt__name { font-size: 17px; font-weight: 700; }
.opt__sub { font-size: 14px; color: var(--w-ink-2); }
.opt__tot { font-size: 12.5px; color: var(--w-grey); }
.opt__price { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; text-align: right; }
.opt__price b { font-size: 20px; letter-spacing: -.3px; }
.opt__price > span { font-size: 12.5px; color: var(--w-grey); white-space: nowrap; }
.opt__price .opt__disc { margin-top: 2px; padding: 1px 7px; border-radius: 6px; background: var(--c-green-tint-12); color: var(--w-green); font-weight: 700; }
.opt__radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #8696a0; }
.opt--rec .opt__radio { border-color: var(--w-green); box-shadow: inset 0 0 0 3px #fff; background: var(--w-green); }
.sheet .btn { margin-top: 14px; white-space: normal; text-align: center; }
.sheet .pay { margin-top: 12px; }

.m--norisk { max-width: min(560px, 88%); }
.nr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 10px; }
.nr li { display: flex; gap: 10px; align-items: center; font-size: 13.5px; line-height: 1.3; color: var(--w-ink-2); }
.nr img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.nr b { display: block; color: var(--w-ink); font-size: 14px; }

/* FAQ */
.qa { margin-top: 4px; }
.qa .grp { margin-top: 8px; }
.qa h3.m { font-weight: 600; }

/* CTA final */
.ch--final { padding-bottom: 40px; }
.ch--final .m--hero { padding-top: 18px; }
.ch--final .bb { margin: 14px -16px -12px; }

/* barre de saisie = CTA WhatsApp */
.composer { position: sticky; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 10px 16px 12px; background: var(--w-panel); border-top: 1px solid var(--w-line); }
.composer__ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.composer__ic img { width: 24px; height: 24px; }
.composer__field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 16px; border-radius: 10px; background: #fff; color: var(--w-grey); font-size: 15.5px; transition: box-shadow .2s; }
.composer__field img { width: 22px; height: 22px; opacity: .8; }
.composer__field span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.composer:hover .composer__field { box-shadow: 0 0 0 2px rgba(37, 211, 102, .55); }
.composer__send { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-green-product); flex: none; }
.composer__send img { width: 18px; height: 18px; }

/* footer & barre des versions */
.v17 .footer { position: relative; z-index: 1; }
.v17 .vbar { left: 80px; }
.is-capture .composer { position: relative; }

/* ---------- Tablette / mobile : la discussion plein écran ---------- */
@media (max-width: 1100px) {
  .app { grid-template-columns: 340px minmax(0, 1fr); }
  .rail { display: none; }
  .convo { padding-inline: 24px; }
}
@media (max-width: 860px) {
  .app { display: block; }
  .side { display: none; }
  .ph__menu { display: block; }
  .ph { height: 60px; gap: 10px; padding: 0 6px 0 12px; }
  .ph__cta { min-height: 36px; padding: 8px 12px; font-size: 14px; }
  .convo { padding: 12px 10px 24px; }
  .ch { scroll-margin-top: 66px; }
  .m { max-width: 86%; font-size: 15px; }
  h2.m, h3.m { font-size: 15px; }
  .m--q { font-size: 16px; }
  .m--hero { max-width: 92%; padding: 12px 12px 10px; }
  .m--hero h1, .m--hero h2 { font-size: 32px; line-height: 1.08; }
  .big { font-size: 18.5px; }
  .m--photo { width: 80%; }
  .m--wide, .m--video, .m--album, .m--list, .m--norisk, .m--vs { width: 92%; max-width: 92%; }
  .m--small { width: 52%; }
  .ch--hero .m--photo { width: 74%; }
  .fwd-grid { grid-template-columns: minmax(0, 1fr); max-width: 86%; }
  .m--fwd-text { grid-column: auto; }
  .v17 .vbar { left: 10px; }
  .demo { padding: 10px 8px; }
  .sheet { width: 96%; padding-inline: 12px; }
  .opt { padding: 12px 4px; gap: 4px 10px; }
  .nr { grid-template-columns: 1fr; }
  .vs__row > span { padding: 9px 9px; font-size: 13.5px; gap: 7px; }
  .vs__row--h > span { font-size: 14px; }
  .qr { gap: 6px; }
  .qr a { padding: 9px 14px; font-size: 14.5px; }
  .composer { padding: 8px 8px 10px; gap: 6px; }
  .composer__ic { display: none; }
  .composer__field { font-size: 15px; padding: 0 12px; }
  .v17 .vbar { bottom: 74px; }
}
@media (max-width: 380px) {
  .ph__cta { display: none; }
}
