/* ==========================================================================
   M Rénova 95 — Sections
   Hero · À propos · Expertises · Méthode · Réalisations · Engagements · CTA · Contact
   ========================================================================== */

/* ---------- En-tête de section ---------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px clamp(40px, 6vw, 120px);
  margin-bottom: clamp(56px, 7vw, 96px);
}
.section-head__text { color: var(--c-muted); font-size: 1.0625rem; max-width: 46ch; justify-self: end; }
.section--dark .section-head__text { color: var(--c-on-dark-muted); }
@media (max-width: 899px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head__text { justify-self: start; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  color: var(--c-on-dark);
  overflow: hidden;
  background: var(--c-ink);
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center 60%;
  transform: translate3d(0, var(--hero-y, 0px), 0) scale(var(--hero-s, 1));
  will-change: transform;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 15, 17, 0.55) 0%, rgba(14, 15, 17, 0) 28%),
    linear-gradient(0deg, rgba(14, 15, 17, 0.82) 0%, rgba(14, 15, 17, 0.35) 45%, rgba(14, 15, 17, 0.1) 75%),
    linear-gradient(90deg, rgba(14, 15, 17, 0.35) 0%, rgba(14, 15, 17, 0) 60%);
}
.hero__content {
  position: relative;
  align-self: end;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: clamp(36px, 5vw, 64px);
  opacity: var(--hero-o, 1);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: flex-start;
  line-height: 1.6;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 238, 231, 0.82);
  margin-bottom: clamp(20px, 3vw, 32px);
}
.hero__dot { width: 6px; height: 6px; flex: none; margin-top: 0.5em; border-radius: 50%; background: #c6a878; box-shadow: 0 0 0 6px rgba(198, 168, 120, 0.18); }

.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.025em;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__line > span { display: inline-block; }
.hero__title em { color: #e4cfa8; }

.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px 48px;
  margin-top: clamp(28px, 4vw, 48px);
}
.hero__lead {
  max-width: 44ch;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  color: rgba(242, 238, 231, 0.88);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  font-size: 0.8125rem;
  color: rgba(242, 238, 231, 0.75);
}
.hero__foot::before {
  content: "";
  position: absolute;
  left: var(--gutter); right: var(--gutter); top: 0;
  height: 1px;
  background: rgba(242, 238, 231, 0.22);
  transform-origin: left;
}
.hero__facts { display: flex; gap: 32px; }
.hero__facts li { display: inline-flex; align-items: center; gap: 10px; }
.hero__facts li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.6; margin-right: 22px; }

.scroll-cue { display: inline-flex; align-items: center; gap: 14px; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.6875rem; font-weight: 600; }
.scroll-cue__line { position: relative; width: 1px; height: 34px; background: rgba(242, 238, 231, 0.25); overflow: hidden; }
.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-on-dark);
  transform: translateY(-100%);
  animation: cue 2.2s var(--ease-in-out) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }

@media (max-width: 767px) {
  .hero__facts { display: none; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__row { margin-top: 24px; }
}

/* Intro du hero (après le chargement) */
.js .hero__line > span { transform: translateY(105%); transition: transform 1.25s var(--ease-out); }
.js .hero__line:nth-child(2) > span { transition-delay: 0.1s; }
.js .hero__line:nth-child(3) > span { transition-delay: 0.2s; }
.js .hero__eyebrow,
.js .hero__lead,
.js .hero__actions,
.js .hero__foot { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.js .hero__lead { transition-delay: 0.45s; }
.js .hero__actions { transition-delay: 0.55s; }
.js .hero__foot { transition-delay: 0.75s; }
.js .hero__foot::before { transform: scaleX(0); transition: transform 1.4s var(--ease-in-out) 0.7s; }
.js .hero__media { transform: scale(1.12); transition: transform 2.4s var(--ease-out); }

.js.is-ready .hero__line > span,
.js.is-ready .hero__eyebrow,
.js.is-ready .hero__lead,
.js.is-ready .hero__actions,
.js.is-ready .hero__foot { opacity: 1; transform: none; }
.js.is-ready .hero__foot::before { transform: scaleX(1); }
.js.is-ready .hero__media { transform: none; }

/* ==========================================================================
   À PROPOS
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 140px);
  align-items: center;
}
.about__visual { position: relative; padding-bottom: 14%; padding-right: 12%; }
.about__img-main { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-stone); }
.about__img-main img, .about__img-detail img { width: 100%; height: 100%; object-fit: cover; }
.about__img-detail {
  position: absolute;
  right: 0; bottom: 0;
  width: 42%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--c-stone);
  border: 8px solid var(--c-ivory);
  box-sizing: content-box;
  --d: 3;
}
.about__caption {
  position: absolute;
  left: 0; bottom: 0;
  display: flex;
  gap: 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.about__content { display: grid; gap: 24px; justify-items: start; }
.about__content .eyebrow { margin-bottom: 4px; }
.about__content .h2 { margin-bottom: 12px; }
.about__quote {
  margin-top: 12px;
  padding-left: 24px;
  border-left: 1px solid var(--c-accent);
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.3;
  font-style: italic;
  color: var(--c-ink);
  max-width: 30ch;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin-block: 20px 8px;
  border-top: 1px solid var(--c-line);
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 10px;
  padding: 26px 20px 0 0;
}
.stat + .stat { padding-left: 20px; border-left: 1px solid var(--c-line); }
.stat__value {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: 0.8125rem; line-height: 1.45; color: var(--c-muted); max-width: 18ch; }

@media (max-width: 899px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 560px; }
}
@media (max-width: 479px) {
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 12px; }
  .stat__label { font-size: 0.75rem; }
}

/* ==========================================================================
   EXPERTISES
   ========================================================================== */
.expertises { padding-bottom: clamp(64px, 8vw, 120px); }
.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}
.exp-card {
  position: relative;
  min-height: clamp(520px, 46vw, 680px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--c-on-dark);
  background: var(--c-ink);
  isolation: isolate;
}
.exp-card__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.exp-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.6s var(--ease-out), filter 1s var(--ease-out);
}
.exp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 15, 17, 0.45) 0%, rgba(14, 15, 17, 0) 22%),
    linear-gradient(0deg, rgba(14, 15, 17, 0.92) 0%, rgba(14, 15, 17, 0.55) 42%, rgba(14, 15, 17, 0.05) 75%);
  transition: opacity 0.8s var(--ease-out);
}
.exp-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(14, 15, 17, 0.38);
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}
.exp-card__body { padding: clamp(24px, 2.6vw, 40px); display: grid; gap: 14px; }
.exp-card__index {
  position: absolute;
  top: clamp(22px, 2.4vw, 34px);
  left: clamp(24px, 2.6vw, 40px);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(242, 238, 231, 0.85);
}
.exp-card__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 2.1vw, 2.1rem); line-height: 1; }
.exp-card__text { color: rgba(242, 238, 231, 0.78); font-size: 0.975rem; max-width: 34ch; }
@media (min-width: 1024px) { .exp-card__text { min-height: calc(1.65em * 3); } }
.exp-card__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(12px);
  transition: max-height 0.8s var(--ease-out), opacity 0.5s var(--ease-out), transform 0.8s var(--ease-out);
}
.exp-card__list li {
  padding: 6px 12px;
  border: 1px solid rgba(242, 238, 231, 0.28);
  border-radius: 999px;
  font-size: 0.78rem;
  color: rgba(242, 238, 231, 0.9);
}
.exp-card__more {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  padding-block: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-on-dark);
}
.exp-card__more::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* toute la carte est cliquable */
.exp-card__more-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(242, 238, 231, 0.4);
  transition: background 0.5s var(--ease-out), color 0.5s var(--ease-out), transform 0.6s var(--ease-out), border-color 0.5s;
}
.exp-card__more-icon .icon { width: 16px; height: 16px; }

@media (hover: hover) and (pointer: fine) {
  .exp-card:hover .exp-card__media img, .exp-card:focus-within .exp-card__media img { transform: scale(1.08); }
  .exp-card:hover::after, .exp-card:focus-within::after { opacity: 1; }
  .exp-card:hover .exp-card__list, .exp-card:focus-within .exp-card__list { max-height: 360px; opacity: 1; transform: none; }
  .exp-card:hover .exp-card__more-icon, .exp-card:focus-within .exp-card__more-icon { background: var(--c-ivory); color: var(--c-ink); border-color: var(--c-ivory); transform: rotate(90deg); }
}
@media (hover: none), (pointer: coarse) {
  .exp-card__list { max-height: none; opacity: 1; transform: none; }
}
@media (max-width: 1023px) {
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .exp-card:last-child { grid-column: 1 / -1; min-height: 480px; }
}
@media (max-width: 699px) {
  .exp-grid { grid-template-columns: 1fr; }
  .exp-card, .exp-card:last-child { min-height: 540px; }
}

/* Bandeau défilant */
.marquee {
  margin-top: clamp(64px, 8vw, 112px);
  overflow: hidden;
  border-block: 1px solid var(--c-line);
  padding-block: clamp(18px, 2.2vw, 28px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  line-height: 1.1;
  white-space: nowrap;
  color: var(--c-ink);
}
.marquee__track span:nth-child(even) { font-style: italic; color: var(--c-muted-2); }
.marquee__track span::after {
  content: "";
  width: 8px; height: 8px;
  margin-inline: clamp(24px, 3vw, 48px);
  border-radius: 50%;
  background: var(--c-accent);
  opacity: 0.7;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   MÉTHODE
   ========================================================================== */
.method { overflow: hidden; }
.method__timeline { position: relative; --progress: 0; }
.method__track {
  position: absolute;
  left: 0; right: 0; top: 7px;
  height: 1px;
  background: var(--c-on-dark-line);
}
.method__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #c6a878, var(--c-on-dark));
  transform-origin: left;
  transform: scaleX(var(--progress));
}
.method__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.step { position: relative; padding-top: 52px; }
.step__node {
  position: absolute;
  top: 0; left: 0;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--c-ink);
  border: 1px solid rgba(242, 238, 231, 0.35);
  transition: background 0.6s var(--ease-out), border-color 0.6s, box-shadow 0.8s var(--ease-out);
}
.step__node::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #c6a878;
  transform: scale(0);
  transition: transform 0.6s var(--ease-out);
}
.step.is-active .step__node { border-color: #c6a878; box-shadow: 0 0 0 8px rgba(198, 168, 120, 0.12); }
.step.is-active .step__node::after { transform: scale(1); }

.step__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.step__num {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 3.6vw, 3.4rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 238, 231, 0.35);
  transition: color 0.8s var(--ease-out), -webkit-text-stroke-color 0.8s;
}
.step.is-active .step__num { color: var(--c-on-dark); -webkit-text-stroke-color: transparent; }
.step__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--c-on-dark-line);
  color: var(--c-on-dark-muted);
  transition: color 0.6s, border-color 0.6s, background 0.6s;
}
.step.is-active .step__icon { color: var(--c-ink); background: #c6a878; border-color: #c6a878; }
.step__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 1.9vw, 1.85rem); line-height: 1.05; margin-bottom: 14px; }
.step__text { color: var(--c-on-dark-muted); font-size: 0.975rem; max-width: 30ch; }
.step__tag {
  display: inline-block;
  margin-top: 22px;
  padding: 7px 14px;
  border: 1px solid var(--c-on-dark-line);
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--c-on-dark-muted);
}
.js .step { opacity: 0.8; transform: translateY(16px); transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out); }
.js .step.is-active { opacity: 1; transform: none; }

@media (max-width: 1023px) {
  .method__steps { grid-template-columns: 1fr; gap: 0; }
  .method__track { left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .method__fill { transform-origin: top; transform: scaleY(var(--progress)); background: linear-gradient(180deg, #c6a878, var(--c-on-dark)); }
  .step { padding: 0 0 56px 52px; }
  .step:last-child { padding-bottom: 0; }
  .step__head { justify-content: flex-start; gap: 20px; margin-bottom: 18px; }
  .step__text { max-width: 46ch; }
}

/* ==========================================================================
   RÉALISATIONS
   ========================================================================== */
.section-head--works { grid-template-columns: 1fr; gap: 36px; }
.filters {
  position: relative;
  justify-self: start;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-paper);
}
.filters__pill {
  position: absolute;
  top: 0; left: 0;
  height: 0; width: 0;
  border-radius: 999px;
  background: var(--c-ink);
  transition: transform 0.6s var(--ease-out), width 0.6s var(--ease-out), height 0.6s var(--ease-out);
  pointer-events: none;
}
.filters__btn {
  position: relative;
  z-index: 1;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-muted);
  white-space: nowrap;
  transition: color 0.45s var(--ease-out);
}
.filters__btn:hover { color: var(--c-ink); }
.filters__btn[aria-pressed="true"] { color: var(--c-ivory); }
.no-js .filters__btn[aria-pressed="true"] { background: var(--c-ink); }

@media (max-width: 899px) {
  .filters {
    justify-self: stretch;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: 999px;
    max-width: 100%;
  }
  .filters::-webkit-scrollbar { display: none; }
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  transition: opacity 0.35s var(--ease-soft), transform 0.5s var(--ease-out);
}
.works__grid.is-filtering { opacity: 0; transform: translateY(14px); }
.work { grid-column: span 12; }
.work.w-7 { grid-column: span 7; }
.work.w-5 { grid-column: span 5; }
.work.w-12 { grid-column: span 12; }

.work__trigger {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  color: var(--c-on-dark);
  overflow: hidden;
  background: var(--c-stone);
  isolation: isolate;
}
.work__media { display: block; height: clamp(320px, 40vw, 600px); overflow: hidden; }
.work.w-12 .work__media { height: clamp(320px, 44vw, 640px); }
.work__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 1.6s var(--ease-out);
}
.work__trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(0deg, rgba(14, 15, 17, 0.78) 0%, rgba(14, 15, 17, 0.2) 38%, rgba(14, 15, 17, 0) 60%);
  transition: opacity 0.7s var(--ease-out);
}
.work__info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: clamp(20px, 2.4vw, 34px);
  padding-right: 90px;
}
.work__meta { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(242, 238, 231, 0.75); }
.work__title { font-family: var(--f-display); font-size: clamp(1.35rem, 1.9vw, 1.8rem); line-height: 1.05; }
.work__place { font-size: 0.85rem; color: rgba(242, 238, 231, 0.75); }
.work__open {
  position: absolute;
  right: clamp(20px, 2.4vw, 34px);
  bottom: clamp(20px, 2.4vw, 34px);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(242, 238, 231, 0.14);
  border: 1px solid rgba(242, 238, 231, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.6s var(--ease-out), background 0.5s, color 0.5s;
}
.work__trigger:hover .work__media img, .work__trigger:focus-visible .work__media img { transform: scale(1.06); }
.work__trigger:hover .work__open, .work__trigger:focus-visible .work__open { background: var(--c-ivory); color: var(--c-ink); transform: rotate(90deg); }
.work__trigger:focus-visible { outline-offset: 4px; }

.js .work { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js .work.is-in { opacity: 1; transform: none; }

@media (max-width: 767px) {
  .work, .work.w-7, .work.w-5, .work.w-12 { grid-column: span 12; }
  .work__media, .work.w-12 .work__media { height: auto; aspect-ratio: 4 / 3.4; }
}

/* ==========================================================================
   POURQUOI M RÉNOVA 95
   ========================================================================== */
.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 8vw, 140px);
  align-items: start;
}
.why__intro {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  display: grid;
  gap: 26px;
  justify-items: start;
}
.why__intro .eyebrow { margin-bottom: 0; }
.why__list { border-top: 1px solid var(--c-line); }
.why-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px 64px minmax(0, 1fr);
  gap: clamp(14px, 2vw, 28px);
  align-items: start;
  padding: clamp(26px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--c-line);
}
.why-item::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px; width: 100%;
  background: var(--c-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease-out);
}
.why-item:hover::before { transform: scaleX(1); }
.why-item__num { padding-top: 6px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; color: var(--c-accent-deep); }
.why-item__icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  background: var(--c-paper);
  color: var(--c-ink);
  transition: background 0.6s var(--ease-out), color 0.6s, border-color 0.6s, transform 0.7s var(--ease-out);
}
.why-item__icon svg { width: 28px; height: 28px; }
.why-item:hover .why-item__icon { background: var(--c-ink); color: var(--c-ivory); border-color: var(--c-ink); transform: rotate(-8deg); }
.why-item__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.35rem, 1.8vw, 1.65rem); line-height: 1.1; margin-bottom: 10px; }
.why-item__body p { color: var(--c-muted); max-width: 48ch; }

/* Tracé progressif des icônes */
.js .why-item__icon svg * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-in-out) 0.25s; }
.js .why-item.is-in .why-item__icon svg * { stroke-dashoffset: 0; }

@media (max-width: 899px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__intro { position: static; }
}
@media (max-width: 479px) {
  .why-item { grid-template-columns: 52px minmax(0, 1fr); }
  .why-item__num { display: none; }
  .why-item__icon { width: 52px; height: 52px; }
  .why-item__icon svg { width: 24px; height: 24px; }
}

/* ==========================================================================
   GRAND APPEL À L’ACTION
   ========================================================================== */
.cta {
  position: relative;
  min-height: clamp(560px, 82vh, 860px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--c-on-dark);
  background: var(--c-ink);
  text-align: center;
}
.cta__media { position: absolute; inset: -12% 0; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(14, 15, 17, 0.55) 0%, rgba(14, 15, 17, 0.78) 70%); }
.cta__content { position: relative; display: grid; justify-items: center; gap: 28px; padding-block: 120px; }
.cta__content .eyebrow { margin-bottom: 0; }
.cta__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  max-width: 12ch;
}
.cta__title em { color: #e4cfa8; }
.cta__text { max-width: 46ch; font-size: clamp(1rem, 1.2vw, 1.1rem); color: rgba(242, 238, 231, 0.85); }
@media (max-width: 599px) {
  .cta .btn--lg { white-space: normal; text-align: center; line-height: 1.3; padding-block: 14px; }
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: stretch;
}
.contact__info { display: grid; gap: 32px; align-content: start; }
.contact__info .eyebrow { margin-bottom: -8px; }
.contact__company { display: grid; gap: 6px; padding-bottom: 28px; border-bottom: 1px solid var(--c-line); }
.contact__name { font-family: var(--f-display); font-size: 1.55rem; line-height: 1.1; }
.contact__tagline { font-weight: 600; font-size: 0.9375rem; }
.contact__zone { display: inline-flex; align-items: center; gap: 10px; color: var(--c-muted); font-size: 0.9375rem; }
.contact__zone .icon { width: 18px; height: 18px; color: var(--c-accent-deep); }

.contact__cards { display: grid; gap: 12px; }
.ccard {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 16px 16px 18px;
  background: var(--c-paper);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-lg);
  transition: border-color 0.4s, transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.ccard:hover { border-color: var(--c-line); box-shadow: 0 18px 40px -28px rgba(20, 21, 23, 0.35); }
.ccard__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--c-stone);
  color: var(--c-ink);
}
.ccard__body { flex: 1; min-width: 0; }
.ccard__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-muted); }
.ccard__value { font-weight: 600; font-size: 1.0625rem; overflow-wrap: anywhere; }

/* Colonne de droite : message rapide (remplace l'ancienne carte, peu utile pour une zone aussi large) */
.contact__aside { align-self: start; position: sticky; top: calc(var(--header-h) + 8px); }

@media (max-width: 899px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__aside { position: static; }
}
@media (max-width: 479px) {
  .ccard { flex-wrap: wrap; }
  .ccard .btn { width: 100%; }
}

/* ==========================================================================
   PAGES LÉGALES
   ========================================================================== */
.legal { padding-top: calc(var(--header-h) + clamp(56px, 8vw, 112px)); padding-bottom: var(--section-y); }
.legal__inner { max-width: 820px; }
.legal__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1; margin-bottom: 20px; }
.legal__updated { color: var(--c-muted); font-size: 0.875rem; margin-bottom: 56px; }
.legal h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; margin: 48px 0 14px; }
.legal p, .legal li { color: var(--c-muted); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal mark { background: rgba(162, 128, 79, 0.18); color: var(--c-ink); padding: 0 4px; border-radius: 2px; }
.legal__back { margin-top: 56px; }

/* ==========================================================================
   POUR QUI : particuliers / professionnels (sous le hero)
   ========================================================================== */
.audience { padding-block: clamp(56px, 7vw, 104px); }
.audience__title {
  max-width: 26ch;
  margin-bottom: clamp(28px, 4vw, 48px);
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.08;
}
.audience__title em { color: var(--c-accent-deep); }
.audience__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.aud-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(26px, 3.4vw, 44px);
  background: var(--c-paper);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius-lg);
}
.aud-card--dark { background: var(--c-ink); color: var(--c-on-dark); border-color: transparent; }
.aud-card__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-accent-deep);
}
.aud-card__kicker .icon { width: 18px; height: 18px; }
.aud-card--dark .aud-card__kicker { color: #c6a878; }
.aud-card__title { font-family: var(--f-display); font-size: clamp(1.35rem, 1.9vw, 1.75rem); font-weight: 400; line-height: 1.08; }
.aud-card__text { max-width: 50ch; color: var(--c-muted); }
.aud-card--dark .aud-card__text { color: var(--c-on-dark-muted); }
.aud-card__links { display: flex; flex-wrap: wrap; gap: 8px; }
.aud-card__links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--c-line); border-radius: 999px;
  font-size: 0.85rem; font-weight: 500;
  transition: border-color 0.3s, background 0.3s;
}
.aud-card__links a:hover { border-color: var(--c-ink); }
.aud-card--dark .aud-card__links a { border-color: var(--c-on-dark-line); }
.aud-card--dark .aud-card__links a:hover { border-color: var(--c-on-dark); }
.aud-card__cta { margin-top: auto; align-self: flex-start; }
@media (max-width: 959px) {
  .audience__grid { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
  .aud-card__cta { align-self: stretch; justify-content: center; }
  .aud-card__cta .btn__label { white-space: normal; text-align: center; }
}

/* Lien « professionnels » sous les boutons du hero */
.hero__pro { margin-top: clamp(18px, 2.4vw, 28px); font-size: 0.9375rem; color: rgba(242, 238, 231, 0.78); }
.hero__pro a { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; color: #e4cfa8; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(228, 207, 168, 0.45); text-underline-offset: 4px; }
.hero__pro a:hover { text-decoration-color: #e4cfa8; }
.hero__pro .icon { width: 16px; height: 16px; }

/* ==========================================================================
   TOUS NOS MÉTIERS (vignettes photo, section Expertises)
   ========================================================================== */
.trades { margin-top: clamp(48px, 6vw, 88px); }
.trades__title { margin-bottom: 20px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-muted); }
.trades__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.trade { position: relative; display: block; aspect-ratio: 3 / 3.6; overflow: hidden; border-radius: var(--radius-lg); background: var(--c-line); color: #fff; isolation: isolate; }
.trade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.trade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 15, 17, 0.78) 0%, rgba(14, 15, 17, 0.1) 55%, rgba(14, 15, 17, 0) 100%); z-index: 0; }
.trade:hover img, .trade:focus-visible img { transform: scale(1.05); }
.trade:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.trade__name { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font-family: var(--f-display); font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.1; }
.trade__badge { position: absolute; top: 10px; right: 10px; z-index: 1; padding: 3px 9px; border-radius: 999px; background: rgba(14, 15, 17, 0.5); font-size: 0.65rem; font-weight: 500; letter-spacing: 0.05em; color: rgba(242, 238, 231, 0.88); }
@media (max-width: 899px) { .trades__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   VOS PROJETS DE RÉNOVATION (sous les 3 pôles, section « Nos métiers »)
   Même langage visuel que les cartes des pôles : photo, dégradé sombre, titre serif.
   ========================================================================== */
.projects { margin-top: clamp(64px, 8vw, 112px); }
.projects__head { margin-bottom: clamp(28px, 3.4vw, 44px); }
.projects__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.project-card > a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: clamp(360px, 30vw, 460px);
  overflow: hidden;
  color: var(--c-on-dark);
  background: var(--c-ink);
  isolation: isolate;
}
.project-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.6s var(--ease-out); }
.project-card > a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(14, 15, 17, 0.94) 0%, rgba(14, 15, 17, 0.72) 50%, rgba(14, 15, 17, 0.12) 88%);
}
.project-card__body { display: grid; gap: 10px; padding: clamp(20px, 2vw, 28px); }
.project-card__title { font-family: var(--f-display); font-size: clamp(1.2rem, 1.5vw, 1.45rem); line-height: 1.08; }
.project-card__text { color: rgba(242, 238, 231, 0.8); font-size: 0.9rem; }
.project-card__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 0.875rem; font-weight: 600; }
.project-card__more .icon { width: 16px; height: 16px; transition: transform 0.6s var(--ease-out); }
.project-card > a:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .project-card > a:hover img, .project-card > a:focus-visible img { transform: scale(1.08); }
  .project-card > a:hover .project-card__more .icon { transform: translateX(4px); }
}
@media (max-width: 1199px) { .projects__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) {
  .projects__grid { grid-template-columns: 1fr; }
  .project-card > a { min-height: 320px; }
}

/* ==========================================================================
   ENGAGEMENTS (hero de l’accueil et des pages) : devis gratuit, réponse sous 48 h, garantie décennale
   Engagements confirmés par le client le 15/10/2026.
   ========================================================================== */
.hero__cta { display: grid; gap: 16px; justify-items: start; }
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 12px;
  border: 1px solid rgba(198, 168, 120, 0.6);
  border-radius: 999px;
  background: rgba(14, 15, 17, 0.45);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-on-dark);
}
.hero__row > .hero__lead { flex: 1 1 340px; }
.trust .icon { width: 18px; height: 18px; flex: none; color: #c6a878; }
/* « Devis gratuit » : mis en avant */
.trust .trust__main { padding: 12px 24px 12px 16px; background: #e4cfa8; border-color: #e4cfa8; color: var(--c-ink); font-size: clamp(0.95rem, 1.2vw, 1.0625rem); }
.trust .trust__main .icon { width: 20px; height: 20px; color: var(--c-ink); }
.js .trust { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease-out) 0.65s, transform 1.2s var(--ease-out) 0.65s; }
.js.is-ready .trust { opacity: 1; transform: none; }
@media (max-width: 479px) {
  .trust li { padding: 8px 14px 8px 10px; font-size: 0.6875rem; letter-spacing: 0.1em; }
  .trust .trust__main { padding: 10px 18px 10px 12px; font-size: 0.8125rem; }
}

/* Chiffres « À propos » : signe « + » après le nombre */
.stat__plus { color: var(--c-accent); }

/* ==========================================================================
   PÔLES DE MÉTIERS : version à 4 cartes (pôle « Façade & isolation » ajouté le 15/10/2026)
   ========================================================================== */
.exp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.exp-grid--4 .exp-card__title { font-size: clamp(1.45rem, 1.7vw, 1.8rem); }
@media (min-width: 1200px) { .exp-grid--4 .exp-card__text { min-height: calc(1.65em * 4); } }
@media (max-width: 1199px) { .exp-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 700px) and (max-width: 1023px) {
  .exp-grid--4 .exp-card:last-child { grid-column: auto; min-height: clamp(520px, 46vw, 680px); }
}
@media (max-width: 767px) { .hero__cta { width: 100%; justify-items: stretch; } }

/* ==========================================================================
   OPTIMISATION MOBILE ET AVANT / APRÈS (19/10/2026)
   ========================================================================== */

/* Comparateur avant / après (photos réelles d'un même chantier) */
.ba { max-width: 560px; margin: 0 auto clamp(44px, 6vw, 80px); }
.ba__frame {
  --pos: 50%;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--c-ink);
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}
.ba__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba__img--apres { clip-path: inset(0 0 0 var(--pos)); }
.ba__frame::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 2px; margin-left: -1px;
  background: var(--c-ivory);
  box-shadow: 0 0 0 1px rgba(20, 21, 23, 0.18);
  pointer-events: none;
}
.ba__handle {
  position: absolute; top: 50%; left: var(--pos); z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 2px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--c-ivory);
  color: var(--c-ink);
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px rgba(20, 21, 23, 0.28);
  pointer-events: none;
}
.ba__handle .icon { width: 14px; height: 14px; }
.ba__frame:focus-within .ba__handle { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.ba__tag {
  position: absolute; top: 14px; left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 21, 23, 0.72);
  color: var(--c-ivory);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  pointer-events: none;
}
.ba__tag--apres { left: auto; right: 14px; background: var(--c-ivory); color: var(--c-ink); }
.ba__range { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }
.ba__caption {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px;
  padding-top: 14px;
  color: var(--c-muted); font-size: 0.9rem;
}
.ba__caption strong { color: var(--c-ink); font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; }
@media (prefers-reduced-motion: no-preference) {
  .ba:not(.is-touched) .ba__handle { animation: ba-indice 2.4s var(--ease-in-out) 1s 2; }
}
@keyframes ba-indice {
  0%, 100% { transform: translate(-50%, -50%); }
  30% { transform: translate(calc(-50% - 10px), -50%); }
  60% { transform: translate(calc(-50% + 10px), -50%); }
}

/* Texte de référencement replié (conservé pour Google) */
.seo-more { margin-top: 20px; border-top: 1px solid var(--c-line); }
.seo-more > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 48px; padding: 12px 0;
  font-weight: 600; cursor: pointer; list-style: none;
}
.seo-more > summary::-webkit-details-marker { display: none; }
.seo-more > summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; line-height: 1; color: var(--c-accent-deep); }
.seo-more[open] > summary::after { content: "–"; }
.seo-more .body-text { margin-top: 12px; }

/* Téléphone */
@media (max-width: 699px) {
  /* Pôles de métiers : une seule colonne, cartes plus compactes et lisibles */
  .exp-grid--4 { grid-template-columns: 1fr; }
  .exp-card, .exp-card:last-child, .exp-grid--4 .exp-card:last-child { min-height: 380px; }
  .exp-card__body { padding: 22px 20px; gap: 10px; }
  .exp-card__index { position: static; }
  .exp-grid--4 .exp-card__title { font-size: 1.6rem; }
  .exp-card__text { display: none; }
  .exp-card__list li { padding: 7px 13px; font-size: 0.8rem; }

  /* Éléments décoratifs ou redondants masqués sur petit écran */
  .expertises .marquee { display: none; }
  #entreprise-renovation .svc-box { display: none; }

  /* Pied de page plus court */
  .footer__services ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .footer__services a { font-size: 0.85rem; }
}

/* Téléphone : pôles de métiers en cartes à faire glisser (au lieu de 4 cartes empilées) */
@media (max-width: 699px) {
  .exp-grid--4 {
    display: flex;
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .exp-grid--4::-webkit-scrollbar { display: none; }
  .exp-grid--4 > .exp-card { flex: 0 0 84%; scroll-snap-align: start; min-height: 440px; }
  .footer__col:has(.footer__title + ul > li > a[href^="#"]) { display: none; }
}

/* Téléphone : types de projets en cartes à faire glisser, textes d'introduction masqués */
@media (max-width: 699px) {
  .projects__grid {
    display: flex;
    gap: 12px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .projects__grid::-webkit-scrollbar { display: none; }
  .projects__grid > .project-card { flex: 0 0 78%; scroll-snap-align: start; }
  .project-card > a { min-height: 300px; }
  .projects { margin-top: 48px; }
  .expertises .section-head__text { display: none; }
}

/* Téléphone : « Particuliers ou professionnels » plus compacte (textes du client conservés en entier) */
@media (max-width: 699px) {
  .audience { padding-block: 40px 28px; }
  .audience__title { margin-bottom: 20px; font-size: 1.4rem; }
  .audience__grid { gap: 12px; }
  .aud-card { gap: 12px; padding: 20px 18px; }
  .aud-card__title { font-size: 1.3rem; }
  .aud-card__text { font-size: 0.92rem; line-height: 1.55; }
  .aud-card__links { gap: 6px; }
  .aud-card__links a { min-height: 36px; padding: 0 13px; font-size: 0.8rem; }
}
