/* OctyVIBE Dev : page de présentation (V5, « on comprend en 5 secondes »).
   La page parle d'abord en mots simples : qui, quoi, pour qui, ce que ça change.
   La page reste sobre (papier, encre, un seul accent violet réservé aux actions) ;
   chaque exemple montre le logiciel D'UN client, avec sa propre identité : couleurs, police, mise en page.
   Les maquettes sont dessinées en HTML/CSS (nettes à toute taille) et utilisent des polices système. */

@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('/fonts/schibsted-grotesk-latin-wght-normal.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --bg: #F6F6F3;
  --bg-soft: #ECECE8;
  --fg: #15131D;
  --dim: #47445A;
  --mute: #625F75;
  --line: rgba(21, 19, 29, .14);
  --accent: #5B3BEA;            /* liens, focus : seule couleur de la page */
  --btn: #6F4DFF;               /* boutons pleins */
  --btn-hi: #5B3BEA;
  --night: #0E0D13;
  --ok: #15803D;

  --f-display: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --max: 1200px;
  --r: 12px;
  --shadow: 0 40px 80px -40px rgba(21, 19, 29, .45), 0 0 0 1px rgba(21, 19, 29, .09);
}
/* zones sombres (contact, film) : mêmes règles */
.dark { color-scheme: dark; --bg: var(--night); --fg: #F2F1F5; --dim: rgba(242, 241, 245, .78); --mute: rgba(242, 241, 245, .6);
  --line: rgba(255, 255, 255, .13); --accent: #B3A2FF; background: var(--bg); color: var(--fg); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 clamp(1rem, .96rem + .2vw, 1.0625rem)/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--btn); color: #fff; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--fg); color: var(--bg); padding: .6rem 1rem; border-radius: 8px; z-index: 50; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
section { padding-block: clamp(4rem, 9vw, 8rem); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; margin: 0; text-wrap: balance; }
.h2 { font-size: clamp(2rem, 1.1rem + 2.8vw, 3.4rem); line-height: 1.06; letter-spacing: -.035em; max-width: 20ch; }
.sec-head { margin-bottom: clamp(1rem, 3vw, 2rem); }

/* ---------- boutons et liens : seuls éléments qui réagissent au survol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.5rem; border-radius: 10px; font: 600 1rem/1 var(--f-display); text-decoration: none; border: 0; cursor: pointer; color: #fff; background: var(--btn); transition: background .15s ease-out; }
.btn:hover { background: var(--btn-hi); }
.dark .btn:hover { background: #8264FF; }
.btn--lg { min-height: 54px; padding-inline: 1.8rem; font-size: 1.05rem; }
.textlink, .link { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .3em; text-decoration-thickness: 1px; transition: text-decoration-color .15s ease-out, color .15s ease-out; }
.textlink:hover, .link:hover { color: var(--accent); text-decoration-color: currentColor; }

/* ---------- en-tête ---------- */
.top { padding-block: 1.4rem; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: flex-start; gap: .8rem; padding-block: 4px; text-decoration: none; }
.brand img { height: 36px; width: auto; }
/* « Dev » est posé sur la ligne de base du nom OctyVIBE (9 px de décalage mesurés) */
.brand .dev { position: relative; margin-top: 9px; padding-left: 1rem; font: 600 1rem/1 var(--f-display); color: var(--dim); }
.brand .dev::before { content: ''; position: absolute; left: 0; top: -3px; width: 1px; height: 20px; background: var(--line); }
.top nav { display: flex; align-items: center; gap: 1.8rem; font-size: .95rem; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--dim); transition: color .15s ease-out; }
.top nav a:hover { color: var(--fg); }
.top nav .nav-cta { color: #fff; background: var(--btn); padding: .6rem 1.1rem; border-radius: 10px; font-weight: 600; transition: background .15s ease-out; }
.top nav .nav-cta:hover { background: var(--btn-hi); color: #fff; }
@media (max-width: 720px) { .top nav .hide-s { display: none; } }

/* ---------- accueil : la phrase, pour qui, l'action ; à droite une semaine qui se vide ---------- */
.hero { padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(4rem, 8vw, 7rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 1rem + 4.6vw, 5.4rem); line-height: 1; letter-spacing: -.045em; max-width: 14ch; }
.hero .lead { margin: 1.6rem 0 0; max-width: 46ch; font-size: clamp(1.1rem, 1rem + .35vw, 1.28rem); line-height: 1.55; color: var(--dim); }
.hero .cta { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.hero__me { display: flex; align-items: center; gap: 1rem; margin-top: 2.6rem; max-width: 46ch; }
.hero__me img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.hero__me p { margin: 0; display: grid; gap: .1rem; line-height: 1.4; font-size: .95rem; color: var(--dim); }
.hero__me b { color: var(--fg); font-weight: 600; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

.week { margin: 0; }
.week__card { background: #fff; border-radius: 16px; padding: 1.4rem 1.5rem 1.3rem; box-shadow: var(--shadow); }
.week__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .5rem; }
.week__head b { font-size: 1.15rem; letter-spacing: -.01em; }
.week__head span { font-size: .85rem; color: var(--mute); }
.week ul { list-style: none; margin: 0; padding: 0; }
.week li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.week .t { text-decoration: line-through 1.5px transparent; transition: color .3s ease-out, text-decoration-color .3s ease-out; }
.week .h { flex: none; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.week .auto { display: none; align-items: center; gap: .35rem; color: var(--ok); }
.week .auto svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.week li.done .t { color: var(--mute); text-decoration-color: currentColor; }
.week li.done .m { display: none; }
.week li.done .auto { display: inline-flex; animation: pose .25s ease-out; }
.week__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 1rem; border-top: 2px solid var(--fg); }
.week__foot span { color: var(--dim); }
.week__foot b { font-size: 2rem; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.week figcaption { margin-top: 1rem; color: var(--mute); font-size: .95rem; }
@keyframes pose { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ---------- le film (sombre) ---------- */
.film[hidden] { display: none; }
.film__li { margin: 1.2rem 0 0; }
.film video { display: block; width: 100%; margin-top: clamp(1.6rem, 4vw, 2.6rem); border-radius: var(--r); background: #000; aspect-ratio: 16 / 9; }

/* ---------- exemples : pour qui → bénéfice → avant / maintenant / résultat → le logiciel ---------- */
.notice { margin: 1.2rem 0 0; color: var(--mute); font-size: 1rem; max-width: 60ch; }
.case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 6.5rem); border-top: 1px solid var(--line); }
.case:first-of-type { border-top: 0; }
.case--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.case--flip .case__txt { order: 2; }
.case__who { margin: 0 0 .7rem; color: var(--mute); font-size: 1rem; }
.case__t { font-size: clamp(1.7rem, 1rem + 2.2vw, 2.6rem); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 1.7rem; max-width: 17ch; }
.ba { margin: 0; display: grid; gap: 1.1rem; }
.ba > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; }
.ba dt { font-weight: 700; }
.ba dd { margin: 0; color: var(--dim); max-width: 46ch; }
.ba__res { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.ba__res dd { color: var(--fg); font-weight: 600; }
.case__soft { margin: 1.7rem 0 0; font-size: .92rem; color: var(--mute); }
.case__soft .link { margin-left: .4rem; font-size: 1rem; }
.case__vis { margin: 0; min-width: 0; container-type: inline-size; }
.facts { display: flex; flex-wrap: wrap; gap: .8rem 2rem; margin: 0; padding: 0; list-style: none; font-weight: 400; }
.facts b { display: block; font: 700 1.7rem/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.facts span { font-size: .85rem; color: var(--mute); }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } .case--flip .case__txt { order: 0; } }
@media (max-width: 480px) { .ba > div { grid-template-columns: 1fr; gap: .15rem; } }

/* photos de contexte (générées, retouchées) : cachées tant qu'elles n'existent pas */
.pic { display: none; margin: 0 0 1.6rem; overflow: hidden; border-radius: var(--r); aspect-ratio: 16 / 10; background: var(--bg-soft); }
.pic.on { display: block; }
.pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- méthode : une vraie séquence, donc numérotée ---------- */
.steps { list-style: none; margin: clamp(1rem, 3vw, 2rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); }
.step { border-top: 1px solid var(--fg); padding-top: 1.2rem; }
.step .big { display: block; font: 700 clamp(3rem, 2rem + 4vw, 5.6rem)/1 var(--f-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.02em; margin: 1rem 0 .5rem; }
.step p { margin: 0; color: var(--dim); max-width: 32ch; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- contact (sombre) ---------- */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3rem clamp(2rem, 6vw, 6rem); align-items: center; }
.contact h2 { font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5rem); line-height: 1; letter-spacing: -.045em; max-width: 11ch; }
.contact__lead { margin: 1.4rem 0 0; color: var(--dim); max-width: 40ch; font-size: 1.1rem; }
.who2 { display: flex; align-items: center; gap: 1.1rem; margin: 2.2rem 0 0; }
.who2 img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.who2 figcaption { display: grid; gap: .1rem; color: var(--dim); font-size: .95rem; max-width: 30ch; } .who2 b { color: var(--fg); font-weight: 600; font-size: 1.05rem; }
.cform { display: grid; gap: 1.1rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: 14px; background: #1A1923; border: 1px solid var(--line); }
.cform label { display: grid; gap: .4rem; }
.cform label span { font-size: .9rem; color: var(--dim); }
.cform input, .cform textarea { width: 100%; font: 400 1rem/1.5 var(--f-body); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: .8rem .9rem; transition: border-color .15s ease-out; resize: vertical; }
.cform textarea::placeholder { color: rgba(242, 241, 245, .45); }
.cform input:hover, .cform textarea:hover { border-color: rgba(255, 255, 255, .3); }
.cform input:focus, .cform textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.cform .invalid { border-color: #F87171; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform .btn { width: 100%; }
.cform .btn[disabled] { opacity: .65; cursor: wait; }
.cform__msg { margin: 0; min-height: 1.5em; font-size: .95rem; color: var(--dim); }
.cform__msg.ok { color: #86EFAC; } .cform__msg.err { color: #FCA5A5; }
.cform__msg a { color: inherit; }
.cform.sent label, .cform.sent .btn { display: none; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; } }
footer { padding-block: 2rem 3rem; color: var(--mute); font-size: .88rem; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; }

/* ---------- apparition : un simple fondu, une seule fois ---------- */
.js .rv { opacity: 0; transition: opacity .6s ease-out; }
.js .rv.in { opacity: 1; }
.js .sw .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.js .sw .w > span { display: inline-block; transform: translateY(105%); transition: transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--d, 0) * 55ms); }
.js .sw.in .w > span { transform: none; }


/* ================================================================== MAQUETTES
   Chaque maquette = le logiciel d'un client différent. Tailles en em, calées sur la largeur du bloc. */
.case__vis > * { font-size: clamp(11px, 2.05cqi, 14px); line-height: 1.4; }

/* -- cadre navigateur (neutre) -- */
.br { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); color: #1F2937; }
.br__bar { display: flex; align-items: center; gap: .45em; padding: .65em .85em; background: #ECECEF; border-bottom: 1px solid #DCDCE1; }
.br__bar i { width: .78em; height: .78em; border-radius: 50%; background: #CFCFD6; }
.br__url { margin-left: .7em; flex: 1; min-width: 0; display: flex; align-items: center; gap: .45em; padding: .32em .85em; border-radius: 999px; background: #fff; color: #4B5563; font: .8em system-ui, -apple-system, 'Segoe UI', sans-serif; white-space: nowrap; overflow: hidden; }
.br__url svg { flex: none; width: 1em; height: 1em; fill: none; stroke: #6B7280; stroke-width: 2; }

/* -- cadre téléphone (réaliste) -- */
.ip { position: relative; width: 15.5em; aspect-ratio: 9 / 19.5; border-radius: 2.7em; background: #0D0D0F; padding: .55em; box-shadow: 0 40px 70px -30px rgba(21, 19, 29, .6), inset 0 0 0 1.5px #3A3A40; }
.ip__s { position: relative; height: 100%; border-radius: 2.2em; overflow: hidden; background: #fff; display: flex; flex-direction: column; font-family: -apple-system, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif; }
.ip__s::before { content: ''; position: absolute; top: .55em; left: 50%; translate: -50% 0; width: 5.4em; height: 1.55em; border-radius: 1em; background: #0D0D0F; z-index: 5; }
.ip__sb { display: flex; justify-content: space-between; align-items: center; padding: .8em 1.2em .4em 1.25em; font-weight: 600; font-size: .78em; }
.ip__sb svg { height: .8em; width: auto; }
.ip__s--img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; padding-top: 2.2em; background: #fff; }

/* ---------- 1. Dumont Carrelage : site d'artisan, bleu marine et orange, Arial ---------- */
.du { --navy: #13304A; --orange: #E4572E; background: #F4F5F7; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; }
.du__nav { display: flex; justify-content: space-between; align-items: center; gap: 1em; padding: .85em 1.4em; background: #fff; border-bottom: 1px solid #E5E7EB; }
.du__logo { display: flex; align-items: center; gap: .6em; color: var(--navy); }
.du__logo i { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 1.7em; height: 1.7em; }
.du__logo i b { background: var(--navy); border-radius: 2px; } .du__logo i b:nth-child(2), .du__logo i b:nth-child(3) { background: var(--orange); }
.du__logo > span { font: 900 1.05em/1 'Arial Black', Arial, sans-serif; letter-spacing: .08em; }
.du__logo small { display: block; margin-top: .25em; font: 400 .6em/1 Arial, sans-serif; letter-spacing: .02em; color: #6B7280; }
.du__menu { display: flex; align-items: center; gap: 1.3em; font-size: .8em; color: #4B5563; }
.du__cta { padding: .45em .9em; border-radius: 4px; background: var(--navy); color: #fff; font-weight: 700; }
.du__body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.3em; padding: 1.5em 1.4em 1.6em; }
.du h4 { margin: 0 0 .9em; font: 700 1.45em/1.15 Arial, sans-serif; letter-spacing: -.01em; color: var(--navy); }
.du__q { display: flex; justify-content: space-between; margin: 1.1em 0 .55em; font-size: .82em; font-weight: 700; color: #374151; }
.du__q b { color: var(--navy); font-variant-numeric: tabular-nums; }
.du__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5em; }
.du__tiles span { display: grid; justify-items: center; gap: .4em; padding: .75em .3em .65em; border: 1.5px solid #D1D5DB; border-radius: 8px; background: #fff; font-size: .76em; color: #374151; text-align: center; }
.du__tiles span.on { border-color: var(--navy); background: #EAF0F6; color: var(--navy); font-weight: 700; }
.du__tiles svg { width: 2em; height: 2em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.du__rng { position: relative; height: .45em; border-radius: 999px; background: #D1D5DB; margin: .9em .5em .5em; }
.du__rng::before { content: ''; position: absolute; inset: 0 calc(100% - var(--p, 62%)) 0 0; border-radius: inherit; background: var(--navy); }
.du__rng::after { content: ''; position: absolute; left: var(--p, 62%); top: 50%; width: 1.25em; height: 1.25em; translate: -50% -50%; border-radius: 50%; background: #fff; border: .22em solid var(--navy); box-shadow: 0 2px 6px rgba(19, 48, 74, .3); }
.du__opts { display: flex; gap: .5em; }
.du__opts span { flex: 1; text-align: center; padding: .6em; border: 1.5px solid #D1D5DB; border-radius: 8px; background: #fff; font-size: .8em; color: #374151; }
.du__opts .on { border-color: var(--navy); color: var(--navy); font-weight: 700; background: #EAF0F6; }
.du__two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; }
.du__two .du__q { margin-top: 1.1em; }
.du__chk { display: grid; gap: .45em; }
.du__chk span { display: flex; align-items: center; gap: .6em; font-size: .8em; color: #374151; }
.du__chk i { flex: none; display: grid; place-items: center; width: 1.25em; height: 1.25em; border-radius: 4px; border: 1.5px solid #9CA3AF; background: #fff; }
.du__chk .on i { border-color: var(--navy); background: var(--navy); }
.du__chk .on i::after { content: ''; width: .35em; height: .65em; margin-top: -.15em; border: solid #fff; border-width: 0 .14em .14em 0; transform: rotate(45deg); }
.du__tva { margin-top: -.3em; }
.du__delay { margin: .2em 0 0; font-size: .76em; color: #13304A; font-weight: 700; }
.du__sum { align-self: start; background: #fff; border: 1px solid #E5E7EB; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 24px -14px rgba(19, 48, 74, .35); }
.du__ph { aspect-ratio: 16 / 10; background: #D9D4CC; } .du__ph img { width: 100%; height: 100%; object-fit: cover; }
.du__res { padding: 1em 1.1em 1.1em; display: grid; gap: .55em; }
.du__res small { font-size: .78em; color: #6B7280; }
.du__tot { font: 700 2.1em/1 Arial, sans-serif; color: var(--navy); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.du__res ul { list-style: none; margin: .2em 0 0; padding: .6em 0 0; border-top: 1px solid #E5E7EB; display: grid; gap: .3em; font-size: .78em; color: #4B5563; }
.du__res li { display: flex; justify-content: space-between; } .du__res li span { font-variant-numeric: tabular-nums; }
.du__go { margin-top: .5em; text-align: center; padding: .75em .5em; border-radius: 6px; background: var(--orange); color: #fff; font-weight: 700; font-size: .82em; }
@container (max-width: 560px) { .du__body { grid-template-columns: 1fr; } .du__two { grid-template-columns: 1fr; gap: 0; } .du__menu span:not(.du__cta) { display: none; } .du__ph { display: none; } }

/* ---------- 2. Maison Figuier : caisse sur téléphone + boutique en ligne, vert sauge et crème, Georgia ---------- */
.fg { --sage: #2F4A3A; --cream: #F7F2EA; position: relative; padding: 0 0 2.5em 0; }
.fg__site { width: 82%; margin-left: auto; }
.fs { background: var(--cream); color: #2A2A26; font-family: Georgia, 'Times New Roman', serif; }
.fs__nav { display: flex; align-items: baseline; gap: 1.4em; padding: .9em 1.4em; border-bottom: 1px solid rgba(47, 74, 58, .15); }
.fs__nav b { font: 400 1.25em/1 Georgia, serif; letter-spacing: .02em; color: var(--sage); }
.fs__nav span { font: .78em system-ui, -apple-system, 'Segoe UI', sans-serif; color: #5E625B; }
.fs__nav .fs__cart { margin-left: auto; }
.fs__p { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.4em; padding: 1.4em 1.4em 1.6em 30%; }
.fs__img { position: relative; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: #EDE6DA; display: grid; }
.fs__img .pic { position: absolute; inset: 0; margin: 0; border-radius: 0; aspect-ratio: auto; }
.fs__ph { display: grid; place-content: center; gap: .3em; margin: .9em; border: 1px solid rgba(47, 74, 58, .25); text-align: center; font: italic 400 1.05em/1.2 Georgia, serif; color: var(--sage); }
.fs__ph small { font: .72em system-ui, -apple-system, 'Segoe UI', sans-serif; color: #6B6B63; }
.fs__img:has(.pic.on) .fs__ph { display: none; }
.fs__info h5 { margin: 0; font: 400 1.5em/1.1 Georgia, serif; color: #23231F; }
.fs__price { margin: .4em 0 0; font: 1.05em system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 600; }
.fs__desc { margin: .6em 0 0; font: .8em/1.45 system-ui, -apple-system, 'Segoe UI', sans-serif; color: #5E625B; }
.fs__st { display: flex; align-items: center; gap: .45em; margin: 1em 0 .7em; font: 600 .82em system-ui, -apple-system, 'Segoe UI', sans-serif; color: #2F6B45; }
.fs__st i { width: .55em; height: .55em; border-radius: 50%; background: currentColor; }
.fs__btn { display: block; text-align: center; padding: .8em; border-radius: 999px; background: var(--sage); color: #fff; font: 600 .82em system-ui, -apple-system, 'Segoe UI', sans-serif; transition: background-color .3s ease-out, color .3s ease-out; }
.fs .out { display: none; }
.fg[data-s="3"] .fs .in { display: none; } .fg[data-s="3"] .fs .out { display: inline; }
.fg[data-s="3"] .fs__st { animation: pose .3s ease-out; }
/* le téléphone : trois écrans, un par étape (réception, caisse, transfert) */
.fp .s2, .fp .s3 { display: none; }
.fg[data-s="2"] .fp .s1, .fg[data-s="3"] .fp .s1, .fg[data-s="3"] .fp .s2 { display: none; }
.fg[data-s="2"] .fp .s2, .fg[data-s="3"] .fp .s3 { display: inline; }
.fp__split { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; margin: .7em 1em 0; opacity: 0; transition: opacity .25s ease-out; }
.fp__split div { padding: .55em .7em; border-radius: .8em; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.fp__split small { display: block; font-size: .7em; color: #6B6F68; }
.fp__split b { font-size: 1.4em; font-variant-numeric: tabular-nums; }
.fp__split div:first-child b { color: var(--sage); }
.fg:not([data-s="0"]) .fp__split { opacity: 1; }
.fg__ph { position: absolute; left: 0; bottom: 0; width: 14.5em; }
.fp { background: #FBFAF7; color: #1F2420; }
.fp__head { padding: .6em 1.2em .8em; }
.fp__head small { display: block; font-size: .72em; color: #6B6F68; }
.fp__head b { font-size: 1.15em; letter-spacing: -.01em; }
.fp__cam { position: relative; margin: 0 1em; height: 7.5em; border-radius: 1em; background: #1E2420; overflow: hidden; display: grid; place-items: center; }
.fp__code { display: flex; gap: 2px; width: 55%; height: 45%; padding: .4em; background: #fff; border-radius: 3px; }
.fp__code i { flex: 1; background: #111; } .fp__code i:nth-child(3n) { flex: 2.2; } .fp__code i:nth-child(4n+1) { flex: .5; } .fp__code i:nth-child(5n) { background: transparent; }
.fp__line { position: absolute; left: 18%; right: 18%; top: 50%; height: 2px; background: #EF4444; box-shadow: 0 0 8px #EF4444; animation: sweep 2.2s ease-in-out infinite; }
.fp__item { display: flex; align-items: center; gap: .6em; margin: .9em 1em 0; padding: .7em .8em; border-radius: .9em; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 0 0 1px rgba(0, 0, 0, .06); font-size: .82em; opacity: 0; transform: translateY(6px); transition: opacity .25s ease-out, transform .25s ease-out; }
.fp__item > span:nth-child(2) { flex: 1; display: grid; line-height: 1.25; } .fp__item small { color: #5E625B; font-size: .85em; }
.fp__dot { display: grid; place-items: center; width: 2em; height: 2em; border-radius: .5em; background: var(--sage); color: #fff; font: italic 1em Georgia, serif; flex: none; }
.fp__ok { display: flex; align-items: center; gap: .45em; margin: .7em 1em 0; padding: .6em .8em; border-radius: .9em; background: #E7F3EB; color: #1E6A3A; font-size: .78em; font-weight: 600; opacity: 0; transition: opacity .25s ease-out; }
.fp__ok svg { flex: none; width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.fp__btn { margin: auto 1em 1.4em; padding: .85em; border-radius: 999px; text-align: center; background: var(--sage); color: #fff; font-weight: 600; font-size: .85em; }
.fg:not([data-s="0"]) .fp__item { opacity: 1; transform: none; }
.fg:not([data-s="0"]) .fp__ok { opacity: 1; }
.fg__sync { position: absolute; left: 15.5em; bottom: 5.5em; display: inline-flex; align-items: center; gap: .5em; padding: .5em .9em; border-radius: 999px; background: var(--fg); color: #fff; font: 600 .8em var(--f-body); opacity: 0; transform: translateX(-6px); transition: opacity .25s ease-out, transform .25s ease-out; }
.fg__sync i { width: .55em; height: .55em; border-radius: 50%; background: #4ADE80; }
.fg[data-s="1"] .fg__sync, .fg[data-s="3"] .fg__sync { opacity: 1; transform: none; }
@container (max-width: 560px) {
  .fg { padding: 0; display: flex; flex-direction: column; align-items: center; } .fg__site { width: 100%; } .fs__p { padding: 1.2em; grid-template-columns: 1fr 1.3fr; } .fs__nav span:not(.fs__cart) { display: none; }
  .fg__sync { position: static; order: 2; margin: 1.2em 0; } .fg__ph { position: relative; order: 3; }
}

/* ---------- 3. Kriblo : client mail, barre encre et vert canard, Segoe UI (couleurs de son design system) ---------- */
.kb { --ink: #14181F; --teal: #0F6E66; --kline: #E2E5EA; --ktext: #161A21; --ktext-2: #4D5664; --side: #F7F8FA; --canvas: #F3F4F7;
  display: grid; grid-template-columns: 9.5em minmax(0, 1.1fr) minmax(0, 1fr); min-height: 25em; border-radius: 10px; overflow: hidden; background: var(--canvas); box-shadow: var(--shadow);
  font-family: 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--ktext); }
.kb__side { display: flex; flex-direction: column; gap: .1em; padding: .9em .55em; background: var(--side); border-right: 1px solid var(--kline); color: var(--ktext); font-size: .78em; }
.kb__logo { display: flex; align-items: center; gap: .5em; margin: 0 .35em 1em; font-weight: 700; font-size: 1.15em; }
.kb__logo svg { width: 1.6em; height: 1.6em; }
.kb__side > span:not(.kb__logo) { display: flex; align-items: center; gap: .55em; padding: .45em .55em; border-radius: 7px; color: #2B323C; white-space: nowrap; }
.kb__side > span svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.kb__side .on { background: #fff; font-weight: 600; box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 0 0 1px var(--kline); }
.kb__list { display: flex; flex-direction: column; gap: .45em; padding: .9em .9em 1em; }
.kb__head { display: grid; gap: .15em; padding: 0 .1em .2em; }
.kb__head b { font-size: 1.15em; font-weight: 700; letter-spacing: -.01em; } .kb__head span { font-size: .78em; color: var(--ktext-2); }
.kb__bk { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45em; margin-bottom: .2em; }
.kb__bk span { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .45em; padding: .5em .6em; border-radius: 9px; background: #fff; font-size: .72em; font-weight: 600; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 0 0 1px var(--kline); }
.kb__bk i { display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 6px; color: #fff; font-style: normal; font-weight: 700; }
.kb__bk b { font-size: 1.35em; } .kb__bk .r { box-shadow: 0 0 0 1.5px #C43B23; } .kb__bk .r i { background: #C2410C; } .kb__bk .r b { color: #C2410C; }
.kb__bk .v i { background: #1D4ED8; } .kb__bk .v b { color: #1D4ED8; } .kb__bk .g i { background: var(--teal); } .kb__bk .g b { color: var(--teal); }
.kb__mail { display: grid; grid-template-columns: 2.1em minmax(0, 1fr) auto; grid-template-areas: "av from time" "av sub sub" "av tag tag"; gap: .1em .6em; padding: .6em .75em; border-radius: 9px; background: #fff; font-size: .78em; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 0 0 1px var(--kline); transition: opacity .3s ease-out, background-color .3s ease-out, box-shadow .3s ease-out; }
.kb__av { grid-area: av; display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 50%; font-size: .85em; font-weight: 700; }
.kb__from { grid-area: from; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb__time { grid-area: time; font-size: .85em; color: var(--ktext-2); font-variant-numeric: tabular-nums; }
.kb__sub { grid-area: sub; font-weight: 600; color: var(--ktext); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { grid-area: tag; justify-self: start; margin-top: .25em; padding: .15em .6em; border-radius: 999px; font-size: .82em; font-weight: 600; white-space: nowrap; opacity: 0; transform: scale(.9); transition: opacity .25s ease-out, transform .25s ease-out; }
.tag[data-hue="orange"] { background: #FDECDF; color: #9A4A12; } .tag[data-hue="green"] { background: #E2F3E6; color: #1D6B35; }
.tag[data-hue="cyan"] { background: #DFF2F6; color: #0E6274; } .tag[data-hue="gray"] { background: #EEF0F3; color: #55606E; } .tag[data-hue="slate"] { background: #E8EBF0; color: #4A5566; }
.kbw:not([data-s="0"]) .kb .tag { opacity: 1; transform: none; }
.kb .k2 .tag { transition-delay: .12s; } .kb .k3 .tag { transition-delay: .24s; } .kb .k4 .tag { transition-delay: .36s; } .kb .k5 .tag { transition-delay: .48s; }
.kbw:not([data-s="0"]) .kb .hot { box-shadow: inset 3px 0 0 #C43B23, 0 8px 20px -6px rgba(16, 24, 40, .14), 0 0 0 1px var(--kline); }
.kbw:not([data-s="0"]) .kb .dim { opacity: .55; }
.kb__head .b { display: none; } .kbw:not([data-s="0"]) .kb .kb__head .a { display: none; } .kbw:not([data-s="0"]) .kb .kb__head .b { display: inline; }
.kb__read { display: flex; flex-direction: column; gap: .5em; padding: 1em 1.1em; background: #FBFCFD; font-size: .82em; }
.kb__rs { margin: 0; font-weight: 600; } .kb__rt { margin: 0; font-size: 1.1em; font-weight: 600; line-height: 1.3; } .kb__rb { margin: 0; color: var(--ktext-2); line-height: 1.5; }
.kb__draft { margin-top: .4em; padding: .8em .9em; border-radius: 8px; background: #fff; border: 1px solid var(--kline); box-shadow: inset 3px 0 0 var(--teal); opacity: 0; transform: translateY(8px); transition: opacity .3s ease-out, transform .3s ease-out; }
.kb[data-s="2"] .kb__draft, .kb[data-s="3"] .kb__draft { opacity: 1; transform: none; }
.kb__dl { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--teal); font-size: .92em; }
.kb__dl i { width: .55em; height: .55em; border-radius: 50%; background: var(--teal); }
.kb__draft p { margin: .5em 0 .7em; line-height: 1.5; }
.kb__btns { display: flex; gap: .5em; }
.kb__btns span { padding: .45em 1em; border-radius: 6px; border: 1px solid var(--kline); font-weight: 600; font-size: .92em; }
.kb__btns .kb__send { background: var(--teal); border-color: var(--teal); color: #fff; }
.kbw { position: relative; min-height: 31em; }
.kbw .kb { width: 74%; grid-template-columns: 10.6em minmax(0, 1fr); }
.kbw .kb__list { border-right: 0; }
.sg { position: absolute; right: 0; top: 2.5em; width: 13em; }
.sg__s { background: #fff; color: #1B1B1F; }
.sg__h { display: flex; align-items: center; gap: .55em; padding: .4em .9em .7em; border-bottom: 1px solid #ECECEC; }
.sg__av { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; background: #2C6BED; color: #fff; font-weight: 700; font-size: .85em; }
.sg__h > span:last-child { display: grid; line-height: 1.2; } .sg__h b { font-size: .88em; } .sg__h small { font-size: .66em; color: #6B6B70; }
.sg__c { display: flex; flex-direction: column; gap: .45em; padding: .7em .7em 1em; }
.sg__m { margin: 0; max-width: 88%; padding: .5em .7em; border-radius: 1em; font-size: .74em; line-height: 1.35; opacity: 0; transform: translateY(6px); transition: opacity .25s ease-out, transform .25s ease-out; }
.sg__m b { display: block; font-size: .85em; color: #0F6E66; margin-bottom: .1em; }
.sg__in { align-self: flex-start; background: #EFEFF1; border-bottom-left-radius: .3em; }
.sg__out { align-self: flex-end; background: #2C6BED; color: #fff; border-bottom-right-radius: .3em; }
.kbw:not([data-s="0"]) .m1, .kbw[data-s="2"] .m2, .kbw[data-s="2"] .m3, .kbw[data-s="3"] .m2, .kbw[data-s="3"] .m3, .kbw[data-s="3"] .m4, .kbw[data-s="3"] .m5 { opacity: 1; transform: none; }
.kbw[data-s="2"] .m3 { transition-delay: .6s; } .kbw[data-s="3"] .m5 { transition-delay: .6s; }
@container (max-width: 620px) { .kbw { min-height: 0; } .kbw .kb { width: 100%; } .kb__side { display: none; } .kbw .kb { grid-template-columns: minmax(0, 1fr); } .sg { position: relative; top: 0; margin: 1.5em auto 0; } }

/* ---------- 4. RFC Aubépine : site de club, bleu nuit et bleu roi, Bahnschrift (la police condensée de Windows)
   Les boutons et pastilles en capitales ont une hauteur fixe et un texte rogné sur la hauteur des capitales (text-box),
   sinon les métriques de Bahnschrift décalent le texte vers le bas. ---------- */
.cl { --navy: #0F2552; --night: #0A1A3D; --royal: #1E5BD8; --sky: #EAF1FF; --ice: #C9DBFF; position: relative; min-height: 31em; }
.cl__site { width: 73%; }
.cs { background: #fff; color: #0F1A2E; font-family: Bahnschrift, 'DIN Alternate', 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif; }
.cs .cap { display: inline-flex; align-items: center; justify-content: center; text-box: trim-both cap alphabetic; }
.cs__top { display: flex; align-items: center; gap: .7em; height: 3.6em; padding: 0 1.1em; background: var(--navy); color: #fff; }
.cs__crest { width: 2em; height: auto; flex: none; }
.cs__name { display: grid; gap: .3em; font-weight: 700; font-size: 1.02em; line-height: 1; letter-spacing: .03em; text-transform: uppercase; }
.cs__name small { font-weight: 400; font-size: .6em; letter-spacing: .1em; color: var(--ice); }
.cs__menu { margin-left: auto; display: flex; align-items: center; gap: 1.1em; font-size: .72em; letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.cs__btn { height: 2.5em; padding: 0 1em; border-radius: 4px; background: #fff; color: var(--navy); font-weight: 700; }
/* le bandeau du match (la photo du stade se glisse dessous quand elle existe) */
.cs__hero { position: relative; overflow: hidden; color: #fff; background: var(--night); }
.cs__photo { position: absolute; inset: 0; margin: 0; border-radius: 0; aspect-ratio: auto; background: none; }
.cs__photo img { opacity: .35; }
.cs__board { position: relative; padding: 1.1em 1.2em 1em; }
.cs__live { display: flex; justify-content: center; align-items: center; gap: .5em; margin: 0 0 .9em; font-size: .7em; letter-spacing: .08em; text-transform: uppercase; color: var(--ice); }
.cs__live .a { display: inline-flex; align-items: center; gap: .45em; color: #fff; font-weight: 700; }
.cs__live .a i { width: .6em; height: .6em; border-radius: 50%; background: #EF4444; animation: pulse 1.4s infinite; }
.cs__score { display: grid; grid-template-columns: minmax(0, 1fr) 7.2em minmax(0, 1fr); align-items: center; gap: .8em; }
.cs__team { display: flex; align-items: center; gap: .55em; min-width: 0; font-weight: 700; font-size: .92em; letter-spacing: .02em; text-transform: uppercase; }
.cs__team svg { width: 2em; height: auto; flex: none; }
.cs__team--r { justify-content: flex-end; text-align: right; }
.cs__sc { display: grid; place-items: center; height: 1.55em; border-radius: .14em; background: var(--royal); font-size: 2.2em; font-weight: 700; line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.cs__sc > span { text-box: trim-both cap alphabetic; }
.cs__goals { margin: .7em 0 0; min-height: 1.3em; text-align: center; font-size: .72em; color: var(--ice); }
.cs__tb { padding: .9em 1.2em 1.1em; }
.cs__h { display: flex; justify-content: space-between; align-items: center; gap: 1em; margin-bottom: .4em; }
.cs__h b { font-size: 1.1em; letter-spacing: .03em; text-transform: uppercase; color: var(--navy); }
.cs__auto { display: inline-flex; align-items: center; gap: .45em; font-size: .72em; color: #4A5872; }
.cs__auto i { width: .55em; height: .55em; border-radius: 50%; background: #22A35A; }
.cs__th, .cs__teams li { display: grid; grid-template-columns: minmax(0, 1fr) 4.4em 2.2em 2.4em; gap: .5em; align-items: center; font-size: .84em; }
.cs__th { margin-left: 2.62em; padding: .35em .6em .35em 1.75em; }
.cs__th span { font-size: .78em; letter-spacing: .08em; text-transform: uppercase; color: #64708A; }
.cs__th span:nth-child(n+3), .cs__teams li > span:nth-child(n+3) { text-align: right; font-variant-numeric: tabular-nums; }
.cs__rows { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); }
.cs__rk, .cs__teams { list-style: none; margin: 0; padding: 0; }
.cs__rk li { display: flex; align-items: center; justify-content: center; height: 2.4em; border-top: 1px solid #E4E9F2; font-size: .84em; font-weight: 700; color: #64708A; }
.cs__teams li { height: 2.4em; padding: 0 .6em; border-top: 1px solid #E4E9F2; transition: transform .5s cubic-bezier(.3, .7, .2, 1); }
.cs__teams b { display: flex; align-items: center; gap: .5em; font-weight: 600; white-space: nowrap; overflow: hidden; }
.cs__teams b i { flex: none; width: .65em; height: .65em; border-radius: 2px; }
.cs__teams li.me { background: var(--sky); } .cs__teams li.me b { font-weight: 700; color: var(--navy); }
.cs__teams .f, .cs__th .f { display: flex; align-items: center; gap: .25em; }
.cs__teams .f i { display: inline-block; width: .75em; height: .75em; border-radius: 50%; }
.cs__teams .f .v { background: #22A35A; } .cs__teams .f .n { background: #A7B0C0; } .cs__teams .f .d { background: #D14343; }
/* états du scénario : 0 = en direct 1-1 ; 1 = terminé 3-1 ; 2 et 3 = classement recalculé */
.cs .b { display: none; }
.cl:not([data-s="0"]) .cs__board .a { display: none; }
.cl:not([data-s="0"]) .cs__board span.b { display: inline; }
.cl:not([data-s="0"]) .cs__live span.b { display: inline-flex; }
.cl[data-s="1"] .cs__sc, .cl[data-s="1"] .cs__goals { animation: pose .3s ease-out; }
.cl[data-s="2"] .cs__tb .a, .cl[data-s="3"] .cs__tb .a { display: none; }
.cl[data-s="2"] .cs__tb span.b, .cl[data-s="3"] .cs__tb span.b { display: inline; }
.cl[data-s="2"] .cs__teams .f i.b, .cl[data-s="3"] .cs__teams .f i.b { display: inline-block; }
.cl[data-s="2"] .r1, .cl[data-s="3"] .r1 { transform: translateY(100%); }
.cl[data-s="2"] .r2, .cl[data-s="3"] .r2 { transform: translateY(-100%); }
.cl[data-s="2"] .cs__auto i { animation: pulse 1s ease-out 2; }
/* le billet, sur le téléphone de l'invité, à côté du site (il ne masque rien) */
.cl__ph { position: absolute; right: 0; top: 3.5em; width: 12.5em; }
.tk { background: #F1F4F9; }
.tk__app { margin: .2em 1.1em .6em; font-weight: 700; font-size: 1.25em; letter-spacing: -.01em; }
.tk__card { margin: 0 .9em; border-radius: 1.1em; overflow: hidden; text-align: center; background: var(--navy); color: #fff; box-shadow: 0 14px 28px -16px rgba(15, 37, 82, .7); font-family: Bahnschrift, 'DIN Alternate', 'Arial Narrow', Arial, sans-serif; }
.tk__top { display: flex; justify-content: space-between; align-items: center; height: 2.8em; padding: 0 .9em; background: var(--royal); }
.tk__top span { font-size: .72em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-box: trim-both cap alphabetic; }
.tk__top svg { width: 1.4em; height: auto; }
.tk__match { padding: .8em .8em .7em; font-weight: 700; font-size: .95em; line-height: 1.15; letter-spacing: .02em; text-transform: uppercase; }
.tk__match small { display: block; margin-top: .35em; font-weight: 400; font-size: .72em; letter-spacing: 0; text-transform: none; color: var(--ice); }
.tk__qr { width: 70%; margin: 0 auto; padding: .45em; border-radius: .6em; background: #fff; }
.tk__qr svg { width: 100%; height: auto; }
.tk__once { display: inline-flex; align-items: center; justify-content: center; height: 2.2em; margin: .8em 0 .1em; padding: 0 .9em; border-radius: 999px; border: 1.5px solid var(--ice); color: #fff; font-size: .68em; font-weight: 700; letter-spacing: .04em; }
.tk__once span { text-box: trim-both cap alphabetic; }
.tk__name { display: flex; justify-content: space-between; align-items: center; margin: .6em .9em 0; padding: .7em 0 .9em; border-top: 1px dashed rgba(255, 255, 255, .25); font-size: .75em; }
.tk__name span { color: var(--ice); }
@container (max-width: 600px) { .cl { min-height: 0; } .cl__site { width: 100%; } .cs__menu span:not(.cs__btn) { display: none; } .cs__th .f, .cs__teams .f { display: none; }
  .cs__th, .cs__teams li { grid-template-columns: minmax(0, 1fr) 2.2em 2.4em; } .cl__ph { position: relative; top: 0; margin: 1.5em auto 0; } }

/* ---------- 4. Messagerie Windows + Ultra Whisper par-dessus ---------- */
.wm { position: relative; background: #fff; border-radius: 8px; box-shadow: var(--shadow); font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: #1B1B1F; margin-bottom: 2em; }
.wm__bar { display: flex; justify-content: space-between; align-items: center; height: 2.4em; padding-left: .9em; background: #F3F3F3; border-bottom: 1px solid #E5E5E5; border-radius: 8px 8px 0 0; font-size: .82em; }
.wm__app { display: flex; align-items: center; gap: .5em; } .wm__app svg { width: 1.2em; height: 1.2em; fill: none; stroke: #2563EB; stroke-width: 2; }
.wm__ctl { display: flex; height: 100%; } .wm__ctl i { display: grid; place-items: center; width: 3.2em; font-style: normal; color: #444; }
.wm__body { display: grid; grid-template-columns: 11em minmax(0, 1fr); min-height: 21em; }
.wm__side { display: flex; flex-direction: column; gap: .2em; padding: .9em .7em; background: #FAFAFA; border-right: 1px solid #EBEBEB; font-size: .82em; color: #3F3F46; }
.wm__side span { display: flex; justify-content: space-between; padding: .45em .6em; border-radius: 4px; }
.wm__side .on { background: #E8EEFC; color: #1D4ED8; font-weight: 600; }
.wm__new { justify-content: center !important; margin-bottom: .6em; background: #2563EB; color: #fff; font-weight: 600; }
.wm__mail { position: relative; padding: .4em 1.4em 4.2em; }
.wm__f { display: flex; gap: .8em; padding: .7em 0; border-bottom: 1px solid #EDEDED; font-size: .86em; }
.wm__f span { width: 3.5em; color: #71717A; }
.wm__txt { padding-top: 1em; font-size: .92em; line-height: 1.6; min-height: 7em; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: #2563EB; vertical-align: -.15em; margin-left: 1px; animation: blink 1s steps(2) infinite; }
.wm__send { position: absolute; right: 1.4em; bottom: 1.2em; padding: .55em 1.3em; border-radius: 4px; background: #2563EB; color: #fff; font-weight: 600; font-size: .82em; }
/* Ultra Whisper : la pastille qui flotte au-dessus de toutes les fenêtres */
.uw { position: absolute; left: 50%; bottom: -1.6em; translate: -50% 0; display: flex; align-items: center; gap: .9em; padding: .75em 1.1em .75em .9em; border-radius: 999px; background: #14121C; color: #EEEBF6; box-shadow: 0 20px 40px -12px rgba(20, 10, 50, .55); white-space: nowrap; font-family: var(--f-body); }
.uw__rec { width: .8em; height: .8em; border-radius: 50%; background: #F87171; animation: pulse 1.6s infinite; }
.uw__wave { display: flex; align-items: center; gap: 3px; height: 1.8em; }
.uw__wave i { width: 3px; border-radius: 2px; background: #A78BFA; height: 30%; animation: wave 1.1s ease-in-out infinite; }
.uw__wave i:nth-child(2n) { animation-duration: .8s; } .uw__wave i:nth-child(3n) { animation-duration: 1.3s; animation-delay: -.4s; }
.uw__wave i:nth-child(5n) { animation-delay: -.7s; } .uw__wave i:nth-child(7n) { animation-duration: .65s; }
.uw__t { font-size: .85em; color: #CFC8E3; }
.uw kbd { font: 600 .75em var(--f-body); padding: .25em .55em; border: 1px solid rgba(255, 255, 255, .25); border-radius: 6px; color: #E4DFF2; }
@container (max-width: 520px) { .wm__body { grid-template-columns: 1fr; } .wm__side { display: none; } .uw__t { display: none; } }

/* ---------- 5. English A2 → B1 : vraies captures ---------- */
.en3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 2vw, 1.4rem); align-items: start; }
.en3 .ip { width: 100%; max-width: 15em; margin-inline: auto; }
.en3 .ip:nth-child(2) { margin-top: 2.5em; }
@media (max-width: 560px) { .en3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .en3 .ip:nth-child(3) { display: none; } }

@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(248, 113, 113, .55); } 70% { box-shadow: 0 0 0 .6em rgba(248, 113, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0); } }
@keyframes wave { 0%, 100% { height: 22%; } 50% { height: 100%; } }
@keyframes sweep { 0%, 100% { top: 22%; } 50% { top: 78%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transition: none; }
  .js .sw .w > span { transform: none; transition: none; }
  .tag, .kb__mail, .kb__draft, .sg__m, .fp__split, .week .t, .fp__item, .fp__ok, .fg__sync, .fs__btn, .cs__teams li { transition: none; }
  .week li.done .auto, .fg[data-s="3"] .fs__st, .fg[data-s="3"] .fs__btn, .cl[data-s="1"] .cs__sc, .cl[data-s="1"] .cs__goals, .cs__live .a i { animation: none; }
  .uw__wave i, .uw__rec, .caret, .fp__line, .cl[data-s="2"] .cs__auto i { animation: none; } .uw__wave i { height: 60%; } .fp__line { top: 50%; }
}
