/* ============================================================
   DK Propreté — Internal pages (services, à propos,
   réalisations, contact, devis). Shares tokens from styles.css.
   ============================================================ */

/* Active nav highlight */
.nav__link[aria-current="page"] { color: var(--green-light); }
.header.scrolled .nav__link[aria-current="page"] { color: var(--green); }
.dropdown__link.is-active { background: var(--gray-50); }
.dropdown__link.is-active .dropdown__ico { background: var(--green-light); }
.choices.need-flag .choice { border-color: #C0392B; }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg image-slot { width: 100%; height: 100%; }
.page-hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(15,15,28,.84) 0%, rgba(15,15,28,.6) 48%, rgba(15,15,28,.22) 100%); }
.page-hero__inner { position: relative; z-index: 2; width: 100%; padding-top: var(--header-h); }
.page-hero__col { max-width: 760px; }
.page-hero .eyebrow { color: var(--green-light); margin-bottom: 18px; }
.page-hero h1 { color: #fff; margin-bottom: 20px; }
.page-hero__lead { color: rgba(255,255,255,.9); font-size: clamp(1.05rem, 1.5vw, 1.2rem); max-width: 600px; margin-bottom: 30px; }
.page-hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* Light hero (Contact) */
.page-hero--light { min-height: 0; background: var(--gray-50); color: var(--ink); border-bottom: 1px solid var(--gray-100); align-items: center; padding-block: clamp(48px,6vw,80px); }
.page-hero--light .page-hero__inner { padding-top: calc(var(--header-h) + 8px); }
.page-hero--light h1 { color: var(--night); }
.page-hero--light .eyebrow { color: var(--green); }
.page-hero--light .page-hero__lead { color: var(--ink-soft); }

/* Breadcrumb */
.crumb { font-family: var(--label); font-weight: 600; font-size: 12.5px; letter-spacing: .04em; color: rgba(255,255,255,.7); margin-bottom: 22px; display: flex; gap: 8px; align-items: center; }
.crumb a:hover { color: #fff; }
.crumb .sep { opacity: .5; }
.page-hero--light .crumb { color: var(--ink-soft); }
.page-hero--light .crumb a:hover { color: var(--green); }

/* ---------- Services list — alternating rows ---------- */
.svc-row { scroll-margin-top: 90px; }
.svc-row + .svc-row { margin-top: clamp(64px, 8vw, 110px); }
.svc-row .split__media image-slot { aspect-ratio: 5/4; }
.svc-row__num { font-family: var(--serif); font-size: 1rem; color: var(--green); font-weight: 600; letter-spacing: .04em; }
.svc-row h2 { margin: 12px 0 18px; }
.svc-row__text { color: var(--ink-soft); margin-bottom: 24px; }
.svc-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }

/* Included list */
.incl { display: grid; gap: 13px; }
.incl li { display: flex; gap: 12px; align-items: flex-start; list-style: none; font-size: 15px; color: var(--ink); line-height: 1.45; }
.incl .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(45,106,79,.1); color: var(--green); display: grid; place-items: center; margin-top: 1px; }
.incl .tick svg { width: 13px; height: 13px; }

/* Card wrapper for "ce qui est inclus" on grey */
.incl-card { background: #fff; border: 1px solid var(--gray-100); border-radius: 14px; padding: clamp(26px, 3vw, 40px); box-shadow: 0 20px 44px -34px rgba(0,0,0,.3); }
.incl-card h3 { margin-bottom: 22px; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step-card { position: relative; padding-top: 18px; }
.step-card__n { font-family: var(--serif); font-size: 3rem; font-weight: 600; color: var(--green-light); line-height: 1; opacity: .55; }
.step-card h3 { font-size: 1.25rem; margin: 14px 0 10px; }
.step-card p { color: var(--ink-soft); font-size: 15px; }
.step-card::before { content: ""; position: absolute; top: 30px; left: -13px; width: 6px; height: 6px; }

/* ---------- Pillars (3 cols) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar { background: #fff; border: 1px solid var(--gray-100); border-radius: 14px; padding: 36px 32px; box-shadow: 0 18px 40px -34px rgba(0,0,0,.3); }
.pillar__ico { width: 56px; height: 56px; border-radius: 12px; background: var(--green); color: #fff; display: grid; place-items: center; margin-bottom: 22px; }
.pillar__ico svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 1.3rem; margin-bottom: 12px; }
.pillar p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Philosophy quote band ---------- */
.philo { background: var(--green); color: #fff; text-align: center; position: relative; overflow: hidden; }
.philo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 20%, rgba(82,183,136,.4), transparent 50%); }
.philo__inner { position: relative; z-index: 1; max-width: 880px; margin-inline: auto; }
.philo__mark { font-family: var(--serif); font-size: 5rem; line-height: .4; color: rgba(255,255,255,.35); height: 40px; display: block; }
.philo blockquote { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.35; font-style: italic; margin: 20px 0 24px; text-wrap: balance; }
.philo cite { font-family: var(--label); font-weight: 600; font-style: normal; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); }

/* ---------- Zone d'intervention ---------- */
.zone__list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.zone__chip { font-family: var(--label); font-weight: 600; font-size: 14px; padding: 10px 20px; border-radius: 100px; background: var(--gray-50); border: 1px solid var(--gray-200); color: var(--ink); transition: all .25s var(--ease); }
.zone__chip:hover { background: var(--green); border-color: var(--green); color: #fff; }
.zone__chip.is-base { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- Gallery (Réalisations) ---------- */
.gal-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.gal-filter { font-family: var(--label); font-weight: 600; font-size: 14px; padding: 10px 22px; border-radius: 100px; border: 1px solid var(--gray-200); color: var(--ink-soft); background: #fff; transition: all .25s var(--ease); }
.gal-filter:hover { border-color: var(--green); color: var(--green); }
.gal-filter.active { background: var(--green); border-color: var(--green); color: #fff; }
.gal-grid { columns: 3; column-gap: 20px; }
.gal-item { break-inside: avoid; margin-bottom: 20px; position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; display: block; background: var(--gray-100); }
.gal-item image-slot { width: 100%; display: block; }
.gal-item__cap { position: absolute; inset: auto 0 0 0; padding: 30px 18px 14px; background: linear-gradient(transparent, rgba(15,15,28,.82)); color: #fff; font-family: var(--label); font-weight: 600; font-size: 13.5px; opacity: 0; transform: translateY(6px); transition: all .3s var(--ease); }
.gal-item:hover .gal-item__cap { opacity: 1; transform: none; }
.gal-item__tag { display: block; font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--green-light); margin-bottom: 3px; }
.gal-item.hide { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10,10,18,.92); display: none; align-items: center; justify-content: center; padding: 5vh 5vw; }
.lightbox.open { display: flex; }
.lightbox__img { max-width: 100%; max-height: 90vh; border-radius: 8px; background: #222; }
.lightbox__close { position: absolute; top: 24px; right: 28px; font-size: 34px; color: #fff; width: 48px; height: 48px; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; font-size: 24px; transition: background .25s; }
.lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__nav.prev { left: 22px; }
.lightbox__nav.next { right: 22px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field > label { font-family: var(--label); font-weight: 600; font-size: 13.5px; color: var(--ink); }
.field .req { color: var(--green); }
.field input, .field textarea, .field select {
  font-family: var(--body); font-size: 15px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  background: #fff; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,106,79,.12); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,.1); }
.field__err { font-size: 12.5px; color: #C0392B; display: none; }
.field.invalid .field__err { display: block; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: 13px; color: var(--ink-soft); margin-top: 6px; display: flex; gap: 8px; align-items: center; }
.form__note .ico { color: var(--green); flex: none; width: 16px; }
.form__ok { display: none; background: rgba(45,106,79,.08); border: 1px solid rgba(45,106,79,.25); color: var(--green-dark); border-radius: 10px; padding: 22px 24px; font-size: 15px; line-height: 1.5; }
.form__ok.show { display: block; }
.form__ok b { font-family: var(--serif); font-size: 1.3rem; display: block; margin-bottom: 6px; color: var(--green-dark); }

/* ---------- Contact layout ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-info h2 { font-size: 1.6rem; margin-bottom: 26px; }
.contact-info__list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 32px; }
.contact-info__list li { display: flex; gap: 16px; align-items: flex-start; list-style: none; }
.contact-info__ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(45,106,79,.09); color: var(--green); display: grid; place-items: center; }
.contact-info__ico svg { width: 22px; height: 22px; }
.contact-info__k { font-family: var(--label); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 3px; }
.contact-info__v { font-size: 15.5px; color: var(--ink); line-height: 1.5; }
.contact-info__v a:hover { color: var(--green); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.contact-social { display: flex; gap: 12px; }
.contact-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gray-200); color: var(--ink); display: grid; place-items: center; transition: all .25s var(--ease); }
.contact-social a:hover { background: var(--green); border-color: var(--green); color: #fff; }
.contact-social svg { width: 18px; height: 18px; }
.form-card { background: #fff; border: 1px solid var(--gray-100); border-radius: 16px; padding: clamp(28px, 3.5vw, 44px); box-shadow: 0 26px 60px -40px rgba(0,0,0,.4); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.form-card__sub { color: var(--ink-soft); font-size: 15px; margin-bottom: 28px; }

/* Map */
.map { position: relative; height: clamp(320px, 38vw, 460px); background: var(--gray-100); filter: grayscale(1) contrast(.95); }
.map image-slot { width: 100%; height: 100%; }
.map__pin { position: absolute; top: 46%; left: 50%; transform: translate(-50%,-100%); z-index: 2; filter: none; }
.map__pin .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--green); border: 4px solid #fff; box-shadow: 0 6px 18px -4px rgba(0,0,0,.5); margin: 0 auto; }
.map__pin .lbl { margin-top: 8px; background: #fff; border-radius: 8px; padding: 8px 14px; font-family: var(--label); font-weight: 600; font-size: 13px; color: var(--night); box-shadow: 0 10px 26px -10px rgba(0,0,0,.4); white-space: nowrap; }

/* ============================================================
   Devis — mini header + multi-step
   ============================================================ */
.header--mini { position: sticky; background: #fff; box-shadow: 0 1px 0 var(--gray-200); height: 72px; }
.header--mini .logo { color: var(--night); }
.header--mini__phone { font-family: var(--label); font-weight: 600; font-size: 15px; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.header--mini__phone .ico { color: var(--green); width: 18px; }
.header--mini__phone a:hover { color: var(--green); }

.devis-wrap { background: var(--gray-50); min-height: 100vh; padding-block: clamp(40px, 5vw, 72px); }
.devis-head { text-align: center; max-width: 680px; margin: 0 auto clamp(36px,4vw,52px); }
.devis-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.devis-head p { color: var(--ink-soft); font-size: 1.08rem; }
.devis-layout { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: clamp(28px, 4vw, 52px); align-items: start; max-width: 1080px; margin-inline: auto; }

.devis-card { background: #fff; border: 1px solid var(--gray-100); border-radius: 18px; padding: clamp(26px, 3.2vw, 44px); box-shadow: 0 30px 70px -46px rgba(0,0,0,.4); }

/* Steps progress bar */
.steps-bar { display: flex; align-items: center; margin-bottom: 34px; }
.steps-bar__item { display: flex; align-items: center; gap: 10px; flex: 1; }
.steps-bar__item:not(:last-child)::after { content: ""; flex: 1; height: 2px; background: var(--gray-200); margin: 0 10px; transition: background .3s; }
.steps-bar__item.done::after { background: var(--green); }
.steps-bar__dot { width: 34px; height: 34px; border-radius: 50%; background: var(--gray-100); color: var(--ink-soft); display: grid; place-items: center; font-family: var(--label); font-weight: 700; font-size: 14px; flex: none; transition: all .3s; }
.steps-bar__item.active .steps-bar__dot { background: var(--green); color: #fff; }
.steps-bar__item.done .steps-bar__dot { background: var(--green); color: #fff; }
.steps-bar__lbl { font-family: var(--label); font-weight: 600; font-size: 13px; color: var(--ink-soft); }
.steps-bar__item.active .steps-bar__lbl { color: var(--ink); }
@media (max-width: 560px) { .steps-bar__lbl { display: none; } }

.step { display: none; animation: stepIn .4s var(--ease); }
.step.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.step h2 { font-size: 1.4rem; margin-bottom: 6px; }
.step__hint { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 24px; }
.step__group { margin-bottom: 28px; }
.step__group > .lbl { font-family: var(--label); font-weight: 600; font-size: 14px; color: var(--ink); display: block; margin-bottom: 14px; }

/* Choice chips/cards */
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choices--2 { grid-template-columns: repeat(2, 1fr); }
.choice { border: 1.5px solid var(--gray-200); border-radius: 12px; padding: 18px 16px; cursor: pointer; transition: all .2s var(--ease); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; background: #fff; text-align: left; }
.choice:hover { border-color: var(--green-light); background: var(--gray-50); }
.choice.selected { border-color: var(--green); background: rgba(45,106,79,.06); box-shadow: 0 0 0 3px rgba(45,106,79,.1); }
.choice__ico { width: 40px; height: 40px; border-radius: 9px; background: rgba(45,106,79,.1); color: var(--green); display: grid; place-items: center; }
.choice__ico svg { width: 21px; height: 21px; }
.choice.selected .choice__ico { background: var(--green); color: #fff; }
.choice__t { font-family: var(--label); font-weight: 600; font-size: 14px; color: var(--ink); line-height: 1.3; }
@media (max-width: 560px) { .choices { grid-template-columns: 1fr 1fr; } }

/* Slider */
.slider-row { display: flex; align-items: center; gap: 18px; }
.slider-row input[type=range] { flex: 1; accent-color: var(--green); height: 6px; }
.slider-val { font-family: var(--serif); font-size: 1.4rem; color: var(--green-dark); font-weight: 600; min-width: 116px; text-align: right; }

/* Step nav */
.step-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 12px; }
.step-nav .btn--ghost { color: var(--ink-soft); border-color: var(--gray-200); }
.step-nav .btn--ghost:hover { color: var(--ink); border-color: var(--ink-soft); background: var(--gray-50); }
.btn[disabled] { opacity: .4; pointer-events: none; }

/* Devis aside */
.devis-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.aside-card { background: #fff; border: 1px solid var(--gray-100); border-radius: 16px; padding: 28px; box-shadow: 0 20px 50px -40px rgba(0,0,0,.4); }
.aside-card h3 { font-size: 1.15rem; margin-bottom: 18px; }
.aside-why { display: grid; gap: 16px; }
.aside-why li { display: flex; gap: 12px; align-items: flex-start; list-style: none; font-size: 14px; color: var(--ink); line-height: 1.45; }
.aside-why .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(45,106,79,.1); color: var(--green); display: grid; place-items: center; margin-top: 1px; }
.aside-why .tick svg { width: 13px; height: 13px; }
.aside-card--quote { background: var(--night); color: #fff; }
.aside-card--quote h3 { color: #fff; }
.aside-quote__stars { color: #E8B339; letter-spacing: 2px; margin-bottom: 12px; }
.aside-quote__txt { font-family: var(--serif); font-style: italic; font-size: 1.08rem; line-height: 1.5; color: rgba(255,255,255,.92); margin-bottom: 14px; }
.aside-quote__who { font-family: var(--label); font-weight: 600; font-size: 13px; color: var(--green-light); }
.aside-media image-slot { width: 100%; aspect-ratio: 16/10; }

/* ============================================================
   Responsive — internal pages
   ============================================================ */
@media (max-width: 980px) {
  .pillars { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .gal-grid { columns: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .devis-layout { grid-template-columns: 1fr; }
  .devis-aside { position: static; }
}
@media (max-width: 760px) {
  .svc-row .split { grid-template-columns: 1fr; }
  .svc-row .split__media { order: -1; }
  .gal-grid { columns: 1; }
  .form__row { grid-template-columns: 1fr; }
  .choices { grid-template-columns: 1fr; }
  .choices--2 { grid-template-columns: 1fr; }
  .page-hero { min-height: 52vh; }
}

/* ============================================================
   Individual service pages
   ============================================================ */
.page-hero__btns .btn--ghost { color: #fff; }
.svc-intro__media image-slot { width: 100%; aspect-ratio: 4/5; }
.svc-intro__text h2 { margin-bottom: 22px; }
.svc-intro__text p { color: var(--ink-soft); margin-bottom: 18px; }

/* Included list — 2 columns inside card */
.incl--2col { columns: 2; column-gap: 44px; }
.incl--2col li { break-inside: avoid; margin-bottom: 14px; }
@media (max-width: 720px) { .incl--2col { columns: 1; } }

/* Service gallery */
.svc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-gallery image-slot { width: 100%; aspect-ratio: 4/3; }
.svc-gallery .g-tall { grid-row: span 2; }
.svc-gallery .g-tall image-slot { aspect-ratio: auto; height: 100%; }
@media (max-width: 760px) { .svc-gallery { grid-template-columns: 1fr 1fr; } .svc-gallery .g-tall { grid-row: auto; } .svc-gallery .g-tall image-slot { aspect-ratio: 4/3; } }

/* Single featured testimonial */
.feat-quote { max-width: 820px; margin-inline: auto; text-align: center; }
.feat-quote__stars { color: #E8B339; letter-spacing: 4px; font-size: 20px; margin-bottom: 22px; }
.feat-quote blockquote { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.4; font-style: italic; color: var(--night); margin-bottom: 22px; text-wrap: balance; }
.feat-quote cite { font-family: var(--label); font-weight: 600; font-style: normal; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }

/* Other services nav */
.other-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.other-card { display: flex; gap: 14px; align-items: center; padding: 18px 22px; border: 1px solid var(--gray-100); border-radius: 12px; background: #fff; transition: all .25s var(--ease); }
.other-card:hover { border-color: var(--green); box-shadow: 0 16px 38px -28px rgba(0,0,0,.4); transform: translateY(-3px); }
.other-card__ico { width: 44px; height: 44px; border-radius: 10px; background: rgba(45,106,79,.1); color: var(--green); display: grid; place-items: center; flex: none; transition: all .25s; }
.other-card:hover .other-card__ico { background: var(--green); color: #fff; }
.other-card__ico svg { width: 21px; height: 21px; }
.other-card__t { font-family: var(--label); font-weight: 600; font-size: 14px; color: var(--ink); line-height: 1.3; }
.other-card .arrow { margin-left: auto; color: var(--green); transition: transform .25s var(--ease); }
.other-card:hover .arrow { transform: translateX(4px); }
@media (max-width: 760px) { .other-svc { grid-template-columns: 1fr; } }
