/* Film de présentation I·O Budget : scène fixe de 1280 × 720 mise à l'échelle de son conteneur.
   Couleurs et polices reprises de l'application. */
.iobf { --navy: #0b2463; --lime: #8bd14a; --lime-ink: #14310a; --ink: #0e1b3d; --muted: #5b6782; --bg: #eef1f6; --line: #d5dce8; --ok: #2f8f3a; --warn: #c27a0e; --in: #3ddc97; --out: #ff7a59;
  position: relative; width: 100%; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; border-radius: 22px; background: var(--bg); color: var(--ink); font-family: "Figtree", system-ui, sans-serif; container-type: inline-size; isolation: isolate; }
.iobf-stage { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; }
.iobf-stage > * { position: absolute; will-change: transform, opacity; }
.iobf-bg { inset: 0; width: 1280px; height: 720px; background: radial-gradient(800px 500px at 85% 20%, rgba(139, 209, 74, .22), transparent 60%), radial-gradient(700px 600px at 10% 90%, rgba(11, 36, 99, .14), transparent 60%), var(--bg); }
.iobf-grid { inset: 0; width: 1280px; height: 720px; background-image: radial-gradient(rgba(14, 27, 61, .09) 1.2px, transparent 1.2px); background-size: 28px 28px; }
.iobf-cap { left: 90px; top: 210px; width: 560px; display: grid; gap: 18px; }
.iobf-cap .step { font: 700 15px/1 "Figtree", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.iobf-cap .step i { width: 34px; height: 3px; border-radius: 2px; background: var(--lime); display: inline-block; }
.iobf-cap .h { margin: 0; font: 800 54px/1.02 "Bricolage Grotesque", "Trebuchet MS", sans-serif; letter-spacing: -.03em; color: var(--ink); }
.iobf-cap .h b { color: var(--navy); background: linear-gradient(transparent 62%, rgba(139, 209, 74, .55) 62%); }
.iobf-cap p { margin: 0; font-size: 21px; line-height: 1.45; color: var(--muted); max-width: 30em; }
.iobf-cap .prem { display: inline-block; font: 800 13px/1 "Figtree", sans-serif; background: var(--lime); color: var(--lime-ink); border-radius: 6px; padding: 4px 8px; vertical-align: 4px; }

.iobf-tx { left: 0; top: 0; width: 300px; height: 54px; border-radius: 14px; background: #fff; display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 0 12px; box-shadow: 0 10px 24px -14px rgba(14, 27, 61, .45); font-size: 14px; }
.iobf-tx .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 800 13px "Figtree", sans-serif; background: #e3e8f1; }
.iobf-tx .ic.in { background: var(--lime); color: var(--lime-ink); }
.iobf-tx b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iobf-tx small { display: block; font-size: 11.5px; color: var(--muted); height: 15px; }
.iobf-tx small em { font-style: normal; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: #e3e8f1; color: var(--ink); }
.iobf-tx .v { font-weight: 800; font-variant-numeric: tabular-nums; }
.iobf-tx .v.in { color: var(--ok); }

.iobf-file { left: 0; top: 0; width: 120px; height: 150px; border-radius: 12px; background: #fff; box-shadow: 0 18px 40px -18px rgba(14, 27, 61, .5); display: grid; place-items: center; align-content: center; gap: 8px; font: 800 16px "Figtree", sans-serif; }
.iobf-file::before { content: ""; width: 60px; height: 72px; border-radius: 6px; background: linear-gradient(var(--out) 0 22px, #e3e8f1 22px); }
.iobf-file small { font-weight: 600; color: var(--muted); font-size: 12px; }

.iobf-phone { left: 800px; top: 30px; width: 316px; height: 661px; border-radius: 46px; background: #121a33; padding: 10px; box-shadow: 0 50px 90px -40px rgba(11, 36, 99, .7); }
.iobf-screen { position: absolute; inset: 10px; border-radius: 37px; background: var(--bg); overflow: hidden; }
.iobf-shot { position: absolute; left: 0; top: 0; width: 296px; height: auto; display: block; transform-origin: 50% 0; }
.iobf-web { left: 620px; top: 120px; width: 600px; height: 420px; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 40px 80px -36px rgba(11, 36, 99, .6), 0 0 0 1px rgba(14, 27, 61, .08); }
.iobf-web .bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f3f5f9; border-bottom: 1px solid var(--line); }
.iobf-web .bar i { width: 11px; height: 11px; border-radius: 50%; background: #d5dce8; }
.iobf-web .bar span { margin-left: 14px; flex: 1; max-width: 300px; height: 22px; border-radius: 7px; background: #fff; font: 600 12px/22px "Figtree", sans-serif; color: var(--muted); padding-left: 10px; }
.iobf-web .vp { position: absolute; top: 36px; left: 0; right: 0; bottom: 0; overflow: hidden; }
.iobf-web .vp img { width: 600px; height: auto; display: block; transform-origin: 50% 0; }
.iobf-tag { left: 90px; top: 640px; text-align: left; padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .7); font: 700 12px/1 "Figtree", sans-serif; letter-spacing: .04em; color: var(--muted); }
.iobf-notch { position: absolute; left: 50%; top: 8px; width: 92px; height: 24px; border-radius: 99px; background: #121a33; transform: translateX(-50%); z-index: 3; }
.iobf-top { position: absolute; left: 18px; right: 18px; top: 44px; display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
.iobf-top svg { height: 22px; width: auto; color: var(--ink); }
.iobf-top span { font-size: 11px; color: var(--muted); }
.iobf-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; text-align: center; font: 700 9.5px "Figtree", sans-serif; color: var(--muted); }
.iobf-tabs .fab { width: 42px; height: 42px; margin: -22px auto 0; border-radius: 14px; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; font-size: 26px; font-weight: 600; }
.iobf-tabs .cur { color: var(--ink); }
.iobf-scr { position: absolute; left: 14px; right: 14px; top: 84px; bottom: 74px; display: grid; gap: 10px; align-content: start; }
.iobf-hero { background: var(--navy); color: #fff; border-radius: 18px; padding: 14px 15px; display: grid; gap: 8px; }
.iobf-hero small { font-size: 11.5px; opacity: .8; }
.iobf-hero .big { font: 800 38px/1 "Bricolage Grotesque", sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.iobf-hero .day { justify-self: start; background: var(--lime); color: var(--lime-ink); border-radius: 99px; padding: 4px 10px; font-size: 11.5px; font-weight: 800; }
.iobf-bar { display: flex; height: 9px; border-radius: 99px; overflow: hidden; background: rgba(255, 255, 255, .15); }
.iobf-bar i { height: 100%; display: block; }
.iobf-h { font: 600 10px "Bricolage Grotesque", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.iobf-env { background: #fff; border-radius: 12px; padding: 9px 12px; display: grid; grid-template-columns: 1fr auto; gap: 5px; font-size: 12.5px; }
.iobf-env b { font-weight: 700; }
.iobf-env span { color: var(--muted); font-variant-numeric: tabular-nums; }
.iobf-tr { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: #e3e8f1; overflow: hidden; }
.iobf-tr i { display: block; height: 100%; border-radius: 99px; background: var(--ok); transform-origin: left; }
.iobf-goal { background: #fff; border-radius: 14px; padding: 11px 12px; display: grid; gap: 6px; font-size: 12.5px; }
.iobf-goal .r { display: flex; justify-content: space-between; align-items: baseline; }
.iobf-goal em { font: 800 17px "Bricolage Grotesque", sans-serif; font-style: normal; }
.iobf-goal small { color: var(--muted); }
.iobf-goal .iobf-tr i { background: var(--lime); }
.iobf-bubble { left: 560px; top: 470px; width: 300px; background: var(--navy); color: #fff; border-radius: 18px 18px 18px 6px; padding: 14px 16px; font-size: 15px; line-height: 1.4; box-shadow: 0 20px 40px -20px rgba(11, 36, 99, .7); }
.iobf-bubble b { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); margin-bottom: 4px; }
.iobf-alert { left: 560px; top: 460px; width: 210px; background: #fff; border-radius: 14px; padding: 12px 14px; font-size: 13.5px; box-shadow: 0 20px 40px -20px rgba(14, 27, 61, .5); border-left: 4px solid var(--warn); }
.iobf-alert::after { content: ""; position: absolute; right: -8px; top: 50%; width: 14px; height: 14px; background: #fff; transform: translateY(-50%) rotate(45deg); }
.iobf-alert b { display: block; }
.iobf-outro { left: 0; top: 0; width: 1280px; height: 720px; display: grid; place-content: center; justify-items: center; gap: 26px; text-align: center; }
.iobf-outro .mark { width: 170px; height: 176px; color: var(--navy); }
.iobf-outro .mark svg { width: 100%; height: 100%; }
.iobf-outro .mark svg path[stroke="#fff"], .iobf-outro .mark svg circle[stroke="#fff"] { stroke: var(--navy); }
.iobf-outro .mark svg path[fill="#fff"] { fill: var(--navy); }
.iobf-outro .h { margin: 0; font: 800 62px/1 "Bricolage Grotesque", sans-serif; letter-spacing: -.03em; }
.iobf-outro .cta { font: 800 22px "Figtree", sans-serif; background: var(--lime); color: var(--lime-ink); padding: 14px 28px; border-radius: 99px; }

/* Contrôles */
.iobf-ui { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: linear-gradient(transparent, rgba(14, 27, 61, .35)); opacity: 0; transition: opacity .25s; z-index: 5; }
.iobf:hover .iobf-ui, .iobf:focus-within .iobf-ui, .iobf.paused .iobf-ui { opacity: 1; }
@media (hover: none) { .iobf-ui { opacity: 1; } }
.iobf-ui button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.iobf-ui button:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.iobf-prog { flex: 1; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .45); position: relative; cursor: pointer; }
.iobf-prog i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: var(--lime); }
.iobf-prog b { position: absolute; top: -4px; width: 2px; height: 14px; background: rgba(255, 255, 255, .8); }
.iobf-time { font: 700 12px "Figtree", sans-serif; color: #fff; font-variant-numeric: tabular-nums; min-width: 72px; text-align: right; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.iobf-note { position: absolute; left: 14px; top: 12px; z-index: 5; font: 700 11px "Figtree", sans-serif; color: var(--muted); background: rgba(255, 255, 255, .8); padding: 4px 9px; border-radius: 99px; }

/* Petit écran : cadrage carré sur le téléphone, légende en texte sous le film */
.iobf.iobf-narrow { aspect-ratio: 1 / 1; }
.iobf-narrow .iobf-cap { display: none; }
.iobf-narrow .iobf-outro { left: 600px; width: 720px; }
.iobf-narrow .iobf-tag { display: none; }
.iobf-narrow .iobf-outro .h { font-size: 56px; }
.iobf-cc { display: none; }
.iobf-cc.on { display: grid; gap: 4px; margin-top: 12px; padding: 16px 18px; min-height: 118px; align-content: start; border-radius: 18px; background: #fff; color: #0e1b3d; font-family: "Figtree", system-ui, sans-serif; box-shadow: 0 0 0 1px #d5dce8; }
.iobf-cc small { font: 700 11px/1 "Figtree", sans-serif; letter-spacing: .14em; color: #5b6782; }
.iobf-cc b { font: 800 21px/1.15 "Bricolage Grotesque", sans-serif; letter-spacing: -.02em; }
.iobf-cc span { font-size: 14.5px; line-height: 1.45; color: #5b6782; }
