/* cyrillic-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/geist-gyByhwUxId8gMEwRGFWfOw.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/geist-gyByhwUxId8gMEwYGFWfOw.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/geist-gyByhwUxId8gMEwTGFWfOw.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/geist-gyByhwUxId8gMEwSGFWfOw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/geist-gyByhwUxId8gMEwcGFU.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/geistmono-or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/geistmono-or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* symbols2 */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/geistmono-or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');
  unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;
}
/* vietnamese */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/geistmono-or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/geistmono-or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/geistmono-or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/geistmono-or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/geistmono-or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* symbols2 */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/geistmono-or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');
  unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;
}
/* vietnamese */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/geistmono-or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/geistmono-or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/geistmono-or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Videos-to-MP3 — clair et épuré. Les @font-face (Geist) sont ajoutées devant au déploiement. */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --surface: #ffffff;
  --text: #0c0d10;
  --text-2: #3b3f47;
  --muted: #6e737d;
  --line: rgba(12, 13, 16, .09);
  --line-2: rgba(12, 13, 16, .14);
  --accent: #0a6cff;
  --accent-2: #0052cc;
  --accent-soft: #eaf2ff;
  --warm: #ff6a3d;
  --ok: #12a150;
  --err: #e5383b;
  --radius: 22px;
  --sh-1: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
  --sh-2: 0 2px 4px rgba(16, 24, 40, .04), 0 12px 32px -8px rgba(16, 24, 40, .12);
  --sh-3: 0 4px 8px rgba(16, 24, 40, .04), 0 30px 80px -20px rgba(16, 24, 40, .22);
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0c0f;
    --bg-soft: #111317;
    --surface: #15171c;
    --text: #f3f4f6;
    --text-2: #c9ccd2;
    --muted: #8b909a;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --accent: #3d8bff;
    --accent-2: #69a6ff;
    --accent-soft: rgba(61, 139, 255, .14);
    --sh-1: 0 1px 2px rgba(0, 0, 0, .4);
    --sh-2: 0 12px 32px -8px rgba(0, 0, 0, .6);
    --sh-3: 0 30px 80px -20px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16.5px/1.65 var(--font); -webkit-font-smoothing: antialiased; font-feature-settings: "ss01", "cv11"; }
img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .55em; letter-spacing: -.025em; font-weight: 650; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -.045em; font-weight: 700; line-height: 1.02; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.035em; }
h3 { font-size: 1.1rem; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }

/* ——— Barre du haut ——— */
.topbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; font-size: 1.06rem; letter-spacing: -.02em; }
.brand:hover { color: var(--text); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: none; border-radius: 9px; }
.brand-name span { color: var(--muted); font-weight: 500; }
.mainnav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.mainnav > a, .dd > summary { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-weight: 500; font-size: .95rem; cursor: pointer; }
.mainnav > a:hover, .dd > summary:hover, .mainnav > a[aria-current], .dd[open] > summary { background: var(--bg-soft); color: var(--text); text-decoration: none; }
.dd { position: relative; }
.dd > summary { list-style: none; }
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translateY(-2px); opacity: .55; }
.dd > summary svg { width: 18px; height: 18px; }
.dd-panel { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-3); padding: 8px; z-index: 60; animation: dd .16s ease-out; }
@keyframes dd { from { opacity: 0; transform: translateY(-4px); } }
.dd-panel a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--text); white-space: nowrap; font-size: .94rem; }
.dd-panel a:hover, .dd-panel a[aria-current] { background: var(--bg-soft); text-decoration: none; }
.dd-panel a[aria-current] { color: var(--accent); font-weight: 600; }
.dd-tools { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); width: max-content; }
.dd-langs { min-width: 180px; max-height: 70vh; overflow: auto; }

/* ——— Boutons ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: 550 .98rem var(--font); cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { color: var(--text); text-decoration: none; box-shadow: var(--sh-2); transform: translateY(-1px); }
.btn-primary { background: var(--accent); border-color: transparent; color: #fff; box-shadow: 0 1px 2px rgba(10, 108, 255, .25), 0 8px 24px -8px rgba(10, 108, 255, .55); }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }
.btn-sm { padding: 7px 15px; font-size: .9rem; }
.btn-ghost { background: transparent; }

/* ——— Héros ——— */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; text-align: center;
  background: radial-gradient(60% 55% at 50% 0%, color-mix(in srgb, var(--accent) 12%, transparent) 0%, transparent 70%), var(--bg); }
.hero::before { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero > .wrap { position: relative; z-index: 1; }
.hero-in { display: flex; flex-direction: column; align-items: center; }
.hero-copy { max-width: 860px; }
.hero-tool { padding-top: 40px; }
.hero-tool h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); font-size: .86rem; font-weight: 500; color: var(--text-2); margin-bottom: 26px; }
.eyebrow { padding-inline-start: 12px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); }
.hero h1 { overflow-wrap: anywhere; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; margin-inline: auto; line-height: 1.55; }
.badges { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.badges li { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; color: var(--text-2); font-weight: 500; }
.badges li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.crumbs + h1, .hero-tool .crumbs ol { justify-content: center; }

/* Forme d'onde décorative sous le héros */
.wave { display: block; width: 100%; max-width: 760px; height: 46px; margin: 34px auto -8px; color: var(--accent); opacity: .9; }
.wave rect { transform-origin: center; transform-box: fill-box; animation: wv 1.6s ease-in-out infinite; }
@keyframes wv { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }

/* ——— Convertisseur ——— */
.tool { width: 100%; max-width: 760px; margin: 40px auto 0; text-align: start; }
.conv { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--sh-3); padding: 10px; }
.dev-bar { display: none; }
.dev-body { padding: 0; }
.drop { position: relative; text-align: center; border: 1.5px dashed color-mix(in srgb, var(--accent) 35%, var(--line-2)); border-radius: 20px; padding: 44px 20px 36px; background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface)); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.drop:hover, .drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.drop.is-over { transform: scale(1.01); }
.drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-ico { width: 56px; height: 56px; color: var(--accent); margin-bottom: 10px; padding: 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--sh-2); box-sizing: content-box; }
.drop.is-over .drop-ico { animation: bob .7s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-5px); } }
.drop-title { font-size: 1.3rem; font-weight: 650; letter-spacing: -.02em; margin: 6px 0 2px; }
.drop-or { color: var(--muted); margin: 0 0 16px; font-size: .92rem; }
.drop-meta { font-size: .84rem; color: var(--muted); margin: 18px 0 0; }
.conv-opts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 10px 6px; }
.pills { border: 0; padding: 4px; margin: 0; display: flex; flex-wrap: wrap; gap: 2px; background: var(--bg-soft); border-radius: 999px; }
.pills legend, .qsel > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--muted); cursor: pointer; user-select: none; transition: background .15s, color .15s, box-shadow .15s; }
.pill span:hover { color: var(--text); }
.pill input:checked + span { background: var(--surface); color: var(--text); box-shadow: var(--sh-1), 0 0 0 1px var(--line); }
.pill input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.qsel select, .adv input:not([type=checkbox]) { font: 500 .92rem var(--font); padding: 8px 32px 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--text); appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%236e737d' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 12px; }
.adv input:not([type=checkbox]) { padding-right: 14px; background-image: none; border-radius: 12px; }
.lossless { font-size: .88rem; font-weight: 550; color: var(--ok); }
.adv { padding: 4px 10px 10px; }
.adv > summary { display: inline-flex; cursor: pointer; font-size: .9rem; font-weight: 500; color: var(--muted); list-style: none; }
.adv > summary::-webkit-details-marker { display: none; }
.adv > summary::before { content: "+"; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-inline-end: 7px; border-radius: 50%; border: 1px solid var(--line-2); font-size: .8rem; }
.adv[open] > summary::before { content: "−"; }
.adv-in { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; padding: 16px; background: var(--bg-soft); border-radius: 16px; }
.adv-in label { display: flex; flex-direction: column; gap: 5px; font-size: .86rem; font-weight: 550; color: var(--text-2); }
.adv-in input:not([type=checkbox]) { width: 140px; }
.adv-in .chk { flex-direction: row; align-items: center; gap: 9px; flex-basis: 100%; }
.adv-in .chk input { width: 18px; height: 18px; accent-color: var(--accent); }
.hint { font-size: .82rem; color: var(--muted); margin: 0; flex-basis: 100%; }
.queue { list-style: none; margin: 0; padding: 0; }
.queue:not(:empty) { padding: 10px 6px 4px; display: grid; gap: 8px; }
.qi { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--surface); box-shadow: var(--sh-1); animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.qi-head { display: flex; align-items: center; gap: 10px; font-size: .94rem; }
.qi-head::before { content: ""; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 18V6l10-2v12' fill='none' stroke='%230a6cff' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='6.5' cy='18' r='2.5' fill='none' stroke='%230a6cff' stroke-width='1.8'/%3E%3Ccircle cx='16.5' cy='16' r='2.5' fill='none' stroke='%230a6cff' stroke-width='1.8'/%3E%3C/svg%3E") center/18px no-repeat; }
.qi-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.qi-size { color: var(--muted); font-size: .84rem; }
.qi-status { font-size: .84rem; font-weight: 550; color: var(--accent); white-space: nowrap; }
.is-done .qi-status { color: var(--ok); }
.is-error .qi-status { color: var(--err); }
.bar { height: 5px; background: var(--bg-soft); border-radius: 99px; overflow: hidden; margin: 12px 0 0 44px; }
[dir=rtl] .bar { margin: 12px 44px 0 0; }
.bar span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .3s; }
.is-converting .bar span { width: 100% !important; background: linear-gradient(90deg, var(--accent) 0 35%, color-mix(in srgb, var(--accent) 35%, transparent) 50%, var(--accent) 65%); background-size: 200% 100%; animation: flow 1.1s linear infinite; }
@keyframes flow { from { background-position: 200% 0; } to { background-position: 0 0; } }
.is-done .bar span { background: var(--ok); }
.is-error .bar { display: none; }
.qi-actions:not(:empty) { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 0 44px; }
[dir=rtl] .qi-actions:not(:empty) { margin: 12px 44px 0 0; }
.qi-actions audio { flex: 1 1 220px; height: 38px; min-width: 0; }
.qi-err { margin: 0; flex-basis: 100%; color: var(--err); font-size: .9rem; }
.conv-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0; padding: 14px 10px 8px; font-size: .84rem; color: var(--muted); }
.conv-trust span { display: inline-flex; align-items: center; gap: 6px; }
.conv-trust svg { width: 15px; height: 15px; color: var(--ok); }

/* ——— Sections ——— */
.sec { padding: 96px 0; }
.sec-alt { background: var(--bg-soft); }
.sec-title { text-align: center; margin-bottom: 14px; }
.sec-title.left { text-align: start; margin-top: 56px; }
.sec-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 36px; font-size: 1.1rem; }
.sec-title + .steps, .sec-title + .features, .sec-title + .uses, .sec-title + .cards, .sec-title + .faq, .sec-title + .tools-grid { margin-top: 44px; }
.answer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--sh-2); }
.answer h2 { font-size: 1.4rem; letter-spacing: -.02em; }
.answer p:last-child, .answer ul:last-child { margin-bottom: 0; }
.answer ul { padding-inline-start: 20px; }
.answer li { margin-bottom: 6px; }
.answer li::marker { color: var(--accent); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 0; }
.specs div { background: var(--bg-soft); border-radius: 14px; padding: 12px 16px; }
.specs dt { font-size: .78rem; color: var(--muted); font-weight: 500; }
.specs dd { margin: 2px 0 0; font-weight: 600; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { position: relative; padding: 30px 28px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--sh-1); }
.step-n { display: block; font-size: 3rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; margin-bottom: 18px; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 25%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps p { color: var(--muted); margin: 0; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
.feature svg { width: 44px; height: 44px; padding: 11px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }

.tools-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 10px; }
.tools-grid a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: .95rem; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tools-grid a:hover { text-decoration: none; border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--sh-2); transform: translateY(-2px); }
.tg-arrow { color: var(--muted); font-weight: 400; }
.tg-dst { color: var(--accent); }
[dir=rtl] .tg-arrow, [dir=rtl] .dd-tools span[aria-hidden] { display: inline-block; transform: scaleX(-1); }

.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.use { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.use p { color: var(--muted); margin: 0; font-size: .96rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--text); box-shadow: var(--sh-1); transition: transform .2s, box-shadow .2s; }
.card:hover { color: var(--text); text-decoration: none; transform: translateY(-3px); box-shadow: var(--sh-3); }
.card h3 { font-size: 1.18rem; letter-spacing: -.02em; }
.card p { color: var(--muted); font-size: .95rem; flex: 1; }
.card-tag { align-self: flex-start; display: inline-block; font-size: .76rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.card-meta { font-size: .85rem; color: var(--muted); font-weight: 500; }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.08rem; font-weight: 600; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border: solid var(--muted); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); transition: transform .2s; margin-inline-end: 6px; }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq-a { padding: 0 0 22px; color: var(--muted); max-width: 70ch; }
.faq-a p:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); margin: 6px 0 24px; box-shadow: var(--sh-1); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 13px 18px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .8rem; font-weight: 600; color: var(--muted); background: var(--bg-soft); }
tbody th { font-weight: 650; }
tbody tr:last-child > * { border-bottom: 0; }
tr.hl > * { background: var(--accent-soft); }

/* ——— Texte long ——— */
.prose { font-size: 1.08rem; color: var(--text-2); }
.prose h2, .prose h3 { color: var(--text); }
.prose h2 { margin-top: 2em; font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-inline-start: 22px; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose code { font-family: var(--mono); font-size: .86em; background: var(--bg-soft); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
.prose pre { position: relative; background: #0f1115; color: #e6e8ec; border-radius: 16px; padding: 18px 76px 18px 20px; overflow-x: auto; font-size: .9rem; line-height: 1.6; direction: ltr; text-align: left; box-shadow: var(--sh-2); }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.copy { position: absolute; top: 10px; inset-inline-end: 10px; font: 500 .74rem var(--font); padding: 4px 11px; border-radius: 999px; border: 1px solid #2c3038; background: #1b1e24; color: #c9ccd2; cursor: pointer; }
.copy:hover { background: var(--accent); color: #fff; border-color: transparent; }
.prose table { margin: 0 0 1.4em; display: block; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.prose blockquote, .note { margin: 0 0 1.2em; padding: 16px 20px; border-radius: 16px; background: var(--accent-soft); color: var(--text-2); }
.prose .note p:last-child { margin: 0; }

.page-head { padding: 56px 0 48px; background: radial-gradient(60% 80% at 50% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%); }
.page-head h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; opacity: .5; }
.crumbs a { color: var(--muted); }
.byline { color: var(--muted); font-size: .9rem; margin: 0; }
.article .answer { margin: 40px 0 30px; }
.toc { background: var(--bg-soft); border-radius: var(--radius); padding: 20px 26px; margin-bottom: 44px; }
.toc p { font-weight: 600; margin-bottom: 8px; }
.toc ol { margin: 0; padding-inline-start: 22px; columns: 2; column-gap: 32px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 56px 0 80px; padding: 32px; border-radius: 26px; background: #0c0d10; color: #f3f4f6; box-shadow: var(--sh-3); }
.cta-box h2 { font-size: 1.5rem; margin-bottom: 6px; }
.cta-box p { margin: 0; color: #a6abb5; }
.cta { background: #0c0d10; color: #f3f4f6; text-align: center; }
.cta h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.cta p { color: #a6abb5; font-size: 1.15rem; }
@media (prefers-color-scheme: dark) { .cta, .cta-box { background: var(--surface); border: 1px solid var(--line); } }
.big404 { font-size: 7rem; font-weight: 700; letter-spacing: -.06em; line-height: 1; margin: 0 0 10px; color: var(--accent); }

/* ——— Pied de page ——— */
.foot { border-top: 1px solid var(--line); padding: 64px 0 30px; font-size: .94rem; background: var(--bg-soft); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr .8fr; gap: 36px; }
.foot h2 { font-size: .84rem; font-weight: 600; letter-spacing: 0; color: var(--text); margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }
.foot-about p { color: var(--muted); margin-top: 14px; max-width: 34ch; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-bottom { margin-top: 16px; color: var(--muted); font-size: .86rem; }

@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .uses, .cards { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .topbar-in { gap: 6px; height: 58px; }
  .mainnav > a:not(:first-of-type) { display: none; }
  .mainnav > a, .dd > summary { padding: 7px 9px; }
  .dd-tools { position: fixed; inset-inline: 12px; top: 64px; grid-template-columns: 1fr 1fr; width: auto; }
  .hero { padding: 40px 0 56px; }
  .tool { margin-top: 28px; }
  .conv { border-radius: 22px; padding: 8px; }
  .drop { padding: 32px 14px 28px; }
  .conv-opts { justify-content: center; }
  .sec { padding: 64px 0; }
  .steps, .features, .uses, .cards { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .toc ol { columns: 1; }
  .bar, .qi-actions:not(:empty) { margin-inline-start: 0; }
}
@media (max-width: 420px) {
  .brand-name { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 720px) {
  .pills { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .pills::-webkit-scrollbar { display: none; }
  .pill span { padding: 7px 12px; white-space: nowrap; }
}
