
/* V168 — refonte bloc prestations : grille cohérente, aide au choix, sliders images */
body[data-page="space"] .services-panel{
  padding-bottom: 20px;
}
body[data-page="space"] .services-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}
body[data-page="space"] .services-grid .service-card{
  position:relative;
  min-height:272px;
  border-radius:22px;
  overflow:hidden;
  isolation:isolate;
  background:#232c1b;
  color:#fff;
  display:block;
  cursor:pointer;
  box-shadow:0 14px 26px rgba(10,20,7,.18);
  transition:transform .28s ease, box-shadow .28s ease;
}
body[data-page="space"] .services-grid .service-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 34px rgba(10,20,7,.25);
}
body[data-page="space"] .services-grid .service-card:focus-visible{
  outline:3px solid #e5c48c;
  outline-offset:4px;
}
.n8-card-slider,
.n8-card-slide{
  position:absolute;
  inset:0;
}
.n8-card-slide{
  opacity:0;
  transition:opacity .8s ease, transform 5s ease;
}
.n8-card-slide.is-active{
  opacity:1;
}
.n8-card-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1.02);
}
.n8-card-slide.is-active img{
  transform:scale(1.06);
}
body[data-page="space"] .services-grid .service-card::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(12,20,9,.12) 0%, rgba(10,19,8,.22) 36%, rgba(11,19,8,.92) 100%);
  z-index:1;
}
body[data-page="space"] .services-grid .service-symbol{
  z-index:3;
  top:18px;
  left:18px;
  width:46px;
  height:46px;
  font-size:22px;
}
body[data-page="space"] .services-grid .service-description{
  z-index:3;
  display:flex;
  flex-direction:column;
  gap:9px;
  padding:20px 20px 18px;
}
body[data-page="space"] .services-grid .service-description h3{
  margin:0 36px 0 0;
  font-size:clamp(21px,2.2vw,29px);
  line-height:1.02;
  color:#fff;
}
body[data-page="space"] .services-grid .service-description p{
  max-width:88%;
  margin:0;
  font-size:12px;
  line-height:1.42;
  color:#efeee8;
}
body[data-page="space"] .n8-service-preview{
  display:inline-flex;
  align-items:center;
  gap:7px;
  border-radius:999px;
  width:max-content;
  padding:7px 11px;
  margin:0;
  background:#f7f3eb;
  color:#35402c;
  box-shadow:0 3px 10px rgba(0,0,0,.12);
  line-height:1;
  white-space:nowrap;
}
body[data-page="space"] .n8-service-preview small{
  font:800 9px 'DM Sans',sans-serif;
  letter-spacing:.09em;
}
body[data-page="space"] .n8-service-preview strong{
  font:800 15px 'DM Sans',sans-serif;
}
body[data-page="space"] .service-arrow{
  right:16px;
  bottom:18px;
}
.n8-slider-dots{
  position:absolute;
  top:20px;
  right:18px;
  z-index:3;
  display:flex;
  gap:6px;
}
.n8-slider-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:rgba(255,255,255,.35);
  border:1px solid rgba(255,255,255,.3);
}
.n8-slider-dot.is-active{
  background:#fff;
}

.n8-prestation-helper{
  margin-top:18px;
  border-radius:24px;
  background:#060707;
  color:#fff;
  padding:26px 24px 24px;
  box-shadow:0 16px 32px rgba(8,8,8,.16);
}
.n8-prestation-helper-head small{
  display:block;
  margin-bottom:10px;
  font:800 10px 'DM Sans',sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#a1aba2;
}
.n8-prestation-helper-head h3{
  margin:0 0 10px;
  font:700 clamp(28px,3vw,41px)/1.06 'DM Sans',sans-serif;
  color:#fff;
}
.n8-prestation-helper-head p{
  margin:0 0 18px;
  font-size:14px;
  line-height:1.6;
  color:#d6d7d4;
}
.n8-prestation-options{
  display:grid;
  gap:8px;
  margin:0 0 18px;
}
.n8-prestation-option{
  display:flex;
  align-items:center;
  gap:12px;
  padding:9px 0;
  cursor:pointer;
  user-select:none;
  border-radius:14px;
  transition:background .2s ease, transform .2s ease;
}
.n8-prestation-option:hover{
  background:rgba(255,255,255,.035);
}
.n8-prestation-option input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.n8-prestation-radio{
  flex:0 0 auto;
  width:18px;
  height:18px;
  border-radius:50%;
  border:1.5px solid rgba(255,255,255,.4);
  display:grid;
  place-items:center;
  margin-left:1px;
}
.n8-prestation-radio::after{
  content:'';
  width:8px;
  height:8px;
  border-radius:50%;
  background:#fff;
  transform:scale(0);
  transition:transform .18s ease;
}
.n8-prestation-option input:checked + .n8-prestation-radio::after{
  transform:scale(1);
}
.n8-prestation-option span:last-child{
  font-size:14px;
  line-height:1.5;
  color:#f2f2ee;
}
.n8-prestation-option input:checked ~ span:last-child{
  font-weight:700;
}
.n8-prestation-helper-action{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.n8-prestation-result{
  font-size:12px;
  color:#bfc3bb;
}
.n8-prestation-go{
  width:100%;
  justify-content:center;
  border:0;
  cursor:pointer;
  border-radius:999px;
  padding:15px 22px;
  background:#f2f0ea;
  color:#21251b;
  font:700 16px/1.1 'DM Sans',sans-serif;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.n8-prestation-go:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 20px rgba(255,255,255,.08);
}
.n8-prestation-go span{
  margin-left:8px;
}
.n8-service-card.is-highlighted{
  animation:n8ServicePulse 1.2s ease;
}
@keyframes n8ServicePulse{
  0%{box-shadow:0 0 0 0 rgba(229,196,140,.0),0 16px 28px rgba(0,0,0,.19)}
  25%{box-shadow:0 0 0 8px rgba(229,196,140,.22),0 18px 30px rgba(0,0,0,.2)}
  100%{box-shadow:0 14px 26px rgba(10,20,7,.18)}
}

@media (max-width: 940px){
  body[data-page="space"] .services-grid{
    grid-template-columns:1fr;
  }
  body[data-page="space"] .services-grid .service-card{
    min-height:250px;
  }
}
@media (max-width: 700px){
  .n8-prestation-helper{
    padding:22px 18px 18px;
    border-radius:22px;
  }
  .n8-prestation-helper-head h3{
    font-size:clamp(24px,7vw,34px);
  }
  .n8-prestation-helper-head p,
  .n8-prestation-option span:last-child{
    font-size:13px;
  }
  body[data-page="space"] .services-grid .service-card{
    min-height:220px;
    border-radius:18px;
  }
  body[data-page="space"] .services-grid .service-description{
    padding:16px 15px 14px;
  }
  body[data-page="space"] .services-grid .service-description h3{
    font-size:clamp(18px,6vw,24px);
  }
  body[data-page="space"] .services-grid .service-description p{
    max-width:92%;
    font-size:11px;
  }
}


/* V169 -- mise en page demandee : strict 2 x 2, questionnaire beige en dessous */
body[data-page="space"] .services-panel .services-grid {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  grid-auto-flow: row !important;
  grid-auto-rows: 295px !important;
  gap: 16px !important;
  align-items: stretch !important;
}
body[data-page="space"] .services-panel .services-grid > .service-card,
body[data-page="space"] .services-panel .services-grid > .service-card:nth-child(4),
body[data-page="space"] .services-panel .services-grid > .service-card:nth-child(5) {
  grid-column: auto !important;
  grid-row: auto !important;
  height: 295px !important;
  min-height: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  border-radius: 18px !important;
}
body[data-page="space"] .services-panel .services-grid .service-description {
  padding: 19px 20px 20px !important;
}
body[data-page="space"] .services-panel .services-grid .service-description h3 {
  font-size: clamp(19px,2vw,25px) !important;
}
body[data-page="space"] .services-panel .services-grid .service-description p {
  max-width: 89% !important;
  font-size: 11.5px !important;
}
body[data-page="space"] .services-panel .n8-prestation-helper {
  background: #edeae1 !important;
  color: #26321e !important;
  margin-top: 16px !important;
  border: 1px solid rgba(62,77,45,.14) !important;
  border-radius: 18px !important;
  padding: 28px 30px !important;
  box-shadow: none !important;
}
body[data-page="space"] .n8-prestation-helper-head small {color:#647053 !important;}
body[data-page="space"] .n8-prestation-helper-head h3 {color:#2f3d27 !important; font-family:'Bagel Fat One',sans-serif !important; font-weight:400 !important;}
body[data-page="space"] .n8-prestation-helper-head p {color:#48513f !important;}
body[data-page="space"] .n8-prestation-option span:last-child {color:#293328 !important;}
body[data-page="space"] .n8-prestation-option:hover {background:rgba(54,70,40,.055) !important;}
body[data-page="space"] .n8-prestation-radio {border-color:#79816c !important;}
body[data-page="space"] .n8-prestation-radio::after {background:#42512f !important;}
body[data-page="space"] .n8-prestation-option input:focus-visible + .n8-prestation-radio {outline:2px solid #42512f; outline-offset:3px;}
body[data-page="space"] .n8-prestation-go {background:#3e4d30 !important; color:#fff !important;}
body[data-page="space"] .n8-prestation-go:hover {background:#27351d !important;}
@media (max-width: 760px) {
  body[data-page="space"] .services-panel .services-grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: 230px !important;
  }
  body[data-page="space"] .services-panel .services-grid > .service-card,
  body[data-page="space"] .services-panel .services-grid > .service-card:nth-child(4),
  body[data-page="space"] .services-panel .services-grid > .service-card:nth-child(5) {
    height:230px !important;
  }
  body[data-page="space"] .services-panel .n8-prestation-helper {padding:22px 18px !important;}
}
