@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url("/assets/fonts/manrope-latin-variable.woff2") format("woff2")}
:root{--red:#e5231b;--red-dark:#c51e17;--ink:#191919;--muted:#717171;--paper:#fff;--line:#ededed;--soft:#fafafa;--shadow:0 8px 38px #16161610,0 2px 9px #16161606;--radius:26px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Manrope,Arial,sans-serif;font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
h1,h2,h3,p{margin:0}
h1,h2,h3{line-height:1.2}
[hidden]{display:none!important}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,.opt:has(input:focus-visible){outline:3px solid var(--red);outline-offset:3px}
.skip-link{position:absolute;top:8px;left:-9999px;z-index:99;background:var(--ink);color:#fff;border-radius:8px;padding:12px 20px}
.skip-link:focus{left:16px}
.site-header{display:flex;justify-content:center;align-items:center;padding:34px 20px 8px}
.header-logo{display:block;width:min(300px,70vw)}
.header-logo img{width:100%;height:auto}
main{max-width:760px;margin:0 auto;padding:18px 20px 90px}
.page-title{text-align:center;font-size:34px;font-weight:550;letter-spacing:-1.4px;margin:26px 0 10px}
.page-sub{text-align:center;color:var(--muted);max-width:520px;margin:0 auto 36px}
/* cartes de choix */
.choice{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.choice-card{display:flex;flex-direction:column;gap:14px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px 28px;box-shadow:var(--shadow);transition:transform .2s,border-color .2s,box-shadow .2s;min-height:230px}
.choice-card:hover{transform:translateY(-3px);border-color:var(--red)}
.choice-card .tag{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--red)}
.choice-card h2{font-size:21px;font-weight:600;letter-spacing:-.6px}
.choice-card p{color:var(--muted);font-size:14px}
.choice-card .go{margin-top:auto;display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:13px}
.choice-card .go svg{transition:transform .2s}
.choice-card:hover .go svg{transform:translate(3px,-3px)}
.resume-box{margin:26px auto 0;max-width:520px;text-align:center;background:var(--soft);border-radius:17px;padding:16px 20px;font-size:13px;color:var(--muted)}
.resume-box button{background:none;border:0;padding:0;color:var(--red);font-weight:700;text-decoration:underline;text-underline-offset:3px}
/* progression */
.progress{margin:8px 0 26px}
.progress-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:10px;font-size:12px;font-weight:700;color:var(--muted)}
.progress-top strong{color:var(--ink);font-size:13px}
.bar{height:5px;border-radius:5px;background:var(--line);overflow:hidden}
.bar i{display:block;height:100%;background:var(--red);border-radius:5px;transition:width .3s}
.dots{display:flex;gap:6px;margin-top:12px;flex-wrap:wrap}
.dot{width:30px;height:30px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:12px;font-weight:700;color:var(--muted);display:grid;place-items:center;padding:0}
.dot[aria-current=step]{background:var(--red);border-color:var(--red);color:#fff}
.dot.done{border-color:#f0b6b2;color:var(--red)}
.dot:disabled{opacity:.4;cursor:default}
/* carte */
.card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:34px 34px 30px;border:1px solid #f4f4f4}
.step-title{font-size:27px;font-weight:550;letter-spacing:-1.1px;margin-bottom:26px;outline:none}
.q{margin:0 0 26px;border:0;padding:0;min-width:0}
.q.lvl{margin-left:6px;padding-left:18px;border-left:2px solid #f3d3d0}
.q>legend,.q>label.lab{display:block;font-weight:650;font-size:15px;margin-bottom:10px;padding:0;line-height:1.4}
.hint{font-size:12px;font-weight:600;color:var(--muted);margin-left:6px}
.sec-head{font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--red);margin:38px 0 18px;padding-top:22px;border-top:1px solid var(--line)}
.sec-head.first{margin-top:6px;border-top:0;padding-top:0}
.sub-head{font-weight:700;font-size:14px;margin:4px 0 10px}
.opts{display:grid;gap:8px}
.opts.cols{grid-template-columns:1fr 1fr}
.opt{display:flex;gap:12px;align-items:flex-start;padding:12px 15px;border:1px solid var(--line);border-radius:12px;cursor:pointer;background:#fff;transition:border-color .15s,background .15s;line-height:1.45}
.opt:hover{border-color:#d9d9d9}
.opt:has(input:checked){border-color:var(--red);background:#fff6f5}
.opt input{appearance:none;-webkit-appearance:none;width:20px;height:20px;border:1.5px solid #c4c4c4;border-radius:50%;flex:none;margin:1px 0 0;display:grid;place-content:center;background:#fff;cursor:pointer}
.opt input[type=checkbox]{border-radius:6px}
.opt input:checked{border-color:var(--red);background:var(--red)}
.opt input[type=radio]:checked::after{content:"";width:8px;height:8px;border-radius:50%;background:#fff}
.opt input[type=checkbox]:checked::after{content:"";width:9px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) translate(1px,-1px)}
input[type=text],input[type=email],input[type=tel],input[type=url],input[type=number],input[type=date],select,textarea{width:100%;border:1px solid #dcdcdc;border-radius:12px;padding:13px 15px;background:#fff;font-size:15px;line-height:1.4}
textarea{min-height:110px;resize:vertical}
select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20' fill='none' stroke='%23191919' stroke-width='2'%3E%3Cpath d='m4 7 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center;padding-right:42px}
.q.err input[type=text],.q.err input[type=email],.q.err input[type=tel],.q.err input[type=url],.q.err input[type=number],.q.err input[type=date],.q.err select,.q.err textarea,.q.err .opt{border-color:var(--red)}
.msg{color:var(--red);font-size:13px;font-weight:600;margin-top:8px}
.info{background:var(--soft);border-radius:12px;padding:13px 16px;color:#444;font-size:14px;margin:0 0 12px}
.attach{display:flex;gap:10px;align-items:center}
.attach:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--red);flex:none}
/* navigation */
.nav{display:flex;justify-content:space-between;gap:12px;margin-top:34px;padding-top:24px;border-top:1px solid var(--line)}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:12px;border:0;border-radius:11px;padding:15px 26px;font-size:14px;font-weight:700;line-height:1.3;transition:background .2s,transform .2s,box-shadow .2s;text-align:center}
.btn-primary{background:var(--red);color:#fff;box-shadow:0 4px 12px #e92e2822}
.btn-primary:hover:not(:disabled){background:var(--red-dark);transform:translateY(-2px);box-shadow:0 6px 14px #e92e2833}
.btn-ghost{background:#fff;border:1px solid #e3e3e3;color:#333}
.btn-ghost:hover:not(:disabled){color:var(--red);transform:translateY(-2px)}
.btn:disabled{opacity:.4;cursor:default}
.btn.big{padding:18px 32px;font-size:15px}
.link-btn{background:none;border:0;padding:0;color:var(--muted);font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.link-btn:hover{color:var(--red)}
.foot-note{margin-top:20px;text-align:center;font-size:12px;color:#8b8b8b}
/* récap */
.rc-step{margin-bottom:26px}
.rc-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
.rc-head h3{font-size:16px;font-weight:650}
.rc-list{margin:0;border-top:1px solid var(--line)}
.rc-row{display:grid;grid-template-columns:42% 1fr;gap:16px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}
.rc-row dt{color:var(--muted);font-weight:600}
.rc-row dd{margin:0;white-space:pre-wrap;word-break:break-word}
.box{background:var(--soft);border-radius:17px;padding:20px 22px;margin:8px 0 22px}
.box h3{font-size:14px;font-weight:700;margin-bottom:6px}
.box p{font-size:14px;color:#444}
.submit-row{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:10px}
/* confirmation */
.done{text-align:center;padding:26px 4px 6px}
.done .check{width:64px;height:64px;border-radius:50%;background:var(--red);display:grid;place-items:center;margin:0 auto 22px}
.done h2{font-size:28px;font-weight:550;letter-spacing:-1.1px;margin-bottom:14px}
.done p{color:#444;max-width:480px;margin:0 auto 14px}
.ref{display:inline-block;background:var(--soft);border-radius:12px;padding:10px 18px;font-weight:700;letter-spacing:.04em;margin:6px 0 20px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media(max-width:720px){
 .choice{grid-template-columns:1fr}
 .choice-card{min-height:0;padding:24px 22px}
 .card{padding:24px 18px 22px;border-radius:22px}
 .page-title{font-size:29px}
 .step-title{font-size:23px}
 .opts.cols{grid-template-columns:1fr}
 .rc-row{grid-template-columns:1fr;gap:2px}
 .nav .btn{padding:15px 18px}
 .q.lvl{padding-left:12px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.other{margin-top:12px}
.other label{display:block;font-weight:650;font-size:14px;margin-bottom:6px}
.other.err input{border-color:var(--red)}
.mode-line{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px;font-size:13px;font-weight:700}
.mode-line span{color:var(--red)}
.alert{background:#fff6f5;border:1px solid #f3d3d0;border-radius:12px;padding:13px 16px;color:#8a1510;font-size:14px;font-weight:600;margin-bottom:18px}
.done .btn{margin-top:8px}
.done .alt{margin-top:22px}
/* recapitulatif : envoi par e-mail et secours */
.small{font-size:13px;color:#555;line-height:1.55;margin:0}
.box .small{margin-top:8px}
.send-box{display:flex;flex-direction:column;gap:12px;margin-top:10px}
.send-box .btn{width:100%}
.mail-status:empty{display:none}
.status-msg{background:var(--soft);border-radius:12px;padding:14px 16px;font-size:14px;color:#333;margin:0}
.status-msg.warn{background:#fff6f5;border:1px solid #f3d3d0;color:#8a1510;font-weight:600}
.fallback-text{margin-top:10px;min-height:200px;font-size:13px;line-height:1.5;font-family:ui-monospace,Menlo,Consolas,monospace}
.send-more{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:6px}
/* affichage dans la fenetre modale du site */
html.embed .site-header{padding:20px 20px 0}
html.embed .header-logo{width:min(210px,56vw)}
html.embed main{padding:4px 20px 34px}
html.embed .skip-link{display:none}
html.embed .page-title{font-size:26px;margin:16px 0 8px;letter-spacing:-1px}
html.embed .page-sub{margin-bottom:22px}
html.embed .choice{grid-template-columns:1fr}
html.embed .choice-card{min-height:0;padding:22px 22px;gap:10px}
html.embed .card{box-shadow:none;border-color:var(--line);padding:26px 22px 22px}
html.embed .step-title{font-size:23px;margin-bottom:20px}
html.embed .opts.cols{grid-template-columns:1fr}
html.embed .rc-row{grid-template-columns:1fr;gap:2px}
@media(max-width:720px){html.embed .card{padding:22px 16px 20px}html.embed main{padding:4px 14px 30px}}
/* parcours d'envoi en deux actions */
.btn-primary:disabled{background:#cfcfcf;color:#fff;box-shadow:none;opacity:1;cursor:not-allowed}
.btn-primary:disabled:hover{transform:none}
.fallback-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.fallback-actions .btn{flex:1 1 220px;padding:14px 18px}
.final-steps{text-align:left;max-width:440px;margin:0 auto 18px;padding-left:22px;color:#333;line-height:1.7}
.final-steps li{margin:6px 0;padding-left:4px}
.final-att{font-weight:700;color:#333;margin:0 auto 14px}
.rescue{text-align:left;margin-top:22px}
.rescue h3{font-size:14px;margin-bottom:12px}
.rescue-actions{display:flex;flex-direction:column;gap:10px}
.rescue-actions .btn{width:100%;padding:13px 18px}
.rescue .mail-status{margin-top:12px}
/* choix de la messagerie */
.picker-backdrop{position:fixed;inset:0;z-index:50;background:rgba(15,15,15,.5);display:grid;place-items:center;padding:16px}
.picker{position:relative;width:100%;max-width:440px;background:#fff;border-radius:22px;box-shadow:0 20px 60px #00000040;padding:30px 24px 22px}
.picker h3{font-size:21px;font-weight:600;letter-spacing:-.6px;margin:0 36px 18px 0}
.picker-close{position:absolute;top:12px;right:12px;width:38px;height:38px;border:1px solid #ededed;border-radius:50%;background:#fff;font-size:24px;line-height:1;padding:0 0 3px;color:#191919}
.picker-close:hover{color:var(--red)}
.picker-list{display:grid;gap:10px;margin-bottom:16px}
.picker-btn{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;width:100%;padding:15px 18px;border:1px solid #e3e3e3;border-radius:12px;background:#fff;transition:border-color .2s,background .2s,transform .2s}
.picker-btn strong{font-size:16px;font-weight:700}
.picker-btn span{font-size:13px;color:#666;line-height:1.4}
.picker-btn:hover{border-color:var(--red);background:#fff6f5;transform:translateY(-1px)}
.final-lead{font-weight:700;color:#191919;max-width:460px;margin:0 auto 18px!important}
