/* ═══════════════════════════════════════════════════════════════════════════
   GoMySeo — coquille des pages publiques « produit chat » (accueil + hub + pages
   fonctionnalités). Tokens : chat-ds.css. Même DA que l'accueil : blanc, orange
   de la marque, Inter, Lucide, rayons 6 px, sections sombres #121417.
   1. Base  2. En-tête + menu Fonctionnalités + tiroir  3. Boutons  4. Composeur
   5. Preuve sociale  6. FAQ / CTA final / pied de page  7. Pages fonctionnalité + hub
   8. Responsive  9. Copies à l'identique depuis index.php (hero, démo, planète…)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Base ─────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; color: var(--text-primary); font-family: var(--font-ui); -webkit-font-smoothing: antialiased; }
.lp-container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; color: var(--text-primary); margin: 0; text-wrap: balance; }
.lead { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--text-secondary); margin: 18px 0 0; max-width: 60ch; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: 15px; font-weight: 500; color: var(--accent-hover); text-decoration: none; }
.link-arrow .ic { transition: transform 0.15s ease; }
.link-arrow:hover .ic { transform: translateX(3px); }
section { padding: clamp(72px, 9vw, 128px) 0; }
section[id] { scroll-margin-top: 72px; }
.sec-head { max-width: 720px; margin: 0 auto; text-align: center; }
.sec-head .lead { margin-left: auto; margin-right: auto; }
.sec-head.is-left { margin: 0; text-align: left; }
.sec-head.is-left .lead { margin-left: 0; }
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: calc(var(--i, 0) * 80ms); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ── 2. En-tête ──────────────────────────────────────────────────────────── */
.lp-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 64px; display: flex; align-items: center; background: transparent; border: 1px solid transparent; border-radius: 0; box-shadow: none; transition: top 0.3s cubic-bezier(.22,.8,.24,1), left 0.3s cubic-bezier(.22,.8,.24,1), right 0.3s cubic-bezier(.22,.8,.24,1), height 0.3s ease, border-radius 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease; }
.lp-header.scrolled { top: 14px; left: 16px; right: 16px; height: 58px; border-radius: 12px; background: #FFFFFF; border-color: #E5E7EB; box-shadow: 0 12px 32px rgba(17,24,39,0.10), 0 1px 0 rgba(17,24,39,0.04); }
.lp-header.scrolled .lp-container { width: min(1180px, calc(100% - 32px)); }
.lp-header .lp-container { display: flex; align-items: center; gap: 24px; }
.lp-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-primary); font-weight: 700; font-size: 20px; letter-spacing: -0.4px; }
.lp-logo img { height: 32px; width: auto; display: block; }
.lp-logo-text em { font-style: normal; color: var(--accent); }
.lp-nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.lp-nav > a, .lp-dd-trigger { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: var(--radius); font-size: 14px; font-weight: 500; color: var(--text-secondary); text-decoration: none; transition: background 0.12s, color 0.12s; }
.lp-nav > a:hover, .lp-dd-trigger:hover, .lp-dd.is-open .lp-dd-trigger { background: var(--bg-hover); color: var(--text-primary); }
.lp-header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lp-login { padding: 8px 12px; font-size: 14px; font-weight: 500; color: var(--text-secondary); text-decoration: none; border-radius: var(--radius); }
.lp-login:hover { color: var(--text-primary); background: var(--bg-hover); }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; height: 34px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-card); flex-shrink: 0; }
.lang-switch-opt { display: inline-flex; align-items: center; height: 100%; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1; color: var(--text-secondary); text-decoration: none; white-space: nowrap; transition: color 0.12s, background 0.12s; }
.lang-switch-opt:hover { color: var(--text-primary); }
.lang-switch-opt.active { color: var(--text-primary); background: var(--bg-hover); box-shadow: 0 1px 2px rgba(17,24,39,0.06); }
.lp-header:not(.scrolled) .lp-logo, .lp-header:not(.scrolled) .lp-nav > a, .lp-header:not(.scrolled) .lp-dd-trigger, .lp-header:not(.scrolled) .lp-login { color: #FFFFFF; }
.lp-header:not(.scrolled) .lp-nav > a:hover, .lp-header:not(.scrolled) .lp-dd-trigger:hover, .lp-header:not(.scrolled) .lp-dd.is-open .lp-dd-trigger, .lp-header:not(.scrolled) .lp-login:hover { background: #2A2C2E; color: #FFFFFF; }
.lp-header:not(.scrolled) .lang-switch { background: #202225; border-color: #333538; }
.lp-header:not(.scrolled) .lang-switch-opt { color: #B8B9BB; }
.lp-header:not(.scrolled) .lang-switch-opt.active { color: #FFFFFF; background: #333538; box-shadow: none; }
.lp-header:not(.scrolled) .lp-burger { background: #202225; border-color: #333538; color: #FFFFFF; }
.lp-dd { position: static; }
.lp-header .lp-container { position: relative; }
.lp-dd-trigger .ic { width: 14px; height: 14px; transition: transform 0.2s ease; }
.lp-dd.is-open .lp-dd-trigger .ic { transform: rotate(180deg); }
.lp-dd-panel { position: absolute; top: calc(100% + 10px); left: 0; right: 0; width: auto; padding: 14px 14px 4px; background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border); border-radius: 7px; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0.18s; z-index: 70; }
.lp-dd-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.lp-dd.is-open .lp-dd-panel, .lp-dd:focus-within .lp-dd-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) { .lp-dd:hover .lp-dd-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; } .lp-dd:hover .lp-dd-trigger .ic { transform: rotate(180deg); } }
.lp-dd-eyebrow { padding: 0 10px 12px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.lp-dd-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lp-dd-card { border: 1px solid var(--border); border-radius: 7px; padding: 14px 8px 8px; background: var(--bg-card); }
.lp-dd-card-head { padding: 0 10px 10px; }
.lp-dd-card-head b { display: block; font-size: 15px; font-weight: 700; color: var(--accent); }
.lp-dd-card-head span { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.4; color: var(--text-muted); }
.lp-dd-item { display: flex; align-items: flex-start; gap: 12px; padding: 9px 10px; border-radius: 7px; text-decoration: none; color: var(--text-primary); transition: background 0.12s; }
.lp-dd-item:hover { background: var(--bg-hover); }
.lp-dd-item b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.lp-dd-item small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--text-muted); }
.lp-dd-ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 7px; background: var(--accent-subtle); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.lp-dd-ico .ic { width: 18px; height: 18px; }
.lp-dd-all { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px -4px -4px; padding: 12px; border-top: 1px solid var(--border-light); font-size: 13.5px; font-weight: 600; color: var(--accent-hover); text-decoration: none; }
.lp-dd-all .ic { width: 14px; height: 14px; transition: transform 0.15s; }
.lp-dd-all:hover .ic { transform: translateX(3px); }
.lp-burger { display: none; width: 40px; height: 40px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-card); color: var(--text-primary); align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.lp-burger .ic { width: 18px; height: 18px; }
.lp-drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; transition: visibility 0s 0.35s; }
.lp-drawer.is-open { visibility: visible; transition-delay: 0s; }
.lp-drawer-backdrop { position: absolute; inset: 0; background: rgba(17,24,39,0.45); opacity: 0; transition: opacity 0.3s ease; }
.lp-drawer.is-open .lp-drawer-backdrop { opacity: 1; }
.lp-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: var(--bg-card); box-shadow: -20px 0 60px rgba(17,24,39,0.18); display: flex; flex-direction: column; padding: 16px 20px 24px; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.22, 0.8, 0.24, 1); }
.lp-drawer.is-open .lp-drawer-panel { transform: none; }
.lp-drawer-head { display: flex; align-items: center; justify-content: space-between; height: 40px; margin-bottom: 8px; flex-shrink: 0; }
.lp-drawer-close { width: 40px; height: 40px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-card); color: var(--text-primary); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lp-drawer-close .ic { width: 18px; height: 18px; }
.lp-drawer-scroll { flex: 1; min-height: 0; overflow-y: auto; margin: 0 -8px; padding: 0 8px; }
.lp-drawer-sec { padding: 12px 4px 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.lp-drawer-feat { display: flex; align-items: center; gap: 12px; padding: 8px 4px; font-size: 15px; font-weight: 500; color: var(--text-primary); text-decoration: none; border-radius: 10px; }
.lp-drawer-feat .lp-dd-ico { width: 32px; height: 32px; border-radius: 8px; }
.lp-drawer-feat .lp-dd-ico .ic { width: 16px; height: 16px; }
.lp-drawer-feat.is-all { color: var(--accent-hover); font-weight: 600; }
.lp-drawer-sep { height: 1px; background: var(--border-light); margin: 10px 0; }
.lp-drawer-link { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-size: 17px; font-weight: 500; color: var(--text-primary); text-decoration: none; border-bottom: 1px solid var(--border-light); }
.lp-drawer-link .ic { width: 16px; height: 16px; color: var(--text-faint); }
.lp-drawer-actions { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.lp-drawer-actions .btn-cta { justify-content: center; }
.lp-drawer-lang { display: flex; justify-content: center; }
.lp-drawer-lang .lang-switch { height: 40px; }
.lp-drawer-lang .lang-switch-opt { padding: 0 16px; font-size: 13px; }
.lp-drawer-login { display: flex; align-items: center; justify-content: center; height: 44px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 15px; font-weight: 500; color: var(--text-primary); text-decoration: none; }

/* ── 3. Boutons ──────────────────────────────────────────────────────────── */
.btn-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 7px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; transition: background 0.15s ease, transform 0.15s ease; }
.btn-cta:hover { background: var(--accent-hover); }
.btn-cta:active { transform: scale(0.98); }
.btn-cta.is-lg { height: 48px; padding: 0 24px; font-size: 15px; }
.btn-cta.is-ghost { background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border); }
.btn-cta.is-ghost:hover { background: var(--bg-hover); }
.btn-cta.is-dark-ghost { background: #252729; color: #FFFFFF; border: 1px solid #383A3C; }
.btn-cta.is-dark-ghost:hover { background: #333538; }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-primary); font-size: 15px; font-weight: 600; text-decoration: none; transition: background 0.15s; }
.btn-ghost:hover { background: var(--bg-hover); }

/* ── 4. Composeur (copie de l'écran d'accueil du chat) + barre fixe ─────── */
.card-edge { border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.input-card { width: 100%; max-width: 720px; background: var(--bg-card); border-radius: 6px; padding: 18px 20px 14px; transition: border-color 0.15s, box-shadow 0.15s; box-sizing: border-box; }
.input-card:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
.starter-ta { width: 100%; border: none; outline: none; resize: none; font-size: 15px; color: var(--text-primary); font-family: inherit; background: transparent; min-height: 62px; line-height: 1.65; display: block; box-sizing: border-box; }
.starter-ta::placeholder { color: var(--text-muted); }
.card-bar { display: flex; align-items: center; gap: 8px; justify-content: flex-end; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-light); }
.btn-go { width: 38px; height: 38px; border-radius: 6px; background: var(--accent); border: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s; flex-shrink: 0; }
.btn-go:hover { background: var(--accent-hover); }
.btn-attach { width: 38px; height: 38px; border-radius: 6px; background: var(--bg-hover); border: 1px solid var(--border); color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.btn-attach:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-glow); }
.chat-credits { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--text-secondary); background: var(--bg-hover); border: 1px solid var(--border); padding: 0 12px; height: 26px; border-radius: 6px; flex-shrink: 0; white-space: nowrap; }
.chat-credits .ic { color: var(--accent); }
.lp-composer.is-compact .starter-ta { min-height: 48px; }
.lp-dock { position: fixed; left: 50%; bottom: 20px; z-index: 45; width: min(720px, calc(100% - 32px)); transform: translate(-50%, calc(100% + 40px)); opacity: 0; transition: transform 0.45s cubic-bezier(0.22, 0.8, 0.24, 1), opacity 0.3s ease; pointer-events: none; }
.lp-dock.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.lp-dock .input-card { max-width: none; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 999px; box-shadow: 0 16px 48px rgba(17,24,39,0.16), 0 2px 8px rgba(17,24,39,0.08); }
.lp-dock .lp-composer .starter-ta { flex: 1; min-height: 0; height: 24px; line-height: 24px; padding: 0; font-size: 14.5px; white-space: nowrap; overflow: hidden; }
.lp-dock .card-bar { margin: 0; padding: 0; border: 0; gap: 6px; }
.lp-dock .card-bar > span { display: none; }
.lp-dock .btn-attach, .lp-dock .btn-go { width: 32px; height: 32px; border-radius: 999px; }
.lp-dock .btn-attach .ic, .lp-dock .btn-go .ic { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) { .lp-dock { transition: none; } }

/* ── 5. Preuve sociale : vrai compteur de comptes ────────────────────────── */
.proof { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.proof-avatars { display: flex; flex-shrink: 0; }
.proof-avatars i { width: 30px; height: 30px; border-radius: 50%; background: var(--c, var(--accent)); color: #FFFFFF; display: flex; align-items: center; justify-content: center; border: 2px solid #FFFFFF; margin-left: -9px; box-sizing: border-box; position: relative; z-index: calc(5 - var(--i, 0)); }
.proof-avatars i:first-child { margin-left: 0; }
.proof-avatars i .ic { width: 13px; height: 13px; }
.proof-avatars .proof-more { background: var(--bg-hover); color: var(--text-secondary); font-size: 12px; font-weight: 700; font-style: normal; }
.proof-text { font-size: 14px; line-height: 1.4; color: var(--text-secondary); }
.proof-text b { color: var(--text-primary); font-weight: 700; font-variant-numeric: tabular-nums; }
.proof.is-dark .proof-avatars i { border-color: #121417; }
.proof.is-dark .proof-avatars .proof-more { background: #2E3033; color: #FFFFFF; }
.proof.is-dark .proof-text { color: #B4B5B8; }
.proof.is-dark .proof-text b { color: #FFFFFF; }
.proof.is-small { gap: 10px; margin-top: 18px; }
.proof.is-small .proof-avatars i { width: 24px; height: 24px; margin-left: -7px; }
.proof.is-small .proof-avatars i:first-child { margin-left: 0; }
.proof.is-small .proof-avatars i .ic { width: 11px; height: 11px; }
.proof.is-small .proof-text { font-size: 13px; }
.proof.is-center { justify-content: center; display: flex; }
.hero .proof { margin-top: 26px; }

/* ── 6. FAQ, CTA final, pied de page ────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 48px auto 0; border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; font-size: 17px; font-weight: 500; color: var(--text-primary); cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { flex-shrink: 0; color: var(--text-muted); transition: transform 0.2s ease; }
.faq-list details[open] summary .ic { transform: rotate(45deg); }
.faq-list p { margin: 0 0 22px; padding: 0 4px; font-size: 15.5px; line-height: 1.6; color: var(--text-secondary); max-width: 66ch; }
.final { background: var(--bg-primary); text-align: center; }
.final .lp-composer { margin: 36px auto 0; text-align: left; }
.final .proof { margin-top: 28px; }
.lp-footer { background: #121417; padding: 64px 0 32px; }
.lp-footer .lp-logo { color: #FFFFFF; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid.is-5 { grid-template-columns: 1.5fr 1.1fr 0.9fr 0.9fr 0.7fr; }
.footer-brand p { margin: 14px 0 0; font-size: 14px; line-height: 1.55; color: #B4B5B8; max-width: 32ch; }
.footer-col h4 { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #9A9B9D; }
.footer-col a { display: block; padding: 5px 0; font-size: 14px; color: #B4B5B8; text-decoration: none; }
.footer-col a:hover { color: #FFFFFF; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid #2E3033; font-size: 12.5px; color: #9A9B9D; }

/* ── 7. Pages fonctionnalité + hub (includes/lp-feature-page.php) ───────── */
/* Hero : celui de l'accueil (.hero, particules, voile, fenêtre .hero-app) ; le titre peut passer sur deux lignes */
.fx .hero h1 { white-space: normal; font-size: clamp(36px, 5vw, 62px); text-wrap: balance; }
.fx .hero h1 span { color: var(--accent); }
.fx-crumb { display: flex; justify-content: center; gap: 8px; margin: 0 0 22px; font-size: 13px; color: #898A8B; }
.fx-crumb a { color: #B8B9BB; text-decoration: none; }
.fx-crumb a:hover { color: #FFFFFF; }
.fx .hero-app .dm-replay { visibility: visible; opacity: 1; }
/* Bandeau : ce que l'analyse vérifie (même pilule que les connecteurs de l'accueil) */
.conn-pill .ic { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
/* Définition : question à gauche, réponse courte et trois repères à droite, sans boîte */
.fx-def { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.fx-def h2 { margin: 0; font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; }
.fx-def p { margin: 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: var(--text-secondary); }
.fx-def p strong { color: var(--text-primary); font-weight: 600; }
.fx-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 32px 0 0; padding: 28px 0 0; border-top: 1px solid var(--border); list-style: none; }
.fx-facts li { font-size: 14.5px; line-height: 1.5; color: var(--text-secondary); }
.fx-facts .ic { display: block; width: 20px; height: 20px; margin-bottom: 10px; color: var(--accent); }
.fx-facts b { display: block; margin-bottom: 4px; font-size: 15px; color: var(--text-primary); font-weight: 600; }
/* Récit : trois temps, texte avec fil vertical à gauche (comme l'accueil), fenêtre produit sur scène sombre à droite */
.fx-story { background: var(--bg-secondary); }
.fx-story .sec-head { margin-bottom: clamp(48px, 6vw, 80px); }
.fx-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.fx-row + .fx-row { margin-top: clamp(56px, 7vw, 96px); }
.fx-row:nth-child(even) .fx-row-text { order: 2; }
.fx-row-text { position: relative; padding-left: 30px; }
.fx-row-text::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: var(--accent); border-radius: 1px; }
.fx-row-text .story-dot { position: absolute; left: -5px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--accent); box-sizing: border-box; box-shadow: 0 0 0 4px var(--accent-subtle); }
.fx-row-text small { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-hover); }
.fx-row-text h3 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }
.fx-row-text p { margin: 12px 0 0; font-size: 16px; line-height: 1.65; color: var(--text-secondary); }
.fx-row-text p strong { color: var(--text-primary); font-weight: 600; }
.fx-scene { position: relative; height: min(440px, 56vh); }
.fx-scene .stage { height: auto; }
.fx-scene .sw { font-size: 13px; }
.fx-scene .sw-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.fx-scene .dm-kpis, .fx-scene .dm-card, .fx-scene .dm-list, .fx-scene .dm-sumline { transform: translateY(10px); opacity: 0; transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 0.8, 0.24, 1); transition-delay: calc(var(--i, 0) * 110ms + 150ms); }
.fx-scene.in .dm-kpis, .fx-scene.in .dm-card, .fx-scene.in .dm-list, .fx-scene.in .dm-sumline { opacity: 1; transform: none; }
.fx-scene.in .dm-bar i b, .fx-scene.in .dm-sevbar i { width: var(--w); }
.fx-scene.in .dm-heat { }
/* Chiffres : section planète de l'accueil (fond sombre, globe), chiffres propres à la page */
.fx .planet .planet-stats { gap: 30px; }
/* Étapes : trois temps alignés, filet à gauche, pas de boîte */
.fx-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); margin-top: 56px; }
.fx-step { position: relative; padding: 4px 0 0 26px; border-left: 2px solid var(--border); }
.fx-step i { position: absolute; left: -17px; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #FFFFFF; font-style: normal; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px #FFFFFF; }
.fx-step h3 { margin: 4px 0 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.fx-step p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.fx-step .fx-quote { display: inline-block; margin-top: 12px; padding: 8px 12px; border-left: 2px solid var(--accent); background: var(--accent-subtle); font-size: 13.5px; line-height: 1.5; color: var(--text-primary); border-radius: 0 6px 6px 0; }
/* Tarif : une ligne forte, pas de carte */
.fx-price { background: var(--bg-secondary); text-align: center; }
.fx-price-cost { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-top: 28px; }
.fx-price-cost b { font-size: clamp(56px, 7vw, 88px); font-weight: 600; letter-spacing: -0.035em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.fx-price-cost span { font-size: clamp(16px, 1.5vw, 20px); font-weight: 500; color: var(--text-secondary); }
.fx-price p { max-width: 58ch; margin: 18px auto 0; font-size: 16px; line-height: 1.6; color: var(--text-secondary); }
.fx-price p strong { color: var(--text-primary); font-weight: 600; }
.fx-price-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 22px; margin-top: 28px; }
.fx-price-actions .link-arrow { margin-top: 0; }
/* Autres fonctionnalités : liste à filets, pas de cartes */
.fx-more { border-top: 1px solid var(--border); margin-top: 40px; }
.fx-more a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text-primary); }
.fx-more a:hover b { color: var(--accent-hover); }
.fx-more a .ic { color: var(--text-faint); transition: transform 0.15s; }
.fx-more a:hover > .ic { transform: translateX(3px); color: var(--accent); }
.fx-more b { font-size: 15.5px; font-weight: 600; }
.fx-more small { display: block; margin-top: 2px; font-size: 13px; color: var(--text-muted); }
.fx-more .lp-dd-ico { width: 40px; height: 40px; }
/* Hub : liste des dix analyses à filets */
.hub-list { border-top: 1px solid var(--border); margin-top: 8px; }
.hub-list a { display: grid; grid-template-columns: 56px 1fr auto auto; align-items: center; gap: 22px; padding: 26px 8px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text-primary); transition: background 0.15s; }
.hub-list a:hover { background: var(--bg-secondary); }
.hub-list .lp-dd-ico { width: 56px; height: 56px; border-radius: 14px; }
.hub-list .lp-dd-ico .ic { width: 26px; height: 26px; }
.hub-list h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.015em; }
.hub-list p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--text-secondary); max-width: 60ch; }
.hub-cost { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border); font-size: 12.5px; font-weight: 600; color: var(--text-secondary); white-space: nowrap; }
.hub-cost .ic { width: 13px; height: 13px; color: var(--accent); }
.hub-list a > .ic { color: var(--text-faint); transition: transform 0.15s, color 0.15s; }
.hub-list a:hover > .ic { color: var(--accent); transform: translateX(3px); }
.hub-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); margin-top: 48px; }

/* ── 8. Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid.is-5 { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 860px) {
  .lp-nav { display: none; }
  .lp-burger { display: flex; }
  .lp-header .lang-switch { display: none; }
  .footer-grid, .footer-grid.is-5 { grid-template-columns: 1fr 1fr; }
  .fx-def { grid-template-columns: 1fr; gap: 24px; }
  .fx-facts { grid-template-columns: 1fr; gap: 18px; }
  .fx-row, .fx-row:nth-child(even) { grid-template-columns: 1fr; }
  .fx-row:nth-child(even) .fx-row-text { order: 0; }
  .fx-scene { height: 420px; }
  .fx-steps, .hub-how { grid-template-columns: 1fr; gap: 36px; }
  .hub-list a { grid-template-columns: 48px 1fr; gap: 16px; }
  .hub-list .hub-cost { grid-column: 2; justify-self: start; }
  .hub-list a > .ic { display: none; }
}
@media (max-width: 640px) {
  .lp-container { width: calc(100% - 32px); }
  .lp-header { height: 56px; }
  .lp-header.scrolled { top: 8px; left: 8px; right: 8px; height: 52px; border-radius: 16px; }
  .lp-login { display: none; }
  .input-card { padding: 14px 14px 10px; }
  .starter-ta { font-size: 16px; min-height: 56px; }
  .btn-go, .btn-attach { width: 34px; height: 34px; }
  .footer-grid, .footer-grid.is-5 { grid-template-columns: 1fr; gap: 24px; }
  .fx-crumb { display: none; }
  .fx .hero h1 { font-size: 34px; }
  .fx-scene { height: auto; }
  .fx-scene .stage { position: relative; padding: 16px 10px 0; }
  .fx-scene .sw { position: relative; left: auto; right: auto; top: auto; bottom: auto; }
  .proof { gap: 10px; }
  .proof-text { font-size: 13px; }
}

/* ═══ COPIES INDEX ═══ */
/* ── Copies à l'identique depuis index.php (générées par scratchpad/lp/extract-css.js) : hero à particules,

   bandeau connecteurs, fenêtre de démo .dm-*, scènes .stage/.sw et .ai-*, section planète. ── */

/* ══ Hero : section sombre unique — titre, promesse, boutons, puis le produit lui-même
   dans une grande fenêtre interactive (voir « Démo » plus bas et le script en bas de page). ══ */
.hero { position: relative; display: block; padding: 212px 0 88px; overflow: hidden; background: #121417; color: #FFFFFF; }
/* Le nuage de particules encadre le titre ; il s'estompe avant la fenêtre produit. */
.hero-canvas { position: absolute; left: -15%; top: -14%; width: 130%; height: 92%; display: block; z-index: 0; opacity: 0.9; }
.hero-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 50% 38% at 50% 22%, rgba(18,20,23,0.55) 0%, rgba(18,20,23,0.15) 55%, rgba(18,20,23,0) 100%), linear-gradient(180deg, rgba(18,20,23,0) 0%, rgba(18,20,23,0) 42%, #121417 68%); }
.hero-inner { position: relative; z-index: 2; width: min(960px, calc(100% - 32px)); margin: 0 auto; text-align: center; }
/* Toujours sur une seule ligne : taille de départ généreuse, ajustée exactement à la
   largeur disponible par lpFitHeroTitle() (voir le script en bas de page) plutôt que
   par un clamp() approximatif — fiable quel que soit le nombre de mots du titre. */
.hero h1 { font-size: 64px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; margin: 0 0 26px; color: #FFFFFF; white-space: nowrap; }
.hero-sub { margin: 0 auto; max-width: 680px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: #B4B5B8; text-wrap: balance; }
.hero-sub span { color: var(--accent); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 38px; }
/* Boutons du hero : fins et presque carrés (comme la référence), pas la pilule du reste du site */
.hero-actions .btn-cta { height: 38px; padding: 0 16px; border-radius: 4px; font-size: 14px; font-weight: 500; gap: 6px; }
.hero-actions .btn-cta .ic { width: 14px; height: 14px; }
.btn-cta.is-dark-ghost { background: #252729; color: #FFFFFF; border: 1px solid #383A3C; }
.btn-cta.is-dark-ghost:hover { background: #333538; }
/* Entrée du hero : les éléments arrivent de l'avant, flous, puis se posent */
.hero-in { animation: lp-hero-in 1.05s cubic-bezier(0.22, 0.8, 0.24, 1) both; animation-delay: var(--d, 0s); }
@keyframes lp-hero-in { from { opacity: 0; transform: translateY(8px) scale(1.14); filter: blur(16px); } 60% { filter: blur(0); } to { opacity: 1; transform: none; filter: blur(0); } }
@media (prefers-reduced-motion: reduce) { .hero-in { animation: none; } }
.hero-rotate { display: inline-block; color: var(--accent); transition: opacity 0.22s ease, transform 0.22s ease; }
.hero-rotate.is-swap { opacity: 0; transform: translateY(0.18em); }
/* En-tête transparent sur le hero sombre : règles dans lp-shell.css */



/* ══ Bandeau connecteurs (défilement continu, sous le hero) ══════════════════
   Quatre copies de la même liste mises bout à bout (une seule copie fait ~1400px,
   il en faut assez pour couvrir un écran large plus une copie) ; la piste glisse
   de 0 à -25%, soit exactement une copie, donc la boucle est invisible. */
.conn-marquee { position: relative; padding: 22px 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 64px, #000 calc(100% - 64px), transparent); mask-image: linear-gradient(to right, transparent, #000 64px, #000 calc(100% - 64px), transparent); }
/* Espacement porté par chaque pastille (margin), pas par le conteneur (gap) : les deux
   copies ont alors une largeur strictement identique et la boucle à -50% tombe pile
   au bon endroit, sans quoi le nombre impair d'écarts décale la couture d'un demi-gap. */
.conn-track { display: flex; align-items: center; width: max-content; animation: conn-scroll 32s linear infinite; }
@keyframes conn-scroll { from { transform: translateX(0); } to { transform: translateX(-25%); } }
.conn-marquee:hover .conn-track { animation-play-state: paused; }
.conn-pill { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; margin-right: 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-card); }
.conn-pill svg { width: 22px; height: 22px; flex-shrink: 0; }
.conn-pill span { font-size: 14px; font-weight: 500; color: var(--text-secondary); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .conn-track { animation: none; } }

.stage { position: absolute; inset: 0; border-radius: 20px; overflow: hidden; background: radial-gradient(900px 500px at 12% 110%, #4A1F0C 0%, transparent 60%), radial-gradient(700px 480px at 92% -10%, #1F2C62 0%, transparent 60%), linear-gradient(180deg, #0C1326 0%, #161B30 100%); box-shadow: 0 30px 70px rgba(17,24,39,0.18), inset 0 0 0 1px rgba(255,255,255,0.06); }
.sw { position: absolute; left: 32px; right: 32px; top: 34px; bottom: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--bg-card); border-radius: 10px 10px 0 0; box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.08); color: var(--text-primary); font-size: 13px; }
.sw-bar { height: 44px; flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--border); }
.sw-bar b { font-size: 13px; font-weight: 600; white-space: nowrap; }
.sw-crumb { color: var(--text-muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sw-pill { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg-card); font-size: 11.5px; font-weight: 600; color: var(--text-secondary); white-space: nowrap; transition: color 0.3s, background 0.3s, border-color 0.3s; }
.sw-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-faint); flex-shrink: 0; }
.sw-pill svg { width: 13px; height: 13px; }
.sw-pill.is-live i { background: var(--accent); animation: sc-pulse 1s ease-in-out infinite; }
.sw-pill.is-ok { color: #FFFFFF; border-color: var(--success); background: var(--success); }
.sw-pill.is-ok i { background: #FFFFFF; animation: none; }
.sw-pill.is-ok svg { color: #FFFFFF; }
@keyframes sc-pulse { 50% { transform: scale(1.6); opacity: 0.5; } }
.sw-body { flex: 1; min-height: 0; position: relative; }
.sw [data-at]:not([data-cls]) { opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 0.8, 0.24, 1); }
.sw [data-at]:not([data-cls]).is-in { opacity: 1; transform: none; }
.sw mark { background: linear-gradient(var(--accent-subtle), var(--accent-subtle)) no-repeat 0 0 / 0% 100%; color: var(--accent); font-weight: 600; border-radius: 3px; padding: 0 2px; animation: sc-mark 0.45s ease both; }
@keyframes sc-mark { to { background-size: 100% 100%; } }

.au-code { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.au-code.ok { color: #FFFFFF; background: var(--success); }
.au-code.warn { color: #FFFFFF; background: var(--warning); }
.au-code.bad { color: #FFFFFF; background: var(--danger); }
.ai-q { margin: 14px 16px 0; height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 6px 0 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-primary); font-size: 13px; }
.ai-q .ic { width: 15px; height: 15px; color: var(--text-muted); flex-shrink: 0; }
.ai-q span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-q b { height: 28px; padding: 0 12px; border-radius: 6px; background: var(--accent); color: #FFFFFF; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; flex-shrink: 0; }
.ai-q b.is-press { animation: sw-press 0.32s ease both; }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 16px 0; }
.ai-card { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; min-height: 112px; display: flex; flex-direction: column; gap: 7px; }
.ai-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.ai-head svg { width: 16px; height: 16px; color: var(--text-primary); flex-shrink: 0; }
.ai-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.ai-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ai-badge.is-ok { color: #FFFFFF; background: var(--success); }
.ai-badge.is-mid { color: #FFFFFF; background: var(--neutral); }
.ai-badge.is-bad { color: #FFFFFF; background: var(--danger); }
.ai-ans { font-size: 12.5px; line-height: 1.55; color: var(--text-secondary); min-height: 58px; }
.ai-sum { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-primary); font-size: 12.5px; color: var(--text-secondary); }
.ai-sum b { color: var(--text-primary); font-weight: 600; }
.ai-seg { display: flex; gap: 4px; flex-shrink: 0; }
.ai-seg i { width: 20px; height: 6px; border-radius: 3px; background: var(--bg-inset); }
.ai-seg i.is-ok { background: var(--success); }
.ai-seg i.is-mid { background: var(--neutral); }
.ai-seg i.is-bad { background: var(--danger); }
.ai-act { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 6px; background: var(--accent); color: #FFFFFF; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.ai-act .ic { width: 13px; height: 13px; }

/* ══ Démo : la vraie interface du chat, dans une grande fenêtre sous le titre du hero.
   L'écran est rendu à 1440×900 (1000×900 sur mobile, sans barre latérale) puis mis à
   l'échelle par JS, ce qui permet d'écrire le faux chat avec les vraies tailles du produit.
   Elle rejoue seule quatre conversations, et tout ce qui est cliquable dans le produit
   l'est ici : conversations de la barre latérale, onglets, résultats, composeur. ══ */
.hero-app { position: relative; z-index: 2; width: min(1180px, calc(100% - 32px)); margin: 72px auto 0; }
.hero-app-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; min-height: 30px; }
.hero-app-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #949596; }
.hero-app-hint .ic { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }
.dm-replay { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 4px; border: 1px solid #383A3C; background: #202225; color: #FFFFFF; font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; visibility: hidden; opacity: 0; transition: opacity 0.25s ease, background 0.15s; }
.dm-replay.is-on { visibility: visible; opacity: 1; }
.dm-replay:hover { background: #333538; }
.dm-replay .ic { width: 13px; height: 13px; }
.dm-frame { position: relative; aspect-ratio: 1440 / 900; border-radius: 6px; overflow: hidden; background: var(--bg-card); border: 1px solid #2E3033; box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.03); }
.dm-frame.is-narrow { aspect-ratio: 1000 / 900; }
.is-typing::after { content: ''; display: inline-block; width: 1px; height: 0.95em; background: currentColor; margin-left: 2px; vertical-align: -0.12em; animation: dm-blink 1s steps(1) infinite; }
@keyframes dm-blink { 50% { opacity: 0; } }

/* Écran (1440×900 virtuels) */
.dm-inner { position: absolute; top: 0; left: 0; width: 1440px; height: 900px; transform-origin: 0 0; user-select: none; -webkit-user-select: none; font-family: var(--font-ui); color: var(--text-primary); }
.dm-inner.is-narrow { width: 1000px; }
.dm-inner.is-narrow .dm-side, .dm-inner.is-narrow .dm-hint { display: none; }
.dm-window { position: absolute; inset: 0; overflow: hidden; background: var(--bg-card); display: flex; flex-direction: column; transition: opacity 0.45s ease; }
.hero.is-resetting .dm-window { opacity: 0; }
/* Ce qui est cliquable dans le produit l'est dans la démo */
.dm-item[data-scn], .dm-tab, .dm-tool, .dm-x, .dm-ta, .dm-compose .btn-go, .dm-compose .btn-attach, .dm-new, .dm-export { cursor: pointer; }
.dm-item[data-scn]:hover { background: var(--bg-hover); color: var(--text-primary); }
.dm-item[data-scn].is-active:hover { background: var(--accent-subtle); color: var(--accent); }
.dm-tab:hover, .dm-x:hover, .dm-export:hover { color: var(--text-primary); }
.dm-tool:hover { border-color: var(--accent); }
.dm-top { height: 54px; flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--border); background: var(--bg-card); }
.dm-lights { display: flex; gap: 7px; margin-right: 8px; }
.dm-lights i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.dm-brand { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; margin-right: 8px; }
.dm-brand img { width: 22px; height: 22px; display: block; }
.dm-brand em { font-style: normal; color: var(--accent); }
.dm-iconbtn { width: 34px; height: 34px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg-card); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); flex-shrink: 0; }
.dm-iconbtn .ic { width: 16px; height: 16px; }
.dm-top .dm-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.dm-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #F97316, #C2410C); color: #FFFFFF; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.dm-body { flex: 1; min-height: 0; display: flex; }
.dm-side { width: 236px; flex-shrink: 0; background: var(--bg-primary); border-right: 1px solid var(--border); padding: 14px 12px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.dm-new { height: 32px; border-radius: 6px; background: var(--accent); color: #FFFFFF; font-weight: 600; font-size: 12.5px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.dm-new .ic { width: 14px; height: 14px; }
.dm-filters { display: flex; gap: 6px; margin: 8px 0 2px; }
.dm-chip { height: 26px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg-card); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; color: var(--text-secondary); }
.dm-chip .ic { width: 13px; height: 13px; }
.dm-chip.is-accent { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.dm-chip.is-accent b { background: #EF8249; border-radius: 4px; padding: 0 5px; font-size: 11px; }
.dm-sec { margin: 12px 4px 2px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.dm-item { height: 32px; padding: 0 10px; border-radius: 6px; display: flex; align-items: center; color: var(--text-secondary); white-space: nowrap; overflow: hidden; font-size: 12.5px; flex-shrink: 0; }
.dm-item span { overflow: hidden; text-overflow: ellipsis; }
.dm-item.is-active { background: var(--accent-subtle); color: var(--accent); font-weight: 600; }
.dm-side-foot { margin-top: auto; border-top: 1px solid var(--border); padding-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.dm-conn { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-secondary); padding: 0 4px; }
.dm-conn .ic { width: 14px; height: 14px; }
.dm-conn i { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: #16A34A; }
.dm-user { display: flex; align-items: center; gap: 10px; padding: 0 4px; }
.dm-user i { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-inset); display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.dm-user i .ic { width: 15px; height: 15px; }
.dm-user b { display: block; font-size: 13px; font-weight: 600; }
.dm-user small { display: block; font-size: 11.5px; color: var(--text-muted); }
.dm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--bg-primary); }
.dm-chatbar { height: 54px; flex-shrink: 0; display: flex; align-items: center; gap: 14px; padding: 0 22px; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.dm-back { color: var(--text-secondary); display: flex; align-items: center; gap: 6px; }
.dm-back .ic { width: 14px; height: 14px; }
.dm-chat-title { font-weight: 600; opacity: 0; transition: opacity 0.35s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-chat-title.is-in { opacity: 1; }
.dm-keypts { margin-left: auto; height: 30px; padding: 0 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-card); font-size: 12.5px; font-weight: 500; display: flex; align-items: center; gap: 6px; color: var(--text-secondary); flex-shrink: 0; }
.dm-keypts .ic { width: 14px; height: 14px; }
.dm-msgs { flex: 1; min-height: 0; overflow: hidden; padding: 20px 28px 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.dm-msg { display: none; gap: 12px; align-items: flex-start; max-width: 760px; }
.dm-msg.is-in { display: flex; animation: dm-in 0.35s ease both; }
.dm-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.dm-av { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--bg-inset); color: var(--text-secondary); overflow: hidden; margin-top: 2px; }
.dm-av .ic { width: 15px; height: 15px; }
.dm-av img { width: 100%; height: 100%; display: block; }
.dm-bubble { padding: 13px 17px; border-radius: 6px; font-size: 14px; line-height: 1.7; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-primary); }
.dm-msg.user .dm-bubble { background: var(--accent); border-color: var(--accent); color: #FFFFFF; border-bottom-right-radius: 5px; }
.dm-bubble h4 { margin: 0; font-size: 14px; font-weight: 600; }
.dm-bubble p { margin: 0; }
.dm-bubble .dm-sep { border-top: 1px solid var(--border); margin: 10px 0; }
.dm-li { padding-left: 22px; text-indent: -22px; }
.dm-li b { font-weight: 600; }
.dm-li em { font-style: normal; font-variant-numeric: tabular-nums; display: inline-block; width: 18px; text-indent: 0; }
#dm-stream > * { display: none; }
#dm-stream > .is-in { display: block; animation: dm-in 0.3s ease both; }
#dm-stream > .dm-sep.is-in { display: block; }
.dm-typing { display: none; gap: 5px; align-items: center; padding: 14px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; margin-left: 44px; align-self: flex-start; }
.dm-typing.is-in { display: inline-flex; animation: dm-in 0.3s ease both; }
.dm-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: dm-tdot 1.3s infinite; }
.dm-typing i:nth-child(2) { animation-delay: 0.22s; }
.dm-typing i:nth-child(3) { animation-delay: 0.44s; }
@keyframes dm-tdot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.dm-tool { display: none; align-self: flex-start; margin-left: 44px; height: 32px; padding: 0 12px; border: 1px solid var(--border); background: var(--bg-card); border-radius: 6px; font-size: 12.5px; font-weight: 500; align-items: center; gap: 7px; color: var(--text-primary); }
.dm-tool.is-in { display: inline-flex; animation: dm-in 0.3s ease both; }
.dm-tool .ic { width: 14px; height: 14px; color: var(--accent); }
.dm-tool b { font-weight: 600; }
.dm-time { display: none; font-size: 10.5px; color: var(--text-muted); margin: -4px 0 0 44px; }
.dm-time.is-in { display: block; }
@keyframes dm-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.dm-compose { padding: 12px 28px 8px; flex-shrink: 0; }
.dm-compose .input-card { max-width: none; padding: 16px 18px 12px; }
.dm-ta { min-height: 52px; font-size: 15px; line-height: 1.6; color: var(--text-primary); }
.dm-ta:empty::before { content: attr(data-ph); color: var(--text-faint); }
.dm-hint { font-size: 11.5px; color: var(--text-muted); display: flex; gap: 6px; align-items: center; margin-left: 4px; }
.dm-hint kbd { border: 1px solid var(--border); border-radius: 4px; padding: 0 5px; font-family: inherit; font-size: 10.5px; background: var(--bg-hover); }
.dm-mic { width: 38px; height: 38px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg-card); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); flex-shrink: 0; }
.dm-mic .ic { width: 16px; height: 16px; }
.dm-compose .btn-go { transition: transform 0.12s ease, background 0.15s; }
.dm-compose .btn-go.is-press { transform: scale(0.88); background: var(--accent-hover); }
.dm-disc { text-align: center; font-size: 11px; color: var(--text-muted); padding: 8px 0 2px; }
.dm-panel { width: 0; flex-shrink: 0; overflow: hidden; background: var(--bg-card); border-left: 1px solid transparent; transition: width 0.55s cubic-bezier(0.22, 0.8, 0.24, 1), border-color 0.55s; }
.dm-panel.is-open { width: 470px; border-left-color: var(--border); }
.dm-panel-in { width: 470px; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
/* Contenu du panneau : un volet par analyse (.dm-pane), chaque volet = onglets + sous-volets ;
   les blocs du sous-volet visible arrivent en cascade à l'ouverture (--i). */
.dm-pane { display: none; flex-direction: column; gap: 14px; }
.dm-pane.is-on { display: flex; }
.dm-tabpane { display: none; flex-direction: column; gap: 12px; }
.dm-tabpane.is-on { display: flex; }
.dm-panel-in .dm-ph, .dm-pane.is-on > .dm-tabs, .dm-tabpane.is-on > * { opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease; }
.dm-panel.is-open .dm-panel-in .dm-ph, .dm-panel.is-open .dm-pane.is-on > .dm-tabs, .dm-panel.is-open .dm-tabpane.is-on > * { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 90ms + 220ms); }
.dm-list { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--bg-card); }
.dm-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border-light); font-size: 12.5px; }
.dm-row:last-child { border-bottom: 0; }
.dm-row > b { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-num { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-subtle); color: var(--accent); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-style: normal; }
.dm-tag { font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--bg-inset); color: var(--text-secondary); white-space: nowrap; flex-shrink: 0; }
.dm-tag.is-hi { background: var(--accent); color: #FFFFFF; }
.dm-tag.is-crit { background: var(--danger); color: #FFFFFF; }
.dm-tag.is-major { background: #C2410C; color: #FFFFFF; }
.dm-tag.is-warn { background: var(--warning); color: #FFFFFF; }
.dm-tag.is-ok { background: var(--success); color: #FFFFFF; }
.dm-tag.is-hard { background: var(--danger-bg); color: var(--danger); }
.dm-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.dm-table th { text-align: left; padding: 8px 12px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); background: var(--bg-primary); border-bottom: 1px solid var(--border); white-space: nowrap; }
.dm-table td { padding: 9px 12px; border-bottom: 1px solid var(--border-light); white-space: nowrap; }
.dm-table tr:last-child td { border-bottom: 0; }
.dm-table td.is-num { text-align: right; font-variant-numeric: tabular-nums; }
.dm-table th.is-num { text-align: right; }
.dm-url { font-family: var(--font-mono); font-size: 12px; color: var(--text-primary); }
.dm-sc { font-weight: 600; font-variant-numeric: tabular-nums; }
.dm-sc.is-ok { color: var(--success); }
.dm-sc.is-warn { color: var(--warning); }
.dm-sc.is-bad { color: var(--danger); }
.dm-sumline { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-primary); font-size: 12.5px; color: var(--text-secondary); }
.dm-sumline b { color: var(--text-primary); font-weight: 600; }
.dm-pane .ai-q { margin: 0; }
.dm-pane .ai-grid { margin: 0; }
.dm-pane .ai-card, .dm-pane .ai-ans { min-height: 0; }
.dm-pane .ai-sum { position: static; }
.dm-heat { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 12px; }
.dm-heat i { aspect-ratio: 1; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; font-size: 13px; color: #FFFFFF; background: var(--c); opacity: 0; transform: scale(0.6); transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.3), opacity 0.3s ease; }
.dm-heat.is-fill i { opacity: 1; transform: none; transition-delay: calc(var(--k, 0) * 28ms); }
.dm-heat i.is-you { box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 4px var(--text-primary); }
.dm-ph { display: flex; align-items: center; gap: 10px; }
.dm-ph b { font-size: 15px; font-weight: 600; }
.dm-export { margin-left: auto; height: 30px; padding: 0 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 12.5px; font-weight: 500; display: flex; align-items: center; gap: 6px; color: var(--text-secondary); }
.dm-export .ic, .dm-x .ic { width: 14px; height: 14px; }
.dm-x { color: var(--text-muted); display: flex; }
.dm-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--border); font-size: 12.5px; font-weight: 500; color: var(--text-secondary); white-space: nowrap; overflow: hidden; }
.dm-tab { padding: 4px 0 10px; display: flex; align-items: center; gap: 6px; border-bottom: 2px solid transparent; margin-bottom: -1px; flex-shrink: 0; }
.dm-tab .ic { width: 13px; height: 13px; }
.dm-tab.is-active { color: var(--accent); border-color: var(--accent); }
.dm-tab b { font-weight: 600; font-size: 11px; background: var(--bg-inset); border-radius: 999px; padding: 1px 7px; color: var(--text-secondary); }
.dm-card { border: 1px solid var(--border); border-radius: 6px; background: var(--bg-card); padding: 16px; }
.dm-score { display: flex; gap: 20px; align-items: center; }
.dm-ring { width: 108px; height: 108px; position: relative; flex-shrink: 0; }
.dm-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.dm-ring circle { fill: none; stroke-width: 2.2; }
.dm-ring .dm-track { stroke: var(--bg-inset); }
.dm-ring .dm-fill { stroke: var(--warning); stroke-linecap: round; transition: stroke-dasharray 1.2s cubic-bezier(0.22, 0.8, 0.24, 1); }
.dm-ring-v { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dm-ring-n { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.dm-ring-l { font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--warning); margin-top: 6px; }
.dm-score-r { flex: 1; min-width: 0; }
.dm-score-r b { font-size: 14.5px; font-weight: 600; }
.dm-score-r small { display: block; color: var(--text-muted); font-size: 12px; margin-top: 2px; }
.dm-bars { margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.dm-bar { display: grid; grid-template-columns: 74px 1fr 28px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-secondary); }
.dm-bar i { display: block; height: 5px; border-radius: 3px; background: var(--bg-inset); overflow: hidden; }
.dm-bar i b { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--c); transition: width 1s cubic-bezier(0.22, 0.8, 0.24, 1); }
.dm-bar em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: var(--text-primary); }
.dm-axis { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--text-faint); margin: 2px 38px 0 84px; }
.dm-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dm-kpis.is-3 { grid-template-columns: repeat(3, 1fr); }
.dm-kpi { border: 1px solid var(--border); border-radius: 6px; padding: 11px 12px; min-width: 0; display: flex; flex-direction: column; }
.dm-kpi small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); line-height: 1.3; }
.dm-kpi b { display: block; margin-top: auto; padding-top: 6px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dm-kpi b i { font-style: normal; font-size: 12px; font-weight: 500; color: var(--text-muted); margin-left: 1px; }
.dm-kpi.is-good b { color: var(--success); }
.dm-kpi.is-warn b { color: var(--warning); }
.dm-kpi.is-bad b { color: var(--danger); }
.dm-sev b { font-size: 14.5px; font-weight: 600; }
.dm-sev small { display: block; color: var(--text-muted); font-size: 12px; margin: 2px 0 12px; }
.dm-sevbar { height: 7px; border-radius: 4px; overflow: hidden; display: flex; background: var(--bg-inset); }
.dm-sevbar i { display: block; height: 100%; width: 0; background: var(--c); transition: width 1s cubic-bezier(0.22, 0.8, 0.24, 1); }
.dm-legend { display: flex; gap: 14px; margin-top: 10px; font-size: 12px; color: var(--text-secondary); }
.dm-legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; margin-right: 6px; background: var(--c); }



/* ══ Planète (section sombre isolée, couleurs en dur) : chiffres à gauche, globe
   en points qui tourne à droite (assets/js/lp-globe.js). ══ */
/* La planète, de la hauteur de la section, sort du bord droit (à moitié coupée) ;
   le texte reste dans le conteneur, sur la moitié gauche. */
.planet { position: relative; background: #121417; color: #FFFFFF; overflow: hidden; min-height: 860px; display: flex; align-items: center; --planet-size: clamp(960px, 115vh, 1220px); }
.planet-grid { display: grid; grid-template-columns: minmax(0, 520px) 1fr; align-items: center; }
.planet-title { margin: 0; font-size: clamp(30px, 3.6vw, 44px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; color: #FFFFFF; text-wrap: balance; }
.planet-stats { display: grid; gap: 36px; margin-top: 48px; }
.planet-stat { padding-left: 22px; border-left: 2px solid #2E3033; }
.planet-num { font-size: clamp(48px, 5.4vw, 72px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.planet-label { margin-top: 10px; font-size: 17px; font-weight: 600; color: #FFFFFF; }
.planet-stat p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: #949596; max-width: 40ch; }
.planet-visual { position: absolute; top: 50%; right: calc(var(--planet-size) * -0.42); width: var(--planet-size); height: var(--planet-size); transform: translateY(-50%); pointer-events: none; }
.planet-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }



@media (max-width: 860px) {
  .hero { padding-top: 112px; }
  .hero-app { margin-top: 40px; }
  .planet { min-height: 0; display: block; }
  .planet-grid { grid-template-columns: 1fr; gap: 40px; }
  .planet-visual { position: relative; top: auto; right: auto; transform: none; width: 100%; max-width: 440px; aspect-ratio: 1; height: auto; margin: 0 auto; order: -1; }
  .planet-stats { margin-top: 32px; gap: 28px; }
}
@media (max-width: 640px) {
  .hero { padding: 96px 0 56px; }
  .hero h1 { margin-bottom: 16px; }
  .hero-sub { font-size: 16px; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .btn-cta { flex: 1 1 100%; }
  .hero-app { margin-top: 32px; }
  .hero-app-hint { display: none; }
  .hero-app-bar { justify-content: flex-end; }
  .dm-frame { border-radius: 4px; }
  .hero-canvas { opacity: 0.42; top: -12%; height: 70%; }
  .hero-veil { background: radial-gradient(ellipse 80% 45% at 50% 30%, rgba(18,20,23,0.7) 0%, rgba(18,20,23,0.35) 55%, rgba(18,20,23,0) 100%), linear-gradient(180deg, rgba(18,20,23,0) 0%, rgba(18,20,23,0) 40%, #121417 62%); }
  .conn-marquee { padding: 16px 0; }
  .conn-pill { height: 40px; padding: 0 14px; gap: 8px; margin-right: 8px; }
  .conn-pill svg, .conn-pill .ic { width: 18px; height: 18px; }
  .conn-pill span { font-size: 13px; }
}
