/* Welly, site vitrine v2 : maquette multi-pages.
   Concept : un seul moment orchestré (l'éventail de cartes qui s'ouvre derrière
   le téléphone), le reste calme. Couleur de marque sur les surfaces fortes,
   la couleur des données reste dans le téléphone. */

@font-face { font-family: 'Montserrat'; font-weight: 500; font-display: swap; src: url('/fonts/montserrat-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 600; font-display: swap; src: url('/fonts/montserrat-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 700; font-display: swap; src: url('/fonts/montserrat-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 800; font-display: swap; src: url('/fonts/montserrat-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cairo'; font-weight: 500; font-display: swap; src: url('/fonts/cairo-arabic-500-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: 'Cairo'; font-weight: 600; font-display: swap; src: url('/fonts/cairo-arabic-600-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: 'Cairo'; font-weight: 700; font-display: swap; src: url('/fonts/cairo-arabic-700-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: 'Cairo'; font-weight: 800; font-display: swap; src: url('/fonts/cairo-arabic-800-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: 'Material Symbols Rounded'; font-weight: 400; font-display: block; src: url('/fonts/material-symbols-rounded.woff2') format('woff2'); }

:root {
  color-scheme: light;
  /* marque */
  --brand: #0a6efe; --brand-dark: #0553c4; --pink: #fc4e7c; --orange: #fe9226; --teal: #30c2a1; --navy: #132349;
  /* fond blanc */
  --bg: #ffffff; --surface: #ffffff; --fg: #132349; --muted: #51607f; --line: #e3e8f4; --tint: #f3f7ff;
  --link: #0553c4; --shadow: rgba(19, 35, 73, .18);
  --sans: 'Montserrat', 'Cairo', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);

  /* échelle au nombre d'or, comme le site actuel */
  --fs-xs: .618rem; --fs-s: .786rem; --fs-0: 1rem; --fs-1: 1.272rem; --fs-2: 1.618rem;
  --fs-3: 2.058rem; --fs-4: 2.618rem; --fs-5: 3.331rem; --fs-6: 4.236rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--sans); font-weight: 500; font-size: var(--fs-0); line-height: 1.5; color: var(--fg); background: var(--bg);
  -webkit-text-size-adjust: 100%; overflow-x: hidden;
  padding-left: max(0px, env(safe-area-inset-left, 0px)); padding-right: max(0px, env(safe-area-inset-right, 0px));
}
p, h1, h2, h3, h4, ul, figure, h2[data-h] { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--link); }
button { font: inherit; color: inherit; }
img, video, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: 8px; transform: translateY(-300%); background: #fff; color: var(--navy); padding: 12px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.ar { font-family: 'Cairo', sans-serif; font-weight: 700; }
.mi {
  font-family: 'Material Symbols Rounded'; font-weight: 400; font-style: normal; font-size: 24px; line-height: 1; letter-spacing: normal;
  text-transform: none; display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased; font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; user-select: none; flex: none;
}
.c-blue { color: var(--brand); } .c-orange { color: var(--orange); } .c-teal { color: var(--teal); } .c-pink { color: var(--pink); }

/* barre de progression : les quatre couleurs du logo */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--pink) 0 25%, var(--orange) 25% 50%, var(--teal) 50% 75%, #fff 75%); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 700 var(--fs-0)/1.2 var(--sans); text-decoration: none; text-align: center; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .mi { font-size: 22px; transition: transform .25s var(--ease); }
.btn:hover .mi.go { transform: translateX(3px); }
.btn-white { background: #fff; color: var(--brand-dark); box-shadow: 0 10px 24px -12px rgba(7, 20, 60, .55); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); }
.btn-blue { background: var(--brand); color: #fff; box-shadow: 0 12px 26px -14px var(--brand); }
.btn-blue:hover { background: var(--brand-dark); }
.btn-line { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 2px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 2px var(--brand); }
.btn-small { min-height: 44px; padding: 0 20px; }
.btn-block { width: 100%; }

/* ---------- En-tête ---------- */
.bar-top { position: sticky; top: 0; z-index: 50; color: #fff; transition: background .3s, box-shadow .3s, color .3s; }
.bar-top.scrolled { background: var(--brand); color: #fff; box-shadow: 0 10px 30px -18px rgba(7, 20, 60, .55); }
.top { display: flex; align-items: center; gap: 16px 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.brand .mark { width: 44px; height: 36px; } .brand .word { width: 92px; height: 36px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav .lnk { background: none; border: 0; cursor: pointer; color: inherit; font-weight: 600; min-height: 44px; padding: 0 14px; border-radius: 999px; position: relative; }
.nav .lnk::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 3px; background: currentColor; transform: scaleX(0); transition: transform .3s var(--ease); }
.nav .lnk:hover::after, .nav .lnk[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 10px; }
.bar-top .btn-top { background: #fff; color: var(--brand-dark); }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 2px solid currentColor; background: none; color: inherit; cursor: pointer; align-items: center; justify-content: center; }
.drawer { display: none; }

/* ---------- Pages ---------- */
.view { display: none; }
.view.on { display: block; animation: viewIn .55s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* révélations au défilement : l'état de repos est visible, seul le script les prépare */
.js [data-r] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-r].in { opacity: 1; transform: none; }

/* ---------- Héros ---------- */
.hero { background: var(--brand); color: #fff; margin-top: -76px; padding-top: 76px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 40%, rgba(255, 255, 255, .16), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px 40px; align-items: center; padding-block: 44px 150px; position: relative; }
.badge { display: inline-flex; gap: 10px; align-items: center; background: rgba(255, 255, 255, .16); border-radius: 999px; padding: 8px 16px; font-weight: 600; margin-bottom: 26px; }
.badge .ar { font-size: var(--fs-1); line-height: 1; }
h1 { font-size: var(--fs-6); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; margin-bottom: 24px; text-wrap: balance; }
h1 .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
h1 .ln > span { display: block; animation: lineUp .9s var(--ease) both; animation-delay: calc(var(--l) * 110ms + 150ms); }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.lead { color: rgba(255, 255, 255, .9); font-size: var(--fs-1); line-height: 1.55; max-width: 540px; margin-bottom: 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: var(--fs-s); font-weight: 600; color: rgba(255, 255, 255, .92); }
.ticks li { display: flex; align-items: center; gap: 6px; }
.ticks .mi { font-size: 18px; color: #fff; }
.hero-copy > * { animation: fadeUp .8s var(--ease) both; }
.hero-copy .badge { animation-delay: .05s; } .hero-copy .lead { animation-delay: .5s; } .hero-copy .actions { animation-delay: .62s; } .hero-copy .ticks { animation-delay: .74s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* scène du téléphone : éventail de cartes qui s'ouvre */
.stage { position: relative; height: 690px; display: flex; justify-content: center; align-items: center; }
.stage-in { position: relative; width: 300px; height: 626px; transform: scale(var(--s, 1)); transform-origin: 50% 50%; }
.fan i { position: absolute; left: 50%; bottom: 40px; width: 250px; height: 410px; margin-left: -125px; border-radius: 40px; transform-origin: 50% 100%; transform: rotate(0deg) translateY(30px); opacity: 0;
  animation: fanOpen 1.1s var(--ease) forwards; box-shadow: 0 30px 50px -30px rgba(7, 20, 60, .5); }
.fan i:nth-child(1) { background: var(--pink); --a: 34deg; animation-delay: .5s; }
.fan i:nth-child(2) { background: var(--orange); --a: 21deg; animation-delay: .6s; }
.fan i:nth-child(3) { background: var(--teal); --a: 8deg; animation-delay: .7s; }
@keyframes fanOpen { to { transform: rotate(var(--a)) translateY(0); opacity: 1; } }
.fan { position: absolute; inset: 0; }
.bob { position: absolute; inset: 0; animation: bob 7s ease-in-out 2.4s infinite; }
.stage .phone { position: absolute; left: 0; top: 0; animation: phoneIn 1s var(--ease) .25s both; }
@keyframes phoneIn { from { opacity: 0; transform: translateY(70px) rotate(2deg); } to { opacity: 1; transform: none; } }
.float { animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-9px); } }
.chip { position: absolute; z-index: 3; background: var(--surface); color: var(--fg); border-radius: 18px; padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 20px 40px -16px rgba(7, 20, 60, .55); font-size: var(--fs-s); line-height: 1.35; opacity: 0; animation: chipIn .7s var(--ease) forwards; }
.chip b { display: block; font-size: var(--fs-0); }
.chip .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.chip .ic .mi { font-size: 22px; }
.chip-1 { left: -120px; top: 120px; animation-delay: 1.3s; }
.chip-2 { right: -118px; top: 300px; animation-delay: 1.6s; }
.chip-3 { left: -100px; bottom: 70px; animation-delay: 1.9s; }
@keyframes chipIn { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }
.chip.pop { animation: chipPop .5s var(--ease); }
@keyframes chipPop { 40% { transform: scale(1.08); } }

/* ---------- Téléphone ---------- */
.phone { width: 300px; height: 626px; border-radius: 46px; background: var(--navy); padding: 10px; box-shadow: 0 50px 80px -30px rgba(7, 20, 60, .55), inset 0 0 0 2px rgba(255, 255, 255, .08); position: relative; }
.phone::before { content: ''; position: absolute; top: 17px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #0a1330; z-index: 5; }
.screen { width: 100%; height: 100%; border-radius: 37px; background: #f7f7f7; overflow: hidden; position: relative; }
.scr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.02); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; display: block; }
.scr.on { opacity: 1; transform: none; }
/* scanner du commerçant */
/* notification et résumé */

/* ---------- Bandeau film ---------- */
.film-sec { margin-top: -96px; position: relative; z-index: 2; padding-bottom: 24px; }
.film { position: relative; border-radius: 28px; overflow: hidden; background: #0b1330; box-shadow: 0 40px 80px -30px var(--shadow), 0 0 0 1px rgba(255, 255, 255, .1); aspect-ratio: 16 / 9; }
.film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film-ui { position: absolute; inset: auto 0 0 0; padding: 18px 20px; display: flex; align-items: center; gap: 14px; background: linear-gradient(0deg, rgba(5, 12, 38, .78), transparent); color: #fff; }
.film-ui .t { font-weight: 700; } .film-ui .s { font-size: var(--fs-s); opacity: .85; }
.film-ui .btn { margin-left: auto; }
.film .fail { position: absolute; inset: 0; display: none; place-items: center; text-align: center; padding: 24px; color: #fff; background: linear-gradient(135deg, var(--brand), #0b1330); }
.film.error .fail { display: grid; } .film.error video, .film.error .film-ui { display: none; }
.film-note { text-align: center; font-size: var(--fs-s); color: var(--muted); margin-top: 14px; }

/* ---------- Sections ---------- */
.sec { padding-block: 104px; }
.sec-tint { background: var(--tint); }
.kicker { font-size: var(--fs-s); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--link); margin-bottom: 12px; }
h2 { font-size: var(--fs-4); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
h3, h2[data-h] { font-size: var(--fs-1); font-weight: 700; line-height: 1.3; }
.sec-head { max-width: 680px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head p.sub { margin-top: 16px; font-size: var(--fs-1); line-height: 1.55; color: var(--muted); }
.more { margin-top: 36px; }

/* faits */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--line); }
.fact { padding: 36px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact .big { font-size: var(--fs-5); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--link); font-variant-numeric: tabular-nums; }
.fact .big small { font-size: var(--fs-1); letter-spacing: 0; font-weight: 700; }
.fact p { margin-top: 10px; color: var(--muted); line-height: 1.45; }

/* défilement du téléphone */
.walk { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: start; }
.walk-steps { display: block; }
.wstep { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .38; transition: opacity .4s; cursor: pointer; padding-block: 24px; }
.wstep.on { opacity: 1; }
.wstep .num { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--tint); color: var(--link); font-weight: 800; font-size: var(--fs-1); margin-bottom: 18px; transition: background .3s, color .3s, transform .4s var(--ease); }
.wstep.on .num { background: var(--brand); color: #fff; transform: rotate(-6deg) scale(1.06); }
.wstep h3, .wstep h2[data-h] { font-size: var(--fs-3); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 14px; font-weight: 800; }
.wstep p { font-size: var(--fs-1); line-height: 1.55; color: var(--muted); max-width: 480px; }
.wstep .who { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: var(--fs-s); color: var(--link); }
.walk-phone { position: sticky; top: 92px; height: 690px; display: flex; justify-content: center; align-items: center; }
.walk-phone .stage-in { transform: scale(var(--s, 1)); }
.walk-phone::before { content: ''; position: absolute; left: 50%; top: 50%; width: 400px; height: 400px; margin: -200px 0 0 -200px; border-radius: 50%; background: var(--tint); }
.wchip { position: absolute; z-index: 3; background: var(--surface); color: var(--fg); border-radius: 16px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; font-size: var(--fs-s); font-weight: 700;
  box-shadow: 0 18px 36px -16px var(--shadow); opacity: 0; transform: translateY(10px) scale(.92); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.wchip.on { opacity: 1; transform: none; }
.wchip .mi { font-size: 20px; }
.wchip-a { left: -64px; top: 120px; } .wchip-b { right: -50px; top: 250px; } .wchip-c { left: -50px; bottom: 90px; } .wchip-d { right: -44px; bottom: 140px; }
.stepper { display: none; }

/* grille de fonctions */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.cell { background: var(--surface); border-radius: 26px; padding: 28px; grid-column: span 2; position: relative; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 36px -26px var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.cell:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 26px 44px -24px var(--shadow); }
.cell.w3 { grid-column: span 3; }
.cell .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.cell .ico .mi { font-size: 28px; color: #fff; }
.ico.b { background: var(--brand); } .ico.o { background: var(--orange); } .ico.t { background: var(--teal); } .ico.p { background: var(--pink); }
.cell h3, .cell h2[data-h] { margin-bottom: 8px; } .cell p { color: var(--muted); line-height: 1.55; }
.cell .tagline { display: inline-block; margin-top: 16px; font-size: var(--fs-s); font-weight: 700; color: var(--link); background: var(--tint); padding: 6px 12px; border-radius: 999px; }

/* commerces */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.tab { border: 0; cursor: pointer; background: var(--surface); color: var(--fg); font-weight: 700; padding: 0 20px; min-height: 48px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--line); display: inline-flex; align-items: center; gap: 8px; transition: opacity .25s var(--ease), transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.tab:hover { box-shadow: inset 0 0 0 2px var(--brand); }
.tab[aria-selected="true"] { background: var(--brand); color: #fff; box-shadow: none; transform: translateY(-2px); }
.sector { display: none; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.sector.on { display: grid; animation: viewIn .5s var(--ease) both; }
.sector h3, .sector h2[data-h] { font-size: var(--fs-3); font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.sector .rule { display: inline-flex; align-items: center; gap: 10px; background: var(--tint); border-radius: 999px; padding: 10px 18px; font-weight: 700; color: var(--link); margin-bottom: 22px; }
.checks { display: grid; gap: 14px; line-height: 1.5; margin-bottom: 28px; font-size: var(--fs-1); }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .mi { color: var(--brand); font-size: var(--fs-2); }
.sector .plan-hint { font-size: var(--fs-s); color: var(--muted); margin-bottom: 22px; }
.ladder { background: var(--surface); border-radius: 28px; padding: 28px; box-shadow: 0 1px 0 var(--line), 0 30px 50px -34px var(--shadow); }
.ladder .shop { font-weight: 800; font-size: var(--fs-1); } .ladder .tag { font-size: var(--fs-s); color: var(--muted); font-weight: 600; }
.ladder .row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.rungs { display: grid; gap: 14px; }
.rung { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; }
.rung .pts { font-weight: 800; color: var(--link); font-size: var(--fs-1); }
.rung .bar { height: 10px; border-radius: 99px; background: var(--tint); overflow: hidden; }
.rung .bar i { display: block; height: 100%; width: 100%; border-radius: 99px; background: var(--brand); transform: scaleX(0); transform-origin: left center; transition: transform 1s var(--ease); }
.sector.on .rung .bar i { transform: scaleX(var(--w)); }
.rung .gift { font-weight: 700; font-size: var(--fs-s); }
.ladder .note { margin-top: 20px; font-size: var(--fs-s); color: var(--muted); }

/* objections et comparaison */
.talk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.say { background: var(--surface); border-radius: 26px; padding: 28px; box-shadow: 0 1px 0 var(--line); display: flex; flex-direction: column; gap: 14px; }
.say q { font-weight: 800; font-size: var(--fs-1); line-height: 1.3; quotes: '«\00a0' '\00a0»'; }
.say .lab { align-self: flex-start; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 8px; color: #fff; }
.lab.p { background: #c2255c; } .lab.o { background: #b4600a; } .lab.t { background: #087a64; }
.say p { color: var(--muted); line-height: 1.6; }
.versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vs { border-radius: 28px; padding: 36px; }
.vs h3, .vs h2[data-h] { font-size: var(--fs-2); margin-bottom: 22px; font-weight: 800; }
.vs ul { display: grid; gap: 16px; } .vs li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.vs.sans { background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); }
.vs.sans .mi { color: var(--pink); } .vs.sans li { color: var(--muted); }
.vs.avec { background: var(--brand); color: #fff; }
.vs.avec .mi { color: #fff; } .vs.avec li { color: rgba(255, 255, 255, .95); }

/* pilote */
.pilot { background: var(--tint); color: var(--fg); border-radius: 32px; padding: 56px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.pilot h2 { margin-bottom: 16px; } .pilot p { color: var(--muted); line-height: 1.6; font-size: var(--fs-1); }
.pilot .actions { margin-top: 28px; }
.pilot .btn-ghost { background: #fff; color: var(--fg); box-shadow: inset 0 0 0 2px var(--line); }
.pilot .btn-white { background: var(--brand); color: #fff; box-shadow: 0 12px 26px -14px var(--brand); }
.pilot ul { display: grid; gap: 14px; }
.pilot li { display: flex; gap: 14px; align-items: center; background: #fff; box-shadow: 0 1px 0 var(--line); border-radius: 18px; padding: 16px 18px; font-weight: 600; }
.pilot li .mi { color: var(--orange); font-size: var(--fs-2); }

/* défilement des commerces */
.marq { overflow: hidden; background: var(--tint); color: var(--navy); padding-block: 22px; border-block: 1px solid var(--line); }
.marq-track { display: flex; width: max-content; gap: 48px; animation: marq 36s linear infinite; }
.marq:hover .marq-track { animation-play-state: paused; }
.marq span { display: inline-flex; align-items: center; gap: 14px; font-size: var(--fs-2); font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.marq .mi { color: var(--orange); font-size: 26px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Pages intérieures ---------- */
.page-hero { background: var(--brand); color: #fff; margin-top: -76px; padding-top: 76px; position: relative; overflow: hidden; }
.page-hero .wrap { padding-block: 56px 96px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.page-hero h1 { font-size: var(--fs-5); margin-bottom: 18px; max-width: 760px; }
.page-hero p.lead { margin-bottom: 0; }
.page-hero .fanmini { width: 190px; height: 190px; position: relative; opacity: .95; }
.page-hero .fanmini i { position: absolute; left: 50%; bottom: 0; width: 84px; height: 140px; margin-left: -42px; border-radius: 20px; transform-origin: 50% 100%; animation: fanOpen 1s var(--ease) both; }
.page-hero .fanmini i:nth-child(1) { background: var(--pink); --a: 34deg; } .page-hero .fanmini i:nth-child(2) { background: var(--orange); --a: 17deg; animation-delay: .1s; }
.page-hero .fanmini i:nth-child(3) { background: var(--teal); --a: 0deg; animation-delay: .2s; }
.lift { margin-top: -48px; position: relative; z-index: 2; }

.seg { display: inline-flex; background: var(--surface); border-radius: 999px; padding: 5px; box-shadow: inset 0 0 0 2px var(--line); margin-bottom: 40px; }
.seg button { border: 0; background: none; cursor: pointer; padding: 0 24px; min-height: 46px; border-radius: 999px; font-weight: 700; color: var(--muted); transition: opacity .25s var(--ease), transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.seg button[aria-selected="true"] { background: var(--brand); color: #fff; }
.pane { display: none; } .pane.on { display: block; animation: viewIn .5s var(--ease) both; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: center; }
.flist { display: grid; gap: 14px; }
.fitem { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border-radius: 22px; padding: 22px; box-shadow: 0 1px 0 var(--line); cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; text-align: left; border: 0; width: 100%; }
.fitem:hover { transform: translateX(4px); }
.fitem[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--brand), 0 18px 34px -24px var(--shadow); }
.fitem .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.fitem .ico .mi { color: #fff; font-size: 26px; }
.fitem h3, .fitem h2[data-h] { font-size: var(--fs-0); font-weight: 800; margin-bottom: 4px; } .fitem p { color: var(--muted); line-height: 1.5; font-size: var(--fs-0); }
.splitphone { display: flex; justify-content: center; }
.splitphone .holder { width: 300px; height: 626px; transform: scale(var(--s, 1)); transform-origin: 50% 0; }

/* tarifs */
.slide-box { background: var(--surface); border-radius: 28px; padding: 32px; box-shadow: 0 1px 0 var(--line), 0 30px 50px -36px var(--shadow); }
.slide-box label { display: block; font-weight: 700; margin-bottom: 6px; }
.slide-box .out { font-size: var(--fs-4); font-weight: 800; letter-spacing: -.03em; color: var(--link); font-variant-numeric: tabular-nums; line-height: 1.1; }
.slide-box .hint { color: var(--muted); font-size: var(--fs-s); margin-top: 6px; }
input[type=range] { width: 100%; margin: 24px 0 6px; accent-color: var(--brand); height: 32px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; align-items: stretch; }
.plan { background: var(--surface); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; box-shadow: inset 0 0 0 2px var(--line); position: relative; transition: transform .4s var(--ease), box-shadow .4s; }
.plan.reco { box-shadow: inset 0 0 0 3px var(--brand), 0 30px 50px -30px var(--brand); transform: translateY(-8px); }
.plan .flag { position: absolute; top: -14px; left: 28px; background: var(--brand); color: #fff; font-size: var(--fs-s); font-weight: 800; padding: 6px 14px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.plan.reco .flag { opacity: 1; transform: none; }
.plan .for { color: var(--muted); line-height: 1.5; margin: 6px 0 20px; min-height: 3em; }
.plan .price { font-size: var(--fs-4); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plan .price span { font-size: var(--fs-0); font-weight: 600; letter-spacing: 0; color: var(--muted); }
.plan ul { margin: 26px 0; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: center; } .plan li .mi { color: var(--brand); font-size: var(--fs-1); }
.paybox { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.paybox > div { display: flex; gap: 14px; align-items: flex-start; }
.paybox .mi { color: var(--brand); font-size: var(--fs-2); }
.paybox b { display: block; } .paybox span { color: var(--muted); font-size: var(--fs-0); line-height: 1.5; }

/* démo */
.stack { display: grid; gap: 28px; }
.films3 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.vfilm { background: var(--surface); border-radius: 28px; padding: 16px; box-shadow: 0 1px 0 var(--line), 0 30px 50px -36px var(--shadow); }
.vfilm .film { aspect-ratio: 9 / 16; border-radius: 20px; max-height: 620px; margin-inline: auto; }
.vfilm h3, .vfilm h2[data-h] { margin: 18px 8px 4px; } .vfilm p { margin: 0 8px 8px; color: var(--muted); font-size: var(--fs-0); line-height: 1.5; }
.vfilm .film video { object-fit: cover; }
.play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: rgba(5, 12, 38, .28); cursor: pointer; color: #fff; transition: opacity .3s, background .3s; }
.play span { width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--brand-dark); display: grid; place-items: center; box-shadow: 0 16px 36px -10px rgba(0, 0, 0, .5); transition: transform .3s var(--ease); }
.play .mi { font-size: 40px; }
.play:hover span { transform: scale(1.08); }
.film.playing .play { opacity: 0; pointer-events: none; }

/* questions */
.search { position: relative; max-width: 560px; margin-bottom: 28px; }
.search .mi { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; min-height: 56px; border-radius: 999px; border: 0; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); padding: 0 20px 0 54px; font: 600 var(--fs-0) var(--sans); color: var(--fg); }
.search input:focus { outline: 0; box-shadow: inset 0 0 0 3px var(--brand); }
.faq-groups { display: grid; gap: 36px; max-width: 860px; }
.faq-groups h3, .faq-groups h2[data-h] { margin-bottom: 14px; font-size: var(--fs-1); }
.faq-groups .list { display: grid; gap: 10px; }
details.q { background: var(--surface); border-radius: 18px; padding: 0 24px; box-shadow: 0 1px 0 var(--line); }
details.q summary { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; cursor: pointer; list-style: none; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: ''; width: 10px; height: 10px; border-right: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: rotate(45deg); flex: none; margin-top: -4px; transition: transform .25s var(--ease); }
details.q[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
details.q p { padding: 0 0 22px; line-height: 1.65; color: var(--muted); }
.nores { display: none; color: var(--muted); padding: 24px 0; }
.contact { margin-top: 56px; background: var(--tint); border-radius: 28px; padding: 36px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; max-width: 860px; }
.contact h3, .contact h2[data-h] { margin-bottom: 6px; } .contact p { color: var(--muted); }

/* fin de page */
.final { padding-bottom: 104px; }
.final .box { background: var(--brand); color: #fff; border-radius: 36px; padding: 64px; display: flex; align-items: center; justify-content: space-between; gap: 40px; overflow: hidden; position: relative; }
.final .box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 80% at 85% 50%, rgba(255, 255, 255, .18), transparent 70%); }
.final .copy { max-width: 560px; position: relative; }
.final h2 { font-size: var(--fs-5); margin-bottom: 16px; }
.final .sub { font-size: var(--fs-1); line-height: 1.55; margin-bottom: 30px; color: rgba(255, 255, 255, .92); }
.final .logo { width: 290px; height: 240px; flex: none; position: relative; }
.final .logo polyline { stroke-dasharray: 700; stroke-dashoffset: 700; }
.final .logo.draw polyline { animation: draw 1.4s var(--ease) forwards; }
.final .logo.draw polyline:nth-child(2) { animation-delay: .12s; } .final .logo.draw polyline:nth-child(3) { animation-delay: .24s; } .final .logo.draw polyline:nth-child(4) { animation-delay: .36s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

footer { background: var(--tint); color: var(--muted); padding: 64px 0 40px; border-top: 1px solid var(--line); }
footer .cols { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; }
footer .about { max-width: 320px; } footer .about svg { width: 110px; height: 36px; margin-bottom: 16px; color: var(--navy); }
footer .about p { line-height: 1.6; }
footer .links { display: flex; flex-wrap: wrap; gap: 32px 64px; }
footer .links div { display: grid; gap: 2px; align-content: start; }
footer .links b { color: var(--fg); margin-bottom: 8px; }
footer a, footer button.fl { color: var(--muted); min-height: 38px; display: inline-flex; align-items: center; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
footer a:hover, footer button.fl:hover { color: var(--brand-dark); text-decoration: underline; text-underline-offset: 4px; }
footer .copy { margin-top: 44px; font-size: var(--fs-s); color: var(--muted); }
.totop { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(10, 110, 254, .7); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease), background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease); z-index: 40; }
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop .mi { transform: rotate(-90deg); }

/* ---------- Tablette et téléphone ---------- */
@media (max-width: 1040px) {
  h1 { font-size: var(--fs-5); }
  .nav { display: none; } .burger { display: inline-flex; }
  .drawer { position: fixed; inset: 76px 0 auto 0; background: #fff; color: var(--fg); padding: 12px max(20px, env(safe-area-inset-left, 0px)) 24px; z-index: 49; display: none; box-shadow: 0 30px 50px -20px rgba(19, 35, 73, .35); }
  .drawer.open { display: grid; gap: 2px; animation: fadeUp .35s var(--ease) both; }
  .drawer .lnk { background: none; border: 0; color: var(--fg); text-align: start; font-weight: 700; font-size: var(--fs-1); min-height: 54px; cursor: pointer; border-bottom: 1px solid var(--line); }
  .drawer .btn-white { background: var(--brand); color: #fff; }
  .drawer .btn { margin-top: 14px; } .drawer .langs { align-self: start; margin: 14px 0 0; background: var(--tint); color: var(--fg); } .drawer .langs a[aria-current="true"] { background: var(--brand); color: #fff; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 28px 130px; }
  .stage { height: 520px; --s: .82; } .stage-in { margin-top: 0; }
  .chip-1 { left: -60px; } .chip-2 { right: -60px; } .chip-3 { left: -50px; }
  .walk { grid-template-columns: 1fr; gap: 24px; }
  .walk-phone { position: relative; top: auto; height: 560px; --s: .85; order: -1; }
  .wstep { display: none; min-height: 0; opacity: 1; padding: 0; }
  .wstep.on { display: flex; }
  .stepper { display: flex; gap: 10px; justify-content: center; margin-bottom: 8px; }
  .stepper button { width: 48px; height: 48px; border-radius: 16px; border: 0; background: var(--tint); color: var(--link); font-weight: 800; cursor: pointer; }
  .stepper button[aria-pressed="true"] { background: var(--brand); color: #fff; }
  .wchip { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cell, .cell.w3 { grid-column: span 1; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact:nth-child(3) { border-left: 0; padding-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sector { grid-template-columns: 1fr; gap: 28px; }
  .talk { grid-template-columns: 1fr; } .versus { grid-template-columns: 1fr; }
  .pilot { grid-template-columns: 1fr; padding: 40px 28px; }
  .split { grid-template-columns: 1fr; } .splitphone { order: -1; }
  .plans { grid-template-columns: 1fr; } .plan.reco { transform: none; } .paybox { grid-template-columns: 1fr; }
  .films3 { grid-template-columns: 1fr; }
  .final .box { flex-direction: column-reverse; align-items: flex-start; padding: 44px 28px; gap: 24px; } .final .logo { width: 180px; height: 150px; }
  .page-hero .wrap { grid-template-columns: 1fr; } .page-hero .fanmini { display: none; }
  .sec { padding-block: 72px; }
}
@media (max-width: 600px) {
  h1 { font-size: var(--fs-4); } h2 { font-size: var(--fs-3); } .page-hero h1 { font-size: var(--fs-4); }
  .lead { font-size: var(--fs-0); } .actions .btn { width: 100%; }
  .brand .mark { width: 40px; height: 33px; } .brand .word { width: 84px; height: 33px; }
  .stage { height: 440px; --s: .68; margin-inline: -20px; }
  .chip-1 { top: 0; left: 40px; } .chip-2 { top: 470px; right: 30px; } .chip-3 { display: none; }
  .film-ui .btn { white-space: nowrap; } .film-ui .t { font-size: var(--fs-0); }
  .bento { grid-template-columns: 1fr; }
  .film-sec { margin-top: -78px; } .film { border-radius: 20px; } .film-ui .s { display: none; } .film-ui { padding: 12px 14px; }
  .facts { grid-template-columns: 1fr; } .fact { border-left: 0 !important; padding-left: 0 !important; padding-block: 24px; } .fact + .fact { border-top: 1px solid var(--line); }
  .fact .big { font-size: var(--fs-4); }
  .wstep h3, .wstep h2[data-h] { font-size: var(--fs-2); } .wstep p { font-size: var(--fs-0); }
  .walk-phone { height: 500px; --s: .76; }
  .vs { padding: 26px; } .tabs { gap: 8px; } .tab { padding: 0 14px; }
  .ladder { padding: 20px; } .rung { grid-template-columns: 44px 1fr; } .rung .gift { grid-column: 1 / -1; }
  .slide-box { padding: 22px; }
  .final h2 { font-size: var(--fs-3); } .final .sub { font-size: var(--fs-0); } .final .btn { width: 100%; } .final .box { border-radius: 26px; }
  .contact { padding: 26px; } details.q { padding: 0 18px; }
  .marq span { font-size: var(--fs-1); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; animation-delay: 0s !important; }
  .marq-track { animation: none; }
  .js [data-r] { opacity: 1; transform: none; }
  .fan i { opacity: 1; transform: rotate(var(--a)); } .chip { opacity: 1; }
}

.chip .ic.t { background: var(--teal); } .chip .ic.o { background: var(--orange); } .chip .ic.b { background: var(--brand); } .chip .ic.p { background: var(--pink); }
.isvg { flex: none; }
.marq .mi { color: var(--orange); font-size: 26px; }
.marq .mi { font-weight: 400; }

/* ---------- Langue ---------- */
.langs { display: inline-flex; gap: 2px; background: rgba(255, 255, 255, .16); border-radius: 999px; padding: 3px; margin-inline-start: 10px; }
.langs a { border: 0; background: none; color: inherit; font-weight: 700; font-size: var(--fs-s); min-height: 36px; padding: 0 12px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.langs a.ar { font-size: var(--fs-0); line-height: 1; }
.langs a[aria-current="true"] { background: #fff; color: var(--brand-dark); }

/* ---------- Arabe : sens de lecture de droite à gauche ---------- */
[dir="rtl"] body { font-family: 'Cairo', 'Montserrat', system-ui, sans-serif; }
[dir="rtl"] button, [dir="rtl"] input { font-family: inherit; }
[dir="rtl"] *, [dir="rtl"] h1, [dir="rtl"] h2 { letter-spacing: 0 !important; }
[dir="rtl"] .kicker { text-transform: none; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h2[data-h] { line-height: 1.3; }
[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .burger { margin-left: 0; margin-right: auto; }
[dir="rtl"] .progress { transform-origin: 100% 50%; }
[dir="rtl"] .hero::before { background: radial-gradient(60% 70% at 22% 40%, rgba(255, 255, 255, .16), transparent 70%); }
[dir="rtl"] .final .box::before { background: radial-gradient(50% 80% at 15% 50%, rgba(255, 255, 255, .18), transparent 70%); }
[dir="rtl"] .fan i:nth-child(1) { --a: -34deg; } [dir="rtl"] .fan i:nth-child(2) { --a: -21deg; } [dir="rtl"] .fan i:nth-child(3) { --a: -8deg; }
[dir="rtl"] .page-hero .fanmini i:nth-child(1) { --a: -34deg; } [dir="rtl"] .page-hero .fanmini i:nth-child(2) { --a: -17deg; }[dir="rtl"]
[dir="rtl"] .chip-1 { left: auto; right: -120px; } [dir="rtl"] .chip-2 { right: auto; left: -118px; } [dir="rtl"] .chip-3 { left: auto; right: -100px; }
[dir="rtl"] .wchip-a { left: auto; right: -64px; } [dir="rtl"] .wchip-b { right: auto; left: -50px; } [dir="rtl"] .wchip-c { left: auto; right: -50px; } [dir="rtl"] .wchip-d { right: auto; left: -44px; }
[dir="rtl"] .btn .mi.go { transform: scaleX(-1); } [dir="rtl"] .btn:hover .mi.go { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .fact { border-left: 0; border-right: 1px solid var(--line); } [dir="rtl"] .fact:first-child { border-right: 0; padding-left: 24px; padding-right: 0; }
[dir="rtl"] .fitem { text-align: right; } [dir="rtl"] .fitem:hover { transform: translateX(-4px); }
[dir="rtl"] .search .mi { left: auto; right: 18px; } [dir="rtl"] .search input { padding: 0 54px 0 20px; }
[dir="rtl"] .plan .flag { left: auto; right: 28px; }
[dir="rtl"] .totop { right: auto; left: max(18px, env(safe-area-inset-left, 0px)); }
[dir="rtl"] .marq-track { animation-direction: reverse; }
[dir="rtl"] .rung .gift { text-align: left; }
[dir="rtl"] .film-ui .btn { margin-left: 0; margin-right: auto; }
@media (max-width: 1040px) {
  [dir="rtl"] .chip-1 { right: -60px; } [dir="rtl"] .chip-2 { left: -60px; } [dir="rtl"] .chip-3 { right: -50px; }
  [dir="rtl"] .fact:nth-child(3) { border-right: 0; padding-right: 0; padding-left: 24px; }
}
@media (max-width: 600px) {
  [dir="rtl"] .chip-1 { left: auto; right: 40px; } [dir="rtl"] .chip-2 { right: auto; left: 30px; }
  [dir="rtl"] .fact { border-right: 0 !important; padding-right: 0 !important; padding-left: 0 !important; }
}
.langs { direction: ltr; }

/* ---------- Verre dépoli, très léger (à garder ou retirer d'un bloc) ---------- */
.bar-top.scrolled { background: rgba(10, 110, 254, .72); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .22), 0 10px 30px -18px rgba(7, 20, 60, .5); }
.chip { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65), 0 20px 40px -16px rgba(7, 20, 60, .45); }
.wchip { background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 18px 36px -16px var(--shadow); }
.langs { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.film-ui { background: rgba(8, 20, 56, .38); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }

/* ---------- En-tête flottant : au défilement, il devient une pilule arrondie ---------- */
.bar-top { height: 76px; transition: none; }
.bar-top .top {
  height: 76px; margin-top: 0; border-radius: 0; padding-inline: max(20px, env(safe-area-inset-left, 0px));
  background: rgba(10, 110, 254, 0); -webkit-backdrop-filter: blur(0px) saturate(1); backdrop-filter: blur(0px) saturate(1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0), 0 0 0 0 rgba(7, 20, 60, 0);
  transition: max-width 1s var(--ease), height 1s var(--ease), margin-top 1s var(--ease), border-radius 1s var(--ease), padding 1s var(--ease),
    background 1s ease, backdrop-filter 1s ease, -webkit-backdrop-filter 1s ease, box-shadow 1s ease;
}
.bar-top.scrolled { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.bar-top.scrolled .top {
  max-width: min(1040px, calc(100% - 24px)); height: 64px; margin-top: 10px; border-radius: 999px; padding-inline: 14px 14px;
  background: rgba(10, 110, 254, .74); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24), 0 18px 40px -18px rgba(7, 20, 60, .55);
}
.bar-top .brand { transition: transform 1s var(--ease); transform-origin: left center; }
.bar-top.scrolled .brand { transform: scale(.88); padding-inline-start: 6px; }
[dir="rtl"] .bar-top .brand { transform-origin: right center; }
@media (max-width: 1040px) {
  .drawer { inset: 82px 12px auto 12px; border-radius: 24px; }
}
.nav .btn, .bar-top .btn-top { white-space: nowrap; }
.brand, .brand svg, .langs { flex: none; }
.bar-top.scrolled .top { max-width: min(1120px, calc(100% - 24px)); }
.bar-top.scrolled .nav .lnk { padding: 0 10px; }
.bar-top.scrolled .nav .btn { margin-inline-start: 6px; }


/* ---------- Règles de Vercel Web Interface Guidelines ---------- */
a, button, summary, input, label { touch-action: manipulation; -webkit-tap-highlight-color: rgba(10, 110, 254, .18); }
p, li, summary { text-wrap: pretty; }
.price, .plan .price, .out, .fact .big, .rung .pts { font-variant-numeric: tabular-nums; }
[tabindex="-1"]:focus { outline: none; }
.lnk { text-decoration: none; display: inline-flex; align-items: center; color: inherit; }
.drawer { overscroll-behavior: contain; }
@media (pointer: fine) { html { overscroll-behavior: none; } }
.langs a { min-height: 40px; }
.drawer .langs a { min-height: 44px; }
[dir="rtl"] .rung .bar i { transform-origin: right center; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-top: 44px; }
.foot-bottom .copy { margin-top: 0; }
#calm { font-size: var(--fs-s); text-decoration: underline; text-underline-offset: 4px; }
.calm .marq-track, .calm .bob, .calm .fan i, .calm .chip { animation: none; }
.calm .fan i { opacity: 1; transform: rotate(var(--a)); } .calm .chip { opacity: 1; }

.drawer .lnk { display: flex; width: 100%; }


/* film vertical : texte à côté d'un téléphone de taille raisonnable */
.vside { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: center; margin-top: 32px; padding: 48px; border-radius: 32px; background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); }
.vcopy h2 { margin-bottom: 14px; } .vcopy .sub { font-size: var(--fs-1); color: var(--muted); line-height: 1.55; }
.vmeta { margin-top: 20px; font-size: var(--fs-s); font-weight: 700; color: var(--link); }
.vphone .film { aspect-ratio: 9 / 16; max-height: none; border-radius: 24px; }
@media (max-width: 1040px) { .vside { grid-template-columns: 1fr; padding: 28px 20px; } .vphone { width: min(260px, 100%); margin-inline: auto; } }

.stage .splitphone { flex-direction: column; align-items: center; } .splitphone @media (pointer: coarse) { .langs a { min-height: 44px; } }

/* ---------- Sélecteur de langue en bulle quand la fenêtre est étroite : on touche la bulle, les autres langues s'ouvrent dessous ---------- */
@media (min-width: 1101px) and (max-width: 1210px) {
  .nav .langs { flex-direction: column; gap: 8px; width: 46px; height: 46px; padding: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; margin-inline-start: 6px; position: relative; z-index: 3; }
  .nav .langs a { order: 1; width: 46px; height: 46px; min-height: 46px; padding: 0; border-radius: 50%; display: none; align-items: center; justify-content: center; background: #fff; color: var(--brand-dark); box-shadow: 0 12px 26px -12px rgba(7, 20, 60, .55), inset 0 0 0 1px var(--line); font-size: var(--fs-s); }
  .nav .langs a[aria-current="true"] { order: 0; display: inline-flex; background: var(--brand-dark); color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); }
  .nav .langs.open a { display: inline-flex; }
}

/* ---------- En-tête : place pour six liens, pilule et bulle de langue recalibrées (audit du 2026-11-01) ---------- */
.nav { gap: 2px; }
.nav .lnk { padding: 0 10px; }
.bar-top .top { max-width: 1240px; }
.bar-top.scrolled .top { max-width: min(1200px, calc(100% - 24px)); }
.brand { min-height: 44px; }
@media (min-width: 1041px) and (max-width: 1100px) {
  .nav { display: none; } .burger { display: inline-flex; }
  .drawer { position: fixed; inset: 82px 12px auto 12px; border-radius: 24px; background: #fff; color: var(--fg); padding: 12px max(20px, env(safe-area-inset-left, 0px)) 24px; z-index: 49; display: none; box-shadow: 0 30px 50px -20px rgba(19, 35, 73, .35); }
  .drawer.open { display: grid; gap: 2px; animation: fadeUp .35s var(--ease) both; }
  .drawer .lnk { background: none; border: 0; color: var(--fg); text-align: start; font-weight: 700; font-size: var(--fs-1); min-height: 54px; cursor: pointer; border-bottom: 1px solid var(--line); }
  .drawer .btn-white { background: var(--brand); color: #fff; }
  .drawer .btn { margin-top: 14px; } .drawer .langs { align-self: start; margin: 14px 0 0; background: var(--tint); color: var(--fg); } .drawer .langs a[aria-current="true"] { background: var(--brand); color: #fff; }
}

/* ---------- Contrastes du texte blanc sur le bleu (au moins 4,5 pour 1) ---------- */
.badge { background: rgba(19, 35, 73, .32); }
.lead, .ticks, .final .sub, .art-meta { color: #fff; }
.btn-ghost { background: rgba(19, 35, 73, .28); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: rgba(19, 35, 73, .4); }
.lab.p { background: #c2255c; }

/* ---------- Cibles tactiles de 44 px sur téléphone ---------- */
@media (max-width: 600px) {
  footer a, footer .fl { min-height: 44px; }
  input[type="range"] { min-height: 44px; }
}

.post-card .go { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 600px) { footer button.fl { min-height: 44px; } }
.vs.avec li { color: #fff; }

/* ---------- Fabrication : classes qui remplacent les styles en ligne ---------- */
.i1 { --i: 1; }
.i2 { --i: 2; }
.l0 { --l: 0; }
.l1 { --l: 1; }
.l2 { --l: 2; }
.pb40 { padding-bottom: 40px; }
.pt0 { padding-top: 0; }
.pt56 { padding-top: 56px; }
.pull { margin-top: -12px; }
.sprite { position: absolute; }
.w100 { --w: 1; }
.w33 { --w: 0.33; }
.w40 { --w: 0.4; }
.w50 { --w: 0.5; }
.w66 { --w: 0.66; }
.w75 { --w: 0.75; }
.langs a { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.view.on { animation: none; }
[hidden] { display: none !important; }
.art-meta { margin-top: 18px; font-size: var(--fs-s); font-weight: 600; color: rgba(255, 255, 255, .92); }
.prose { max-width: 720px; margin-inline: auto; }
.prose h2 { font-size: var(--fs-3); line-height: 1.2; margin: 52px 0 16px; }
.prose h3 { margin: 32px 0 12px; }
.prose p, .prose li { font-size: var(--fs-0); line-height: 1.85; color: var(--fg); }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-inline-start: 1.5em; list-style: revert; display: grid; gap: 10px; }
.prose a { color: var(--link); text-underline-offset: 3px; }
.prose strong { font-weight: 800; }
.prose blockquote { margin: 28px 0; padding: 22px 26px; background: var(--tint); border-radius: 22px; }
.prose blockquote p { margin: 0; }
.related { max-width: 1080px; margin: 72px auto 0; }
.rel-title { font-size: var(--fs-3); margin-bottom: 28px; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { background: var(--surface); border-radius: 26px; padding: 28px; box-shadow: 0 1px 0 var(--line), 0 18px 36px -26px var(--shadow); display: flex; flex-direction: column; gap: 12px; transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 26px 44px -24px var(--shadow); }
.post-meta { font-size: var(--fs-s); color: var(--muted); font-weight: 600; }
.post-title { font-size: var(--fs-2); line-height: 1.25; letter-spacing: -.01em; }
.post-title a { color: inherit; text-decoration: none; }
.post-card p { color: var(--muted); line-height: 1.6; }
.post-card .go { margin-top: auto; font-weight: 700; color: var(--link); text-decoration: none; }
.post-card .go:hover { text-decoration: underline; text-underline-offset: 4px; }
.art-meta { color: #fff; }
.lost { min-height: 100vh; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; padding: 32px; }
.lost .w { width: 120px; height: 100px; margin-bottom: 24px; }
.lost h1 { font-size: var(--fs-4); margin-bottom: 12px; } .lost p { font-size: var(--fs-1); margin-bottom: 28px; }
