/* Lecteur des vidéos de lancement Connect Lawyer. Polices auto-hébergées (OFL), aucun domaine tiers. */
@font-face { font-family: "Inter"; font-weight: 400; font-display: block; src: url("assets/fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: block; src: url("assets/fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: block; src: url("assets/fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: block; src: url("assets/fonts/Inter-Bold.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 400; font-display: block; src: url("assets/fonts/Fraunces-Regular.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: block; src: url("assets/fonts/Fraunces-SemiBold.woff2") format("woff2"); }
:root { --violet: #6534B3; --violet-300: #B99DE6; --nuit: #1B0E34; --or: #E3C477; --ivoire: #FBF9F5; --gris: #C1BBAF; }
* { box-sizing: border-box; }
html, body { margin: 0; background: #150A2A; color: var(--ivoire); font-family: "Inter", system-ui, sans-serif; }
canvas { display: block; width: 100%; height: auto; max-width: calc((100vh - 64px) * 16 / 9); margin: 0 auto; }
#ui { display: flex; gap: 12px; align-items: center; max-width: calc((100vh - 64px) * 16 / 9); margin: 0 auto; padding: 12px 16px; }
#ui input { flex: 1; min-width: 0; accent-color: var(--or); height: 44px; }
#ui button, #ui a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: var(--violet); color: #fff; border: 0; border-radius: 10px; padding: 0 16px; font: 600 15px "Inter", sans-serif; cursor: pointer; text-decoration: none; }
#ui a { background: transparent; border: 1px solid #3F2172; color: var(--ivoire); }
#ui button:focus-visible, #ui a:focus-visible, #ui input:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
#ui span { font: 500 14px "Inter", sans-serif; min-width: 56px; text-align: right; font-variant-numeric: tabular-nums; color: var(--gris); }
body.export #ui { display: none; }
body.export canvas { width: auto; max-width: none; }
/* Format vertical Instagram (1080 × 1920) */
body.vertical canvas { max-width: calc((100vh - 76px) * 9 / 16); }
body.vertical #ui { max-width: max(360px, calc((100vh - 76px) * 9 / 16)); }
body.export.vertical canvas { max-width: none; }
