:root{
  --navy:#15294A; --navy-2:#20365C; --navy-line:#5B6E90;
  --orange:#F28A26; --cream:#F4F1EB; --white:#FFFFFF;
  --line:#E4DFD5; --line-soft:#EEEAE2; --muted:#4A5363; --muted-on-navy:#C9D2E3;
  --red:#B42318; --red-bg:#FBE4E1; --amber:#8A4200; --amber-bg:#FDEBD6; --green:#1E6B45;
  --pad:clamp(20px,6.7vw,96px);
  --font:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;font-family:var(--font);background:var(--cream);color:var(--navy);line-height:1.5;-webkit-font-smoothing:antialiased;padding-bottom:env(safe-area-inset-bottom,0px)}
a{color:var(--navy)}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--orange);outline-offset:3px;border-radius:8px}
h1,h2,h3,p{margin:0}
.wrap{padding-left:var(--pad);padding-right:var(--pad)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 20px;border-radius:14px;font-weight:800;font-size:16px;text-decoration:none;border:none;cursor:pointer;font-family:inherit}
.btn-navy{background:var(--navy);color:var(--white)}
.btn-navy:hover{background:#0F1F3A}
.btn-orange{background:var(--orange);color:var(--navy)}
.btn-orange:hover{background:#E57D18}
.kicker{font-size:14px;font-weight:800;color:var(--amber)}
.h2{font-size:clamp(30px,3.2vw,44px);font-weight:800;letter-spacing:-.03em;line-height:1.1}
.lead{font-size:clamp(17px,1.4vw,20px);color:var(--muted);line-height:1.55}
.dot{width:8px;height:8px;border-radius:4px;background:var(--orange);flex-shrink:0}

/* En-tête */
.site-header{position:sticky;top:0;z-index:40;background:var(--cream);transition:box-shadow .2s ease;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:84px;padding-top:env(safe-area-inset-top,0px)}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand-name{font-size:22px;letter-spacing:-.02em}
.brand-name b{font-weight:800}.brand-name span{font-weight:600}
.main-nav{display:flex;gap:36px;font-size:15px;font-weight:600}
.site-header.is-scrolled{box-shadow:0 1px 0 var(--line),0 8px 24px rgba(21,41,74,.08)}
.main-nav a{position:relative;text-decoration:none;padding:6px 0}
/* Trait orange sous le menu de la page ou de la section en cours */
.main-nav a::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:3px;border-radius:3px;background:var(--orange);transform:scaleX(0);transition:transform .25s ease}
.main-nav a:hover::after{transform:scaleX(.5)}
.main-nav a.is-active::after{transform:scaleX(1)}
@media (prefers-reduced-motion:reduce){.main-nav a::after{transition:none}}
.header-actions{display:flex;gap:8px;align-items:center}
.header-actions .login{font-weight:700;text-decoration:none;padding:12px}

/* Hero */
.hero{display:grid;grid-template-columns:minmax(0,1fr) 520px;gap:64px;align-items:center;padding-top:56px;padding-bottom:72px}
.hero-copy{display:flex;flex-direction:column;gap:28px}
.pill{align-self:flex-start;font-size:14px;font-weight:800;background:var(--amber-bg);padding:8px 14px;border-radius:20px}
.hero h1{font-size:clamp(40px,4.6vw,64px);line-height:1.05;font-weight:800;letter-spacing:-.035em;max-width:14ch}
.hero .lead{max-width:560px}
.hero-ctas{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.hero-ctas .btn{min-height:58px}
.link-strong{font-weight:800;text-underline-offset:4px;padding:12px}
.assurances{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:14px;font-weight:600;color:var(--muted);list-style:none;padding:0;margin:0}
.assurances li{display:flex;align-items:center;gap:8px}

.visual{position:relative;height:600px}
.visual .backdrop{position:absolute;left:60px;top:30px;width:400px;height:540px;border-radius:48px;background:var(--navy)}
.phone{position:absolute;left:130px;top:0;width:280px;height:580px;border-radius:40px;background:#0B1830;padding:10px}
.screen{height:100%;border-radius:32px;background:var(--cream);display:flex;flex-direction:column;gap:10px;padding:22px 14px}
.screen .hello{font-size:15px;font-weight:800}
.s-card{border-radius:16px;padding:12px 14px;background:var(--white)}
.s-car{background:var(--navy);color:var(--white);display:flex;flex-direction:column;gap:6px;padding:14px}
.s-car small{font-size:11px;color:var(--muted-on-navy)}
.s-big{font-size:18px;font-weight:800}
.s-label{font-size:11px;color:#5A6372;font-weight:700}
.s-bar{display:flex;height:7px;gap:2px;border-radius:4px;overflow:hidden;margin-top:6px}
.s-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid var(--line-soft);font-size:12px;font-weight:700}
.s-row:last-child{border-bottom:none}
.tag{font-size:10px;font-weight:800;padding:3px 7px;border-radius:8px;white-space:nowrap}
.tag-red{color:var(--red);background:var(--red-bg)}
.tag-amber{color:var(--amber);background:var(--amber-bg)}
.toast{position:absolute;left:0;top:380px;width:250px;background:var(--white);border-radius:18px;padding:14px 16px;display:flex;gap:12px;align-items:center;box-shadow:0 12px 30px rgba(21,41,74,.16)}
.toast-icon{width:40px;height:40px;border-radius:12px;background:var(--amber-bg);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.toast b{font-size:13px;display:block}
.toast span{font-size:12px;color:#5A6372}
@media (prefers-reduced-motion:no-preference){
  .toast{animation:toast-in .6s .5s both cubic-bezier(.2,.8,.2,1)}
  @keyframes toast-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
}

/* Problème */
.problem{background:var(--white);padding-top:64px;padding-bottom:64px;display:flex;flex-direction:column;gap:36px}
.problem .h2{font-size:clamp(26px,2.6vw,36px);max-width:760px}
.three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.pain{border-top:3px solid var(--navy);padding-top:18px;display:flex;flex-direction:column;gap:10px}
.pain:nth-child(2){border-color:var(--orange)}
.pain:nth-child(3){border-color:#C9C3B6}
.pain h3{font-size:20px;font-weight:800}
.pain p{font-size:16px;color:var(--muted)}

/* Fonctionnalités */
.features{padding-top:88px;padding-bottom:88px;display:flex;flex-direction:column;gap:44px}
.section-head{display:flex;flex-direction:column;gap:14px;max-width:720px}
.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.feature{background:var(--white);border:1px solid var(--line);border-radius:22px;padding:28px;display:flex;flex-direction:column;gap:14px}
.feature .ico{width:48px;height:48px;border-radius:14px;background:var(--navy);display:flex;align-items:center;justify-content:center}
.feature h3{font-size:20px;font-weight:800}
.feature p{font-size:16px;color:var(--muted)}
.feature-wide{grid-column:1/-1;flex-direction:row;align-items:center;gap:40px;border-color:var(--orange)}
.feature-wide .feature-text{flex:1;display:flex;flex-direction:column;gap:14px}
.feature-top{display:flex;align-items:center;gap:14px}
.feature-top .pill{color:var(--amber)}
.odo-demo{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:12px}
.odo-screen{background:#0A1430;border-radius:16px;overflow:hidden;padding:18px 26px;display:flex;flex-direction:column;align-items:flex-end;gap:10px;font-family:'Courier New',monospace;color:#4FA3FF}
.odo-range{font-size:16px;opacity:.55}
.odo-frame{position:relative;display:flex;align-items:baseline;gap:10px;padding:8px 12px;border:2px solid var(--white);border-radius:6px;box-shadow:0 0 0 999px rgba(10,20,48,.55)}
.odo-frame small{font-size:12px;font-weight:700}
.odo-frame b{font-size:30px;letter-spacing:.06em}
.odo-result{font-size:14px;color:var(--muted)}
.odo-result b{color:var(--navy)}

/* Étapes */
.steps{padding-bottom:88px;display:flex;flex-direction:column;gap:36px}
.steps .h2{font-size:clamp(26px,2.6vw,36px)}
.steps ol{list-style:none;padding:0;margin:0}
.step{display:flex;gap:18px;align-items:flex-start}
.step-num{width:48px;height:48px;border-radius:24px;background:var(--orange);font-size:20px;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.step h3{font-size:19px;font-weight:800;margin-bottom:6px}
.step p{font-size:16px;color:var(--muted)}

/* Flottes */
.fleet{background:var(--navy);color:var(--white);padding-top:88px;padding-bottom:88px;display:grid;grid-template-columns:460px minmax(0,1fr);gap:64px;align-items:center}
.fleet-copy{display:flex;flex-direction:column;gap:22px}
.fleet .kicker{color:var(--orange)}
.fleet .lead{color:var(--muted-on-navy);font-size:18px}
.checks{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:14px;font-size:16px}
.checks li{display:flex;gap:12px;align-items:flex-start}
.checks svg{flex-shrink:0}
.preview{background:var(--cream);color:var(--navy);border-radius:24px;padding:24px;display:flex;flex-direction:column;gap:16px;min-width:0}
.preview-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.preview-head b{font-size:18px}
.preview-head span{font-size:13px;color:#5A6372}
.kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.kpi{background:var(--white);border-radius:14px;padding:14px}
.kpi span{font-size:12px;color:#5A6372;display:block}
.kpi b{font-size:22px;font-weight:800}
.table-wrap{background:var(--white);border-radius:14px;padding:6px 16px;overflow-x:auto}
.table-wrap table{width:100%;border-collapse:collapse;font-size:14px;min-width:480px}
.table-wrap td{padding:12px 8px 12px 0;border-bottom:1px solid var(--line-soft);white-space:nowrap}
.table-wrap tr:last-child td{border-bottom:none}
.table-wrap td:first-child{font-weight:700}
.st{font-size:12px;font-weight:800}
.st-amber{color:var(--amber)}.st-green{color:var(--green)}.st-red{color:var(--red)}

/* Tarifs */
.pricing{padding-top:88px;padding-bottom:88px;display:grid;grid-template-columns:minmax(0,1fr) 480px;gap:56px;align-items:start}
.pricing-copy{display:flex;flex-direction:column;gap:24px}
.tiers{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:8px 24px;margin:0}
.tiers div{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line-soft);font-size:16px}
.tiers div:last-child{border-bottom:none}
.tiers dt{font-weight:600}.tiers dd{margin:0;font-weight:800;text-align:right}
.tiers dt small,.tiers dd small{display:block;margin-top:2px;font-size:13px;font-weight:500;color:var(--muted)}
.calc-type{display:flex;gap:6px;padding:4px;border:1px solid var(--navy-line);border-radius:14px;margin-top:10px}
.calc-type button{flex:1;min-height:44px;border:0;border-radius:10px;background:transparent;color:var(--muted-on-navy);font:inherit;font-weight:700;cursor:pointer}
.calc-type button[aria-pressed="true"]{background:var(--white);color:var(--navy)}
.calc-offre{font-size:14px;color:var(--muted-on-navy)}
.calc{background:var(--navy);color:var(--white);border-radius:28px;padding:36px;display:flex;flex-direction:column;gap:22px}
.calc h3{font-size:20px;font-weight:800}
.calc-label{font-size:14px;color:var(--muted-on-navy)}
.stepper{display:flex;align-items:center;gap:14px;margin-top:10px}
.stepper button{width:52px;height:52px;border-radius:16px;border:1px solid var(--navy-line);background:transparent;color:var(--white);cursor:pointer;display:flex;align-items:center;justify-content:center}
.stepper button:hover{background:var(--navy-2)}
.stepper output{flex-grow:1;text-align:center;font-size:44px;font-weight:800}
.calc hr{border:none;height:1px;background:#33476B;margin:0}
.calc-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.calc-row span{font-size:15px;color:var(--muted-on-navy)}
.calc-row .m{font-size:32px;font-weight:800}
.calc-row .y{font-size:20px;font-weight:800;color:var(--orange)}
.calc small{font-size:13px;color:var(--muted-on-navy)}
.calc .btn{min-height:56px}

/* FAQ */
.faq{background:var(--white);padding-top:80px;padding-bottom:80px;display:grid;grid-template-columns:360px minmax(0,1fr);gap:64px}
.faq .h2{font-size:clamp(30px,3vw,40px)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{min-height:64px;display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:18px;font-weight:800;cursor:pointer;list-style:none;padding:8px 0}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:26px;font-weight:600;width:24px;text-align:center;flex-shrink:0}
.faq details[open] summary::after{content:"−"}
.faq details p{font-size:16px;line-height:1.6;color:var(--muted);max-width:720px;padding-bottom:22px}

/* CTA final + pied */
.final{padding-top:88px;padding-bottom:88px}
.final-box{background:var(--orange);border-radius:32px;padding:56px 64px;display:flex;justify-content:space-between;align-items:center;gap:32px}
.final-box h2{font-size:clamp(28px,3vw,40px);font-weight:800;letter-spacing:-.03em}
.final-box p{font-size:18px;margin-top:12px}
.final-box .btn{min-height:60px;white-space:nowrap;font-size:17px}
.site-footer{background:var(--navy);color:var(--muted-on-navy);padding-top:48px;padding-bottom:48px;display:flex;justify-content:space-between;align-items:flex-start;gap:24px;font-size:14px}
.site-footer .brand-name{color:var(--white);font-size:20px}
.foot-info{display:flex;flex-direction:column;gap:12px}
.foot-links{display:flex;gap:32px}
.foot-links a{color:var(--white);text-decoration:none}
.foot-links a:hover{text-decoration:underline}
.foot-social{display:flex;gap:10px;list-style:none;margin:4px 0;padding:0}
.foot-social a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:var(--navy-2);color:var(--white);transition:background .2s,color .2s}
.foot-social a:hover{background:var(--orange);color:var(--navy)}
.foot-social svg{width:20px;height:20px;fill:currentColor}
@media (prefers-reduced-motion:reduce){.foot-social a{transition:none}}

/* Contact */
.contact{padding-top:72px;padding-bottom:96px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,560px);gap:64px;align-items:start}
.contact-copy{display:flex;flex-direction:column;gap:18px}
.contact-copy h1{max-width:560px}
.contact-copy .lead{max-width:520px}
.contact-points{list-style:none;margin:18px 0 0;padding:0;display:flex;flex-direction:column;gap:22px}
.contact-points li{display:flex;gap:16px;align-items:flex-start}
.contact-points .ico{width:48px;height:48px;flex:none;border-radius:14px;background:var(--navy);color:var(--white);display:flex;align-items:center;justify-content:center}
.contact-points div{display:flex;flex-direction:column;gap:4px}
.contact-points b{font-size:17px}
.contact-points span{color:var(--muted);font-size:15px}
.contact-points a{font-weight:700}
.contact-form{background:var(--white);border:1px solid var(--line);border-radius:28px;padding:36px;display:flex;flex-direction:column;gap:20px;scroll-margin-top:24px}
.contact-form h2{font-size:22px;font-weight:800}
.field{display:flex;flex-direction:column;gap:8px}
.field label{font-size:14px;font-weight:700}
.field input,.field textarea{font:inherit;font-size:16px;color:var(--navy);background:var(--cream);border:1.5px solid var(--line);border-radius:14px;padding:13px 16px;min-height:50px;width:100%}
.field textarea{resize:vertical;min-height:150px;line-height:1.5}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(242,138,38,.35);background:var(--white)}
.contact-form .btn{min-height:56px;width:100%}
.contact-form small{font-size:13px;color:var(--muted);line-height:1.5}
.notice{border-radius:14px;padding:14px 16px;font-size:15px;font-weight:600}
.notice-ok{background:#E3F2E9;color:var(--green)}
.notice-err{background:var(--red-bg);color:var(--red)}
.piege{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Inscription / compte */
.auth{padding-top:72px;padding-bottom:96px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,520px);gap:64px;align-items:start}
.auth-copy{display:flex;flex-direction:column;gap:18px}
.auth-copy .lead{max-width:520px}
.auth-card{background:var(--white);border:1px solid var(--line);border-radius:28px;padding:36px;display:flex;flex-direction:column;gap:18px;scroll-margin-top:100px}
.auth-card h2,.connexion-form h2{font-size:24px;font-weight:800;letter-spacing:-.02em}
.auth-form,.connexion-form{display:flex;flex-direction:column;gap:18px}
.auth-etape{font-size:13px;font-weight:800;color:var(--amber);letter-spacing:.04em;text-transform:uppercase;margin-bottom:-10px}
.auth-intro,.connexion-intro{color:var(--muted);margin-top:-8px}
.auth-bas,.connexion-bas{text-align:center;font-size:14px;color:var(--muted)}
.auth-bas a,.connexion-bas a,.notice a{font-weight:700;color:inherit}
.auth-legal{font-size:13px;color:var(--muted);line-height:1.5;text-align:center}
.auth-form .btn,.connexion-form .btn,.auth-card .btn{min-height:56px;width:100%}
.auth-liens{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.lien{border:none;background:none;padding:6px 0;font:inherit;font-size:14px;font-weight:700;color:var(--navy);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.lien:hover{color:var(--amber)}
.segment{border:none;margin:0;padding:4px;display:grid;grid-template-columns:1fr 1fr;gap:4px;background:var(--cream);border-radius:16px}
.segment legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.segment label{position:relative;cursor:pointer}
.segment input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.segment span{display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:12px;font-weight:700;color:var(--muted);transition:background .2s,color .2s}
.segment input:checked+span{background:var(--navy);color:var(--white)}
.segment input:focus-visible+span{outline:3px solid var(--orange);outline-offset:2px}
.field[hidden]{display:none}
.facultatif{font-weight:600;color:var(--muted)}
.field input[aria-invalid="true"]{border-color:var(--red)}
.field-err{font-size:13px;font-weight:600;color:var(--red)}
.tel{display:flex;align-items:stretch;gap:8px}
.tel-prefixe{display:flex;align-items:center;padding:0 14px;border-radius:14px;background:var(--cream);border:1.5px solid var(--line);font-weight:700;white-space:nowrap}
.tel input{flex:1;min-width:0}
.code-input{font-size:24px!important;font-weight:800;letter-spacing:.5em;text-align:center}
.compte{margin:0;display:flex;flex-direction:column}
.compte div{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line-soft)}
.compte dt{color:var(--muted)}
.compte dd{margin:0;font-weight:700;text-align:right}
.auth-seul{grid-template-columns:minmax(0,460px);justify-content:center}
.auth-titre{font-size:26px;font-weight:800;letter-spacing:-.02em}
.mdp{position:relative}
.mdp input{padding-right:52px}
.mdp-voir{position:absolute;top:50%;right:6px;transform:translateY(-50%);width:40px;height:40px;border:none;border-radius:10px;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center;cursor:pointer}
.mdp-voir[aria-pressed="true"]{color:var(--orange)}
.mdp-voir:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.btn-ghost{background:transparent;color:var(--navy);border:1.5px solid var(--line)}
.btn-ghost:hover{border-color:var(--navy)}

/* Espace client (particulier, entreprise) */
.espace-header .header-actions{gap:14px}
.espace-header form{margin:0}
.espace-compte{display:flex;align-items:center;gap:10px;font-size:15px}
.pill-role{font-size:12px;font-weight:800;background:var(--amber-bg);color:var(--amber);padding:5px 10px;border-radius:20px}
.espace-entreprise .pill-role{background:var(--navy);color:var(--white)}
.btn-small{min-height:40px;padding:0 14px;font-size:14px;border-radius:12px}
.espace-main{padding-top:40px;padding-bottom:80px;display:flex;flex-direction:column;gap:32px;min-height:calc(100vh - 180px)}
.espace-intro{display:flex;flex-direction:column;gap:12px}
.espace-intro .lead{max-width:640px}
.kpis-espace{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.kpi-carte{background:var(--white);border:1px solid var(--line);border-radius:22px;padding:22px;display:flex;flex-direction:column;gap:6px}
.kpi-carte span{font-size:14px;color:var(--muted);font-weight:600}
.kpi-carte b{font-size:28px;font-weight:800;letter-spacing:-.02em}
.kpi-carte small{font-size:13px;color:var(--muted)}
.kpi-alerte{border-color:var(--orange);box-shadow:inset 4px 0 0 var(--orange)}
.espace-grille{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.espace-bloc{background:var(--white);border:1px solid var(--line);border-radius:24px;padding:26px;display:flex;flex-direction:column;gap:14px}
.espace-bloc h2{font-size:19px;font-weight:800}
.liste{list-style:none;margin:0;padding:0}
.liste li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line-soft)}
.liste li:last-child{border-bottom:none}
.liste li div{display:flex;flex-direction:column;gap:2px;min-width:0}
.liste li div span{font-size:14px;color:var(--muted)}
.liste .tag{font-size:12px}
.tag-gris{color:var(--muted);background:var(--line-soft)}
.km{font-size:14px;font-weight:700;white-space:nowrap}
.vide{color:var(--muted);font-size:15px}
.espace-bloc .btn{align-self:flex-start}
.espace-footer{border-top:1px solid var(--line);padding-top:24px;padding-bottom:24px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.espace-footer nav{display:flex;gap:20px}
.espace-footer a{color:var(--muted)}

/* Fenêtre de connexion */
.connexion{border:none;padding:0;background:transparent;width:min(440px,calc(100% - 32px));max-height:calc(100% - 32px);color:var(--navy);overflow:visible}
.connexion::backdrop{background:rgba(21,41,74,.55);backdrop-filter:blur(3px)}
.connexion[open]{animation:mp-modal .25s ease-out}
.connexion[open]::backdrop{animation:mp-fond .25s ease-out}
@keyframes mp-modal{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
@keyframes mp-fond{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.connexion[open],.connexion[open]::backdrop{animation:none}}
.connexion-box{position:relative;background:var(--white);border-radius:28px;padding:36px;display:flex;flex-direction:column;gap:14px;box-shadow:0 24px 60px rgba(21,41,74,.3);max-height:calc(100dvh - 32px);overflow:auto}
.connexion-box h2{font-size:26px;font-weight:800;letter-spacing:-.02em;margin-top:4px}
.connexion-intro{color:var(--muted);margin-top:-12px}
.connexion-fermer{position:absolute;top:16px;right:16px;width:40px;height:40px;border:none;border-radius:12px;background:var(--cream);color:var(--navy);display:flex;align-items:center;justify-content:center;cursor:pointer}
.connexion-fermer:hover{background:var(--line-soft)}
.connexion .btn{min-height:56px;width:100%}
.connexion-bas{text-align:center;font-size:14px;color:var(--muted)}
.connexion-fermer:focus-visible{outline:3px solid var(--orange);outline-offset:2px}

/* Haut de page */
.to-top{position:fixed;right:24px;bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:50;width:52px;height:52px;border:none;border-radius:16px;background:var(--orange);color:var(--navy);display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 10px 24px rgba(21,41,74,.28);opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s ease,transform .25s ease,visibility .25s}
.to-top.is-visible{opacity:1;visibility:visible;transform:none}
.to-top:hover{background:#F59B45}
.to-top:focus-visible{outline:3px solid var(--navy);outline-offset:3px}
@media (prefers-reduced-motion:reduce){.to-top{transition:none}}

/* Responsive */
@media (max-width:1100px){
  .hero{grid-template-columns:1fr;gap:40px}
  .visual{max-width:520px;width:100%;margin:0 auto}
  .fleet,.pricing,.faq,.contact,.auth{grid-template-columns:1fr;gap:40px}
  .auth-seul{grid-template-columns:minmax(0,460px)}
  .espace-grille{grid-template-columns:1fr}
  .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:860px){
  .main-nav,.header-actions .login{display:none}
  .three,.feature-grid{grid-template-columns:1fr}
  .feature-wide{flex-direction:column;align-items:stretch;gap:24px}
  .final-box{flex-direction:column;align-items:flex-start;padding:40px 28px}
  .site-footer{flex-direction:column}
}
@media (max-width:560px){
  .visual{height:520px;transform:scale(.86);transform-origin:top center;margin-bottom:-70px}
  .visual .backdrop{left:50%;margin-left:-200px}
  .phone{left:50%;margin-left:-140px}
  .toast{left:50%;margin-left:-200px}
  .hero-ctas .btn{flex-grow:1}
  .calc{padding:28px 22px}
  .contact{padding-top:40px}
  .contact-form{padding:28px 22px}
  .connexion-box{padding:28px 22px}
  .auth{padding-top:40px}
  .auth-card{padding:28px 22px}
  .kpis{grid-template-columns:1fr}
  .header-actions .btn{padding:0 14px;font-size:14px}
  .espace-compte b{display:none}
  .foot-links{flex-wrap:wrap;gap:16px 24px}
  .to-top{right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));width:48px;height:48px}
}
/* Pages légales (index/conditions, index/politique) */
.legal{padding-top:64px;padding-bottom:96px;display:flex;flex-direction:column;gap:40px}
/* colonne centrée : en-tête, résumé, sommaire + texte et contact partagent la même largeur */
.legal > *{width:100%;max-width:1056px;margin-left:auto;margin-right:auto}
.legal-tete{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center}
.legal > .legal-tete{max-width:760px}
.legal-maj{font-size:14px;color:var(--muted);font-weight:600}
.legal-bref{background:var(--white);border:1px solid var(--line);border-radius:24px;padding:28px 32px}
.legal-bref h2{font-size:18px;font-weight:800;margin:0 0 14px}
.legal-bref ul{margin:0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px}
.legal-bref li{position:relative;padding-left:26px;font-size:15px;line-height:1.5;color:var(--muted)}
.legal-bref li::before{content:"";position:absolute;left:0;top:5px;width:14px;height:14px;border-radius:50%;background:var(--orange)}
.legal-bref b{color:var(--navy)}
.legal-grille{display:grid;grid-template-columns:240px minmax(0,1fr);gap:56px;align-items:start}
.legal-sommaire{position:sticky;top:108px;font-size:14px}
.legal-sommaire p{font-weight:800;margin:0 0 10px}
.legal-sommaire ol{margin:0;padding:0 0 0 18px;display:flex;flex-direction:column;gap:8px;color:var(--muted)}
.legal-sommaire a{color:var(--muted);text-decoration:none;font-weight:600}
.legal-sommaire a:hover{color:var(--navy);text-decoration:underline;text-underline-offset:3px}
.legal-texte{max-width:760px;font-size:16px;line-height:1.7;color:var(--muted)}
.legal-texte h2{font-size:22px;font-weight:800;color:var(--navy);letter-spacing:-.01em;line-height:1.3;margin:40px 0 12px;scroll-margin-top:108px}
.legal-texte h2:first-child{margin-top:0}
.legal-texte h3{font-size:17px;font-weight:800;color:var(--navy);margin:22px 0 8px}
.legal-texte p{margin:0 0 14px}
.legal-texte ul{margin:0 0 14px;padding-left:22px;display:flex;flex-direction:column;gap:6px}
.legal-texte b,.legal-texte strong{color:var(--navy)}
.legal-texte a{color:var(--navy);font-weight:700}
.legal-texte table{width:100%;border-collapse:collapse;margin:6px 0 18px;font-size:15px;line-height:1.5}
.legal-texte th,.legal-texte td{text-align:left;vertical-align:top;padding:10px 12px;border-bottom:1px solid var(--line)}
.legal-texte th{color:var(--navy);font-weight:800;background:var(--line-soft)}
.legal-encart{background:var(--line-soft);border-left:4px solid var(--orange);border-radius:0 14px 14px 0;padding:14px 18px;margin:0 0 16px}
.legal-encart p:last-child{margin:0}
.legal-contact{background:var(--navy);color:var(--white);border-radius:28px;padding:36px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.legal-contact h2{font-size:24px;font-weight:800;margin:0 0 6px}
.legal-contact p{margin:0;color:var(--muted-on-navy)}
.legal-contact .actions{display:flex;gap:12px;flex-wrap:wrap}
.legal-contact .btn-clair{background:transparent;color:var(--white);border:1px solid var(--navy-line)}
@media (max-width:1100px){.legal-grille{grid-template-columns:200px minmax(0,1fr);gap:36px}}
@media (max-width:860px){.legal-grille{grid-template-columns:1fr}.legal-sommaire{position:static;background:var(--white);border:1px solid var(--line);border-radius:18px;padding:18px 20px}.legal-bref ul{grid-template-columns:1fr}}
@media (max-width:560px){.legal{padding-top:40px}.legal-bref,.legal-contact{padding:22px 20px}.legal-texte table{font-size:14px}.legal-texte th,.legal-texte td{padding:8px}}
@media print{.site-header,.site-footer,.legal-sommaire,.legal-contact .actions{display:none!important}.legal{padding:0}.legal-grille{display:block}}
/* Inscription : acceptation obligatoire des conditions et de la politique */
.case-conditions{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.5;font-weight:600;color:var(--navy);cursor:pointer}
.case-conditions input{flex:none;width:22px;height:22px;margin:1px 0 0;accent-color:var(--navy);cursor:pointer}
.case-conditions input[aria-invalid="true"]{outline:2px solid var(--red);outline-offset:2px}
.case-conditions a{font-weight:800;color:var(--navy)}

/* Animations de la page d'accueil : seulement si le visiteur n'a pas demandé à les réduire */
@media (prefers-reduced-motion:no-preference){
  /* haut de page : textes en cascade, téléphone qui glisse puis flotte */
  .hero-copy > *{animation:mp-monte .7s both cubic-bezier(.2,.8,.2,1)}
  .hero-copy > :nth-child(2){animation-delay:.08s}
  .hero-copy > :nth-child(3){animation-delay:.16s}
  .hero-copy > :nth-child(4){animation-delay:.24s}
  .hero-copy > :nth-child(5){animation-delay:.32s}
  .visual .backdrop{animation:mp-zoom .9s .1s both cubic-bezier(.2,.8,.2,1)}
  .phone{animation:mp-glisse .9s .2s both cubic-bezier(.2,.8,.2,1),mp-flotte 6s 1.4s ease-in-out infinite}
  .screen > *{animation:mp-monte .6s both cubic-bezier(.2,.8,.2,1)}
  .screen > :nth-child(1){animation-delay:.55s}
  .screen > :nth-child(2){animation-delay:.67s}
  .screen > :nth-child(3){animation-delay:.79s}
  .screen > :nth-child(4){animation-delay:.91s}
  .s-bar span{transform-origin:left center;animation:mp-barre .9s 1.1s both cubic-bezier(.2,.8,.2,1)}
  .screen .tag-red{animation:mp-pouls 2.4s 2s ease-in-out infinite}

  .demarrage .hero *{animation-play-state:paused !important}

  /* blocs révélés au défilement (classes posées par le script de index/index.php) */
  .anim-cible{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.8,.2,1);transition-delay:var(--retard,0s)}
  .anim-cible.est-visible{opacity:1;transform:none}

  /* survol */
  .btn{transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
  .btn:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(21,41,74,.18)}
  .btn:active{transform:none}
  .feature{transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
  .feature:hover{transform:translateY(-6px);box-shadow:0 18px 36px rgba(21,41,74,.12);border-color:transparent}
  .feature .ico{transition:transform .3s cubic-bezier(.3,1.6,.5,1),background .25s ease}
  .feature:hover .ico{transform:rotate(-8deg) scale(1.08);background:var(--orange)}
  .step-num{transition:transform .3s cubic-bezier(.3,1.6,.5,1)}
  .step:hover .step-num{transform:scale(1.12)}
  .kpi{transition:transform .25s ease}
  .kpi:hover{transform:translateY(-3px)}

  @keyframes mp-monte{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
  @keyframes mp-zoom{from{opacity:0;transform:scale(.9) rotate(-3deg)}to{opacity:1;transform:none}}
  @keyframes mp-glisse{from{opacity:0;transform:translate(40px,30px) rotate(4deg)}to{opacity:1;transform:none}}
  @keyframes mp-flotte{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
  @keyframes mp-barre{from{transform:scaleX(0)}to{transform:scaleX(1)}}
  @keyframes mp-pouls{0%,100%{box-shadow:0 0 0 0 rgba(200,40,40,0)}50%{box-shadow:0 0 0 5px rgba(200,40,40,.18)}}
}
