/* Formix — identité « encre & graphite — noir Apple » : fond chaud, encre profonde, accent graphite. Chargé après landing.css et formix.css. */
:root { --acc: #1d1d1f; --fx-ink: #161618; --fx-ink2: #232326; --fx-paper: #f5f5f7; --fx-paper2: #ececf0; --fx-line: #d2d2d7; --fx-coral: #1d1d1f; --fx-coral-d: #000000; --fx-sun: #aeaeb2; }

/* ===================== PAGES PUBLIQUES ===================== */
.lp { --a: #1d1d1f; --ah: #000000; --link: #1d1d1f; --bg: #f5f5f7; --bg2: #ececf0; --ink: #161618; --mute: #6e6e73; --line: #d2d2d7; --tile: #ececf0; --tile2: #ffffff; --stage: #232326; --card: #ffffff; --dk: #161618; --hl: #f2f2f7; --hlt: #1d1d1f; --ok: #1d8a3f; --okbg: #e6f4ea; --wait: #a15c00; --waitbg: #fff3df; --sh: rgba(22,22,24,.10); font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, sans-serif; }
@media (prefers-color-scheme: dark) { .lp { --a: #f5f5f7; --ah: #ffffff; --link: #d2d2d7; --bg: #000000; --bg2: #161618; --ink: #f5f5f7; --mute: #a1a1a6; --line: #38383a; --tile: #1c1c1e; --tile2: #1c1c1e; --stage: #232326; --card: #2c2c2e; --dk: #2c2c2e; --hl: #2c2c2e; --hlt: #d2d2d7; } }
.lp-nav { background: rgba(22,22,24,.94) !important; border-bottom: 1px solid rgba(255,255,255,.08) !important; }
.lp-nav .lp-logo, .lp-nav .lp-links a, .lp-nav .lp-hide { color: #f5f5f7 !important; }
.lp-nav .lp-links a { opacity: .78; } .lp-nav .lp-links a:hover, .lp-nav .lp-links a[aria-current] { opacity: 1; text-decoration: none; }
.lp-nav .lp-cta.sm { box-shadow: 0 6px 18px rgba(140,140,160,.35); }
.lp .lp-cta { background: linear-gradient(135deg, #48484a, #1d1d1f); font-weight: 600; box-shadow: 0 10px 28px rgba(140,140,160,.32); transition: transform .15s ease, box-shadow .15s ease; }
.lp .lp-cta:hover { background: linear-gradient(135deg, #636366, #2c2c2e); transform: translateY(-1px); box-shadow: 0 14px 34px rgba(140,140,160,.42); }
.lp .lp-cta.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; color: var(--ink); } .lp .lp-cta.ghost:hover { background: var(--bg2); transform: none; }
/* Héros sombre avec halo corail */
.lp-hero { position: relative; background: radial-gradient(900px 420px at 78% -10%, rgba(140,140,160,.38), transparent 62%), radial-gradient(700px 380px at 8% 10%, rgba(200,200,215,.18), transparent 60%), linear-gradient(180deg, #161618 0%, #1d1d1f 100%); color: #f5f5f7; padding-bottom: 0; }
.lp .lp-hero h1 { color: #fff !important; font-weight: 800; letter-spacing: -.045em; }
.lp-hero .lp-eyebrow { display: inline-block; background: rgba(140,140,160,.16); color: #d2d2d7; border: 1px solid rgba(140,140,160,.38); border-radius: 980px; padding: .28rem .9rem; font-size: .9rem; letter-spacing: .02em; }
.lp-hero .lp-lead { color: #d1d1d6; }
.lp-hero .lp-note { color: #8e8e93; }
.lp-hero .lp-act a:not(.lp-cta) { color: #d2d2d7; }
.lp-stage { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-bottom: 0; backdrop-filter: blur(6px); box-shadow: 0 -20px 80px rgba(140,140,160,.12); }
.lp h2 { font-weight: 800; letter-spacing: -.04em; }
.lp-sec { background: var(--bg); } .lp-sec.alt { background: var(--bg2); }
.lp-tile { border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(22,22,24,.04); transition: transform .2s ease, box-shadow .2s ease; }
.lp-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(22,22,24,.10); }
.lp-tile.dark { background: linear-gradient(160deg, #2a2a2d, #161618) !important; border-color: transparent; } .lp-tile.dark li::before { border-color: #d2d2d7; }
.lp-tile.acc { background: linear-gradient(145deg, #48484a, #2c2c2e 70%, #000000) !important; border-color: transparent; box-shadow: 0 20px 50px rgba(140,140,160,.28); }
.lp-tile .k { color: var(--a); }
.lp-tile.dark .k { color: #ff9a90; } .lp-tile.acc .k { color: rgba(255,255,255,.85); }
.lp-ico { background: linear-gradient(135deg, #f2f2f7, #e5e5ea) !important; color: #1d1d1f !important; }
.lp-plan { border: 1px solid var(--line); background: var(--tile2); }
.lp-plan.hot { background: linear-gradient(165deg, #2a2a2d, #161618); color: #f5f5f7; border-color: transparent; box-shadow: 0 24px 60px rgba(22,22,24,.35); }
.lp-plan.hot li, .lp-plan.hot .lp-price, .lp-plan.hot h3 { color: #fff; } .lp-plan.hot small { color: #a1a1a6; } .lp-plan.hot li::before { border-color: #d2d2d7; }
.lp-pop { color: var(--a) !important; font-weight: 600; }
.lp-final { background: radial-gradient(800px 300px at 50% 120%, rgba(140,140,160,.45), transparent 65%), #161618; }
.lp-foot { background: #161618; color: #8e8e93; } .lp-foot a { color: #c7c7cc; } .lp-foot a:hover { color: #fff; }
.lp-faq summary:hover { color: var(--a); }

/* ===================== APPLICATION ===================== */
body, body:has(.ap) { background: radial-gradient(1000px 360px at 85% -120px, rgba(140,140,160,.12), transparent 70%), #f5f5f7 !important; color: var(--fx-ink); }
.fx-bar { background: var(--fx-ink) !important; border-bottom: 0 !important; backdrop-filter: none; box-shadow: 0 8px 30px rgba(22,22,24,.18); }
.fx-logo { color: #fff !important; }
.fx-mark { box-shadow: 0 4px 14px rgba(140,140,160,.5) !important; }
.fx-nav a { color: #d1d1d6 !important; } .fx-nav a:hover { background: rgba(255,255,255,.08) !important; color: #fff !important; }
.fx-nav a.on { background: rgba(140,140,160,.18) !important; color: #d2d2d7 !important; font-weight: 600; }
.fx-who { color: #a1a1a6 !important; }
.fx-out .btn, .fx-out button { background: transparent !important; color: #f5f5f7 !important; border: 1px solid rgba(255,255,255,.25) !important; border-radius: 980px !important; }
.fx-out .btn:hover, .fx-out button:hover { background: rgba(255,255,255,.1) !important; }
.ap { max-width: 1080px; padding-top: 2.2rem; }
.ap h1, h1 { color: var(--fx-ink) !important; background: none !important; -webkit-text-fill-color: currentColor !important; font-weight: 800 !important; letter-spacing: -.04em !important; }
.ap h1::after { content: ""; display: block; width: 46px; height: 5px; border-radius: 5px; margin-top: .65rem; background: linear-gradient(90deg, #1d1d1f, #aeaeb2); }
.ap h2, .ap h3 { color: var(--fx-ink); letter-spacing: -.02em; }
.ap .card, .card { border: 1px solid var(--fx-line) !important; border-radius: 22px !important; background: #fff; box-shadow: 0 1px 2px rgba(22,22,24,.04), 0 14px 40px rgba(22,22,24,.06) !important; }
.ap .card-header { background: linear-gradient(180deg, #fbfbfd, #fff) !important; color: var(--fx-ink) !important; border-bottom: 1px solid var(--fx-line); }
.btn-primary, .ap .btn-primary { --bs-btn-bg: #1d1d1f; --bs-btn-border-color: #1d1d1f; --bs-btn-hover-bg: #000000; --bs-btn-hover-border-color: #000000; --bs-btn-active-bg: #000000; --bs-btn-active-border-color: #000000; --bs-btn-color: #fff; --bs-btn-hover-color: #fff; background-image: linear-gradient(135deg, #48484a, #1d1d1f) !important; border: 0 !important; box-shadow: 0 8px 22px rgba(140,140,160,.30) !important; border-radius: 980px; font-weight: 600; text-shadow: none; filter: none; }
.btn-primary:hover, .ap .btn-primary:hover { background-image: linear-gradient(135deg, #636366, #2c2c2e) !important; transform: translateY(-1px); }
.btn-outline-primary, .ap .btn-outline-primary { --bs-btn-color: #1d1d1f; --bs-btn-border-color: #d2d2d7; --bs-btn-hover-bg: #1d1d1f; --bs-btn-hover-border-color: #1d1d1f; --bs-btn-hover-color: #fff; background: #fff !important; border-radius: 980px; }
.btn-outline-secondary, .ap .btn-outline-secondary { border-radius: 980px; --bs-btn-color: #48484a; --bs-btn-border-color: #d2d2d7; --bs-btn-hover-bg: #ececf0; --bs-btn-hover-color: var(--fx-ink); --bs-btn-hover-border-color: #d2d2d7; background: #fff !important; }
a { color: #1d1d1f; } a:hover { color: #000000; }
.form-control:focus, .form-select:focus { border-color: #d2d2d7; box-shadow: 0 0 0 4px rgba(140,140,160,.18); }
.form-check-input:checked { background-color: #1d1d1f; border-color: #1d1d1f; }
.meter > i { background: linear-gradient(90deg, #1d1d1f, #aeaeb2) !important; }
.meter { background: #e5e5ea; }
.badge, .ap-pill { border-radius: 980px; }
.ap-pill.ap-on, .badge.text-bg-success { background: #e1f3ec !important; color: #136048 !important; }
.table thead th { color: #6e6e73; border-bottom-color: var(--fx-line); }
.table > :not(caption) > * > * { border-color: #ececf0; }
.alert { border-radius: 16px; }
.fx-foot, .fx-foot a { color: #8e8e93 !important; }
.pf-tpl input:checked + .pf-thumb { border-color: #1d1d1f !important; box-shadow: 0 0 0 3px rgba(140,140,160,.25) !important; }
.fx-auth { margin-top: 3rem; }

.lp-hero .lp-stage * { animation-duration: .01s !important; }
.lp-hero p { color: #d1d1d6; }

/* Boutons clairs sur fond sombre */
.lp-hero .lp-cta, .lp-nav .lp-cta, .lp-final .lp-cta, .lp-plan.hot .lp-cta { background: #fff !important; background-image: none !important; color: #1d1d1f !important; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.lp-hero .lp-cta:hover, .lp-nav .lp-cta:hover, .lp-final .lp-cta:hover, .lp-plan.hot .lp-cta:hover { background: #f5f5f7 !important; }
.lp-hero .lp-eyebrow { background: rgba(255,255,255,.10); color: #e5e5ea; border-color: rgba(255,255,255,.25); }
.lp-hero .lp-act a:not(.lp-cta) { color: #d2d2d7; }
.lp a { text-underline-offset: 3px; }
.btn-primary, .ap .btn-primary { color: #fff !important; }
.fx-nav a.on { background: rgba(255,255,255,.14) !important; color: #fff !important; }
.lp-ico { color: #1d1d1f !important; }
@media (prefers-color-scheme: dark) { .lp .lp-cta { background: #fff; color: #1d1d1f; } }
code, .ap code { color: #48484a !important; background: #f2f2f7; border-radius: 6px; padding: .1em .35em; } pre code { background: none; padding: 0; }
/* Pages d'authentification : carte étroite et centrée */
.ap.fx-auth, .fx-auth { max-width: 440px !important; margin: 4.5rem auto 2rem !important; padding: 0 1rem; }
.fx-auth .card { padding: .6rem .5rem; box-shadow: 0 2px 6px rgba(0,0,0,.05), 0 24px 60px rgba(0,0,0,.10) !important; }
.fx-auth h1 { font-size: 2rem; text-align: center; } .fx-auth h1::after { margin-left: auto; margin-right: auto; }
.fx-auth .btn-primary { width: 100%; padding: .7rem 1rem; }
.fx-auth .form-control { background: #fbfbfd; }
