/* Mashwerk — site vitrine, design system « Néon Pixel » (mêmes jetons que l'app). */
@font-face { font-family: 'Silkscreen'; font-weight: 400; font-display: swap; src: url('/assets/fonts/silkscreen-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Silkscreen'; font-weight: 400; font-display: swap; src: url('/assets/fonts/silkscreen-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Silkscreen'; font-weight: 700; font-display: swap; src: url('/assets/fonts/silkscreen-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Silkscreen'; font-weight: 700; font-display: swap; src: url('/assets/fonts/silkscreen-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url('/assets/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url('/assets/fonts/jetbrains-mono-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 700; font-display: swap; src: url('/assets/fonts/jetbrains-mono-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 700; font-display: swap; src: url('/assets/fonts/jetbrains-mono-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #0b0a1a;
  --panel: #14122b;
  --panel-2: #1c1a3a;
  --line: #2f2b5c;
  --line-strong: #6a63a8;
  --ink: #000;
  --text: #e9e6ff;
  --muted: #a39ed0;
  --heading: #fff;
  --accent: #5dff9a;
  --accent-2: #ff4fd8;
  --on-accent: #06120a;
  --warn: #ffcc4d;
  --info: #8ab4ff;
  --malt: #ffb86b;
  --halo-violet: #2a1747;
  --halo-green: #0d3326;
  --font-title: 'Silkscreen', ui-monospace, Menlo, monospace;
  --font-body: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-lg: 6px 6px 0 var(--ink);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --wrap: 1180px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 15px; line-height: 1.6;
  background-image:
    radial-gradient(60rem 30rem at 85% -10%, var(--halo-violet), transparent 70%),
    radial-gradient(50rem 30rem at -10% 20%, var(--halo-green), transparent 70%);
  background-repeat: no-repeat;
  overflow-x: hidden;
}
img { max-width: 100%; }
img[src$="mascot.svg"] { image-rendering: pixelated; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-2); outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--font-title); color: var(--heading); font-weight: 700; line-height: 1.15; margin: 0 0 .6rem; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); text-shadow: 3px 3px 0 var(--accent-2); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.05rem; color: var(--text); max-width: 46rem; }
.note { color: var(--muted); font-size: .85rem; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--on-accent); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* Boutons */
.btn {
  display: inline-block; font-family: var(--font-title); font-weight: 700; font-size: .95rem;
  padding: .8rem 1.3rem; background: var(--accent); color: var(--on-accent); text-decoration: none;
  border: 2px solid var(--ink); box-shadow: var(--shadow);
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), color 150ms ease, border-color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }
}
.btn:active { transform: translate(3px, 3px) scale(0.98); box-shadow: 1px 1px 0 var(--ink); transition-duration: 80ms; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); box-shadow: none; }
.btn-ghost:active { transform: scale(0.97); box-shadow: none; }
.btn-sm { padding: .5rem .8rem; font-size: .8rem; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 5; background: rgb(11 10 26 / .88); backdrop-filter: blur(8px); border-bottom: 2px solid var(--line); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; padding: .7rem var(--gutter); display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-title); font-weight: 700; color: var(--heading); text-decoration: none; font-size: 1.1rem; }
.nav-links { display: flex; gap: 1.2rem; }
.nav-links a, .nav-login { color: var(--text); text-decoration: none; font-size: .9rem; }
.nav-links a, .nav-login, .langs a, .footer nav a { transition: color 150ms ease; }
.nav-links a:hover, .nav-login:hover { color: var(--accent); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.langs { display: flex; gap: .5rem; font-size: .8rem; }
.langs a { color: var(--muted); text-decoration: none; }
.langs a[aria-current] { color: var(--accent); font-weight: 700; }

/* Bannière */
.hero-inner { max-width: var(--wrap); margin: 0 auto; padding: 5rem var(--gutter) 4rem; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.6rem 0 1rem; }
.hero-img { border: 2px solid var(--line-strong); box-shadow: var(--shadow-lg); }

/* Maquettes intégrées */
.mock { background: var(--panel); border: 2px solid var(--line-strong); box-shadow: var(--shadow-lg); padding: 1rem; font-size: .85rem; }
.mock-bar { display: flex; align-items: center; gap: .35rem; margin: -.2rem 0 1rem; }
.mock-bar span { width: 9px; height: 9px; background: var(--line-strong); }
.mock-bar span:first-child { background: var(--accent-2); }
.mock-bar b { margin-left: .5rem; font-family: var(--font-title); font-size: .8rem; color: var(--heading); }
.mock-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.mock-stats div { background: var(--panel-2); border: 1px solid var(--line); padding: .5rem .6rem; }
.mock-stats small { display: block; color: var(--muted); font-size: .7rem; }
.mock-stats strong { font-family: var(--font-title); color: var(--accent); font-size: 1.15rem; }
.mock-chart { display: flex; align-items: flex-end; gap: 6px; height: 110px; padding: .5rem; background: var(--panel-2); border: 1px solid var(--line); margin-bottom: 1rem; }
.mock-chart span { flex: 1; background: var(--accent); box-shadow: 2px 2px 0 var(--ink); }
.mock-chat { display: flex; gap: .7rem; align-items: flex-start; background: var(--panel-2); border: 1px solid var(--accent-2); padding: .7rem; }
.mock-chat p { margin: 0; }
.bubble { padding: .6rem .8rem; margin: 0 0 .8rem; border: 1px solid var(--line); }
.bubble-me { background: var(--panel-2); margin-left: 2.5rem; }
.bubble-ai { border-color: var(--accent); }
.bubble-ai > p:first-child { font-family: var(--font-title); color: var(--accent); font-size: .8rem; }
.diff { list-style: none; padding: 0; margin: 0 0 .8rem; }
.diff li { padding: .15rem 0; }
del { color: #ff8da0; }
ins { color: var(--accent); text-decoration: none; }
.mock-actions { display: flex; gap: .5rem; margin: 0; }
.pill { border: 1px solid var(--line-strong); padding: .2rem .6rem; font-size: .75rem; }
.pill-on { background: var(--accent); color: var(--on-accent); border-color: var(--ink); }
.mono { color: var(--malt); word-break: break-word; }
.progress { height: 12px; background: var(--panel-2); border: 1px solid var(--line); margin-bottom: 1rem; }
.progress span { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--accent) 0 10px, #2a8f57 10px 12px); }

/* Blocs */
.block { max-width: var(--wrap); margin: 0 auto; padding: 4.5rem var(--gutter); }
.block-head { text-align: center; max-width: 48rem; margin: 0 auto 2.5rem; }
.block-head .lead { margin-inline: auto; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card { background: var(--panel); border: 2px solid var(--line); padding: 1.4rem; box-shadow: var(--shadow); }
.card { transition: border-color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .card:hover { border-color: var(--line-strong); } }
.card h3 { color: var(--accent); }
.card p { margin: 0; color: var(--text); font-size: .92rem; }

.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.spotlight-rev .spot-visual { order: -1; }
.ticks { list-style: none; padding: 0; margin: 1rem 0 1.4rem; }
.ticks li { position: relative; padding: .3rem 0 .3rem 1.6rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .78rem; width: 9px; height: 9px; background: var(--accent); box-shadow: 2px 2px 0 var(--ink); }
.ticks.small li { padding-block: .15rem; }

/* Tarifs */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 2px solid var(--line); padding: 1.6rem; box-shadow: var(--shadow); }
.plan .ticks { flex: 1; }
.plan .btn { text-align: center; }
.plan-hot { border-color: var(--accent); box-shadow: 6px 6px 0 var(--accent-2); }
.badge { position: absolute; top: -.9rem; left: 1.2rem; margin: 0; background: var(--accent-2); color: var(--bg); font-family: var(--font-title); font-size: .7rem; padding: .25rem .6rem; border: 2px solid var(--ink); }
.price { font-family: var(--font-title); font-size: 2.4rem; color: var(--heading); margin: .4rem 0 0; line-height: 1; }
.period { color: var(--muted); font-size: .85rem; }
.pricing .note { margin-top: 2rem; }

/* FAQ */
.faq-list { max-width: 48rem; margin: 0 auto; display: grid; gap: .8rem; }
details { background: var(--panel); border: 2px solid var(--line); padding: 1rem 1.2rem; }
details[open] { border-color: var(--line-strong); }
summary { cursor: pointer; font-weight: 700; color: var(--heading); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; flex: none; width: 10px; height: 10px; margin-top: .45rem; background: linear-gradient(var(--accent), var(--accent)) center / 10px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2px 10px no-repeat; }
summary::after { transition: transform 200ms var(--ease-out); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: .8rem 0 0; }

/* Appel à l'action */
.cta { text-align: center; background: var(--panel); border: 2px solid var(--accent-2); box-shadow: 6px 6px 0 var(--ink); margin-bottom: 4rem; max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.cta .lead { margin: 0 auto 1.6rem; }

/* Texte et contact */
.richtext { max-width: 42rem; margin: 0 auto; padding: 5rem var(--gutter); }
.contact { max-width: 36rem; margin: 0 auto; padding: 4.5rem var(--gutter); }
.contact-intro { color: var(--muted); }
.form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.form label { display: flex; flex-direction: column; gap: .35rem; font-weight: 700; font-size: .9rem; color: var(--heading); }
.form input, .form textarea { font: inherit; padding: .75rem .8rem; border: 2px solid var(--line-strong); background: var(--panel); color: var(--text); border-radius: 0; }
.form input:focus, .form textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 2px var(--accent-2); }
.form button { align-self: flex-start; font-family: var(--font-title); font-weight: 700; cursor: pointer; padding: .8rem 1.4rem; border: 2px solid var(--ink); background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow); }
.form button { transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }
.form button:active { transform: translate(3px, 3px) scale(0.98); box-shadow: 1px 1px 0 var(--ink); transition-duration: 80ms; }

/* Pied de page */
.footer { border-top: 2px solid var(--line); background: var(--panel); }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 3rem var(--gutter) 1.5rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-family: var(--font-title); color: var(--heading); align-content: flex-start; }
.footer-brand p { flex-basis: 100%; font-family: var(--font-body); color: var(--muted); font-size: .85rem; margin: .5rem 0 0; max-width: 22rem; }
.footer nav { display: flex; flex-direction: column; gap: .4rem; }
.footer h2 { font-size: .8rem; color: var(--muted); margin-bottom: .4rem; }
.footer nav a { color: var(--text); text-decoration: none; font-size: .88rem; }
.footer nav a:hover { color: var(--accent); }
.footer-copy { max-width: var(--wrap); margin: 0 auto; padding: 1rem var(--gutter) 2rem; color: var(--muted); font-size: .8rem; border-top: 1px solid var(--line); }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .spotlight { grid-template-columns: 1fr; gap: 2.5rem; }
  .spotlight-rev .spot-visual { order: 0; }
  .cards, .plans { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hero-inner { padding-top: 3rem; }
  .cards, .plans { grid-template-columns: 1fr; }
  .nav-inner { gap: .8rem; }
  .nav-login { display: none; }
  .brand span { display: none; }
  .block { padding-block: 3rem; }
  .cta { margin-inline: var(--gutter); }
}

/* Exemples de questions (bannière) */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { border: 1px solid var(--line-strong); background: var(--panel); padding: .35rem .7rem; font-size: .8rem; color: var(--text); }
.chips-label { margin: 1.8rem 0 .5rem; font-size: .8rem; color: var(--muted); }

/* Lien « en savoir plus » */
.more { font-family: var(--font-title); font-size: .85rem; text-decoration: none; }
.more:hover { text-decoration: underline; }

/* En-tête de page et comparatif */
.intro { padding-top: 5rem; padding-bottom: 1rem; }
.intro .lead { margin-bottom: 1.6rem; }
.table-wrap { overflow-x: auto; border: 2px solid var(--line); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: var(--panel); font-size: .9rem; }
th, td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--font-title); color: var(--heading); background: var(--panel-2); }
tbody th { color: var(--heading); font-weight: 700; width: 28%; }
td.us, th.us { color: var(--accent); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.compare .note { margin-top: 1.2rem; }
@media (max-width: 600px) {
  .table-wrap { overflow: visible; }
  table thead { display: none; }
  table, tbody, tr, tbody th, td { display: block; width: 100%; }
  tbody tr { border-bottom: 2px solid var(--line); padding: .4rem 0; }
  tbody th, td { border: 0; padding: .35rem 1rem; }
  td::before { content: attr(data-label); display: block; font-family: var(--font-title); font-size: .7rem; color: var(--muted); }
}

/* ---------- Mouvement ----------
   Rare et explicatif : l'accueil se met en place une fois, les maquettes « s'animent »
   pour montrer ce que fait l'app (courbe de fermentation, proposition du copilote, import).
   Courbes fortes en sortie, durées courtes, jamais depuis scale(0). */

/* Bannière : apparition décalée, une seule fois au chargement. */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleY(0.15); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.hero-copy > *, .hero-visual, .chips li { animation: rise 520ms var(--ease-out) both; }
.hero-copy > :nth-child(1) { animation-delay: 40ms; }
.hero-copy > :nth-child(2) { animation-delay: 100ms; }
.hero-copy > :nth-child(3) { animation-delay: 160ms; }
.hero-copy > :nth-child(4) { animation-delay: 220ms; }
.hero-copy > :nth-child(5) { animation-delay: 270ms; }
.hero-copy > :nth-child(6) { animation-delay: 300ms; }
.chips li:nth-child(1) { animation-delay: 360ms; }
.chips li:nth-child(2) { animation-delay: 410ms; }
.chips li:nth-child(3) { animation-delay: 460ms; }
.chips li:nth-child(4) { animation-delay: 510ms; }
.hero-visual { animation-delay: 180ms; animation-duration: 640ms; }
.hero .mock-chart span { transform-origin: bottom; animation: grow 700ms var(--ease-out) both; }
.hero .mock-chart span:nth-child(n) { animation-delay: calc(320ms + var(--i, 0) * 45ms); }
.hero .mock-chat { animation: rise 420ms var(--ease-out) 1050ms both; }

/* Maquettes explicatives, déclenchées quand le bloc arrive à l'écran. */
.js [data-reveal] .spot-visual .mock-chart span { transform: scaleY(0.15); transform-origin: bottom; transition: transform 700ms var(--ease-out); }
.js [data-reveal].is-in .spot-visual .mock-chart span { transform: none; }
.js [data-reveal] .progress span { transform: scaleX(0.04); transform-origin: left; transition: transform 1400ms var(--ease-in-out) 250ms; }
.js [data-reveal].is-in .progress span { transform: none; }
.js [data-reveal] .bubble-ai, .js [data-reveal] .diff li, .js [data-reveal] .ticks.small li { opacity: 0; transform: translateY(6px); transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out); }
.js [data-reveal].is-in .bubble-ai { opacity: 1; transform: none; transition-delay: 450ms; }
.js [data-reveal].is-in .diff li, .js [data-reveal].is-in .ticks.small li { opacity: 1; transform: none; }
.js [data-reveal].is-in .diff li:nth-child(1), .js [data-reveal].is-in .ticks.small li:nth-child(1) { transition-delay: 700ms; }
.js [data-reveal].is-in .diff li:nth-child(2), .js [data-reveal].is-in .ticks.small li:nth-child(2) { transition-delay: 780ms; }
.js [data-reveal].is-in .diff li:nth-child(3), .js [data-reveal].is-in .ticks.small li:nth-child(3) { transition-delay: 860ms; }
.js [data-reveal].is-in .ticks.small li:nth-child(4) { transition-delay: 940ms; }
.js [data-reveal] .mock-chart span:nth-child(n) { transition-delay: calc(200ms + var(--i, 0) * 45ms); }
.mock-chart span:nth-child(1) { --i: 0; } .mock-chart span:nth-child(2) { --i: 1; } .mock-chart span:nth-child(3) { --i: 2; }
.mock-chart span:nth-child(4) { --i: 3; } .mock-chart span:nth-child(5) { --i: 4; } .mock-chart span:nth-child(6) { --i: 5; }
.mock-chart span:nth-child(7) { --i: 6; } .mock-chart span:nth-child(8) { --i: 7; } .mock-chart span:nth-child(9) { --i: 8; }

/* Réponse FAQ : apparition douce à l'ouverture. */
details[open] p { animation: rise 240ms var(--ease-out); }

/* Réduire les animations : pas de mouvement, seulement des fondus courts. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; }
  .js [data-reveal] * { transform: none !important; transition: opacity 200ms ease !important; transition-delay: 0ms !important; }
  .btn, .form button { transition: none; }
  .btn:active, .form button:active, .btn:hover { transform: none; }
}

/* Surfaces du navigateur, aux couleurs du système */
::selection { background: var(--accent-2); color: var(--bg); }
html { scrollbar-color: var(--line-strong) var(--bg); caret-color: var(--accent); }
a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.mock-stats strong, .price, td, .mock-chat p, .diff { font-variant-numeric: tabular-nums; }

/* Lien « en savoir plus » : flèche pixel dessinée */
.more { display: inline-flex; align-items: center; gap: .5rem; }
.more::after { content: ''; width: 12px; height: 10px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 5' shape-rendering='crispEdges'%3E%3Cpath d='M0 2h4v1H0zM3 0h1v1H3zM4 1h1v1H4zM5 2h1v1H5zM4 3h1v1H4zM3 4h1v1H3z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 5' shape-rendering='crispEdges'%3E%3Cpath d='M0 2h4v1H0zM3 0h1v1H3zM4 1h1v1H4zM5 2h1v1H5zM4 3h1v1H4zM3 4h1v1H3z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .more:hover::after { transform: translateX(3px); } }

/* Problème → réponse : une liste éditoriale, pas une grille de cartes */
.features.is-list .block-head { text-align: left; margin-left: 0; }
.features.is-list .cards { grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--line); }
.features.is-list .card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 2rem; align-items: baseline;
  background: none; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; padding: 1.4rem 0; }
.features.is-list .card h3 { margin: 0; font-size: 1.1rem; color: var(--heading); }
.features.is-list .card p { font-size: .95rem; max-width: 60ch; }

/* Le reste, en compact : texte seul, sans boîtes */
.features.is-compact .cards { gap: 2rem 2.5rem; }
.features.is-compact .card { background: none; border: 0; box-shadow: none; padding: 0; border-top: 1px solid var(--line); padding-top: 1rem; }
.features.is-compact .card h3 { color: var(--heading); font-size: .95rem; }
.features.is-compact .card p { color: var(--muted); }
@media (max-width: 900px) { .features.is-list .card { grid-template-columns: 1fr; gap: .5rem; } }
.features.is-list .block-head .lead { margin-left: 0; }
@media (max-width: 600px) { .nav-actions .btn-sm { white-space: nowrap; padding-inline: .6rem; font-size: .7rem; } }

/* ---------- Page Copilote ---------- */
.aihero-inner { max-width: var(--wrap); margin: 0 auto; padding: 4.5rem var(--gutter) 3.5rem; display: grid; grid-template-columns: .95fr 1.05fr; gap: 3rem; align-items: center; }
.aihero-copy .btn { margin-top: .6rem; }
.aihero-copy .note { margin-top: 1rem; }
.convo { background: var(--panel); border: 2px solid var(--line-strong); box-shadow: var(--shadow-lg); padding: 1rem; font-size: .85rem; display: grid; gap: .8rem; }
.convo .mock-bar { margin-bottom: .2rem; }
.convo-me { justify-self: end; max-width: 85%; margin: 0; background: var(--panel-2); border: 1px solid var(--line); padding: .6rem .8rem; }
.convo-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; color: var(--muted); font-size: .78rem; }
.convo-steps li { display: flex; gap: .6rem; align-items: baseline; }
.convo-steps li::before { content: ''; flex: none; width: 8px; height: 8px; background: var(--accent); transform: translateY(-1px); }
.convo-ai { display: flex; gap: .7rem; align-items: flex-start; }
.convo-ai p { margin: 0; }
.convo-prop { border: 1px solid var(--accent); padding: .7rem .8rem; }
.convo-prop-title { margin: 0 0 .5rem; font-family: var(--font-title); color: var(--accent); font-size: .78rem; }

/* La conversation se joue une fois au chargement : question, étapes outillées, réponse, proposition. */
@keyframes step-done { from { background: var(--line-strong); } to { background: var(--accent); } }
.convo-me { animation: rise 420ms var(--ease-out) 200ms both; }
.convo-steps li { animation: rise 360ms var(--ease-out) both; }
.convo-steps li::before { animation: step-done 1ms linear both; }
.convo-steps li:nth-child(1) { animation-delay: 700ms; } .convo-steps li:nth-child(1)::before { animation-delay: 1250ms; }
.convo-steps li:nth-child(2) { animation-delay: 1300ms; } .convo-steps li:nth-child(2)::before { animation-delay: 1850ms; }
.convo-steps li:nth-child(3) { animation-delay: 1900ms; } .convo-steps li:nth-child(3)::before { animation-delay: 2450ms; }
.convo-steps li:nth-child(4) { animation-delay: 2500ms; } .convo-steps li:nth-child(4)::before { animation-delay: 3050ms; }
.convo-ai { animation: rise 480ms var(--ease-out) 2700ms both; }
.convo-prop { animation: rise 480ms var(--ease-out) 3300ms both; }
.convo-prop .pill-on { animation: fade 300ms ease 3800ms both; }

/* Fonctionnement : quatre étapes reliées, qui s'allument dans l'ordre à l'arrivée à l'écran. */
.pipeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.pipeline::before { content: ''; position: absolute; top: 5px; left: 6px; right: 6px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 10px); }
.pipeline li { position: relative; }
.pipeline .node { display: block; width: 12px; height: 12px; background: var(--accent); box-shadow: 2px 2px 0 var(--ink); margin-bottom: 1.2rem; position: relative; }
.pipeline h3 { color: var(--heading); }
.pipeline p { color: var(--text); font-size: .9rem; margin: 0; }
.js .steps[data-reveal] .pipeline::before { transform: scaleX(0.02); transform-origin: left; transition: transform 1100ms var(--ease-in-out) 150ms; }
.js .steps[data-reveal].is-in .pipeline::before { transform: none; }
.js .steps[data-reveal] .node { background: var(--line-strong); transition: background-color 200ms ease; }
.js .steps[data-reveal].is-in li:nth-child(1) .node { background: var(--accent); transition-delay: 150ms; }
.js .steps[data-reveal].is-in li:nth-child(2) .node { background: var(--accent); transition-delay: 450ms; }
.js .steps[data-reveal].is-in li:nth-child(3) .node { background: var(--accent); transition-delay: 800ms; }
.js .steps[data-reveal].is-in li:nth-child(4) .node { background: var(--accent-2); transition-delay: 1150ms; }

/* Applications connectées (MCP) */
.mcp-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .55rem; }
.mcp-list li { display: flex; align-items: center; gap: .6rem; }
.mcp-list li:first-child { color: var(--heading); font-weight: 700; padding-bottom: .55rem; border-bottom: 1px solid var(--line); }
.mcp-list small { margin-left: auto; color: var(--muted); font-weight: 400; font-size: .7rem; }
.dot { width: 8px; height: 8px; background: var(--accent); flex: none; }
.dot-on { background: var(--accent-2); }

@media (max-width: 900px) {
  .aihero-inner { grid-template-columns: 1fr; padding-top: 3rem; }
  .pipeline { grid-template-columns: 1fr; gap: 1.6rem; padding-left: 1.6rem; }
  .pipeline::before { top: 6px; bottom: 6px; left: 5px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 10px); }
  .pipeline .node { position: absolute; left: -1.6rem; top: .25rem; margin: 0; }
  .js .steps[data-reveal] .pipeline::before { transform: scaleY(0.02); transform-origin: top; }
}
@media (prefers-reduced-motion: reduce) {
  .convo-steps li::before { background: var(--accent); }
}
.aihero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }

/* Bandeau photos : de vraies scènes de brassage, cadre pixel du système */
.photoband { max-width: var(--wrap); margin: 0 auto; padding: 1rem var(--gutter) 3.5rem; }
.photoband-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 1rem; height: clamp(260px, 34vw, 420px); }
.ph { margin: 0; overflow: hidden; border: 2px solid var(--line-strong); box-shadow: var(--shadow); background: var(--panel); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photoband-caption { margin: 1.2rem 0 0; color: var(--muted); font-size: .9rem; max-width: 60ch; }
@media (max-width: 700px) {
  .photoband-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; height: auto; }
  .ph-1 { grid-column: 1 / -1; }
}
