/* Aipasio — présentation du parcours de découverte */
.first-journey-page{background:linear-gradient(165deg,#f2f9fd 0%,#f8fbfc 45%,#f0f9f5 100%);padding-block:clamp(2.2rem,5vw,4.8rem)}
.first-journey-page>.container{max-width:1120px}
.first-journey-heading{max-width:760px;margin:0 0 2rem}
.first-journey-heading .section-kicker{display:inline-flex;align-items:center;gap:.4rem;padding:.45rem .75rem;border:1px solid #b9e3d1;border-radius:999px;background:#e6f7ed;color:#075e48;font-size:.78rem;font-weight:800;letter-spacing:.08em}
.first-journey-heading h1{max-width:18ch;margin:.9rem 0 .75rem;font-size:clamp(2rem,4.3vw,3.6rem);line-height:1.1;letter-spacing:-.035em;color:#102f50}
.first-journey-heading>p{max-width:62ch;margin:0;color:#365a70;font-size:clamp(1rem,1.4vw,1.15rem);line-height:1.65}
#first-flow{max-width:100%}
#first-flow[hidden],#first-flow [hidden]{display:none!important}
.flow-progress{display:inline-flex;align-items:center;min-height:2rem;margin:0 0 .9rem;padding:.35rem .75rem;border-radius:999px;background:#dff4e9;color:#075a45;font-size:.95rem;font-weight:800}
.flow-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.65rem;margin:0 0 1.4rem;padding:0;list-style:none}
.flow-nav li{min-width:0}
.flow-nav button{width:100%;height:100%;min-height:76px;display:flex;align-items:center;gap:.6rem;text-align:left;padding:.8rem;border:1px solid #cbdfea;border-radius:.85rem;background:#fff;color:#153b59;font-size:.93rem;font-weight:700;line-height:1.3;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
.flow-nav button span{display:grid;place-items:center;flex:none;width:2rem;height:2rem;border-radius:50%;background:#e8f3f8;color:#164a6a;font-weight:800}
.flow-nav button:hover{border-color:#19866b;background:#f5fcf8}
.flow-nav button[aria-current=step]{background:#09577e;color:#fff;border-color:#09577e;box-shadow:0 6px 16px rgba(9,69,99,.16)}
.flow-nav button[aria-current=step] span{background:#fff;color:#09577e}
.flow-card{position:relative;max-width:none;margin:0;padding:clamp(1.25rem,3.3vw,2.5rem);border:1px solid #d2e3eb;border-radius:1.25rem;background:#fff;box-shadow:0 14px 38px rgba(21,60,82,.07)}
.flow-card h2{margin:0 0 1rem;color:#102f50;font-size:clamp(1.5rem,2.5vw,2.1rem);line-height:1.2}
.flow-card p,.flow-card legend,.flow-card label{color:#284b63;font-size:1.05rem;line-height:1.65}
.flow-card fieldset{border:0;padding:0;margin:0}.flow-card legend{margin-bottom:.75rem;font-weight:600}
.flow-choice{display:flex;align-items:flex-start;gap:.8rem;min-height:62px;padding:1rem 1.15rem;margin:.65rem 0;border:1px solid #cadde7;border-radius:.8rem;background:#fbfdfe;cursor:pointer;transition:border-color .15s,background .15s}
.flow-choice:hover{border-color:#318f77;background:#f4fbf7}.flow-choice:has(input:checked){border-color:#168568;background:#edf9f2;box-shadow:inset 4px 0 #168568}
.flow-choice input{flex:none;width:1.15rem;height:1.15rem;margin:.28rem 0 0;accent-color:#087c5e}
.flow-card label[for]{display:block;margin-top:1.15rem;font-weight:700;color:#173d58}
.flow-card textarea{box-sizing:border-box;display:block;width:100%;max-width:100%;margin:.55rem 0 1.1rem;padding:1rem;border:1px solid #91aabd;border-radius:.75rem;background:#fbfdff;color:#173449;font:inherit;line-height:1.6;resize:vertical}
.flow-card textarea::placeholder{color:#667c8d;opacity:1}
.flow-card .first-journey-note{max-width:none;margin:1rem 0;padding:1rem 1.15rem;border-left:4px solid #17856a;border-radius:.4rem .7rem .7rem .4rem;background:#edf8f2;color:#184c40}
.flow-links,.flow-actions{display:flex;flex-wrap:wrap;gap:.8rem}.flow-links{margin-top:1.2rem}.flow-actions{max-width:none;margin-top:1.25rem;justify-content:space-between}
.flow-actions button,.flow-links a,#flow-copy{min-height:52px}.flow-actions #flow-reset{margin-left:auto}
#flow-status{margin:.6rem 0 0;min-height:1.5rem;font-weight:700;color:#075e48}
.flow-nav button:focus-visible,.flow-card input:focus-visible,.flow-card textarea:focus-visible,.flow-card a:focus-visible,.flow-actions button:focus-visible,#flow-copy:focus-visible{outline:3px solid #bc6900;outline-offset:3px}
@media(max-width:850px){.flow-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.flow-nav button{min-height:64px}}
@media(max-width:550px){.first-journey-page{padding-block:2rem}.flow-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.flow-nav button{font-size:.88rem;padding:.7rem}.flow-card{padding:1.2rem}.flow-actions{display:grid;grid-template-columns:1fr 1fr}.flow-actions button{width:100%}.flow-actions #flow-next:only-child,.flow-actions #flow-reset{grid-column:1/-1}.flow-actions #flow-reset{margin-left:0}}
@media(prefers-reduced-motion:reduce){.flow-nav button,.flow-choice{transition:none}}

/* Parcours — présentation premium, lisible et sans images externes */
.first-journey-page{position:relative;overflow:hidden;background:radial-gradient(ellipse at 92% 0%,#dcefe9 0%,transparent 33%),radial-gradient(ellipse at 0% 30%,#e2f2fb 0%,transparent 34%),#f6f9fb;padding-block:clamp(2rem,4vw,4rem) 5rem}
.first-journey-page>.container{position:relative;max-width:1180px}
.first-journey-heading{position:relative;isolation:isolate;overflow:hidden;max-width:none;min-height:255px;margin:0 0 1.7rem;padding:clamp(1.7rem,4vw,3.4rem);border:1px solid #c9e2ed;border-radius:1.6rem;background:linear-gradient(115deg,#fff 8%,#f2faf9 65%,#e6f5f2 100%);box-shadow:0 12px 36px rgba(19,64,83,.07)}
.first-journey-heading::before,.first-journey-heading::after{content:"";position:absolute;z-index:-1;pointer-events:none;border-radius:50%}
.first-journey-heading::before{width:250px;height:250px;right:6%;top:-90px;background:linear-gradient(145deg,rgba(42,163,127,.18),rgba(51,155,211,.12))}
.first-journey-heading::after{width:160px;height:160px;right:14%;bottom:-90px;border:28px solid rgba(44,153,171,.09)}
.first-journey-heading .section-kicker{border-color:#a8dfc9;background:#e4f6ed;color:#086a4f}
.first-journey-heading h1{max-width:18ch;margin:1rem 0 .85rem;font-size:clamp(2.05rem,4.4vw,3.4rem);color:#0b2d50}
.first-journey-heading>p{max-width:57ch;color:#365970;font-size:clamp(1.02rem,1.35vw,1.17rem)}
#first-flow{max-width:none}
.flow-progress{gap:.5rem;margin:0 0 .9rem;padding:.48rem .9rem;border:1px solid #b7e3cb;background:#e8f7ed;color:#086446}
.flow-progress::before{content:"";width:.55rem;height:.55rem;border-radius:50%;background:#0a8c60}
.flow-nav{gap:.7rem;margin:0 0 1.4rem}
.flow-nav button{position:relative;min-height:80px;border-color:#d2e3eb;border-radius:1rem;background:rgba(255,255,255,.94);box-shadow:0 5px 18px rgba(14,48,70,.04);color:#153a58;font-size:.95rem}
.flow-nav button span{width:2.2rem;height:2.2rem;background:#edf5f9;color:#1d5d77}
.flow-nav button[aria-current=step]{background:linear-gradient(135deg,#07537a,#087d83);border-color:#075a7b;box-shadow:0 9px 20px rgba(8,96,116,.23)}
.flow-nav button[aria-current=step] span{background:#fff;color:#086682}
.flow-card{overflow:hidden;max-width:none;min-height:210px;margin:0;padding:clamp(1.45rem,3.4vw,2.75rem);border:1px solid #d5e6ed;border-radius:1.45rem;background:#fff;box-shadow:0 18px 45px rgba(21,68,88,.08)}
.flow-card h2{margin:0 0 1rem;color:#0c3051;font-size:clamp(1.55rem,2.4vw,2.1rem)}
.flow-card h2::before{content:"";display:block;width:44px;height:5px;margin:0 0 1rem;border-radius:99px;background:linear-gradient(90deg,#25a879,#40a7d0)}
.flow-card>p,.flow-card legend,.flow-card label{max-width:75ch;font-size:1.08rem;line-height:1.72;color:#284e65}
.flow-card fieldset{max-width:850px}
.flow-choice{max-width:850px;min-height:68px;margin:.7rem 0;padding:1.1rem 1.2rem;border-color:#d4e3eb;border-radius:.9rem;background:#fbfdfe;box-shadow:0 3px 12px rgba(15,62,80,.025)}
.flow-choice:has(input:checked){border-color:#189473;background:#eaf8f0;box-shadow:inset 5px 0 #15956d,0 5px 16px rgba(14,125,87,.08)}
.flow-card textarea{border-color:#9eb9c8;background:#f9fcfd;box-shadow:inset 0 1px 3px rgba(13,56,75,.04)}
.flow-card .first-journey-note{background:#edf8f2;border-left-color:#16a274}
.flow-actions{margin-top:1.4rem;gap:.8rem;justify-content:space-between}
.flow-actions button,#flow-copy,.flow-links a{min-height:56px;border-radius:.85rem}
#flow-next,#flow-copy{background:#087f61;border-color:#087f61;color:#fff;box-shadow:0 10px 20px rgba(8,127,97,.18)}
#flow-next:hover,#flow-copy:hover{background:#066a52;border-color:#066a52}
.flow-links a{background:#f3f9fc;border:1px solid #cce1eb;color:#124760}
html[data-contrast="high"] .first-journey-heading,html[data-contrast="high"] .flow-card,html[data-contrast="high"] .flow-choice,html[data-contrast="high"] .flow-nav button{border:2px solid #1d536c}
html[data-contrast="high"] .flow-nav button[aria-current=step]{background:#003b56;color:#fff}
@media(max-width:850px){.first-journey-heading{min-height:0}.flow-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.flow-nav button{min-height:70px}}
@media(max-width:550px){.first-journey-heading{padding:1.5rem;border-radius:1.15rem}.first-journey-heading::before{width:135px;height:135px;right:-55px;top:-48px}.first-journey-heading::after{display:none}.flow-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.flow-nav button{min-height:62px;padding:.65rem;font-size:.9rem}.flow-card{min-height:0;padding:1.25rem;border-radius:1rem}.flow-actions{display:flex;flex-wrap:wrap}.flow-actions button{flex:1 1 140px;width:auto}.flow-actions #flow-reset{margin-left:0}}
@media(prefers-reduced-motion:reduce){.flow-nav button,.flow-choice{transition:none}}

/* En-tête plus compact et fond bleu-vert doux. */
.first-journey-page{background:linear-gradient(145deg,#e7f4fb 0%,#f4faf9 48%,#e9f7ef 100%);padding-top:clamp(1.5rem,3vw,2.5rem)}
.first-journey-heading{min-height:0;margin-bottom:1.25rem;padding:clamp(1.25rem,2.4vw,2rem) clamp(1.4rem,3vw,2.5rem);background:linear-gradient(115deg,#e3f4fb 0%,#edf9f5 62%,#d9f1e7 100%);border-color:#b9dfe4}
.first-journey-heading h1{max-width:28ch;margin:.55rem 0 .45rem;font-size:clamp(1.85rem,3vw,2.8rem);line-height:1.16;letter-spacing:-.025em}
.first-journey-heading>p{max-width:65ch;margin:0;font-size:clamp(1rem,1.2vw,1.1rem);line-height:1.55;color:#284e62}
.first-journey-heading::before{width:190px;height:190px;top:-95px;right:7%;background:linear-gradient(145deg,rgba(19,155,121,.17),rgba(37,141,201,.12))}
.first-journey-heading::after{width:115px;height:115px;bottom:-80px;right:18%;border-width:20px}
@media(max-width:550px){.first-journey-page{padding-top:1.25rem}.first-journey-heading{padding:1.15rem 1.2rem;margin-bottom:1rem}.first-journey-heading h1{font-size:clamp(1.75rem,7vw,2.1rem);max-width:none}.first-journey-heading::before{width:120px;height:120px;top:-60px;right:-35px}.first-journey-heading::after{display:none}}
