/* caroule — la page de présentation (15/11/2026, Raphaël : « comme dans la DA, moins foncé, plus de couleur, hiérarchiser ») :
   la DA de l'appli en clair, des bandeaux de couleur, une scène de quartier en haut. Les autres pages du site gardent site.css. */
@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dmsans.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
:root {
  --ink: #0C0A18; --bg: #F7F4FF; --paper: #FFFFFF; --soft: #4B4566; --muted: #6F6990;
  --lime: #C6FF3D; --orange: #FFB020; --violet: #9B6BFF; --cyan: #3DE0F5; --red: #FF3B5C;
  --lime-l: #E4FFB0; --orange-l: #FFE7B3; --cyan-l: #D8F7FF; --violet-l: #E9E0FF; --yellow-l: #FFF1A8; --mint-l: #C8F2E0;
  --display: "Bricolage Grotesque", system-ui, sans-serif; --body: "DM Sans", system-ui, sans-serif;
  --sh: 4px 4px 0 var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--lime); padding: 8px 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 16px; border: 3px solid var(--ink); background: var(--ink); color: #fff;
  font: 800 17px var(--display); text-decoration: none; box-shadow: var(--sh); transition: transform .12s, box-shadow .12s; }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.lime { background: var(--lime); color: var(--ink); } .btn.white { background: var(--paper); color: var(--ink); }
.btn.sm { padding: 8px 14px; font-size: 15px; border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); background: var(--lime); color: var(--ink); }
.kicker { display: inline-block; font: 800 13px var(--display); letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--lime); padding: 5px 10px; border-radius: 8px; transform: rotate(-2deg); }
.head { display: grid; gap: 14px; justify-items: start; margin-bottom: 26px; }
.head h2 { font-size: clamp(34px, 6vw, 56px); }
.head p { margin: 0; color: var(--soft); font-size: 18px; max-width: 34em; }
section { padding: 64px 0; }
.center { text-align: center; margin-top: 26px; } .small { font-size: 14px; color: var(--muted); }

/* en-tête : une seule ligne, collée en haut */
.bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 2px solid var(--ink); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 7px; background: var(--lime); border: 3px solid var(--ink); border-radius: 14px; padding: 5px 12px 5px 8px; box-shadow: 3px 3px 0 var(--ink); font: 800 22px var(--display); text-decoration: none; transform: rotate(-2deg); }
.logo svg, .site-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 15px; }
.site-nav a:not(.btn):hover { background: var(--violet-l); }
@media (max-width: 640px) { .site-nav span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .site-nav a:not(.btn) { padding: 8px; } }

/* héros */
.hero { padding: 28px 0 0; background:
  radial-gradient(60% 50% at 85% 10%, var(--cyan-l), transparent 70%), radial-gradient(50% 40% at 0% 60%, var(--lime-l), transparent 70%), var(--bg); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.kick { margin: 0 0 14px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 12px 4px 8px; }
.kick .dot { width: 10px; height: 10px; border-radius: 50%; background: #2FCB6E; box-shadow: 0 0 0 0 rgba(47,203,110,.6); animation: live 1.6s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(47,203,110,0); } 100% { box-shadow: 0 0 0 0 rgba(47,203,110,0); } }
.hero h1 { font-size: clamp(42px, 7.4vw, 84px); font-weight: 800; }
.hero h1 .aside { font-size: .48em; color: var(--violet); white-space: nowrap; vertical-align: .3em; }
.hero h1 em { font-style: normal; white-space: nowrap; background: var(--lime); padding: 0 .14em; border-radius: .18em; border: 3px solid var(--ink); box-shadow: var(--sh); display: inline-block; transform: rotate(-1.5deg); margin-top: 6px; }
.lead { font-size: 20px; color: var(--soft); margin: 20px 0 24px; max-width: 30em; } .lead b { color: var(--ink); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* la scène de quartier */
.scene { position: relative; border: 3px solid var(--ink); border-radius: 28px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); background: #EDE7FB; aspect-ratio: 560 / 470; width: 100%; }
.quart { display: block; width: 100%; height: 100%; }
.quart .qpin { animation: qpop 8.5s ease-out infinite both; }
@keyframes qpop { 0% { opacity: 0; translate: 0 8px; } 6%, 72% { opacity: 1; translate: 0 0; } 80%, 100% { opacity: 0; translate: 0 -4px; } }
.quart .wave { animation: wave 3s ease-in-out infinite alternate; } @keyframes wave { to { translate: 6px 3px; } }
.scene-chips { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.scene-chips span { display: inline-flex; align-items: center; gap: 5px; background: var(--ink); color: #fff; border-radius: 999px; padding: 3px 9px 3px 3px; font: 800 12px var(--display); }
.scene-chips .warn { background: var(--orange); color: var(--ink); }
.scene-chips i, .scene-card i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 800 12px var(--display); border: 2px solid #fff; }
.scene-card { position: absolute; left: 10px; bottom: 10px; width: min(260px, calc(100% - 20px)); background: #fff; border: 3px solid var(--ink); border-radius: 16px; box-shadow: var(--sh); padding: 6px 12px; display: grid; z-index: 2; }
.sc-k { font: 800 11px var(--display); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.sc-row { display: flex; align-items: center; gap: 8px; font-size: 16px; } .sc-row i { border-color: var(--ink); }
.sc-min { margin-left: auto; font-weight: 700; } .sc-min b { font: 800 22px var(--display); background: var(--lime); border: 2px solid var(--ink); border-radius: 8px; padding: 0 6px; }
.sc-go { font-size: 12px; font-weight: 700; color: var(--soft); }
@media (max-width: 860px) { .scene { border-radius: 24px; aspect-ratio: 1 / 1.12; } .scene-chips span { font-size: 11px; padding: 2px 8px 2px 2px; } .scene-chips i, .scene-card i { width: 19px; height: 19px; font-size: 11px; } .scene-card { width: auto; right: auto; padding: 5px 10px; } .sc-k { font-size: 10px; } .sc-row { font-size: 14px; } .sc-min b { font-size: 18px; } .sc-go { display: none; } }

/* le défilé */
.parade { margin-top: 44px; background: var(--ink); border-top: 3px solid var(--ink); padding: 14px 0; overflow: hidden; }
.parade-track { display: flex; gap: 12px; width: max-content; animation: parade 38s linear infinite; }
.parade-track span { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 6px 14px 6px 6px; font: 800 16px var(--display); white-space: nowrap; }
.parade-track span:nth-child(4n+1) { background: var(--lime); } .parade-track span:nth-child(4n+2) { background: var(--cyan-l); } .parade-track span:nth-child(4n+3) { background: var(--orange-l); } .parade-track span:nth-child(4n) { background: var(--violet-l); }
.parade-track svg { width: 36px; height: 36px; overflow: visible; }
@keyframes parade { to { transform: translateX(-50%); } }

/* les chiffres */
.proof { padding: 0; background: var(--lime); border-bottom: 3px solid var(--ink); }
.proof-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof p { margin: 0; padding: 18px 10px; text-align: center; font-weight: 700; font-size: 14px; line-height: 1.2; border-right: 2px solid var(--ink); }
.proof p:last-child { border-right: 0; }
.proof b { display: block; font: 800 30px var(--display); }
@media (max-width: 640px) { .proof-in { grid-template-columns: repeat(2, 1fr); padding: 0; } .proof p:nth-child(2) { border-right: 0; } .proof p:nth-child(-n+2) { border-bottom: 2px solid var(--ink); } }

/* le carrousel des écrans */
.rail-wrap { position: relative; }
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px max(18px, calc((100vw - 1160px) / 2 + 18px)) 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 min(78vw, 330px); scroll-snap-align: center; background: var(--bg); border: 3px solid var(--ink); border-radius: 26px; box-shadow: 6px 6px 0 var(--ink); padding: 20px 18px 20px; display: grid; gap: 8px; align-content: start; }
.slide .phone { width: 62%; margin: 0 auto 8px; border: 3px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 4px 4px 0 var(--ink); background: var(--ink); transform: rotate(-2deg); }
.slide:nth-child(even) .phone { transform: rotate(2deg); }
.slide h3 { font-size: 26px; } .slide p { margin: 0; color: var(--soft); }
.rail-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 6px; }
.rn { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--ink); background: #fff; box-shadow: 3px 3px 0 var(--ink); font: 800 18px var(--display); cursor: pointer; }
.dots { display: flex; gap: 6px; } .dots i { width: 9px; height: 9px; border-radius: 50%; background: #CFC8EA; border: 2px solid var(--ink); } .dots i.on { background: var(--ink); width: 24px; border-radius: 6px; }

/* la raison d'être */
.why-s { background: var(--paper); border-block: 3px solid var(--ink); }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.why article { background: var(--c); border: 3px solid var(--ink); border-radius: 22px; box-shadow: var(--sh); padding: 16px; display: grid; gap: 6px; align-content: start; }
.why article:nth-child(4) { color: #fff; } .why article:nth-child(4) p { color: #fff; }
.why i { width: 48px; height: 48px; background: #fff; border: 2px solid var(--ink); border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.why i span { display: contents; } .why svg { width: 36px; height: 36px; overflow: visible; }
.why h3 { font-size: 20px; } .why p { margin: 0; font-size: 15px; font-weight: 600; }
@media (max-width: 760px) { .why { grid-template-columns: 1fr 1fr; gap: 12px; } .why h3 { font-size: 18px; } }

/* multimodal */
.multi { background: var(--cyan-l); border-bottom: 3px solid var(--ink); }
.ops { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ops li { background: #fff; border: 3px solid var(--ink); border-radius: 18px; box-shadow: var(--sh); padding: 12px; display: grid; grid-template-columns: 44px 1fr; column-gap: 10px; align-items: center; }
.ops i { grid-row: span 2; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; } .ops i span { display: contents; } .ops svg { width: 42px; height: 42px; overflow: visible; }
.ops b { font: 800 17px var(--display); } .ops small { color: var(--soft); font-weight: 600; }
.note { margin: 18px 0 0; font-size: 14px; color: var(--soft); font-weight: 600; }
@media (max-width: 760px) { .ops { grid-template-columns: 1fr 1fr; gap: 10px; } .ops li { grid-template-columns: 36px 1fr; padding: 10px; } .ops i, .ops svg { width: 36px; height: 36px; } .ops b { font-size: 15px; } .ops small { font-size: 12px; } }

/* les lignes */
.lgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lgrid a { display: flex; align-items: center; gap: 12px; background: #fff; border: 3px solid var(--ink); border-radius: 18px; box-shadow: var(--sh); padding: 10px 12px; text-decoration: none; font-weight: 700; font-size: 14px; line-height: 1.25; }
.lgrid b { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--lc); color: #fff; border: 3px solid var(--ink); display: flex; align-items: center; justify-content: center; font: 800 22px var(--display); }
@media (max-width: 760px) { .lgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; } .lgrid a { padding: 0; border: 0; box-shadow: none; background: none; justify-content: center; } .lgrid a span { display: none; } .lgrid b { width: 100%; max-width: 50px; height: auto; aspect-ratio: 1; font-size: 20px; box-shadow: 3px 3px 0 var(--ink); } }

/* installer */
.install { background: var(--orange-l); border-block: 3px solid var(--ink); }
.tabs { display: inline-flex; background: #fff; border: 3px solid var(--ink); border-radius: 14px; padding: 4px; gap: 4px; margin-bottom: 16px; }
.tabs button { border: 0; background: none; font: 800 16px var(--display); padding: 8px 18px; border-radius: 10px; cursor: pointer; color: var(--ink); }
.tabs [aria-selected="true"] { background: var(--ink); color: var(--lime); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li { counter-increment: s; background: #fff; border: 3px solid var(--ink); border-radius: 18px; box-shadow: var(--sh); padding: 14px 14px 14px 54px; font-weight: 600; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; font: 800 16px var(--display); }
.steps[hidden] { display: none; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps li { min-width: 0; } }

/* confiance */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tcards article { background: #fff; border: 3px solid var(--ink); border-radius: 20px; padding: 16px; box-shadow: var(--sh); }
.tcards article:nth-child(1) { background: var(--lime-l); } .tcards article:nth-child(2) { background: var(--violet-l); } .tcards article:nth-child(3) { background: var(--yellow-l); }
.tcards h3 { font-size: 21px; margin-bottom: 6px; } .tcards p { margin: 0; color: var(--soft); font-weight: 600; font-size: 15px; }
@media (max-width: 760px) { .tcards { grid-template-columns: 1fr; gap: 10px; } }

/* FAQ */
.faq details { background: #fff; border: 3px solid var(--ink); border-radius: 16px; margin-bottom: 10px; box-shadow: 3px 3px 0 var(--ink); }
.faq summary { cursor: pointer; padding: 14px 16px; font: 800 17px var(--display); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; } .faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 16px 14px; color: var(--soft); }

.final { background: var(--violet); border-top: 3px solid var(--ink); }
.final-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.final h2 { color: #fff; font-size: clamp(32px, 5vw, 52px); }
.final .btn { background: var(--lime); color: var(--ink); }
footer { background: var(--ink); color: #CFC8EA; padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14px; }

/* le bouton qui suit (téléphone) */
.stick { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); translate: -50% 140%; z-index: 30; transition: translate .3s cubic-bezier(.3, 1.4, .5, 1); }
.stick.on { translate: -50% 0; }

@media (max-width: 860px) {
  section { padding: 48px 0; }
  .hero-in { grid-template-columns: 1fr; gap: 26px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 58px); }
  .lead { font-size: 18px; margin: 14px 0 18px; }
  .scene { border-radius: 24px; max-width: 520px; }
  .parade { margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }

/* le menu commun du site */
.site-nav .tl-open { white-space: nowrap; padding: 8px 14px; font: 800 15px var(--display); border-radius: 12px; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); background: var(--lime); text-decoration: none; }
.site-nav a[aria-current="page"]:not(.tl-open) { background: var(--lime-l); }
@media (max-width: 640px) { .site-nav a[aria-current="page"] { display: none; } .site-nav .tl-open { padding: 6px 10px; font-size: 14px; } }
/* fin et pied de page */
.final-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.final .btn.white { background: #fff; color: var(--ink); }
.socials { width: 100%; margin: 6px 0 0; display: flex; gap: 18px; flex-wrap: wrap; }
.socials a { color: #fff; font-weight: 700; }
footer .wrap { display: grid; gap: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: #fff; }
/* (15/11/2026, Raphaël : le bouton d'en-tête dépassait sur iPhone) : en étroit, « Ouvrir » seul, logo et menu resserrés */
.bar-in { min-width: 0; } .site-nav { flex-shrink: 1; min-width: 0; }
@media (max-width: 480px) {
  .tl-long { display: none; }
  .logo { font-size: 19px; padding: 4px 10px 4px 6px; gap: 5px; } .logo svg { width: 19px; height: 19px; }
  .site-nav { gap: 0; } .site-nav a:not(.btn):not(.tl-open) { padding: 6px; }
}

/* (15/11/2026, Raphaël, iPhone) Safari colore les boutons en bleu et ajoute son triangle aux questions : on reprend la main */
button { color: var(--ink); -webkit-appearance: none; appearance: none; font-family: inherit; }
.rn { display: inline-flex; align-items: center; justify-content: center; padding: 0; color: var(--ink); }
.rn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.faq summary::-webkit-details-marker { display: none; }
.bar { -webkit-backdrop-filter: blur(10px); }
/* le bouton qui suit : plus discret, et la page garde de la place en bas pour qu'il ne cache rien à la fin */
.stick { padding: 10px 18px; font-size: 15px; border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); }
.proof b { white-space: nowrap; }
@media (max-width: 380px) { .proof b { font-size: 24px; } .proof p { font-size: 13px; padding: 14px 6px; } .why h3 { font-size: 17px; } }
/* (15/11/2026, Raphaël : « les transports tronqués ») sur téléphone, et quand les animations sont réduites : pas de défilé
   coupé au bord, une grille où les 10 modes se voient en entier */
@media (max-width: 860px), (prefers-reduced-motion: reduce) {
  .parade { padding: 12px max(12px, env(safe-area-inset-right, 0px)) 12px max(12px, env(safe-area-inset-left, 0px)); }
  .parade-track { width: auto; animation: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .parade-track span:nth-child(n+11) { display: none; }
  .parade-track span { min-width: 0; flex-direction: column; justify-content: center; gap: 2px; padding: 6px 2px 5px; border-radius: 12px; font-size: 12px; }
  .parade-track svg { width: 30px; height: 30px; }
}
@media (max-width: 360px) { .parade-track { gap: 6px; } .parade-track span { font-size: 10.5px; } .parade-track svg { width: 26px; height: 26px; } }

/* (15/11/2026) six chiffres clés : les bus et la métropole aussi */
.proof-in { grid-template-columns: repeat(6, 1fr); gap: 2px; background: var(--ink); padding: 0; }
.proof p { border: 0 !important; background: var(--lime); }
@media (max-width: 960px) { .proof-in { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .proof-in { grid-template-columns: repeat(2, 1fr); } }
/* toute la métropole */
.metro { background: var(--yellow-l); border-block: 3px solid var(--ink); }
.metro-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
.metro .head .btn { margin-top: 6px; }
.metro-map { margin: 0; background: #fff; border: 3px solid var(--ink); border-radius: 26px; box-shadow: 6px 6px 0 var(--ink); padding: 10px; }
#metro-svg { display: block; width: 100%; height: auto; }
#metro-svg text { font: 800 13px var(--body); fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
#metro-svg text.big { font: 800 19px var(--display); }
@media (max-width: 860px) { .metro-in { grid-template-columns: 1fr; } }

/* logo : Tramy (15/11/2026) */
.logo .logo-tramy { width: 31px; height: 33px; display: block; flex: none; }
@media (max-width: 400px) { .logo .logo-tramy { width: 27px; height: 29px; } }

/* (17/11/2026) « Ta ligne, en direct » : un bloc par mode, avec son picto ; le tram en grand, les bus et le bateau côte à côte */
.mode-block { display: grid; gap: 12px; }
.mode-block.tram { margin-bottom: 28px; }
.mode-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mode-h i { flex: none; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 3px solid var(--ink); border-radius: 12px; box-shadow: 2px 2px 0 var(--ink); }
.mode-h i svg, .mode-h i span, .mode-h i span svg { width: 30px; height: 30px; display: block; }
.mode-h h3 { margin: 0; font: 800 24px var(--display); }
.mode-h span { font-weight: 700; color: var(--muted); }
.mode-h > a { margin-left: auto; font-weight: 800; color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; }
.mode-h > a:hover { background: var(--lime); text-decoration: none; border-radius: 6px; }
.mode-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mode-pair .mode-block { background: #fff; border: 3px solid var(--ink); border-radius: 20px; box-shadow: var(--sh); padding: 16px; align-content: start; }
.mode-pair .mode-h h3 { font-size: 20px; }
.mode-pair .mode-h i { width: 34px; height: 34px; } .mode-pair .mode-h i svg, .mode-pair .mode-h i span { width: 26px; height: 26px; }
.mode-pair p { margin: 0; font-weight: 600; color: var(--muted); font-size: 14px; }
.mchips { display: flex; flex-wrap: wrap; gap: 6px; }
.mchip { min-width: 36px; height: 32px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--lc); color: #fff;
  border: 2.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); font: 800 15px var(--display); text-decoration: none; }
.mchip:hover { transform: translateY(-2px); }
.mode-more { font-weight: 800; color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; }
.mode-more:hover { background: var(--lime); text-decoration: none; border-radius: 6px; }
@media (max-width: 760px) { .mode-pair { grid-template-columns: 1fr; } .mode-h > a { margin-left: 0; } }

/* L'histoire */
.story-txt { display: grid; gap: 14px; max-width: 38em; }
.story-txt p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink); }
