/* Final UI adjustments — revision 47 */
:root {
  --v47-blue: #39779d; --text-v37-v47-blue: #1d4d68;
  --v47-blue-deep: #39779d; --text-v37-v47-blue-deep: #153b54;
  --v47-blue-light: #39779d; --text-v37-v47-blue-light: #79a9c8;
}

/* Le tiroir home-building / works heading */
@media (min-width: 768px) {
  body.page-about .works-intro {
    grid-template-columns: minmax(300px, .52fr) minmax(0, 1.48fr) !important;
    gap: clamp(42px, 5vw, 78px) !important;
    align-items: center !important;
  }

  body.page-about .works-intro__title {
    white-space: nowrap !important;
  }

  body.page-about .works-intro__desc {
    width: 100% !important;
    max-width: 920px !important;
    font-size: clamp(14px, 1.05vw, 16px) !important;
    line-height: 2.05 !important;
    letter-spacing: .04em !important;
  }
}

/* Price hero: copy anchored to the lower-left */
@media (min-width: 768px) {
  body.page-price .hero__content {
    top: auto !important;
    right: auto !important;
    bottom: clamp(66px, 8vh, 112px) !important;
    left: clamp(72px, 9vw, 176px) !important;
    transform: none !important;
    width: min(760px, 58vw) !important;
    max-width: none !important;
    margin: 0 !important;
    text-align: left !important;
  }
}

/* Price simulator: focus attention on the single action */
body.page-price .estimate__panel {
  display: block !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
  padding: clamp(64px, 8vw, 108px) clamp(28px, 7vw, 112px) !important;
  text-align: center !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,.12), transparent 32%),
    linear-gradient(145deg, #39779d 0%, #39779d 100%) !important;
  box-shadow: 0 24px 70px rgba(57, 119, 157, .18) !important;
}

body.page-price .estimate__copy {
  width: 100% !important;
  max-width: 860px !important;
  margin-inline: auto !important;
}

body.page-price .estimate__desc {
  max-width: 720px !important;
  margin-inline: auto !important;
}

body.page-price .estimate__btn {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 22px !important;
  width: min(100%, 690px) !important;
  min-height: 98px !important;
  margin: clamp(34px, 5vw, 54px) auto 0 !important;
  padding: 20px 84px 20px 34px !important;
  color: var(--text-v37-v47-blue-deep) !important;
  background: linear-gradient(110deg, #fff 0%, #f4f7f9 45%, #fff 75%) !important;
  background-size: 220% 100% !important;
  border: 1px solid rgba(255,255,255,.72) !important;
  border-radius: 999px !important;
  box-shadow: 0 16px 38px rgba(57, 119, 157, .28), inset 0 1px 0 #fff !important;
  font-size: clamp(17px, 1.4vw, 22px) !important;
  font-weight: 600 !important;
  letter-spacing: .09em !important;
  white-space: nowrap !important;
  animation: v47-cta-shimmer 5.5s ease-in-out infinite !important;
  transition: transform .35s ease, box-shadow .35s ease !important;
}

body.page-price .estimate__btn:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 22px 46px rgba(57, 119, 157, .34), inset 0 1px 0 #fff !important;
}

body.page-price .estimate__btn .arrow {
  position: absolute !important;
  right: 18px !important;
  display: grid !important;
  place-items: center !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  color: #fff !important;
  background: var(--v47-blue) !important;
  font-size: 23px !important;
  line-height: 1 !important;
}

@keyframes v47-cta-shimmer {
  0%, 100% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
}

/* Simulator launch buttons: no decorative dash and never awkwardly wrap */
.faq-side__cta-btn,
.contact-simulator-link,
.form-simulator-launch {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  text-align: center !important;
}

.faq-side__cta-btn::after {
  display: none !important;
  content: none !important;
}

/* Company profile: stronger brand-colour panel */
body.page-company .company-profile {
  color: #fff !important;
  background: var(--v47-blue-deep) !important;
  padding-block: clamp(82px, 9vw, 140px) !important;
}

body.page-company .company-profile__inner {
  padding: clamp(36px, 5vw, 72px) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.015)) !important;
  box-shadow: 0 28px 76px rgba(57, 119, 157, .24) !important;
}

body.page-company .company-profile :is(h2, dt, dd, p, a) {
  color: inherit !important;
}

body.page-company .company-profile .company-kicker,
body.page-company .company-profile .company-kicker-jp {
  color: #b9d8ea !important;
}

body.page-company .company-profile__list > div,
body.page-company .company-profile__row {
  border-color: rgba(255,255,255,.22) !important;
}

/* Mobile */
@media (max-width: 767px) {
  body.page-price .estimate__panel {
    padding: 54px 20px !important;
    border-radius: 26px !important;
  }

  body.page-price .estimate__btn {
    min-height: 76px !important;
    padding: 16px 58px 16px 22px !important;
    font-size: clamp(14px, 4vw, 17px) !important;
    letter-spacing: .035em !important;
  }

  body.page-price .estimate__btn .arrow {
    right: 12px !important;
    width: 46px !important;
    height: 46px !important;
    font-size: 19px !important;
  }

  .faq-side__cta-btn,
  .contact-simulator-link,
  .form-simulator-launch {
    width: 100% !important;
    padding-inline: 16px !important;
    font-size: clamp(14px, 4vw, 17px) !important;
    letter-spacing: .025em !important;
  }

  body.page-company .company-profile {
    padding: 56px 18px !important;
  }

  body.page-company .company-profile__inner {
    padding: 32px 22px !important;
    border-radius: 20px !important;
  }

  /* Bring the same hand-drawn embellishments into the SP concept section. */
  body.page-home .concept {
    position: relative !important;
    overflow: hidden !important;
  }

  body.page-home .concept__pendant,
  body.page-home .concept__leaf,
  body.page-home .concept__chair {
    display: block !important;
    position: absolute !important;
    height: auto !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }

  body.page-home .concept__pendant {
    top: 38% !important;
    right: 14px !important;
    left: auto !important;
    width: 42px !important;
    opacity: .72 !important;
  }

  body.page-home .concept__leaf {
    top: auto !important;
    bottom: 42px !important;
    left: -54px !important;
    width: 154px !important;
    opacity: .66 !important;
  }

  body.page-home .concept__chair {
    top: auto !important;
    right: 14px !important;
    bottom: 24px !important;
    left: auto !important;
    width: 66px !important;
    opacity: .9 !important;
  }

  body.page-home .concept__copy,
  body.page-home .concept__photos {
    position: relative !important;
    z-index: 2 !important;
  }

  /* News becomes a compact, readable text list on SP. */
  body.page-home .news {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 58px 24px 64px !important;
    background: #fff !important;
  }

  body.page-home .news__panel,
  body.page-home .news__bird {
    display: none !important;
  }

  body.page-home .news__label,
  body.page-home .news__list {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  body.page-home .news__label {
    margin-bottom: 24px !important;
    color: var(--text-v37-v47-blue-deep) !important;
    font-size: clamp(27px, 8vw, 38px) !important;
    letter-spacing: .08em !important;
  }

  body.page-home .news__item {
    height: auto !important;
    min-height: 0 !important;
    border-bottom: 1px solid #d4e2ea !important;
  }

  body.page-home .news__link {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    height: auto !important;
    padding: 18px 34px 18px 0 !important;
    position: relative !important;
  }

  body.page-home .news__link::after {
    content: "→" !important;
    position: absolute !important;
    top: 50% !important;
    right: 2px !important;
    transform: translateY(-50%) !important;
    color: var(--text-v37-v47-blue) !important;
  }

  body.page-home .news__date {
    width: auto !important;
    color: #6e8798 !important;
    font-size: 12px !important;
    letter-spacing: .1em !important;
  }

  body.page-home .news__title {
    min-width: 0 !important;
    color: #20394a !important;
    font-size: clamp(15px, 4.3vw, 18px) !important;
    line-height: 1.7 !important;
    letter-spacing: .035em !important;
    overflow-wrap: anywhere !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-price .estimate__btn { animation: none !important; }
}
