/* Daedalio — site vitrine. Aucune ressource externe (polices système), aucun traceur. */
:root {
  --ink: #15171b; --ink-2: #3b4048; --muted: #6b7380; --line: #e4e1db; --paper: #faf8f4; --card: #ffffff;
  --accent: #d9772b; --accent-2: #b8551a; --accent-soft: #fbeee2; --steel: #22262c; --steel-2: #2c3138; --good: #1f8a5b;
  --radius: 14px; --shadow: 0 18px 50px rgba(20, 23, 28, .12); --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--max), 100% - 40px); margin: 0 auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }

/* navigation */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(21, 23, 27, .86); backdrop-filter: saturate(1.4) blur(14px); color: #eef0f2; border-bottom: 1px solid rgba(255,255,255,.06); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 20px; letter-spacing: -.3px; text-decoration: none; color: #fff; }
.logo svg { width: 30px; height: 30px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav nav a { text-decoration: none; color: #c9ced5; } .nav nav a:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 650; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: linear-gradient(135deg, #ef9a49, var(--accent-2)); color: #1b0f05; box-shadow: 0 8px 22px rgba(217, 119, 43, .35); }
.btn.ghost { border-color: rgba(255,255,255,.22); color: #fff; } .btn.ghost:hover { background: rgba(255,255,255,.06); }
.btn.line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14.5px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 24px; }

/* hero */
.hero { background: radial-gradient(1200px 520px at 75% -10%, rgba(217,119,43,.28), transparent 60%), linear-gradient(180deg, #15171b, #1d2026 70%, #23272e); color: #f2f3f5; padding: 84px 0 0; overflow: hidden; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; letter-spacing: .4px; text-transform: uppercase; color: #f0b27a; font-weight: 650; }
.hero h1 { font-size: clamp(40px, 6vw, 74px); line-height: 1.02; letter-spacing: -2px; margin: 16px 0 18px; max-width: 900px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #f6b06a, #e0782d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: #c3c8cf; max-width: 760px; margin: 0 0 30px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; color: #9aa2ad; font-size: 14.5px; }
.hero .trust span::before { content: "✓"; color: #f0a35b; margin-right: 7px; font-weight: 700; }
.frame { margin-top: 56px; border-radius: 14px 14px 0 0; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-bottom: 0; box-shadow: 0 -10px 80px rgba(0,0,0,.45); background: #111; }
.frame .bar { height: 30px; display: flex; gap: 7px; align-items: center; padding: 0 12px; background: #24282e; }
.frame .bar i { width: 11px; height: 11px; border-radius: 50%; background: #4a5059; } .frame .bar i:nth-child(1) { background: #ef6a5e; } .frame .bar i:nth-child(2) { background: #f4bf4f; } .frame .bar i:nth-child(3) { background: #61c454; }

/* sections */
section { padding: 96px 0; }
.kicker { font-size: 13.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--accent-2); }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -1.2px; margin: 10px 0 16px; }
.sub { color: var(--ink-2); font-size: 19px; max-width: 760px; margin: 0; }
.center { text-align: center; } .center .sub { margin: 0 auto; }

.who { padding: 34px 0; background: #fff; border-bottom: 1px solid var(--line); }
.who .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; align-items: center; }
.who b { color: var(--muted); font-weight: 600; font-size: 14.5px; margin-right: 6px; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font: 700 13px var(--mono); color: var(--accent-2); }
.step h3 { margin: 8px 0 6px; font-size: 20px; letter-spacing: -.3px; } .step p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; padding: 46px 0; }
.feature.rev { grid-template-columns: 1.25fr 1fr; } .feature.rev .txt { order: 2; }
.feature h3 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.8px; line-height: 1.15; margin: 8px 0 12px; }
.feature p { color: var(--ink-2); margin: 0 0 14px; }
.feature ul { list-style: none; padding: 0; margin: 0; } .feature li { padding: 6px 0 6px 28px; position: relative; color: var(--ink-2); font-size: 16px; }
.feature li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.shot { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid #d9d5ce; background: #1a1d21; }
.shot img { width: 100%; }

.dark { background: linear-gradient(180deg, #1b1e23, #15171b); color: #eef0f2; }
.dark .sub { color: #b5bbc4; } .dark .kicker { color: #f0a35b; }
.repair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.rcard { background: #23272e; border: 1px solid #343a43; border-radius: var(--radius); overflow: hidden; }
.rcard .in { padding: 22px 24px 26px; } .rcard h3 { margin: 0 0 8px; font-size: 22px; } .rcard p { margin: 0; color: #b5bbc4; font-size: 15.5px; }
.rcard .shot { border-radius: 0; border: 0; box-shadow: none; }
.legal-note { margin-top: 22px; font-size: 14px; color: #8e96a1; max-width: 900px; }

.gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 18px; margin-top: 40px; }
.gallery figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: #1a1d21; box-shadow: var(--shadow); }
.gallery figure:first-child { grid-row: span 2; } .gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(21,23,27,.82); color: #fff; padding: 6px 12px; border-radius: 8px; font-size: 14px; }

.manifesto { background: var(--accent-soft); border-top: 1px solid #f1dcc8; border-bottom: 1px solid #f1dcc8; }
.manifesto blockquote { margin: 0; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; letter-spacing: -.4px; max-width: 900px; font-weight: 600; }
.manifesto .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.manifesto .cols h3 { margin: 0 0 6px; font-size: 19px; } .manifesto .cols p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

.offline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tile .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; font-size: 21px; margin-bottom: 12px; }
.tile h3 { margin: 0 0 6px; font-size: 19px; } .tile p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* tarifs */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 22px; margin-top: 46px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 30px 30px 26px; display: flex; flex-direction: column; }
.plan.best { border: 2px solid var(--accent); box-shadow: 0 20px 60px rgba(217,119,43,.18); position: relative; }
.plan.best::before { content: "Pour les professionnels"; position: absolute; top: -13px; left: 26px; background: var(--accent); color: #1b0f05; font-size: 12.5px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 22px; } .plan .who2 { color: var(--muted); font-size: 15px; margin: 4px 0 18px; }
.price { font-size: 48px; font-weight: 780; letter-spacing: -1.5px; } .price small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; } .plan li { padding: 6px 0 6px 26px; position: relative; font-size: 15.5px; color: var(--ink-2); }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--good); font-weight: 800; }
.plan .btn { justify-content: center; }
.plan-note { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 22px; }

/* téléchargement */
.dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.dlc { background: #23272e; border: 1px solid #343a43; border-radius: var(--radius); padding: 22px; color: #eef0f2; text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: border-color .12s, transform .12s; }
.dlc:hover { border-color: var(--accent); transform: translateY(-2px); }
.dlc b { font-size: 19px; } .dlc span { color: #9aa2ad; font-size: 14.5px; } .dlc em { font-style: normal; color: #f0a35b; font-weight: 650; margin-top: 6px; }
.req { margin-top: 18px; color: #9aa2ad; font-size: 14.5px; }

/* FAQ */
.faq { max-width: 860px; margin: 40px auto 0; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 650; padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 22px; color: var(--accent-2); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink-2); }

.cta { background: linear-gradient(135deg, #1b1e23, #2a2016); color: #fff; border-radius: 22px; padding: 56px; text-align: center; margin-top: 10px; }
.cta h2 { margin-top: 0; } .cta p { color: #c3c8cf; font-size: 19px; margin: 0 0 26px; }

footer { background: #121417; color: #9aa2ad; padding: 54px 0 40px; font-size: 14.5px; }
footer .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
footer h4 { color: #eef0f2; margin: 0 0 10px; font-size: 15px; } footer a { display: block; text-decoration: none; padding: 3px 0; } footer a:hover { color: #fff; }
footer .base { grid-column: 1 / -1; border-top: 1px solid #262a30; padding-top: 18px; margin-top: 10px; font-size: 13.5px; }

/* pages secondaires */
.page { padding: 60px 0 80px; } .page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -1px; line-height: 1.1; }
.page h2 { font-size: 22px; letter-spacing: -.3px; margin-top: 32px; }
.page p, .page li { color: var(--ink-2); }
.todo { background: #fff3cd; padding: 0 4px; border-radius: 3px; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-top: 24px; }
.form label { display: block; font-weight: 600; font-size: 15px; margin: 12px 0 6px; }
.form input { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; font: inherit; }
.form input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.keybox { margin-top: 18px; display: none; } .keybox textarea { width: 100%; height: 110px; font: 13px var(--mono); padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: #f6f4f0; word-break: break-all; }
.msg { margin-top: 12px; color: #b42318; font-size: 15px; } .ok { color: var(--good); }

@media (max-width: 960px) {
  .steps, .offline, .manifesto .cols, .dl { grid-template-columns: 1fr 1fr; }
  .feature, .feature.rev, .repair { grid-template-columns: 1fr; gap: 26px; } .feature.rev .txt { order: 0; }
  .plans { grid-template-columns: 1fr; } .gallery { grid-template-columns: 1fr; } .gallery figure:first-child { grid-row: auto; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  .nav nav { display: none; } .menu-btn { display: block; }
  .nav nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #15171b; padding: 16px 20px 22px; gap: 14px; }
  .nav .btn.sm { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; } section { padding: 64px 0; }
  .steps, .offline, .manifesto .cols, .dl { grid-template-columns: 1fr; }
  .cta { padding: 36px 22px; } footer .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 54px; } .hero .btn { width: 100%; justify-content: center; }
}

/* --- édition 2.4 : projets, achat Stripe, page merci --- */
.projects .rcard h3 { font-size: 20px; }
div.dlc:hover { transform: none; border-color: #343a43; }
.msg.err { color: #b4361c; font-weight: 600; } .msg.center { min-height: 1.4em; margin: 18px 0 0; }
.btn[disabled] { opacity: .65; cursor: progress; }
.form.renew { max-width: 760px; margin: 26px auto 0; padding: 18px 22px; }
.form.renew label { margin-top: 0; }
.form.renew .row { display: flex; gap: 10px; flex-wrap: wrap; }
.form.renew input { flex: 1 1 240px; width: auto; }
.form.renew select { height: 46px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: inherit; background: #fff; }
.dl-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0 6px; }
.dl-links a { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-decoration: none; color: inherit; transition: border-color .12s, transform .12s; }
.dl-links a:hover { border-color: var(--accent); transform: translateY(-2px); }
.dl-links a b { font-size: 17px; } .dl-links a span { color: var(--muted); font-size: 14px; } .dl-links a.mine { border: 2px solid var(--accent); }
.steps-help { counter-reset: s; list-style: none; padding: 0; } .steps-help li { counter-increment: s; position: relative; padding: 4px 0 12px 40px; }
.steps-help li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #1b0f05; font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.spinner { display: inline-block; width: 18px; height: 18px; border: 3px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: sp 1s linear infinite; vertical-align: -3px; margin-right: 8px; }
@keyframes sp { to { transform: rotate(360deg); } }
