@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@500&display=swap");
/* Le Mercato : habillage commun des pages internes (même charte que l'accueil) */
:root:root{
  --lm-fond:#F4F5F6; --lm-surface:#FFFFFF; --lm-encre:#0E1113; --lm-sourd:#59626B; --lm-trait:#D5DADF; --lm-acier:#7C8791;
  --lm-titre:"Marcellus","Iowan Old Style","Palatino Linotype",Georgia,serif;
  --lm-texte:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  /* pages entreprise, inscription, cgu */
  --ink:#0E1113; --line:#D5DADF; --serif:var(--lm-titre); --sans:var(--lm-texte);
  /* espace */
  --bg:#F4F5F6; --surface:#FFFFFF; --line:#D5DADF; --fg:#0E1113; --muted:#59626B;
  --display:var(--lm-titre); --body:var(--lm-texte);
}
html,body{background:var(--lm-fond)!important}
body{color:var(--lm-encre);font-family:var(--lm-texte)!important;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:var(--lm-titre)!important;font-weight:400!important;letter-spacing:-.005em}
button,input,select,textarea{font-family:var(--lm-texte)}
body.lm-int>header,body.lm-int>.entete{display:none!important}

/* barre commune */
.lm-barre{position:sticky;top:0;z-index:50;padding-top:env(safe-area-inset-top,0px);background:color-mix(in srgb,var(--lm-fond) 82%,transparent);-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);border-bottom:1px solid var(--lm-trait)}
.lm-barre .lm-in{max-width:1160px;margin:0 auto;display:flex;align-items:center;gap:10px 18px;padding:12px max(20px,env(safe-area-inset-left,0px))}
.lm-retour{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid var(--lm-trait);background:var(--lm-surface);color:var(--lm-encre);cursor:pointer;flex:none}
.lm-retour svg{width:18px;height:18px}
.lm-retour:hover{border-color:var(--lm-encre)}
.lm-marque{font-family:var(--lm-titre);font-size:19px;letter-spacing:.2em;text-decoration:none;color:var(--lm-encre);white-space:nowrap}
.lm-marque i,.top .brand::after{display:block;height:2px;margin-top:4px;background:linear-gradient(90deg,#8E99A3,#E3E7EA,#8E99A3,#E3E7EA);background-size:300% 100%;animation:lm-reflet 9s linear infinite}
.top .brand::after{content:""}
@keyframes lm-reflet{to{background-position:-300% 0}}
.lm-nav{margin-left:auto;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.lm-nav a{font-size:14px;font-weight:500;text-decoration:none;color:var(--lm-encre);padding:8px 14px;border-radius:999px;border:1px solid var(--lm-trait);background:var(--lm-surface);white-space:nowrap}
.lm-nav a.lm-plein{background:var(--lm-encre);color:#fff;border-color:var(--lm-encre)}
.lm-nav a[aria-current="page"]{border-color:var(--lm-encre)}
@media (max-width:640px){.lm-nav a:not(.lm-plein){display:none}.lm-marque{font-size:16px}}

/* bandeau photo (page entreprise) */
.lm-bandeau{position:relative;height:240px;overflow:hidden;background:#080A0C;color:#fff}
.lm-bandeau img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%;animation:lm-approche 26s ease-in-out infinite alternate}
@keyframes lm-approche{from{transform:scale(1)}to{transform:scale(1.08)}}
.lm-bandeau::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,10,12,.78),rgba(8,10,12,.35) 60%,rgba(8,10,12,.1)),linear-gradient(0deg,rgba(8,10,12,.5),rgba(8,10,12,0) 50%)}
.lm-bandeau div{position:relative;z-index:1;max-width:1160px;margin:0 auto;height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding:0 max(20px,env(safe-area-inset-left,0px)) 28px}
.lm-bandeau small{font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:rgba(255,255,255,.82)}
.lm-bandeau strong{font-family:var(--lm-titre);font-weight:400;font-size:clamp(26px,3.6vw,40px);line-height:1.08;margin-top:8px;max-width:22ch}

/* cartes et boutons alignés sur l'accueil */
.card,.panel{background:var(--lm-surface)!important;border:1px solid var(--lm-trait)!important;border-radius:14px!important;box-shadow:0 24px 60px -44px rgba(0,0,0,.4)}
.kicker,.eyebrow{letter-spacing:.22em!important;text-transform:uppercase;color:var(--lm-sourd)!important}
.btn.light,.btn.primary{background:var(--lm-encre)!important;color:#fff!important;border-color:var(--lm-encre)!important}
.btn{border-radius:999px!important}
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=url],input[type=date],input[type=number],select,textarea{border-color:var(--lm-trait)!important;border-radius:9px!important;background:var(--lm-surface)!important}
input:focus,select:focus,textarea:focus{border-color:var(--lm-acier)!important;outline:2px solid color-mix(in srgb,var(--lm-acier) 35%,transparent)}

/* espace : barre haute */
.top{background:color-mix(in srgb,var(--lm-fond) 82%,transparent)!important;-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);border-bottom:1px solid var(--lm-trait)!important}
.top .brand{font-family:var(--lm-titre)!important;letter-spacing:.2em!important}
.top .back{border-radius:999px!important}

/* géolocalisation */
.lm-geo{margin:18px 0 0;padding:16px 18px;border:1px solid var(--lm-trait);border-radius:14px;background:var(--lm-surface);display:grid;gap:8px}
.lm-geo b{font-weight:600}
.lm-geo p{margin:0;color:var(--lm-sourd);font-size:14px}
.lm-choix{display:flex;flex-wrap:wrap;gap:8px}
.lm-geo .lm-man{background:var(--lm-surface)!important;color:var(--lm-encre)!important;border-color:var(--lm-trait)!important}
.lm-zone{display:grid;gap:6px;font-size:13px;font-weight:500;color:var(--lm-sourd);max-width:360px}
.lm-zone input{font:inherit;font-size:15px;color:var(--lm-encre);padding:10px 12px;border:1px solid var(--lm-trait);border-radius:9px}
.lm-urssaf p{margin:6px 0 0;font-size:14px;color:var(--lm-sourd)}
.lm-urssaf a{color:var(--lm-encre)}
.lm-geo button{justify-self:start;font:inherit;font-size:14px;font-weight:500;padding:9px 16px;border-radius:999px;border:1px solid var(--lm-encre);background:var(--lm-encre);color:#fff;cursor:pointer}
.lm-geo .lm-etat{font-size:14px;font-weight:500}
.lm-geo .lm-etat.ok{color:#1F7A4F}
.lm-geo .lm-etat.non{color:#8C2013}

/* pied commun */
.lm-pied{margin-top:56px;border-top:1px solid var(--lm-trait);font-size:14px;color:var(--lm-sourd)}
.lm-pied .lm-in{max-width:1160px;margin:0 auto;display:flex;flex-wrap:wrap;gap:18px 40px;justify-content:space-between;padding:30px max(20px,env(safe-area-inset-left,0px)) 40px}
.lm-pied p{margin:0;max-width:46ch}
.lm-pied nav{display:flex;flex-wrap:wrap;gap:8px 22px}
.lm-pied a{color:inherit;text-decoration:none}
.lm-pied a:hover{color:var(--lm-encre)}
.lm-pied .lm-courriel{color:var(--lm-encre);user-select:all;-webkit-user-select:all}
body.lm-int .pied{display:none}
@media (prefers-reduced-motion:reduce){.lm-bandeau img,.lm-marque i,.top .brand::after{animation:none}}

/* charte accueil nouvelle génération (13/11) */
:root:root{--lm-fond:#F4F6F9;--lm-surface:#FFFFFF;--lm-encre:#0B0D10;--lm-sourd:#4A5260;--lm-trait:#E2E7EE;--lm-acier:#6E56CF;--lm-violet:#6E56CF;--lm-cyan:#00E5FF;
--lm-titre:"Space Grotesk",system-ui,-apple-system,"Segoe UI",sans-serif}
h1,h2,h3{font-weight:600!important;letter-spacing:-.03em!important}
.lm-marque{font-weight:600;letter-spacing:.26em}
.lm-marque i,.top .brand::after{background:linear-gradient(90deg,#9BA3B0,#fff,#9BA3B0,#fff);background-size:300% 100%}
.lm-barre{background:rgba(11,13,16,.86)!important;border-bottom:1px solid rgba(155,163,176,.18)!important}
.lm-barre .lm-marque{color:#fff}
.lm-barre .lm-retour{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.22);color:#fff}
.lm-barre .lm-nav a{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.2);color:#fff}
.lm-barre .lm-nav a.lm-plein{background:var(--lm-violet);border-color:var(--lm-violet);color:#fff;box-shadow:0 10px 30px -12px rgba(110,86,207,.75)}
.lm-barre .lm-nav a[aria-current="page"]{border-color:var(--lm-cyan)}
.btn.light,.btn.primary,.lm-geo button{background:var(--lm-violet)!important;border-color:var(--lm-violet)!important;color:#fff!important}
.card,.panel{border-radius:18px!important}
.kicker,.eyebrow{font-family:"JetBrains Mono",ui-monospace,Menlo,monospace}
.lm-bandeau{background:#0B0D10}
.lm-bandeau::after{background:linear-gradient(90deg,rgba(11,13,16,.82),rgba(11,13,16,.4) 60%,rgba(110,86,207,.12)),linear-gradient(0deg,rgba(11,13,16,.55),rgba(11,13,16,0) 50%)}
.lm-pied{background:var(--lm-fond)}
.lm-pied a:hover{color:#573EC2}
/* pages internes : charte noir, violet, lavande (décision commune 13/11) */
:root:root{
  --lm-fond:#0B0D10;--lm-surface:#100D18;--lm-encre:#F4F6F8;--lm-sourd:#B8ACD6;--lm-trait:rgba(196,181,253,.18);--lm-acier:#C4B5FD;--lm-violet:#6E56CF;--lm-cyan:#C4B5FD;--lm-lav:#C4B5FD;
  --ink:#F4F6F8;--ink2:rgba(244,246,248,.86);--ink3:#B8ACD6;--line:rgba(196,181,253,.2);--line2:rgba(196,181,253,.38);--accent:#C4B5FD;--link:#C4B5FD;--ok:#5FD39A;--err:#FF8A7A;
  --bg:#0B0D10;--surface:#100D18;--surface2:#17122A;--fg:#F4F6F8;--muted:#B8ACD6;--accent-fg:#0B0D10;--metal-a:#8E78FF;--metal-b:#C4B5FD;
  --ok-bg:rgba(95,211,154,.12);--warn-bg:rgba(227,176,79,.12);--crit-bg:rgba(255,138,122,.12);--info-bg:rgba(196,181,253,.12);--warn:#E3B04F;--crit:#FF8A7A;--info:#C4B5FD;
  color-scheme:dark}
html,body{background:#0B0D10!important}
body{color:#F4F6F8!important;background-image:radial-gradient(900px 500px at 85% -10%,rgba(110,86,207,.22),transparent 60%),linear-gradient(rgba(196,181,253,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(196,181,253,.045) 1px,transparent 1px)!important;background-size:auto,48px 48px,48px 48px!important;background-attachment:fixed!important}
html body h1,html body h2,html body h3,html body h4,html body strong,html body b,html body label,html body legend,html body th{color:#F4F6F8}
html body p,html body li,html body dd,html body td,html body small{color:inherit}
html body a{color:#C4B5FD}
::selection{background:rgba(110,86,207,.55);color:#fff}
html body .lm-barre{background:rgba(11,13,16,.82)!important;border-bottom:1px solid rgba(196,181,253,.16)!important}
html body .lm-barre .lm-nav a[aria-current="page"]{border-color:#C4B5FD!important}
html body .lm-marque i,html body .top .brand::after{background:linear-gradient(90deg,#6E56CF,#C4B5FD,#6E56CF,#C4B5FD)!important;background-size:300% 100%!important}
html body .card,html body .panel,html body .lm-geo,html body .recap,html body .side,html body .box,html body .regbox,html body .pwbox,html body .contrat,html body .doc,html body .duel>*,html body .results,html body .verdict,html body .urssaf{background:linear-gradient(180deg,rgba(23,18,42,.92),rgba(16,13,24,.92))!important;border:1px solid rgba(196,181,253,.18)!important;color:#F4F6F8!important;box-shadow:0 30px 80px -50px rgba(110,86,207,.55),inset 0 1px 0 rgba(255,255,255,.04)!important}
html body .kicker,html body .eyebrow{color:#C4B5FD!important}
html body .lead,html body .sub,html body .note,html body .hint,html body .intro,html body .muted{color:#B8ACD6!important}
html body input[type=text],html body input[type=email],html body input[type=tel],html body input[type=password],html body input[type=url],html body input[type=date],html body input[type=number],html body input[type=search],html body input:not([type]),html body select,html body textarea,html body .lm-zone input{background:#0E0B16!important;color:#F4F6F8!important;border:1px solid rgba(196,181,253,.28)!important;caret-color:#C4B5FD}
html body input::placeholder,html body textarea::placeholder{color:rgba(184,172,214,.6)!important}
html body select option{background:#100D18;color:#F4F6F8}
html body input:focus,html body select:focus,html body textarea:focus{border-color:#C4B5FD!important;outline:2px solid rgba(196,181,253,.35)!important;outline-offset:1px}
html body input[type=checkbox],html body input[type=radio]{accent-color:#8E78FF}
html body input:-webkit-autofill{-webkit-text-fill-color:#F4F6F8;-webkit-box-shadow:0 0 0 40px #0E0B16 inset!important}
html body .btn{border-color:rgba(196,181,253,.3)!important}
html body .btn.light,html body .btn.primary,html body .lm-geo button,html body button[type=submit]{background:#6E56CF!important;border-color:#6E56CF!important;color:#fff!important;box-shadow:0 12px 34px -14px rgba(110,86,207,.85)!important}
html body .btn.line,html body .btn:not(.light):not(.primary),html body .backbtn,html body .back,html body .lm-geo .lm-man,html body .pwtoggle{background:rgba(196,181,253,.06)!important;color:#F4F6F8!important;border-color:rgba(196,181,253,.3)!important}
html body .chips>*,html body .chip,html body .tabs>*{background:rgba(196,181,253,.06)!important;color:#F4F6F8!important;border-color:rgba(196,181,253,.26)!important}
html body .chips>.on,html body .chips>[aria-pressed="true"],html body .chips>[aria-checked="true"],html body .chips input:checked+*,html body .tabs>.on,html body .tabs>[aria-selected="true"]{background:#6E56CF!important;border-color:#6E56CF!important;color:#fff!important}
html body .msg{color:#F4F6F8}
html body .top{background:rgba(11,13,16,.82)!important;border-bottom:1px solid rgba(196,181,253,.16)!important}
html body .lm-pied{background:transparent!important;border-top:1px solid rgba(196,181,253,.16)!important;color:#B8ACD6!important}
html body .lm-pied a:hover,html body .lm-pied .lm-courriel{color:#C4B5FD!important}
html body .lm-geo .lm-etat.ok{color:#5FD39A!important}
html body .lm-geo .lm-etat.non{color:#FF8A7A!important}
html body .lm-urssaf a{color:#C4B5FD!important}
html body hr{border-color:rgba(196,181,253,.18)!important}
html body table{border-color:rgba(196,181,253,.18)!important}
html body td,html body th{border-color:rgba(196,181,253,.14)!important}
html body li b,html body li strong,html body p b,html body p strong{color:inherit!important}
html body .lm-urssaf p,html body .lm-geo p,html body .lm-zone{color:#B8ACD6!important}
/* états actifs : violet au lieu de l'encre */
html body .tabs button[aria-pressed="true"],html body .tabs a.on,html body .chips label:has(input:checked),html body .radio label:has(input:checked),html body .dob .wheel div.on{background:#6E56CF!important;border-color:#6E56CF!important;color:#fff!important}
html body .steps button[aria-current="step"],html body .parcours li.ici b,html body .check b,html body .verdict b,html body .legal b,html body .duel .r b,html body .duel .t,html body .detail .tot span,html body .detail .tot b,html body .why td:nth-child(2),html body .pts b,html body .steps li b,html body .regbox a,html body .g3 .kpi:nth-child(1) b,html body .link:hover h3{color:#F4F6F8!important}
html body section a:not(.btn){color:#C4B5FD!important}
html body .steps button[aria-current="step"]{border-color:#C4B5FD!important;box-shadow:0 0 0 1px #C4B5FD inset,0 10px 30px -14px rgba(110,86,207,.8)!important}
html body .duel h4,html body .eyebrow,html body .chip{color:#C4B5FD!important}
html body .duel .r.z b,html body .parcours li.ok b,html body .docs .dc.ok span,html body .g3 .kpi:nth-child(3) b{color:#5FD39A!important}
html body .g3 .kpi:nth-child(2) b{color:#B8ACD6!important}
html body .win.ok{color:#5FD39A!important;background:rgba(95,211,154,.1)!important}
html body .win.no{color:#FF8A7A!important;background:rgba(255,138,122,.1)!important}
html body .side li::before,html body .bar i,html body .g3 .kpi:nth-child(1)::before,html body .parcours li.ici::before{background:#C4B5FD!important;color:#0B0D10!important}
html body .score{background:#6E56CF!important;color:#fff!important}
html body .toast{background:#17122A!important;color:#F4F6F8!important;border:1px solid rgba(196,181,253,.3)!important}
html body .brand,html body .top .brand{color:#F4F6F8!important}
html body header,html body .backbtn,html body .results div,html body .duel .col,html body .dob,html body .pts div,html body .jfres .jc.ok,html body .docs .dc.ok,html body details.fin,html body .fresque,html body .tabs{background:rgba(23,18,42,.85)!important;border-color:rgba(196,181,253,.2)!important;color:#F4F6F8!important}
html body .btn:not(.primary):not(.danger):not(.light){background:rgba(196,181,253,.06)!important;color:#F4F6F8!important}
html body input[type=file]{background:#0E0B16!important;color:#B8ACD6!important;border:1px dashed rgba(196,181,253,.35)!important}
html body .pwtoggle{color:#C4B5FD!important}
html body .ver,html body .foot,html body .tbd,html body .lead{color:#B8ACD6!important}
html body .visage.vide{color:#B8ACD6!important}
/* documents imprimables (facture, contrat) : restent clairs pour la lecture et l'impression */
html body .facture,html body #contrat{background:#FFFFFF!important;color:#111417!important}
html body .facture *,html body #contrat *{color:inherit}
html body .carte,html body .fres-item{background:linear-gradient(180deg,rgba(23,18,42,.95),rgba(16,13,24,.95))!important;border-color:rgba(196,181,253,.22)!important;color:#F4F6F8!important}
html body .fres-item.on{border-color:#C4B5FD!important;box-shadow:0 0 0 1px #C4B5FD inset,0 20px 50px -24px rgba(110,86,207,.8)!important}
html body .fres-item .t,html body .carte h2,html body .carte h3{color:#F4F6F8!important}
html body .fres-item .d,html body .fres-hint,html body .hero p,html body .brand small,html body .carte p{color:#B8ACD6!important}
/* pages 404, mentions et bandeau de consentement */
html body .sur,html body .chapo,html body .centre p{color:#B8ACD6!important}
html body .courriel{color:#C4B5FD!important}
html body a.bouton.clair{background:#6E56CF!important;border-color:#6E56CF!important;color:#fff!important;box-shadow:0 12px 34px -14px rgba(110,86,207,.85)!important}
html body a.bouton:not(.clair){background:rgba(196,181,253,.06)!important;border:1px solid rgba(196,181,253,.3)!important;color:#F4F6F8!important}
html body #lm-consent{background:rgba(16,13,24,.94)!important;color:#F4F6F8!important;border:1px solid rgba(196,181,253,.25)!important;box-shadow:0 20px 60px -20px rgba(110,86,207,.6)!important}
html body #lm-consent button{border:1px solid rgba(196,181,253,.4)!important;background:transparent!important;color:#F4F6F8!important}
html body #lm-consent button:first-of-type{background:#6E56CF!important;border-color:#6E56CF!important;color:#fff!important}
