/* Artubo : site commercial. Mêmes couleurs et même typographie que l'application. */
:root {
  color-scheme: light;
  --bg: #f8f7f3;
  --bg-alt: #f1efe8;
  --surface: #ffffff;
  --ink: #111318;
  --ink-2: #3f4452;
  --ink-3: #626777;
  --line: #e6e3da;
  --line-strong: #d8d4c8;
  --blue: #2352d6;
  --blue-strong: #1a40ad;
  --blue-soft: #e8eefc;
  --yellow: #fbe96b;
  --yellow-soft: #fff8c9;
  --lilac: #e7dcfb;
  --pink: #fbd5ea;
  --mint: #d5f4df;
  --green-ink: #13663f;
  --orange-ink: #8a4b00;
  --red-ink: #a3205f;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(17, 19, 24, .06), 0 2px 8px rgba(17, 19, 24, .04);
  --shadow: 0 2px 6px rgba(17, 19, 24, .05), 0 18px 40px -12px rgba(17, 19, 24, .16);
  --shadow-lg: 0 4px 10px rgba(17, 19, 24, .05), 0 40px 80px -28px rgba(17, 30, 80, .34);
  --font: "Inter", "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "SF Pro Display", "Helvetica Neue", Roboto, Arial, sans-serif;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.028em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(38px, 6.4vw, 68px); letter-spacing: -.04em; }
h2 { font-size: clamp(30px, 4.4vw, 46px); }
h3 { font-size: clamp(19px, 2.2vw, 22px); letter-spacing: -.018em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--blue); text-underline-offset: 3px; }
strong { font-weight: 700; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.muted { color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.center { text-align: center; }
.stack { display: grid; gap: 16px; }
.small { font-size: 15px; }
.tiny { font-size: 13px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* Bandeau d'état du lancement */
.launch-bar { background: var(--ink); color: #e9eaee; font-size: 14px; line-height: 1.45; padding: 9px var(--gutter); text-align: center; }
.launch-bar strong { color: var(--yellow); }
.launch-bar a { color: #fff; font-weight: 600; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 247, 243, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(17, 19, 24, .3); }
.header-inner { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.02em; flex-shrink: 0; }
.brand-mark { width: 32px; height: 32px; }
.brand-mark rect { fill: var(--blue); }
.brand-mark path { fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark circle { fill: #FBE96B; }
.main-nav { display: flex; gap: 2px; margin-left: 12px; }
.main-nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 11px; border-radius: 999px; transition: background .2s, color .2s; }
.main-nav a:hover { background: var(--bg-alt); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--blue); background: var(--blue-soft); }
.header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; stroke: var(--ink); stroke-width: 2; fill: none; stroke-linecap: round; }
@media (max-width: 1080px) {
  .main-nav, .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: inline-flex; margin-left: 0; }
  .header-actions { margin-left: auto; }
  .site-header.menu-open .main-nav { display: grid; position: absolute; left: 0; right: 0; top: var(--header-h); margin: 0; padding: 12px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-header.menu-open .main-nav a { font-size: 17px; padding: 12px 14px; }
  .site-header.menu-open .mobile-only { display: block; }
}
.mobile-only { display: none; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(35, 82, 214, .7); }
.btn-primary:hover { background: var(--blue-strong); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #262a33; }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn-lg { padding: 16px 26px; font-size: 17px; }
.btn-block { width: 100%; }
@media (max-width: 480px) { .btn-lg { width: 100%; } }

/* Étiquettes */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--blue-strong); background: var(--blue-soft); padding: 6px 12px; border-radius: 999px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.kicker { font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-ok { background: var(--mint); color: var(--green-ink); }
.status-sim { background: var(--yellow-soft); color: var(--orange-ink); }
.status-soon { background: var(--lilac); color: #4c2a8a; }
.status-trial { background: var(--pink); color: var(--red-ink); }
.plan-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; background: var(--bg-alt); color: var(--ink-2); }
.plan-tag.integral { background: var(--ink); color: #fff; }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(48px, 7vw, 80px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: #0f1218; color: #eef0f4; }
.section-dark .muted, .section-dark .section-lead { color: #a9afbd; }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); margin-top: 18px; line-height: 1.55; }

/* Héros */
.hero { position: relative; padding: clamp(44px, 7vw, 92px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-glow { position: absolute; inset: -30% -10% auto; height: 760px; background: radial-gradient(48% 50% at 70% 30%, rgba(35, 82, 214, .16), transparent 70%), radial-gradient(36% 40% at 18% 20%, rgba(251, 233, 107, .32), transparent 70%); pointer-events: none; }
.hero-inner { position: relative; display: grid; gap: clamp(36px, 5vw, 56px); }
.hero-copy { max-width: 860px; }
.hero-copy h1 { margin-top: 20px; }
.hero-copy .lead { font-size: clamp(19px, 2.3vw, 23px); color: var(--ink-2); margin-top: 22px; max-width: 700px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%2313663f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Cadres de captures (le vrai logiciel) */
.showcase { position: relative; }
.browser { border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #fbfaf7; }
.browser-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.browser-bar em { margin-left: 10px; font-style: normal; font-size: 12px; color: var(--ink-3); background: var(--bg-alt); padding: 3px 12px; border-radius: 999px; }
.browser img { width: 100%; }
.phone { width: min(260px, 42vw); border-radius: 34px; padding: 9px; background: #14171d; box-shadow: var(--shadow-lg); }
.phone img { border-radius: 26px; width: 100%; }
.showcase .phone { position: absolute; right: clamp(-8px, -1vw, 0px); bottom: -42px; }
@media (max-width: 720px) {
  /* Sur téléphone : la capture mobile seule, lisible, plutôt qu'une capture d'ordinateur réduite. */
  .showcase .browser { display: none; }
  .showcase .phone { position: relative; right: auto; bottom: auto; margin: 0 auto; width: min(300px, 80vw); }
}
.shot-caption { font-size: 14px; color: var(--ink-3); margin-top: 14px; }
.real-badge { position: absolute; left: 16px; bottom: 16px; z-index: 2; background: rgba(17, 19, 24, .86); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }

/* Grilles et cartes */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 16px; }
.card-link { text-decoration: none; color: inherit; display: block; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-soft); }
.icon svg { width: 22px; height: 22px; stroke: var(--blue-strong); stroke-width: 1.9; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tone-yellow .icon, .icon.tone-yellow { background: var(--yellow-soft); }
.tone-yellow .icon svg { stroke: var(--orange-ink); }
.tone-lilac .icon { background: var(--lilac); }
.tone-lilac .icon svg { stroke: #4c2a8a; }
.tone-pink .icon { background: var(--pink); }
.tone-pink .icon svg { stroke: var(--red-ink); }
.tone-mint .icon { background: var(--mint); }
.tone-mint .icon svg { stroke: var(--green-ink); }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 15px; color: var(--blue); }

/* Problème */
.pain-list { list-style: none; display: grid; gap: 14px; }
.pain-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-size: 17px; color: var(--ink-2); }
.pain-list b { color: var(--ink); }
.pain-list .num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 800; display: grid; place-items: center; }

/* Automatique / Manuel */
.mode-demo { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .mode-demo { grid-template-columns: 1fr 1.05fr; gap: 56px; } }
.switch { display: inline-flex; padding: 5px; border-radius: 999px; background: #262a33; gap: 4px; }
.switch button { font: inherit; font-weight: 700; font-size: 15px; border: 0; border-radius: 999px; padding: 10px 20px; cursor: pointer; background: transparent; color: #c3c8d4; transition: background .25s, color .25s; }
.switch button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.mode-panel { background: #181c24; border: 1px solid #2a2f3a; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 30px); }
.mode-panel ol { margin: 18px 0 0; padding-left: 22px; display: grid; gap: 10px; color: #d7dbe4; }
.mode-panel .who { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; margin-right: 6px; }
.who-you { background: var(--yellow); color: var(--ink); }
.who-rp { background: #3a4fa8; color: #fff; }
.control-points { list-style: none; display: grid; gap: 12px; margin-top: 26px; }
.control-points li { display: flex; gap: 10px; color: #d7dbe4; }
.control-points li::before { content: "✓"; color: var(--yellow); font-weight: 900; }

/* Fonctionnalités détaillées */
.feature { display: grid; gap: clamp(26px, 4vw, 56px); align-items: center; padding: clamp(48px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; }
@media (min-width: 960px) { .feature { grid-template-columns: 1fr 1.25fr; } .feature.reverse > :first-child { order: 2; } }
.feature h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 12px 0 16px; }
.feature .section-lead { margin-top: 0; }
.feature-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.checks { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.checks li { display: flex; gap: 10px; color: var(--ink-2); font-size: 16px; }
.checks li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%232352d6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
.note { margin-top: 18px; font-size: 14px; color: var(--ink-3); border-left: 3px solid var(--line-strong); padding-left: 12px; }
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(241, 239, 232, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { flex-shrink: 0; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14px; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.subnav a:hover { color: var(--ink); border-color: var(--line-strong); }

/* Tarifs */
.plans { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1fr; max-width: 980px; margin: 0 auto; } }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 3.4vw, 38px); box-shadow: var(--shadow-sm); }
.plan.featured { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.plan-ribbon { position: absolute; top: -13px; left: 28px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 24px; }
.plan .for { color: var(--ink-2); font-size: 16px; margin-top: 6px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: clamp(44px, 5vw, 56px); letter-spacing: -.045em; line-height: 1; }
.price span { color: var(--ink-3); font-weight: 600; }
.price-ttc { font-size: 14px; color: var(--ink-3); }
.plan ul { list-style: none; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 16px; color: var(--ink-2); }
.plan li::before { content: "✓"; color: var(--blue); font-weight: 900; }
.plan li.plus::before { content: "+"; }
.plan .btn { margin-top: auto; }
.plan-free { font-size: 14px; font-weight: 700; color: var(--green-ink); background: var(--mint); padding: 8px 12px; border-radius: 10px; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; font-size: 16px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: #fbfaf7; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare td { text-align: center; width: 22%; font-weight: 700; }
.compare tr:last-child > * { border-bottom: 0; }
.compare .yes { color: var(--green-ink); }
.compare .no { color: var(--ink-3); font-weight: 500; }
.compare .group th { background: var(--bg-alt); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.table-wrap { overflow-x: auto; border-radius: 20px; }
@media (max-width: 560px) { .compare th, .compare td { padding: 12px 10px; font-size: 14px; } }

/* Vidéo */
.video-card { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #0f1218; box-shadow: var(--shadow-lg); }
.video-card video { width: 100%; height: 100%; background: #0f1218; }
.video-card.vertical { aspect-ratio: 9 / 16; max-width: 380px; margin: 0 auto; }
.video-poster { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: #0f1218 center / cover no-repeat; display: grid; place-items: center; }
.video-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-poster .play { position: relative; display: inline-flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .95); color: var(--ink); font-weight: 800; font-size: 16px; padding: 12px 20px 12px 12px; border-radius: 999px; box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.video-poster:hover .play { transform: scale(1.04); }
.video-poster .play i { width: 42px; height: 42px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; }
.video-poster .play svg { width: 18px; height: 18px; fill: #fff; margin-left: 3px; }
.video-note { font-size: 14px; color: var(--ink-3); margin-top: 14px; }

/* Démonstration guidée */
.tour { display: grid; gap: 22px; }
@media (min-width: 980px) { .tour { grid-template-columns: 340px 1fr; align-items: start; gap: 36px; } }
.tour-steps { list-style: none; display: grid; gap: 8px; counter-reset: step; }
.tour-steps button { width: 100%; text-align: left; font: inherit; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border-radius: 16px; border: 1px solid transparent; background: transparent; cursor: pointer; color: var(--ink-2); transition: background .2s, border-color .2s; }
.tour-steps button b, .tour-steps button span { grid-column: 2; }
.tour-steps button::before { grid-row: span 2; counter-increment: step; content: counter(step); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--bg-alt); color: var(--ink-2); }
.tour-steps button b { display: block; color: var(--ink); font-size: 16px; }
.tour-steps button span { font-size: 14px; }
.tour-steps button[aria-current="step"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-sm); }
.tour-steps button[aria-current="step"]::before { background: var(--blue); color: #fff; }
.tour-view figure { margin: 0; }
.tour-view .browser img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.tour-view figcaption { margin-top: 16px; font-size: 16px; color: var(--ink-2); }
.tour-controls { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.tour-tabs { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tour-tabs button { font: inherit; font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; color: var(--ink-2); }
.tour-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Métiers */
.trade-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.trade-chips a { text-decoration: none; font-weight: 700; color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; transition: border-color .2s, transform .2s var(--ease); }
.trade-chips a:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.trade { display: grid; gap: 22px; padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .trade { grid-template-columns: 1fr 1fr; gap: 48px; } }
.lines { list-style: none; display: grid; gap: 8px; }
.lines li { display: flex; justify-content: space-between; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; font-size: 15px; }
.lines li span { color: var(--ink-3); }

/* Tutoriels */
.tutorial { display: grid; gap: 18px; }
@media (min-width: 900px) { .tutorial { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.tutorial ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }
.video-slot { aspect-ratio: 16 / 9; border-radius: 18px; border: 2px dashed var(--line-strong); background: repeating-linear-gradient(-45deg, #f3f1ea, #f3f1ea 12px, #efede5 12px, #efede5 24px); display: grid; place-items: center; text-align: center; padding: 18px; color: var(--ink-3); font-size: 15px; }
.video-slot b { display: block; color: var(--ink-2); font-size: 16px; margin-bottom: 4px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 19px 34px 19px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--ink-3); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); display: grid; gap: 10px; }

/* Parcours d'inscription */
.funnel { list-style: none; display: grid; gap: 12px; counter-reset: f; }
@media (min-width: 900px) { .funnel { grid-template-columns: repeat(5, 1fr); } }
.funnel li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; font-size: 15px; color: var(--ink-2); }
.funnel li::before { counter-increment: f; content: "Étape " counter(f); display: block; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.funnel li b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.notice { background: var(--yellow-soft); border: 1px solid #efe08a; border-radius: 18px; padding: 18px 20px; color: #4d3a00; font-size: 16px; }
.notice b { color: var(--ink); }

/* Récit (page Découvrir) */
.story-step { padding: clamp(56px, 9vw, 110px) 0; }
.story-step + .story-step { border-top: 1px solid var(--line); }
.story-index { font-size: 14px; font-weight: 800; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.story-grid { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.quick-links { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 40; display: flex; gap: 8px; background: rgba(17, 19, 24, .9); padding: 6px; border-radius: 999px; box-shadow: var(--shadow-lg); }
.quick-links a { color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; padding: 9px 15px; border-radius: 999px; white-space: nowrap; }
.quick-links a.primary { background: var(--blue); }
body:has(.quick-links) .site-footer { padding-bottom: 104px; }

/* Appel à l'action final */
.cta-band { background: linear-gradient(135deg, #1a40ad, #2352d6 55%, #4a6ff0); color: #fff; border-radius: 32px; padding: clamp(36px, 6vw, 72px); display: grid; gap: 22px; position: relative; overflow: hidden; }
.cta-band h2 { max-width: 760px; }
.cta-band p { color: #dfe6ff; font-size: 18px; max-width: 680px; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-band .btn-light { background: #fff; color: var(--blue-strong); }

/* Pied de page */
.site-footer { padding: 64px 0 40px; border-top: 1px solid var(--line); margin-top: 0; background: var(--bg); }
.footer-grid { display: grid; gap: 30px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer-grid h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 12px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 14px; color: var(--ink-3); }

/* Apparition douce au défilement (seulement si le script est actif) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Pages légales */
.legal h2 { font-size: 24px; margin-top: 22px; }
.legal h3 { font-size: 18px; margin-top: 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal-list { display: grid; grid-template-columns: minmax(150px, 230px) 1fr; gap: 8px 18px; margin: 0; }
.legal-list dt { font-weight: 700; }
.legal-list dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
@media (max-width: 560px) { .legal-list { grid-template-columns: 1fr; gap: 2px; } .legal-list dd { margin-bottom: 10px; } }
mark.a-completer { background: var(--yellow); color: var(--ink); padding: 1px 6px; border-radius: 4px; font-weight: 600; }
