/* =========================================================
   En-têtes professionnels — Vendre / Pourquoi / Contact
   Fonds : assets/imagesfond/fond1.jpg ... fond15.jpg
   ========================================================= */
.page-header-pro{
  position:relative;
  isolation:isolate;
  min-height:520px;
  padding:76px 0 66px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:#06111f;
}
.page-header-pro::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(3,10,19,.94) 0%,rgba(3,10,19,.78) 48%,rgba(3,10,19,.42) 100%),
    linear-gradient(180deg,rgba(3,10,19,.24),rgba(3,10,19,.68));
}
.page-header-pro::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  opacity:.24;
  background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);
  background-size:56px 56px;
  -webkit-mask-image:linear-gradient(90deg,#000,transparent 78%);
  mask-image:linear-gradient(90deg,#000,transparent 78%);
}
.page-header-pro.page-header-vendre::before{background:linear-gradient(90deg,rgba(3,10,19,.95),rgba(5,30,56,.76) 55%,rgba(8,65,111,.34)),linear-gradient(180deg,rgba(3,10,19,.12),rgba(3,10,19,.7))}
.page-header-pro.page-header-pourquoi::before{background:linear-gradient(90deg,rgba(3,10,19,.95),rgba(14,24,42,.74) 56%,rgba(98,68,20,.27)),linear-gradient(180deg,rgba(3,10,19,.14),rgba(3,10,19,.7))}
.page-header-pro.page-header-contact::before{background:linear-gradient(90deg,rgba(3,10,19,.95),rgba(5,33,54,.75) 56%,rgba(4,91,91,.28)),linear-gradient(180deg,rgba(3,10,19,.14),rgba(3,10,19,.7))}

.page-bg-slider{position:absolute;inset:0;z-index:0;overflow:hidden;background:#06111f}
.page-bg-slide{position:absolute;inset:-2%;opacity:0;background-position:center;background-size:cover;transform:scale(1.035);transition:opacity 1.1s ease-in-out;will-change:opacity,transform}
.page-bg-slide.active{opacity:1;animation:pageBgMotion 7s ease-out forwards}
.page-bg-slider.ready{background:transparent}
@keyframes pageBgMotion{from{transform:scale(1.035) translate3d(0,0,0)}to{transform:scale(1.105) translate3d(-1.2%,-.8%,0)}}

.page-header-pro>.container{
  position:relative;
  z-index:3;
  width:calc(100% - 36px);
  padding:35px 38px 30px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:22px;
  background:linear-gradient(110deg,rgba(4,12,23,.62),rgba(4,12,23,.22));
  box-shadow:0 30px 80px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.07);
  -webkit-backdrop-filter:blur(7px);
  backdrop-filter:blur(7px);
}
.page-header-pro .breadcrumb{margin-bottom:18px;color:#b9c4d1}
.page-header-pro .breadcrumb a{color:#e5ebf2}
.page-header-pro h1{max-width:820px;font-size:clamp(34px,5vw,62px);letter-spacing:-1.2px;text-shadow:0 4px 24px rgba(0,0,0,.38)}
.page-header-pro h1 span{position:relative;color:var(--red)}
.page-header-pro h1 span::after{content:"";position:absolute;left:0;right:0;bottom:2px;height:7px;border-radius:4px;background:rgba(255,255,255,.14);z-index:-1}
.page-header-pro p{max-width:700px;font-size:17px;line-height:1.75;color:#d2dae5;text-shadow:0 2px 12px rgba(0,0,0,.32)}
.page-header-pro .hero-btns{gap:11px}
.page-header-pro .btn{border-radius:10px;box-shadow:0 12px 28px rgba(0,0,0,.22)}
.page-header-points{display:flex;flex-wrap:wrap;gap:10px 24px;margin-top:26px;padding-top:22px;border-top:1px solid rgba(255,255,255,.14)}
.page-header-points span{display:inline-flex;align-items:center;gap:8px;color:#eef3f8;font-size:13px;font-weight:750}
.page-header-points i{font-style:normal}
.page-header-points b{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);color:#fff;font-size:12px}

/* Visuel professionnel de la page « Pourquoi nous » : jamais vide,
   même si l'image locale n'est pas encore disponible. */
.why-visual-pro{position:relative;min-height:580px;border-radius:24px;overflow:hidden;background:linear-gradient(145deg,#06111f,#123b60);box-shadow:0 28px 65px rgba(7,20,38,.22);isolation:isolate}
.why-visual-bg{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(4,12,23,.04),rgba(4,12,23,.88)),url("../assets/imagesfond/fond6.jpg") center/cover no-repeat;transition:transform .8s ease}
.why-visual-pro:hover .why-visual-bg{transform:scale(1.035)}
.why-visual-pro::before{content:"";position:absolute;inset:0;z-index:0;background:radial-gradient(circle at 80% 10%,rgba(10,102,194,.34),transparent 40%),linear-gradient(90deg,rgba(4,12,23,.34),transparent);pointer-events:none}
.why-visual-brand{position:absolute;z-index:1;left:30px;top:30px;display:grid;color:#fff;text-shadow:0 3px 18px rgba(0,0,0,.45)}
.why-visual-brand span,.why-visual-brand strong{font-size:34px;font-weight:900;line-height:.92;letter-spacing:1px}.why-visual-brand strong{color:var(--red)}
.why-visual-brand small{margin-top:10px;color:#d7e0ea;font-size:11px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase}
.why-visual-stats{position:absolute;z-index:1;left:24px;right:24px;bottom:112px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.why-visual-stats>div{padding:17px;border:1px solid rgba(255,255,255,.16);border-radius:14px;background:rgba(5,15,27,.56);backdrop-filter:blur(8px);color:#fff}
.why-visual-stats b{display:block;font-size:25px;font-weight:900;color:#fff}.why-visual-stats span{display:block;margin-top:2px;color:#cbd5e1;font-size:11px;font-weight:750;text-transform:uppercase}
.why-visual-trust{position:absolute;z-index:1;left:24px;right:24px;bottom:24px;display:flex;align-items:center;gap:13px;padding:15px 17px;border-radius:14px;background:#fff;box-shadow:0 16px 35px rgba(0,0,0,.24)}
.why-visual-trust>span{width:40px;height:40px;display:grid;place-items:center;flex:0 0 40px;border-radius:11px;background:var(--red);color:#fff;font-weight:900}
.why-visual-trust strong,.why-visual-trust small{display:block}.why-visual-trust strong{color:var(--navy);font-size:14px}.why-visual-trust small{margin-top:2px;color:var(--muted);font-size:11px;line-height:1.4}

@media(max-width:720px){
  .page-header-pro{min-height:500px;padding:42px 0}
  .page-header-pro::before{background:linear-gradient(180deg,rgba(3,10,19,.7),rgba(3,10,19,.9))!important}
  .page-header-pro>.container{width:calc(100% - 24px);padding:27px 21px 24px;border-radius:17px}
  .page-header-pro h1{font-size:clamp(30px,10vw,43px);letter-spacing:-.6px}
  .page-header-pro p{font-size:15px;line-height:1.65}
  .page-header-pro .hero-btns{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .page-header-pro .hero-btns .btn{min-width:0;padding:13px 10px;font-size:13px}
  .page-header-points{gap:9px 14px;margin-top:22px;padding-top:18px}
  .page-header-points span{font-size:11.5px}
  .why-visual-pro{min-height:500px;border-radius:18px}
  .why-visual-brand{left:22px;top:24px}.why-visual-brand span,.why-visual-brand strong{font-size:28px}
  .why-visual-stats{left:16px;right:16px;bottom:106px}.why-visual-trust{left:16px;right:16px;bottom:16px}
}
@media(max-width:430px){
  .page-header-pro .hero-btns{grid-template-columns:1fr}
  .page-header-points{display:grid;grid-template-columns:1fr}
}
/* Galerie photo de la page Pourquoi nous */
.why-gallery-pro{display:flex;flex-direction:column;gap:12px;min-height:600px;padding:12px;border:1px solid #dfe6ee;border-radius:24px;background:#fff;box-shadow:0 28px 65px rgba(7,20,38,.16)}
.why-photo-card{position:relative;overflow:hidden;border-radius:16px;background-color:#0c2136;background-position:center;background-size:cover;isolation:isolate;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.why-photo-card::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(3,10,19,.04) 35%,rgba(3,10,19,.84) 100%)}
.why-photo-card::after{content:"🚗";position:absolute;z-index:-2;inset:0;display:grid;place-items:center;color:#fff;font-size:58px;background:linear-gradient(145deg,#0a2035,#155184)}
.why-photo-card span{position:absolute;left:17px;right:17px;bottom:15px;color:#fff;font-size:13px;font-weight:850;text-shadow:0 2px 10px rgba(0,0,0,.6)}
.why-photo-main{min-height:285px;background-image:url("../assets/imagesfond/fond6.jpg")}
.why-photo-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.why-photo-row .why-photo-card{min-height:155px}
.why-photo-expertise{background-image:url("../assets/imagesfond/fond7.jpg")}
.why-photo-service{background-image:url("../assets/imagesfond/fond8.jpg")}
.why-gallery-bottom{display:grid;grid-template-columns:.7fr .8fr 1.7fr;gap:10px;margin-top:auto}
.why-gallery-stat,.why-gallery-trust{min-height:82px;border-radius:14px;background:#f3f6fa}
.why-gallery-stat{display:flex;flex-direction:column;justify-content:center;padding:12px}
.why-gallery-stat b{color:var(--red);font-size:23px;font-weight:900;line-height:1}
.why-gallery-stat span{margin-top:5px;color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase;line-height:1.25}
.why-gallery-trust{display:flex;align-items:center;gap:10px;padding:12px;background:var(--navy);color:#fff}
.why-gallery-trust>b{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:9px;background:var(--red)}
.why-gallery-trust strong,.why-gallery-trust small{display:block}.why-gallery-trust strong{font-size:12px}.why-gallery-trust small{margin-top:3px;color:#b9c5d4;font-size:9.5px;line-height:1.35}
body.arabic .why-photo-card span{left:17px;right:17px;text-align:right}

@media(max-width:720px){.why-gallery-pro{min-height:550px;border-radius:18px}.why-photo-main{min-height:245px}.why-photo-row .why-photo-card{min-height:135px}.why-gallery-bottom{grid-template-columns:1fr 1fr}.why-gallery-trust{grid-column:1/-1}}
@media(max-width:430px){.why-photo-row{grid-template-columns:1fr}.why-photo-row .why-photo-card{min-height:150px}.why-gallery-bottom{grid-template-columns:1fr 1fr}}
/* Nouveau cadre photo — image locale garantie, présentation claire */
.why-showroom-pro{padding:12px;border:1px solid #dfe6ee;border-radius:24px;background:#fff;box-shadow:0 26px 65px rgba(7,20,38,.16)}
.why-showroom-photo{position:relative;height:420px;margin:0;overflow:hidden;border-radius:17px;background:#e8eef5}
.why-showroom-photo img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;transition:transform .6s ease}
.why-showroom-pro:hover .why-showroom-photo img{transform:scale(1.025)}
.why-showroom-photo::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(3,10,19,.72));pointer-events:none}
.why-showroom-photo figcaption{position:absolute;z-index:2;left:18px;right:18px;bottom:17px;display:flex;align-items:center;gap:10px;color:#fff;font-size:13px;text-shadow:0 2px 10px rgba(0,0,0,.5)}
.why-showroom-photo figcaption span{width:32px;height:32px;display:grid;place-items:center;flex:0 0 32px;border-radius:50%;background:var(--red);font-weight:900}
.why-showroom-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.why-showroom-metrics>div{padding:16px;border-radius:13px;background:#f2f6fa}
.why-showroom-metrics b{display:block;color:var(--red);font-size:25px;font-weight:900;line-height:1}
.why-showroom-metrics span{display:block;margin-top:5px;color:var(--muted);font-size:10px;font-weight:850;text-transform:uppercase}
.why-showroom-trust{display:flex;align-items:center;gap:12px;margin-top:10px;padding:14px 16px;border-radius:13px;background:var(--navy);color:#fff}
.why-showroom-trust>span{width:38px;height:38px;display:grid;place-items:center;flex:0 0 38px;border-radius:10px;background:var(--red);font-weight:900}
.why-showroom-trust strong,.why-showroom-trust small{display:block}.why-showroom-trust strong{font-size:13px}.why-showroom-trust small{margin-top:3px;color:#bdc8d6;font-size:10px}
body.arabic .why-showroom-photo figcaption{text-align:right}
@media(max-width:720px){.why-showroom-pro{border-radius:18px}.why-showroom-photo{height:360px}}

@media(prefers-reduced-motion:reduce){.page-bg-slide{transition:none}.page-bg-slide.active{animation:none}}
