/* To Do — for DaVinci Resolve · site vitrine
   Layout : bandeau d'accroche à gauche, démo pleine largeur juste dessous, puis sections en colonnes.
   Monde visuel unique (sombre, comme Resolve et le plugin) : couleurs toutes définies ici. */
:root {
    --bg: #121214;
    --bg-2: #17171a;
    --panel: #1c1c1f;
    --surface: #232327;
    --card: #2a2a2f;
    --card-hover: #303036;
    --field: #18181b;
    --line: #2f2f35;
    --line-2: #3a3a41;
    --text: #e6e6e9;
    --text-2: #a7a7ae;
    --text-3: #74747c;
    --accent: #e8553f;
    --accent-2: #f26a55;
    --accent-soft: rgba(232, 85, 63, .14);
    --blue: #2fa0e8;
    --yellow: #f7b72e;
    --ok: #5fbf6e;
    --warn: #e3b04a;
    --grad: linear-gradient(90deg, #2fa0e8, #f7b72e 50%, #e8553f);

    --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
    --body: "Figtree", "Segoe UI", system-ui, sans-serif;
    --mono: "JetBrains Mono", Consolas, "Cascadia Mono", monospace;
    --ui: "Segoe UI Variable Text", "Segoe UI", "Figtree", system-ui, sans-serif;

    --wrap: 1180px;
    --r: 6px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased;
    padding-inline: 20px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin-inline: auto; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 750; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.eyebrow { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--text-2); }
.lead { font-size: 19px; color: var(--text-2); max-width: 62ch; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 10px;
    font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer;
    transition: background .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-buy { background: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(232, 85, 63, .28); }
.btn-buy:hover { background: var(--accent-2); }
.btn-ghost { color: var(--text); border-color: var(--line-2); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: #55555d; background: rgba(255, 255, 255, .06); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; }

/* ---------- En-tête ---------- */
.site-head {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; margin-inline: -20px; padding: 0 20px;
    background: rgba(18, 18, 20, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; min-width: 0; }
.brand img { width: 32px; height: 32px; }
.brand b { font-family: var(--display); font-size: 19px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.brand span { font-size: 13px; color: var(--text-2); white-space: nowrap; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { text-decoration: none; color: var(--text-2); font-size: 14.5px; font-weight: 600; padding: 7px 11px; border-radius: 7px; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.head-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.lang button {
    border: 0; background: none; cursor: pointer; font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
    padding: 5px 11px; border-radius: 999px; color: var(--text-2);
}
.lang button[aria-pressed="true"] { background: #3a3a41; color: #fff; }
@media (max-width: 900px) { .nav { display: none; } .brand span { display: none; } }
@media (max-width: 480px) { .head-right .btn-sm span { display: none; } .head-right .btn-sm { padding: 0 11px; } }

/* ---------- Accroche ---------- */
.hero { padding-block: 72px 36px; position: relative; overflow-x: clip; }
.hero::before {
    content: ""; position: absolute; inset: -64px -20px auto; height: 560px; z-index: -1; pointer-events: none;
    background:
        radial-gradient(520px 320px at 8% 10%, rgba(47, 160, 232, .20), transparent 70%),
        radial-gradient(520px 300px at 92% 0%, rgba(247, 183, 46, .13), transparent 70%),
        radial-gradient(620px 360px at 80% 90%, rgba(232, 85, 63, .14), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; }
.hero-shot { margin: 0; position: relative; justify-self: end; }
.hero-shot::before {
    content: ""; position: absolute; inset: 8% -12% 6% -12%; z-index: -1; filter: blur(60px); opacity: .5;
    background: radial-gradient(closest-side, rgba(232, 85, 63, .55), rgba(247, 183, 46, .18) 60%, transparent);
}
.hero-shot img {
    display: block; width: 340px; height: auto; border-radius: 12px; border: 1px solid #000;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 70px rgba(0, 0, 0, .6);
}
.hero h1 { text-wrap: balance; font-size: clamp(40px, 6vw, 74px); font-weight: 800; letter-spacing: -.035em; line-height: .98; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #f7b72e, #e8553f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 14px; color: var(--text-2); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--c, var(--ok)); }
.hero-aside { margin-top: 56px; display: grid; gap: 16px; max-width: 900px; }
.hero-aside .q { font-family: var(--display); font-size: 22px; font-weight: 650; line-height: 1.25; letter-spacing: -.01em; }
.hero-aside .q b { color: var(--text-3); font-weight: 650; }
.hero-aside .tc { color: var(--yellow); font-size: 13px; }
@media (max-width: 1080px) { .hero-shot img { width: 290px; } .hero-grid { gap: 40px; } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero-shot { justify-self: center; } .hero-shot img { width: min(340px, 86vw); } .hero-aside { margin-top: 40px; } }

/* ---------- Sections ---------- */
.section { padding-block: 84px; }
.section-head { display: grid; gap: 14px; margin-bottom: 36px; max-width: 760px; }
.stripe { height: 4px; border-radius: 4px; background: var(--grad); width: 72px; }

/* ---------- Démo ---------- */
.demo-wrap { padding-block: 72px 24px; }
.demo-head { margin-bottom: 26px; }
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.demo-bar .label { font-weight: 700; display: flex; align-items: center; gap: 10px; }
.demo-bar .label i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(95, 191, 110, .18); }
.tries { display: flex; flex-wrap: wrap; gap: 8px; }
.try {
    font-size: 13px; color: var(--text-2); background: var(--surface); border: 1px solid var(--line);
    border-radius: 999px; padding: 4px 11px; display: inline-flex; gap: 7px; align-items: center;
}
.try.done { color: var(--ok); border-color: rgba(95, 191, 110, .35); }
.try.done::before { content: "✓"; font-weight: 800; }
.demo-reset { margin-left: auto; }
.demo-note { margin-top: 12px; font-size: 13.5px; color: var(--text-3); }

/* ---------- Comparatif ---------- */
.cmp-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp th, .cmp td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); background: var(--surface); }
.cmp thead th.us { color: #fff; }
.cmp thead th.us span { display: inline-flex; align-items: center; gap: 8px; }
.cmp thead th.us img { width: 20px; height: 20px; }
.cmp td:first-child { font-weight: 600; }
.cmp td:first-child small { display: block; font-weight: 400; color: var(--text-3); font-size: 13.5px; margin-top: 2px; }
.cmp td.v { width: 24%; font-size: 14.5px; color: var(--text-2); }
.cmp td.us { background: rgba(232, 85, 63, .045); color: var(--text); }
.mark { display: inline-flex; align-items: center; gap: 8px; }
.mark::before { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; font-size: 13px; font-weight: 800; }
.mark.yes::before { content: "✓"; background: rgba(95, 191, 110, .16); color: var(--ok); }
.mark.no::before { content: "—"; background: #2a2a2f; color: var(--text-3); }
.mark.part::before { content: "~"; background: rgba(227, 176, 74, .14); color: var(--warn); }
@media (max-width: 640px) {
    .cmp-scroll { overflow: visible; }
    table.cmp { min-width: 0; }
    table.cmp, .cmp tbody, .cmp tr, .cmp td { display: block; width: auto; }
    .cmp thead { display: none; }
    .cmp tbody tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
    .cmp tbody tr:last-child { border-bottom: 0; }
    .cmp td { border-bottom: 0; padding: 12px 16px; }
    .cmp td:first-child { grid-column: 1 / -1; padding-bottom: 4px; }
    .cmp td.v { width: auto; padding-top: 8px; font-size: 14px; }
    .cmp td.v::before { content: attr(data-label); display: block; margin-bottom: 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
    .cmp td.us::before { color: var(--accent); }
}
.cmp-foot { margin-top: 12px; font-size: 13.5px; color: var(--text-3); }

/* ---------- Fonctionnalités ---------- */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.feat {
    display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 22px; align-items: start;
    background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px;
}
.feat img { width: 190px; height: auto; aspect-ratio: 470 / 620; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid #000; box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.feat .k { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--c); }
.feat .k::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: var(--c); }
.feat h3 { margin: 10px 0 10px; }
.feat p { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 980px) { .feats { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .feat { grid-template-columns: 1fr; } .feat img { width: 100%; max-width: 260px; } }

/* ---------- Autres fonctionnalités (bandeau) ---------- */
.more-wrap { position: relative; margin-top: 18px; }
.more {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px;
    padding: 4px 2px 14px; scrollbar-width: thin; scrollbar-color: #3a3a40 transparent;
}
.more::-webkit-scrollbar { height: 6px; }
.more::-webkit-scrollbar-thumb { background: #3a3a40; border-radius: 6px; }
.mcard {
    flex: 0 0 168px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; padding: 8px 8px 12px;
    background: var(--panel); border: 1px solid var(--line); border-radius: 12px; color: var(--text); text-align: left;
    font: inherit; cursor: zoom-in; transition: border-color .15s, transform .15s, background .15s;
}
.mcard:hover { border-color: #46464e; background: var(--card); transform: translateY(-2px); }
.mcard:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mthumb { display: block; height: 116px; border-radius: 8px; overflow: hidden; background: #000; border: 1px solid #000; }
.mthumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .25s; }
.mcard:hover .mthumb img { transform: scale(1.04); }
.mcard[data-key="quick"] .mthumb img { object-position: 30% center; }
.mcard[data-key="shot"] .mthumb img { object-position: center; }
.mcard[data-key="compact"] .mthumb img { width: 250%; max-width: none; height: auto; object-fit: initial; margin: 0 0 0 -163px; }
.mcard[data-key="notes"] .mthumb img { width: 230%; max-width: none; height: auto; object-fit: initial; margin: -6px 0 0 -14px; }
.mt { font-size: 14px; font-weight: 600; line-height: 1.3; padding-inline: 4px; }
.more-nav {
    position: absolute; top: 58px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(28, 28, 31, .92); border: 1px solid #3a3a40; color: var(--text); cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
    transition: opacity .15s;
}
.more-nav svg { width: 18px; height: 18px; }
.more-nav.prev { left: -14px; } .more-nav.next { right: -14px; }
.more-nav:disabled { opacity: 0; pointer-events: none; }
.more-hint { margin-top: 4px; font-size: 13.5px; color: var(--text-3); }
@media (max-width: 640px) { .more-nav { display: none; } .mcard { flex-basis: 150px; } .mthumb { height: 104px; } }

/* ---------- Aperçu agrandi ---------- */
.lb {
    position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px;
    background: rgba(8, 8, 10, .82); backdrop-filter: blur(6px); opacity: 0; transition: opacity .18s;
}
.lb.on { opacity: 1; }
.lb[hidden] { display: none; }
body.lb-open { overflow: hidden; }
.lb-box {
    position: relative; display: grid; grid-template-columns: auto minmax(260px, 340px); gap: 28px; align-items: center;
    max-width: min(1180px, 100%); max-height: calc(100vh - 48px); padding: 24px; border-radius: 18px;
    background: var(--panel); border: 1px solid #3a3a40; box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
    transform: translateY(8px) scale(.985); transition: transform .18s;
}
.lb.on .lb-box { transform: none; }
.lb-img { min-width: 0; display: grid; place-items: center; }
.lb-img img { display: block; max-width: 100%; max-height: calc(100vh - 96px); width: auto; height: auto; border-radius: 10px; border: 1px solid #000; box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.lb[data-shape="notes"] .lb-img img, .lb[data-shape="shot"] .lb-img img, .lb[data-shape="quick"] .lb-img img, .lb[data-shape="compact"] .lb-img img { max-width: min(760px, 100%); }
.lb-count { font-size: 12.5px; color: var(--text-3); }
.lb-text h3 { margin: 8px 0 12px; font-size: 24px; }
.lb-text p#lb-desc { color: var(--text-2); font-size: 16px; }
.lb-nav { display: flex; gap: 10px; margin-top: 22px; }
.lb-nav .btn svg { width: 16px; height: 16px; }
.lb-close {
    position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
    background: var(--card); border: 1px solid #3a3a40; color: var(--text); cursor: pointer;
}
.lb-close svg { width: 18px; height: 18px; }
.lb-close:hover { background: #34343a; }
@media (max-width: 860px) {
    .lb { padding: 12px; }
    .lb-box { grid-template-columns: 1fr; gap: 16px; padding: 16px; overflow-y: auto; }
    .lb-img img { max-height: 58vh; }
    .lb-text h3 { font-size: 20px; }
}

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.step { padding: 26px 24px 28px; background: var(--panel); border-right: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.step:last-child { border-right: 0; }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--yellow); }
.step p { color: var(--text-2); font-size: 15.5px; }
.step code { font-family: var(--mono); font-size: 13px; color: var(--text); background: #2a2a2f; border-radius: 5px; padding: 1px 6px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step { border-right: 0; border-bottom: 1px solid var(--line); } .step:last-child { border-bottom: 0; } }

/* ---------- Configuration ---------- */
.req { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.req-list { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 8px 22px; }
.req-list div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.req-list div:last-child { border-bottom: 0; }
.req-list dt, .req-list span:first-child { color: var(--text-2); }
.req-list b { text-align: right; }
.warnbox { border-radius: 16px; padding: 22px 24px; background: rgba(227, 176, 74, .08); border: 1px solid rgba(227, 176, 74, .28); display: grid; gap: 10px; align-content: start; }
.warnbox h3 { color: #f0c46a; font-size: 19px; }
.warnbox p { color: #d9c9a6; font-size: 15.5px; }
@media (max-width: 860px) { .req { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.faq summary {
    cursor: pointer; list-style: none; padding: 17px 20px; font-weight: 700; font-size: 16.5px;
    display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--text-3); font-size: 18px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq details p { padding: 0 20px 18px; color: var(--text-2); font-size: 15.5px; max-width: 72ch; }

/* ---------- Appel final ---------- */
.final {
    margin-block: 30px 70px; border-radius: 22px; padding: 46px 40px; position: relative; overflow: hidden;
    background: var(--panel); border: 1px solid var(--line);
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
}
.final::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(420px 240px at 0% 0%, rgba(47, 160, 232, .16), transparent 70%), radial-gradient(460px 260px at 100% 100%, rgba(232, 85, 63, .18), transparent 70%);
}
.final > * { position: relative; }
.final::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); }
.final h2 { font-size: clamp(28px, 3.6vw, 40px); }
.final p { color: var(--text-2); margin-top: 10px; }
@media (max-width: 760px) { .final { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---------- Pied de page ---------- */
.site-foot { border-top: 1px solid var(--line); padding-block: 34px 44px; color: var(--text-3); font-size: 14px; margin-inline: -20px; padding-inline: 20px; }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 30px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot a { color: var(--text-2); text-decoration: none; }
.site-foot a:hover { color: var(--text); text-decoration: underline; }
.site-foot .fine { grid-column: 1 / -1; font-size: 13px; line-height: 1.55; }
.copyable { user-select: all; color: var(--text-2); }
@media (max-width: 700px) { .site-foot .wrap { grid-template-columns: 1fr; } }

/* ---------- Pages légales ---------- */
.legal { max-width: 760px; margin-inline: auto; padding-block: 56px 40px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 10px; }
.legal h2 { font-size: 24px; margin: 38px 0 12px; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; }
.legal p + p { margin-top: 10px; }
.legal dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 22px; margin: 0; }
.legal dt { color: var(--text-3); }
.legal dd { margin: 0; color: var(--text); }
.todo-fill { color: var(--yellow); font-family: var(--mono); font-size: 14px; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 8px; } }
[data-lang-only] { display: none; }
html[lang="en"] [data-lang-only="en"], html[lang="fr"] [data-lang-only="fr"] { display: revert; }
html[lang="en"] .hero h1 em { white-space: nowrap; }
