/* One visible journey, then the working questionnaire. */
#page-accueil .home-hero{min-height:490px}
#page-accueil .home-hero-image{min-height:490px}
#page-accueil .home-hero h1{max-width:650px;font-size:clamp(40px,4.15vw,62px);line-height:1.04}
#page-accueil .home-hero-copy>p:not(.home-hero-footnote){max-width:430px;font-size:15px;line-height:1.55}
#page-accueil .home-hero .home-hero-footnote{margin-top:22px}
#page-accueil .home-journey{margin:38px 0 28px;scroll-margin-top:100px}
#page-accueil .home-section-heading{margin-bottom:16px}
#page-accueil .home-section-heading h2{font-size:clamp(26px,3vw,40px);margin-top:8px}
.home-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0}
.home-flow-step{position:relative;min-width:0;min-height:170px;padding:19px 21px 17px;border:1px solid #d5e0d5;border-radius:17px;background:#f8f8f2;color:var(--ink)}
.home-flow-step:nth-child(2){background:#e9eee4}
.home-flow-step:nth-child(3){background:var(--ink);color:white}
.home-flow-step:not(:last-child)::after{content:'→';position:absolute;z-index:2;inset-inline-end:-18px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:31px;height:31px;border:2px solid var(--paper);border-radius:50%;background:var(--atlas-lime);color:var(--ink);font-size:18px}
.home-flow-number{display:inline-block;color:#5f746c;font-size:11px;font-weight:800;letter-spacing:.1em}
.home-flow-step:nth-child(3) .home-flow-number{color:var(--atlas-lime)}
.home-flow-icon{position:absolute;inset-block-start:17px;inset-inline-end:20px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e0eaca;color:#254846;font-size:23px;line-height:1}
.home-flow-step:nth-child(3) .home-flow-icon{background:var(--atlas-lime)}
.home-flow h3{margin:38px 0 5px;font-size:clamp(19px,2vw,25px);letter-spacing:-.035em;line-height:1.15}
.home-flow p{margin:0;color:#59716b;font-size:12px;line-height:1.4}
.home-flow-step:nth-child(3) p{color:#d0dfd9}
.home-flow-step:nth-child(3) h3{color:#fff}
.home-flow-branch{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0 0;color:#5b7069;font-size:11px}
.home-flow-branch>span{font-weight:750;margin-inline-end:4px}
.home-flow-branch b{padding:6px 10px;border:1px solid #cadac7;border-radius:30px;background:#f2f5e9;color:#31574c;font-size:11px;font-weight:700}
#home-estimate.home-simulator{margin-top:0;grid-template-columns:minmax(200px,.55fr) minmax(0,1.45fr);gap:clamp(20px,3vw,44px);scroll-margin-top:78px}
#home-estimate .home-simulator-intro h2{font-size:clamp(30px,3vw,42px)}
#home-estimate .home-simulator-intro p{max-width:310px;line-height:1.5}
#home-est-form{max-width:none;min-height:0}
#home-est-form .home-est-step-index{display:none}
#page-accueil .home-news-teaser{margin-top:55px}
#page-parcours>.page-heading{margin-top:0;margin-bottom:22px}
#page-parcours>.page-heading h1{max-width:720px;font-size:clamp(34px,4vw,54px)}
#page-profil .profile-cover-compact{display:block;max-width:none;margin-bottom:24px;border-radius:18px;background:#e9eee4}
#page-profil .profile-cover-compact>div{padding:clamp(24px,3vw,38px)}
#page-profil .profile-cover-compact h1{max-width:700px;margin:10px 0;font-size:clamp(30px,3vw,44px);font-weight:800;letter-spacing:-.045em;line-height:1.12}
#page-profil .profile-cover-compact p{max-width:650px;margin:0;font-size:14px;line-height:1.55}
#page-profil .profile-cover-compact .profile-cover-links{margin-top:17px}
#page-budget>.page-heading-compact{margin:0 0 20px}
#page-budget>.page-heading-compact h1{max-width:800px;font-size:clamp(30px,3.4vw,48px);line-height:1.08}
.dossier-next-action{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px;padding:22px 26px;border-radius:16px;background:var(--ink);color:white}
.dossier-next-copy{min-width:0}
.dossier-next-copy>span{display:block;margin-bottom:7px;color:var(--atlas-lime);font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.dossier-next-copy strong{display:block;color:white;font-size:clamp(19px,2.4vw,28px);line-height:1.2;letter-spacing:-.025em}
.dossier-next-copy h2{margin:0;color:white;font-size:clamp(19px,2.4vw,28px);line-height:1.2;letter-spacing:-.025em}
.dossier-next-copy p{margin:6px 0 0;color:#d0dfd9;font-size:12px}
.dossier-next-link{display:inline-flex;align-items:center;justify-content:center;min-width:145px;min-height:42px;padding:9px 17px;border:0;border-radius:30px;background:var(--atlas-lime);color:var(--ink);font-size:12px;font-weight:800;text-decoration:none;cursor:pointer}
.dossier-next-link:hover{background:#d7f477}
html[dir="rtl"] .home-flow-step:not(:last-child)::after{content:'←'}
html[lang="ar"] .home-flow h3{letter-spacing:0;line-height:1.3}
@media(max-width:900px){
  #home-estimate.home-simulator{grid-template-columns:1fr}
  #home-estimate .home-simulator-intro p{max-width:650px}
}
@media(max-width:620px){
  #page-accueil .home-hero{min-height:0}
  #page-accueil .home-hero-copy{padding:27px 22px 24px}
  #page-accueil .home-hero h1{font-size:clamp(35px,9.4vw,47px);margin:17px 0 12px}
  #page-accueil .home-hero-image{min-height:175px;height:175px}
  #page-accueil .home-image-stamp{top:11px;width:84px;height:99px;padding:9px}
  #page-accueil .home-image-stamp strong{font-size:15px}
  #page-accueil .home-image-stamp span{font-size:8px}
  #page-accueil .home-route{width:75px;height:125px;bottom:9px;inset-inline-start:-24px}
  #page-accueil .home-journey{margin:30px 0 23px}
  .home-flow{grid-template-columns:1fr;gap:8px}
  .home-flow-step{min-height:0;display:grid;grid-template-columns:30px 1fr;column-gap:12px;align-items:center;padding:13px 16px}
  .home-flow-number{grid-column:1;grid-row:1/3}
  .home-flow-icon{display:none}
  .home-flow h3{grid-column:2;margin:0 0 2px;font-size:18px}
  .home-flow p{grid-column:2}
  .home-flow-step:not(:last-child)::after{inset-inline-end:15px;top:auto;bottom:-15px;transform:rotate(90deg);width:25px;height:25px;font-size:16px}
  html[dir="rtl"] .home-flow-step:not(:last-child)::after{transform:rotate(-90deg)}
  .home-flow-branch{margin-top:15px;gap:6px}
  .home-flow-branch>span{width:100%}
  #home-estimate.home-simulator{padding:23px 16px}
  #home-estimate .home-simulator-intro{margin-bottom:0}
  #home-estimate .home-simulator-intro h2{margin:7px 0;font-size:29px}
  #home-estimate .home-simulator-intro p{font-size:12px}
  #page-accueil .home-news-teaser{margin-top:40px}
  .dossier-next-action{align-items:stretch;flex-direction:column;padding:20px}
  .dossier-next-link{width:100%}
}
@media(prefers-reduced-motion:reduce){.home-flow-step{scroll-behavior:auto}}
