/* Full-width photographic opening, matching the supplied reference. */
.home-revised main>#accueil::before{content:none}
.home-revised .hero{
 position:relative;display:flex;align-items:center;isolation:isolate;
 width:100%;max-width:none;min-height:650px;height:47.795vw;max-height:1000px;
 padding:65px 5.35%;margin:0;gap:0;
 background:#fff url('assets/hero-left-facing-car-fixed-20261101.png') center center / cover no-repeat;
}
.home-revised .hero-copy{width:43%;max-width:780px;position:relative;z-index:1}
.home-revised .hero h1{font-size:clamp(42px,4vw,76px);font-weight:700;line-height:1.055;letter-spacing:-.045em}
.home-revised .hero h1 strong{color:#00c77c;font-weight:700}
.home-revised .hero-description{font-size:clamp(16px,1.1vw,21px);line-height:1.55;max-width:680px;margin:38px 0 44px;color:#5b7880}
.home-revised .hero-actions{gap:24px;flex-wrap:nowrap;align-items:center}
.home-revised .hero-actions>.button{font-size:clamp(14px,1.05vw,19px);min-height:58px;padding:17px 24px;border-radius:11px;white-space:nowrap}
.home-revised .hero-actions>.text-link{font-size:clamp(12px,.9vw,16px);max-width:none;white-space:nowrap;line-height:1.4;text-align:left}
.home-revised .hero-visual{display:none}
/* Only the phone region uses the supplied replacement reference.
   The approved photograph remains the background everywhere else. */
.home-revised .phone-retouch{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.home-revised .cleanup-mobile{display:none}
@media(min-width:1800px){.home-revised .hero-description{margin-top:42px;margin-bottom:48px}.home-revised .hero-actions>.button{min-height:64px}}
@media(max-width:1100px) and (min-width:801px){.home-revised .hero{min-height:560px}.home-revised .hero h1{font-size:43px}.home-revised .hero-copy{width:46%}.home-revised .hero-actions{flex-wrap:wrap;gap:12px 20px}.home-revised .hero-description{margin:26px 0 30px}}
@media(max-width:800px){
 .home-revised .cleanup-desktop{display:none}
 .home-revised .cleanup-mobile{display:block;inset:auto 0 0;width:100%;height:min(85vw,580px);z-index:2}
 .home-revised .hero{display:block;height:auto;max-height:none;min-height:0;padding:50px 24px 0;background:none;overflow:hidden}
 .home-revised .hero-copy{width:100%;max-width:600px;margin:auto}
 .home-revised .hero h1{font-size:clamp(35px,6.5vw,52px);line-height:1.08}
 .home-revised .hero-description{font-size:16px;margin:25px 0 28px;max-width:540px}
 .home-revised .hero-actions{flex-direction:row;flex-wrap:wrap;gap:16px 22px;justify-content:flex-start;align-items:center}
 .home-revised .hero-actions>.button{font-size:14px;min-height:52px;padding:15px 20px}
 .home-revised .hero-actions>.text-link{font-size:13px;white-space:normal;text-align:left;max-width:280px}
 .home-revised .hero::after{content:"";display:block;position:relative;width:calc(100% + 48px);margin:22px -24px 0;height:85vw;max-height:580px;background:url('assets/hero-left-facing-car-fixed-20261101.png') right center / auto 100% no-repeat;mask-image:linear-gradient(transparent,#000 10%)}
}


/* Fit the opening and reassurance row into a normal desktop viewport.
   Contain preserves the complete photograph and the phone's proportions. */
@media(min-width:801px){
 .home-revised .hero{height:auto;min-height:clamp(520px,calc(100svh - 220px),760px);max-height:none;padding-block:28px;background-size:contain;background-position:right center}
 .home-revised .hero h1{font-size:clamp(40px,3.6vw,68px);line-height:1.055}
 .home-revised .hero-description{font-size:clamp(16px,1.1vw,19px);line-height:1.5;margin:26px 0 30px}
 .home-revised .hero-actions{gap:18px 22px;flex-wrap:wrap}
 .home-revised .hero-actions>.button{min-height:52px;font-size:clamp(14px,1vw,17px);padding:15px 22px}
 .home-revised .hero-actions>.text-link{font-size:clamp(13px,.9vw,16px);white-space:normal;max-width:300px}
 .home-revised .principles{padding-block:20px;gap:22px}
 .home-revised .principles p{font-size:14px;line-height:1.5}
 .home-revised .principles strong{font-size:15px;line-height:1.5}
}

/* Complete editorial brief: live text and controls, original photographs. */
.home-revised .hero h1{color:#022d33;text-wrap:balance}
.home-revised .hero h1 strong{color:#14c077}
.home-revised .hero-description{text-wrap:pretty}
.home-revised .hero-actions>.button{height:54px;min-height:54px;gap:10px;font-size:15px;padding:15px 22px;text-align:center;white-space:nowrap;transition:background-color 200ms ease,border-color 200ms ease}
.home-revised .hero-actions>.hero-primary{background:#022d33;border-color:#022d33;color:#fff}
.home-revised .hero-actions>.hero-primary:hover{background:#12464b;transform:none}
.home-revised .hero-actions>.hero-secondary{background:#fffffff2;border-color:#022d33;color:#022d33}
.home-revised .hero-actions>.hero-secondary:hover{background:#ddf7eb;transform:none}
.home-revised .hero-actions .hero-cta-arrow{font-size:19px;line-height:1}
.home-revised .principles strong{color:#022d33}
.home-revised .principles p{color:#66787a}
.home-revised .principles p>span{display:block;margin-top:4px}
@media(min-width:801px){
 .home-revised .hero-copy{width:46%;max-width:780px}
 .home-revised .hero-actions{justify-content:flex-start;gap:14px}
 .home-revised .hero-description{margin:22px 0 26px;max-width:60ch}
 .home-revised main>#accueil::before{content:"";position:absolute;inset:0;z-index:0;box-shadow:none;clip-path:none;pointer-events:none;background:linear-gradient(90deg,#fff 0%,#ffffffed 18%,#ffffff99 33%,#ffffff00 52%)}
 .home-revised .site-header .header-public-links{min-width:132px;gap:0}
 .home-revised .site-header .header-public-links .public-link{width:32px;height:40px}
 .home-revised .site-header .header-public-links svg{width:20px;height:20px}
}
@media(max-width:800px){
 .home-revised .hero-actions{justify-content:flex-start;gap:12px;align-items:stretch}
 .home-revised .hero-actions>.button{flex:0 1 auto;font-size:14px;padding-inline:18px}
 .home-revised .principles p{font-size:14px;line-height:1.5}
}
@media(max-width:480px){.home-revised .hero-actions>.button{flex:1 1 100%}}
/* Bring the copy into the same centered frame as the navigation on wide screens. */
@media(min-width:1600px){
 .home-revised .hero-copy{margin-left:max(0px,calc((100vw - 1440px)/2 - 5.35vw))}
}
@media(max-width:360px){
 .home-revised #experience .demo-stage{--device-width:calc(100vw - 76px)}
 .home-revised .hero-actions>.button{min-width:0;width:100%;height:64px;min-height:64px;white-space:normal;padding:12px 14px}
 .home-revised .site-header:has(.header-public-links) .brand{width:64px}
 .home-revised .site-header .nav-actions{gap:3px!important}
 .home-revised .site-header .nav-actions>.local-account{padding:8px 5px}
}

/* One continuous photograph avoids the old rectangular retouch seam. */
.home-revised .hero .phone-retouch{display:none}
