/* The front door explains the actual service flow before the working pages. */
body.home-active .workspace-strip { display: none; }
#page-accueil { padding-bottom: 28px; }
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  min-height: 570px;
  overflow: hidden;
  border-radius: 24px 24px 92px 24px;
  background: #e9eee4;
  isolation: isolate;
}
.home-hero-copy {
  align-self: center;
  min-width: 0;
  padding: clamp(34px, 4.7vw, 72px);
}
.home-hero-copy .eyebrow, .home-section-heading .eyebrow, .home-outcome .eyebrow {
  color: #536d63;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}
.home-hero h1 {
  max-width: 760px;
  margin: 25px 0 23px;
  color: var(--ink);
  font-size: clamp(48px, 5.1vw, 73px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.065em;
}
.home-hero h1 em { color: #436249; font-style: normal; }
.home-hero-copy > p:not(.home-hero-footnote) {
  max-width: 520px;
  color: #4e6666;
  font-size: 16px;
  line-height: 1.72;
}
.home-hero-actions, .home-outcome-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 30px; }
.home-hero-actions .button { min-height: 50px; padding-inline: 23px; }
.home-inline-link, .home-outcome-actions > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  border-bottom: 1px solid #9eb2a6;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.home-inline-link:hover, .home-outcome-actions > a:hover { border-color: var(--ink); }
button.home-inline-link { padding: 0; border: 0; border-bottom: 1px solid #9eb2a6; border-radius: 0; background: transparent; cursor: pointer; }
button.home-inline-link:hover { border-color: var(--ink); }
.home-hero .home-hero-footnote { margin-top: 36px; color: #63786d; font-size: 11px; line-height: 1.5; }
.home-hero-image { position: relative; min-height: 570px; background: #cdd8ce; }
.home-hero-image > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 57% center; }
.home-hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 46%, #132d3445); pointer-events: none; }
.home-image-stamp {
  position: absolute;
  z-index: 2;
  inset-block-start: 42px;
  inset-inline-end: 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 143px;
  height: 165px;
  padding: 17px;
  background: var(--atlas-coral);
  color: var(--ink);
  transform: rotate(6deg);
  clip-path: polygon(0 0,100% 0,100% 84%,84% 100%,0 100%);
}
.home-image-stamp span:first-child { font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.home-image-stamp strong { font-size: 24px; line-height: 1.04; letter-spacing: -.045em; }
.home-image-stamp span:last-child { align-self: flex-end; font-size: 24px; line-height: 1; }
.home-route { position: absolute; z-index: 2; inset-inline-start: -43px; bottom: 35px; width: 128px; height: 210px; overflow: visible; fill: none; stroke: var(--atlas-lime); stroke-width: 3; filter: drop-shadow(0 2px 2px #142f3644); }
.home-route circle { fill: var(--atlas-coral); stroke: var(--paper); stroke-width: 3; }

.home-simulator { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(25px, 4vw, 65px); align-items: center; margin-top: 22px; padding: clamp(27px, 3.4vw, 45px); border-radius: 22px 22px 58px 22px; background: var(--ink); color: var(--white); overflow: hidden; }
.home-simulator .eyebrow { color: var(--atlas-lime); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.home-simulator h2 { max-width: 500px; margin: 13px 0 14px; color: var(--white); font-size: clamp(30px, 3.25vw, 46px); line-height: 1.09; letter-spacing: -.052em; }
.home-simulator-intro p { max-width: 480px; margin: 0; color: #c8dad5; font-size: 14px; line-height: 1.65; }
.home-simulator-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 46px; margin-top: 24px; padding: 0 0 3px; border-bottom: 1px solid var(--atlas-lime); color: var(--atlas-lime); font-size: 13px; font-weight: 800; }
.home-simulator-link span { font-size: 20px; font-weight: 400; }
.home-simulator-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; border: 1px solid #ffffff4d; border-radius: 16px 16px 42px 16px; background: #ffffff0b; }
.home-simulator-preview > div { min-width: 0; padding: 18px; border-radius: 10px; background: #ffffff12; }
.home-simulator-preview span { display: block; color: #d6e2df; font-size: 11px; font-weight: 700; line-height: 1.35; }
.home-simulator-preview output { display: block; margin-top: 11px; color: var(--white); font-size: clamp(22px, 2.1vw, 30px); font-weight: 800; line-height: 1.1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.home-simulator-preview .home-simulator-total { grid-column: 1 / -1; background: var(--atlas-lime); }
.home-simulator-total span, .home-simulator-total output { color: var(--ink); }
.home-simulator-preview output[dir="ltr"] { text-align: start; }
html[dir="rtl"] .home-simulator-preview output[dir="ltr"] { text-align: end; }
.home-simulator-preview > p { grid-column: 1 / -1; margin: 1px 7px 5px; color: #c8dad5; font-size: 11px; line-height: 1.45; }
.home-simulator + .home-route-summary { margin-top: 20px; }

.home-route-summary { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 22px 0 78px; border-radius: 14px; overflow: hidden; background: var(--ink); color: #d3e0d7; }
.home-route-summary span { position: relative; display: flex; align-items: center; gap: 13px; min-width: 0; padding: 19px 16px; font-size: 10px; font-weight: 750; letter-spacing: .08em; }
.home-route-summary span + span::before { content: ''; position: absolute; inset-inline-start: 0; top: 18px; bottom: 18px; width: 1px; background: #ffffff32; }
.home-route-summary b { color: var(--white); font-size: 12px; font-weight: 650; letter-spacing: 0; }
.home-route-summary span:nth-child(2) { background: #355151; }
.home-route-summary span:nth-child(2) b { color: var(--atlas-lime); }

.home-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 28px; }
.home-section-heading > div { min-width: 0; }
.home-section-heading h2, .home-outcome h2 { max-width: 740px; margin: 13px 0 0; color: var(--ink); font-size: clamp(34px, 3.7vw, 53px); line-height: 1.07; letter-spacing: -.055em; }
.home-section-heading p { max-width: 300px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.home-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.home-step { display: grid; grid-template-columns: 86px minmax(0, 1fr) 230px; align-items: center; gap: 24px; min-width: 0; padding: 30px 25px; border-bottom: 1px solid var(--line); }
.home-step-number { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #b4c5b8; border-radius: 50%; color: #355955; font-size: 15px; font-weight: 750; font-variant-numeric: tabular-nums; }
.home-step-copy { min-width: 0; }
.home-step-kicker { color: #647977; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.home-step h3 { margin: 8px 0; color: var(--ink); font-size: clamp(21px, 2vw, 27px); line-height: 1.2; letter-spacing: -.035em; }
.home-step p { max-width: 630px; color: #5a7070; font-size: 13px; line-height: 1.65; }
.home-step-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; justify-self: end; width: 100%; max-width: 225px; min-height: 44px; padding: 10px 2px; border: 0; border-bottom: 1px solid #9eb4aa; background: none; color: var(--ink); text-align: start; font-size: 12px; font-weight: 750; line-height: 1.4; cursor: pointer; }
.home-step-link:hover { border-color: var(--ink); }
.home-step-link span { font-size: 19px; font-weight: 400; line-height: 1; }
.home-step-featured { position: relative; margin: 14px 0; border: 0; border-radius: 18px 18px 52px 18px; background: var(--ink); color: var(--white); }
.home-step-featured .home-step-number { border-color: var(--atlas-lime); background: var(--atlas-lime); color: var(--ink); }
.home-step-featured .home-step-kicker, .home-step-featured .home-step-link { color: var(--atlas-lime); }
.home-step-featured h3 { color: var(--white); }
.home-step-featured p { color: #cbdbd6; }
.home-step-featured .home-step-link { border-color: #82995e; }
.home-step-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.home-step-tags span { padding: 6px 10px; border: 1px solid #68816a; border-radius: 40px; color: #e5efd7; font-size: 10px; }
.home-step-office-link {display:inline-flex;align-items:center;gap:8px;margin-top:15px;color:#d4e876;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:4px;}
.home-step-office-link:hover {color:#f4ffb4;}

.home-outcome { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr); gap: clamp(28px, 6vw, 90px); align-items: center; margin-top: 78px; padding: clamp(30px, 5vw, 70px); border-radius: 24px 24px 74px 24px; background: #eaf0df; }
.home-outcome h2 { max-width: 620px; }
.home-outcome p { max-width: 600px; margin-top: 20px; color: #526967; font-size: 14px; line-height: 1.7; }
.home-outcome .home-outcome-note { margin-top: 16px; color: #36584a; font-size: 12px; font-weight: 650; }
.home-outcome-actions { margin-top: 25px; }
.home-outcome-map { display: grid; gap: 0; padding-inline-start: 34px; border-inline-start: 2px solid #9aaf8c; }
.home-outcome-map > div { position: relative; display: grid; gap: 5px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.home-outcome-map > div + div { margin-top: 17px; }
.home-outcome-map > div::before { content: ''; position: absolute; width: 12px; height: 12px; inset-inline-start: -41px; top: 50%; transform: translateY(-50%); border-radius: 50%; background: var(--atlas-coral); box-shadow: 0 0 0 5px #eaf0df; }
.home-outcome-map > div:nth-child(2)::before { background: var(--atlas-lime); }
.home-outcome-map span { color: #667a72; font-size: 10px; font-weight: 750; letter-spacing: .1em; }
.home-outcome-map strong { font-size: 19px; line-height: 1.2; letter-spacing: -.03em; }
.home-outcome-map small { color: var(--muted); font-size: 11px; }

@media (max-width: 1180px) {
  .home-hero { min-height: 510px; }
  .home-hero-image { min-height: 510px; }
  .home-step { grid-template-columns: 65px minmax(0,1fr) 185px; gap: 18px; padding-inline: 19px; }
  .home-route-summary span { gap: 8px; padding-inline: 12px; }
}
@media (min-width: 801px) and (max-width: 1120px) {
  .header-tools .motion-toggle-label { display: none; }
  .header-tools #motion-toggle { padding-inline: 9px; }
}
@media (max-width: 900px) {
  .home-simulator { grid-template-columns: 1fr; gap: 24px; }
  .home-hero { grid-template-columns: 1fr 43%; min-height: 480px; }
  .home-hero-copy { padding: 34px; }
  .home-hero h1 { font-size: clamp(39px, 5.5vw, 53px); }
  .home-hero-image { min-height: 480px; }
  .home-section-heading { align-items: start; flex-direction: column; gap: 14px; }
  .home-section-heading p { max-width: 650px; }
  .home-outcome { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .home-route-summary { grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 58px; }
  .home-route-summary span:nth-child(4)::before { display: none; }
  .home-route-summary span:nth-child(n+4) { border-top: 1px solid #ffffff32; }
  .home-step { grid-template-columns: 60px minmax(0,1fr); }
  .home-step-link { grid-column: 2; justify-self: start; margin-top: 3px; }
}
@media (max-width: 620px) {
  #page-accueil { padding-bottom: 10px; }
  .home-hero { display: flex; flex-direction: column; min-height: 0; border-radius: 17px 17px 44px 17px; }
  .home-hero-copy { padding: 33px 23px 26px; }
  .home-hero h1 { margin: 19px 0 18px; font-size: clamp(39px, 10.4vw, 53px); line-height: 1.04; }
  .home-hero-copy > p:not(.home-hero-footnote) { font-size: 14px; }
  .home-hero-actions { margin-top: 24px; gap: 11px 18px; }
  .home-hero-actions .button { width: 100%; }
  .home-simulator { margin-top: 16px; padding: 25px 20px 28px; border-radius: 17px 17px 42px 17px; }
  .home-simulator h2 { font-size: 32px; }
  .home-simulator-preview { padding: 8px; gap: 8px; }
  .home-simulator-preview > div { padding: 14px 12px; }
  .home-simulator-preview output { font-size: clamp(18px, 5vw, 25px); }
  .home-simulator-preview .home-simulator-total output { font-size: clamp(25px, 7vw, 34px); }
  .home-hero .home-hero-footnote { margin-top: 22px; }
  .home-hero-image { min-height: 250px; height: 250px; }
  .home-hero-image > img { object-position: 56% center; }
  .home-image-stamp { top: 13px; inset-inline-end: 14px; width: 96px; height: 112px; padding: 10px; }
  .home-image-stamp strong { font-size: 16px; }
  .home-image-stamp span:first-child { font-size: 8px; }
  .home-image-stamp span:last-child { font-size: 17px; }
  .home-route { width: 85px; height: 140px; bottom: 12px; inset-inline-start: -20px; }
  .home-route-summary { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 16px 0 48px; border-radius: 12px; }
  .home-route-summary span { padding: 13px 11px; font-size: 10px; }
  .home-route-summary span:nth-child(3)::before, .home-route-summary span:nth-child(5)::before { display: none; }
  .home-route-summary span:nth-child(n+3) { border-top: 1px solid #ffffff32; }
  .home-route-summary span:nth-child(5) { grid-column: 1 / -1; }
  .home-section-heading h2, .home-outcome h2 { font-size: clamp(32px, 8.4vw, 42px); }
  .home-step { grid-template-columns: 44px minmax(0,1fr); gap: 8px 14px; padding: 23px 3px; }
  .home-step-number { width: 40px; height: 40px; font-size: 12px; }
  .home-step h3 { font-size: 22px; }
  .home-step p { font-size: 12px; }
  .home-step-link { max-width: none; width: fit-content; min-width: 190px; }
  .home-step-featured { margin-block: 10px; padding-inline: 16px; border-radius: 16px 16px 38px 16px; }
  .home-outcome { margin-top: 49px; padding: 29px 22px 36px; border-radius: 17px 17px 44px 17px; }
  .home-outcome-map { padding-inline-start: 24px; }
  .home-outcome-map > div::before { inset-inline-start: -31px; }
}
html[lang="ar"] .home-hero h1, html[lang="ar"] .home-section-heading h2,
html[lang="ar"] .home-outcome h2, html[lang="ar"] .home-step h3,
html[lang="ar"] .home-image-stamp strong, html[lang="ar"] .home-simulator h2 { letter-spacing: 0; line-height: 1.35; }
html[lang="ar"] .home-simulator-preview output { letter-spacing: 0; }
html[lang="ar"] .home-hero .eyebrow, html[lang="ar"] .home-step-kicker,
html[lang="ar"] .home-route-summary, html[lang="ar"] .home-outcome-map span { letter-spacing: 0; }
html[dir="rtl"] .home-route { transform: scaleX(-1); }
html[dir="rtl"] .home-image-stamp { transform: rotate(-6deg); }
@media (prefers-reduced-motion: no-preference) {
  .home-step-link span, .home-inline-link span { transition: transform .2s ease; }
  .home-step-link:hover span, .home-inline-link:hover span { transform: translate(3px,-2px); }
  html[dir="rtl"] .home-step-link:hover span, html[dir="rtl"] .home-inline-link:hover span { transform: translate(-3px,-2px); }
}
@media print { body.home-active .workspace-strip { display: none; } .home-hero-image::after { display: none; } }
