:root {
  --bg0: #0E0D0C; --bg1: #141211; --bg2: #1C1917; --bg3: #26221F; --line: #2B2622; --line2: #3A332E;
  --brand: #946e5b; --brand-lit: #D2A890; --brand-solid: #8A6553; --brand-bg: #2A221D;
  --t1: #F4EFEA; --t2: #BDB0A5; --t3: #9E9187; --green: #5BC88A; --red: #E0705F;
  --r: 14px; --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg0); color: var(--t1); font: 16px/1.6 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-lit); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--brand-lit); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--bg2); padding: 8px 14px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 760px; }
.center { text-align: center; }
.max { max-width: 640px; margin-left: auto; margin-right: auto; }
.muted { color: var(--t2); }
.tiny { color: var(--t3); font-size: 13px; margin: 12px 0 0; }
.eyebrow { color: var(--brand-lit); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.lead { font-size: clamp(17px, 1.9vw, 20px); color: var(--t2); max-width: 720px; }
.center .lead, .hero .lead { margin-left: auto; margin-right: auto; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand-solid); color: #fff; border: 1px solid transparent; border-radius: 12px; padding: 11px 20px; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--brand); transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-ghost { background: transparent; border-color: var(--line2); color: var(--t1); }
.btn-ghost:hover { background: var(--bg2); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .cta-row { justify-content: center; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(14, 13, 12, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--t1); font-weight: 800; font-size: 19px; text-decoration: none; letter-spacing: -.02em; }
.logo { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--bg2), var(--bg3)); border: 1.5px solid #946e5b80; color: var(--brand-lit); display: grid; place-items: center; font-weight: 900; font-size: 16px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--t2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--t1); }
@media (max-width: 640px) { .nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#2B262230 1px, transparent 1px), linear-gradient(90deg, #2B262230 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at top, #000 20%, transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; top: 40px; left: 50%; width: 720px; height: 380px; transform: translateX(-50%); background: radial-gradient(ellipse, #946e5b33, transparent 70%); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; max-width: 900px; margin: 0 auto .4em; }
.hero-in { margin-bottom: 48px; }
.page-head { padding: 48px 0 32px; }
.page-head h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
.page-head .hero-shot { margin-top: 40px; }

/* Capture dans un cadre navigateur */
.frame { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line2); background: var(--bg1); box-shadow: 0 30px 80px -30px #000, 0 0 0 1px #00000040; }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg2); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line2); }
.frame-bar span { margin-left: 10px; font-size: 12px; color: var(--t3); background: var(--bg0); padding: 2px 12px; border-radius: 6px; }
.hero-shot { max-width: 1100px; margin: 0 auto; }

/* Sections */
.section { padding: 80px 0; }
.alt { background: var(--bg1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg1); }
.strip-in p { margin: 0; text-align: center; color: var(--t2); }
.strip strong { color: var(--t1); }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 36px; }
.grid.small { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.card { background: var(--bg1); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.alt .card { background: var(--bg2); }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--t2); font-size: 15px; margin: 0; }
.feat { color: inherit; text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, transform .15s; }
.feat:hover { border-color: var(--brand); transform: translateY(-2px); }
.feat-ico { font-size: 26px; width: 48px; height: 48px; display: grid; place-items: center; background: var(--brand-bg); border-radius: 12px; margin-bottom: 8px; }
.feat .more { margin-top: auto; padding-top: 10px; color: var(--brand-lit); font-weight: 700; font-size: 14px; }
.pills { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pills li { border: 1px solid var(--line2); border-radius: 99px; padding: 6px 14px; font-size: 14px; color: var(--t2); }

/* Onglets */
.tab-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 32px 0 24px; }
.tab-list button { font: inherit; font-weight: 600; font-size: 14px; color: var(--t2); background: var(--bg2); border: 1px solid var(--line2); border-radius: 99px; padding: 8px 16px; cursor: pointer; }
.tab-list button[aria-selected="true"] { background: var(--brand-solid); color: #fff; border-color: transparent; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 40px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.steps li { counter-increment: s; background: var(--bg1); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-bg); color: var(--brand-lit); font-weight: 800; margin-bottom: 14px; }
.steps h3 { font-size: 18px; }
.steps p { color: var(--t2); margin: 0; }

.two { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.checks { list-style: none; padding: 0; margin: 16px 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--t2); }
.checks li::before { content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: #5BC88A24 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%235BC88A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }

.feat-row { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; padding: 40px 0; border-bottom: 1px solid var(--line); }
.feat-row:last-child { border-bottom: 0; }
@media (min-width: 900px) { .feat-row { grid-template-columns: 5fr 7fr; } .feat-row.rev > div { order: 2; } }
.feat-row h2 a { color: inherit; text-decoration: none; }
.feat-row h2 a:hover { color: var(--brand-lit); }

/* Démo */
.demo { background: radial-gradient(ellipse at 20% 0%, #946e5b26, transparent 60%), var(--bg1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.demo-in { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .demo-in { grid-template-columns: 1fr 440px; } }
.form { display: flex; flex-direction: column; gap: 6px; background: var(--bg0); padding: 28px; }
.form label { font-size: 14px; font-weight: 600; color: var(--t2); margin-top: 8px; }
.form .opt { color: var(--t3); font-weight: 400; }
.form input[type=email], .form input[type=text] { font: inherit; color: var(--t1); background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; width: 100%; }
.form input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px #946e5b40; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--t3); font-size: 14px; margin: 12px 0 8px; cursor: pointer; }
.form .check input { margin-top: 4px; accent-color: var(--brand); }
.form .btn { margin-top: 6px; }
.form-msg { margin: 10px 0 0; font-size: 15px; min-height: 1px; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */
.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq details { background: var(--bg1); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.alt .faq details { background: var(--bg2); }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand-lit); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--t2); padding-bottom: 18px; margin: 0; }

.crumbs { font-size: 14px; color: var(--t3); margin-bottom: 20px; }
.crumbs a { color: var(--t3); }
.prose h2 { font-size: 22px; margin-top: 1.6em; }
.prose p { color: var(--t2); }

/* Pied */
.foot { border-top: 1px solid var(--line); padding: 56px 0 24px; background: var(--bg1); }
.foot-in { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .foot-in { grid-template-columns: 2fr 1fr 1fr; } }
.foot p { color: var(--t3); font-size: 14px; max-width: 360px; margin-top: 14px; }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.foot nav h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--t3); margin-bottom: 6px; }
.foot nav a { color: var(--t2); text-decoration: none; font-size: 15px; }
.foot nav a:hover { color: var(--t1); }
.copy { color: var(--t3); font-size: 13px; margin-top: 40px; }
