/* The new home page; the existing About styles remain scoped separately. */
.home-page { --home-line: #decfc2; --home-accent: #a66b49; --home-muted: #735844; }
.home-wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.home-page main { overflow: clip; }
.home-page h1, .home-page h2, .home-page h3 { text-wrap: balance; }
.home-page p { text-wrap: pretty; }
.home-eyebrow { font: 500 11px/1.6 var(--font-ui); letter-spacing: .13em; text-transform: uppercase; color: #96684a; }
.home-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(780px, calc(100svh - 72px));
  padding-block: 88px 112px;
  overflow: hidden;
  color: #fff8ef;
  background: #674129;
}
.home-hero .hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform-origin: 66% 46%;
  pointer-events: none;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(32 19 10 / 67%), rgb(32 19 10 / 25%) 56%, rgb(32 19 10 / 3%) 85%);
  pointer-events: none;
}
.home-hero__content { position: relative; z-index: 1; }
.home-hero .home-eyebrow { color: #e9ceb7; margin-bottom: 25px; }
.home-hero h1 {
  max-width: 720px;
  color: #fff8ef;
  font: 300 clamp(58px, 5.5vw, 86px)/1.02 var(--font-hero);
  letter-spacing: -.025em;
  margin-bottom: 28px;
}
.home-hero h1 em { font-weight: inherit; }
.home-hero__summary { max-width: 400px; color: #f4e9df; font: 400 16px/1.7 var(--font-ui); }
.home-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-top: 34px; }
.home-page .home-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 55px;
  padding: 16px 26px;
  border: 1px solid #a36b48;
  border-radius: 2px;
  background: #9b5c36;
  color: #fff9f1;
  font: 500 13px/1.5 var(--font-ui);
  cursor: pointer;
  transition: opacity .85s var(--motion-ease), translate .85s var(--motion-ease), background .3s, border-color .3s, transform .35s var(--motion-ease);
}
.home-page .home-button:hover { background: #834727; border-color: #834727; transform: translateY(-2px); }
.home-button > span[aria-hidden] { font-size: 20px; font-weight: 400; transition: translate .4s var(--motion-ease); }
.home-button:hover > span[aria-hidden] { translate: 4px 0; }
.home-page .home-button--outline { background: transparent; border-color: #b89374; color: #63432f; }
.home-page .home-button--outline:hover { background: #efe4d8; }
.home-page .home-button--glass { background: rgb(255 248 239 / 4%); border-color: rgb(255 248 239 / 50%); color: #fff8ef; }
.home-page .home-button--glass:hover { background: rgb(255 248 239 / 12%); border-color: #fff8ef; }
.home-hero__foot {
  position: absolute;
  inset: auto 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ead9c7;
  font: 400 11px/1.6 var(--font-ui);
  letter-spacing: .07em;
}
.home-hero__scroll { display: inline-flex; align-items: center; gap: 15px; }
.home-hero__scroll::before { content: ""; width: 42px; height: 1px; background: #d0a17d; }

.home-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 30px; border-bottom: 1px solid var(--home-line); }
.home-shortcuts a { display: flex; align-items: center; gap: 18px; padding: 8px 32px; border-left: 1px solid var(--home-line); font: 400 13px/1.5 var(--font-ui); }
.home-shortcuts a:first-child { padding-left: 0; border-left: 0; }
.home-shortcuts a:last-child { padding-right: 0; }
.home-shortcuts span { color: #a46f4f; font: 500 30px/1 var(--font-text); }
.home-shortcuts a:hover { color: #ad714a; }
.home-services { padding-block: 100px 108px; }
.home-section-head { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 80px; margin-bottom: 58px; }
.home-section-head .home-eyebrow { margin-bottom: 21px; }
.figma-home h2 { font: 400 clamp(40px, 4.2vw, 58px)/1.05 var(--font-text); letter-spacing: -.02em; }
.home-page h2 em { font-weight: inherit; }
.home-section-head > p { max-width: 430px; color: var(--home-muted); font: 400 14px/1.8 var(--font-ui); padding-bottom: 5px; }
.home-service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  align-items: center;
  column-gap: 72px;
  padding-block: 48px;
  border-top: 1px solid var(--home-line);
  scroll-margin-top: 105px;
}
.home-service:last-child { border-bottom: 1px solid var(--home-line); }
.home-service__copy { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 0 22px; }
.home-service__number { padding-top: 1px; font: 500 54px/1 var(--font-text); color: #ad7857; }
.home-service h3 { margin-bottom: 18px; font: 400 clamp(29px, 2.65vw, 39px)/1.08 var(--font-text); letter-spacing: -.01em; }
.home-service__description { color: var(--home-muted); font: 400 14px/1.8 var(--font-ui); }
.home-service .number-list { margin-top: 22px; }
.number-list { list-style: none; counter-reset: detail; padding: 0; }
.number-list li { position: relative; counter-increment: detail; display: grid; grid-template-columns: 23px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid #e5d9cd; color: #64503f; font: 400 13px/1.65 var(--font-ui); }
.number-list li::before { content: counter(detail, decimal-leading-zero); color: #ad7857; font-size: 10px; padding-top: 2px; font-variant-numeric: tabular-nums; }
.home-service__image { position: relative; width: 100%; aspect-ratio: 1.63; background: #f0e7dc; }
.home-service__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-service--reverse { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
.home-service--reverse .home-service__image { grid-column: 1; grid-row: 1; }
.home-service--reverse .home-service__copy { grid-column: 2; grid-row: 1; }

.home-about { position: relative; padding-block: 86px; background: #f1eae1; }
.home-about__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 85px; align-items: center; }
.home-about .home-eyebrow { margin-bottom: 20px; }
.home-about h2 { margin-bottom: 27px; }
.home-about__text { color: #6d5340; font: 400 14px/1.85 var(--font-ui); }
.home-about__text + .home-about__text { margin-top: 13px; }
.home-about__stat { display: flex; gap: 17px; align-items: center; margin: 26px 0 30px; padding-top: 20px; border-top: 1px solid #d9c7b4; }
.home-about__stat strong { color: #9d6543; font: 400 52px/1 var(--font-text); }
.home-about__stat span { max-width: 190px; color: #755b46; font: 400 12px/1.6 var(--font-ui); }
.home-about__image { width: 100%; background: #f1eae1; }
.home-about__image img { width: 100%; height: auto; aspect-ratio: 673 / 447; object-fit: cover; filter: saturate(.7) brightness(1.015); }
.home-about__caption { margin-top: 16px; display: flex; align-items: center; gap: 15px; color: #927154; font: 400 10px/1.6 var(--font-ui); letter-spacing: .1em; text-transform: uppercase; }
.home-about__caption::before { content: ""; width: 40px; height: 1px; background: #b89b80; }

.home-contact { position: relative; padding: 112px 0 258px; isolation: isolate; }
.home-contact::after { content: ""; position: absolute; inset: auto 0 0; height: 290px; z-index: -1; background: url("../img/figma/index section 4.png") center bottom / min(1440px, 100%) auto no-repeat; pointer-events: none; }
.home-contact__grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: 95px; align-items: start; }
.home-contact .home-eyebrow { margin-bottom: 20px; }
.home-contact h2 { margin-bottom: 24px; }
.home-contact__intro { max-width: 345px; color: var(--home-muted); font: 400 14px/1.85 var(--font-ui); }
.home-contact__quick { display: grid; gap: 12px; margin-top: 27px; font: 400 13px/1.6 var(--font-ui); }
.home-contact__quick a { display: flex; align-items: center; gap: 15px; width: fit-content; }
.home-contact__quick img { width: 22px; height: auto; filter: brightness(0) saturate(100%) invert(29%) sepia(23%) saturate(1061%) hue-rotate(340deg) brightness(92%) contrast(88%); }
.home-contact__quick a:hover { color: #a46840; }
.home-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 22px; font-family: var(--font-ui); }
.home-form label { display: block; min-width: 0; }
.home-form label > span { display: block; margin-bottom: 10px; color: #735844; font: 400 11px/1.6 var(--font-ui); }
.home-form input:not([type="checkbox"]):not([type="hidden"]), .home-form textarea { display: block; width: 100%; padding: 15px 16px; border: 1px solid #d5c0ae; border-radius: 2px; background: #fdfaf6; color: #4b2c16; font: 400 14px/1.6 var(--font-ui); transition: border-color .25s, box-shadow .25s; }
.home-form textarea { min-height: 145px; resize: vertical; }
.home-form input::placeholder, .home-form textarea::placeholder { color: #a08974; font-size: 12px; }
.home-form input:focus, .home-form textarea:focus { outline: 0; border-color: #9e6b45; box-shadow: 0 0 0 3px rgb(169 119 76 / 8%); }
.home-form__wide { grid-column: 1 / -1; }
.home-form .home-form__consent { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.home-form__consent input { width: 15px; height: 15px; margin-top: 2px; flex-shrink: 0; accent-color: #95603b; }
.home-form .home-form__consent > span { margin: 0; font: 400 10px/1.7 var(--font-ui); color: #806751; }
.home-form .home-button { justify-self: start; min-width: 215px; }
.home-page .site-footer { padding-top: 58px; }
.home-page .site-footer .footer-row { width: min(1240px, calc(100% - 96px)); padding-inline: 0; }
.home-page .site-footer .footer-phone, .home-page .site-footer .footer-email { font-size: 17px; }
.home-page .site-footer .footer-logo { width: 175px; }
.home-page .site-footer .footer-menu { font-size: 16px; gap: 14px; }
.home-page .footer-legal { width: min(1240px, calc(100% - 96px)); padding-inline: 0; font-size: 10px; }
html[lang="fr"] .footer-legal { grid-template-columns: 1fr auto; gap: 18px 28px; }
.footer-legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; }
.home-form__consent a { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 1600px) {
  .home-wrap, .home-page .site-footer .footer-row, .home-page .footer-legal { width: min(1360px, calc(100% - 160px)); }
  .home-hero h1 { font-size: 90px; }
  .home-service { column-gap: 96px; }
}
@media (max-width: 1100px) {
  .home-wrap { width: calc(100% - 64px); }
  .home-service { column-gap: 38px; }
  .home-service__copy { grid-template-columns: 46px minmax(0, 1fr); gap: 0 15px; }
  .home-service__number { font-size: 44px; }
  .home-service h3 { font-size: 31px; }
  .home-section-head, .home-about__grid, .home-contact__grid { gap: 45px; }
  .home-shortcuts a { padding-inline: 20px; font-size: 12px; gap: 12px; }
}
@media (max-width: 900px) {
  .home-hero { min-height: 680px; padding-block: 90px 110px; }
  .home-hero h1 { font-size: clamp(54px, 8vw, 72px); }
  .home-hero__summary { font-size: 14px; max-width: 360px; }
  .home-hero .hero-image { object-position: 60% center; }
  .home-shortcuts { padding-block: 23px; }
  .home-shortcuts a { font-size: 11px; padding-inline: 15px; }
  .home-shortcuts span { font-size: 25px; }
  .home-services { padding-block: 72px; }
  .home-section-head { gap: 30px; margin-bottom: 36px; }
  .figma-home h2 { font-size: 44px; }
  .home-section-head > p { font-size: 12px; }
  .home-service { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; padding-block: 35px; }
  .home-service__copy { display: block; }
  .home-service__number { display: block; font-size: 38px; margin-bottom: 12px; }
  .home-service h3 { font-size: 31px; }
  .home-service__description { font-size: 13px; }
  .number-list li { font-size: 12px; padding-block: 9px; }
  .home-service__image { aspect-ratio: .88; }
  .home-about { padding-block: 65px; }
  .home-about__grid { gap: 38px; }
  .home-about__text { font-size: 12px; }
  .home-about__image img { aspect-ratio: 1; }
  .home-contact { padding-block: 78px 200px; }
  .home-contact__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 35px; }
  .home-contact__intro { font-size: 12px; }
  .home-form { gap: 20px 15px; }
  .home-form input:not([type="checkbox"]):not([type="hidden"]), .home-form textarea { padding-inline: 12px; }
  .home-page .site-footer .footer-row, .home-page .footer-legal { width: calc(100% - 64px); }
  .home-page .site-footer .footer-phone, .home-page .site-footer .footer-email { font-size: 13px; }
  .home-page .site-footer .footer-logo { width: 140px; }
  .home-page .site-footer .footer-menu { font-size: 14px; }
}
@media (max-width: 600px) {
  html[lang="fr"] .footer-legal { grid-template-columns: 1fr; }
  .home-wrap { width: calc(100% - 30px); }
  .home-hero { min-height: min(780px, calc(100svh - 76px)); padding-block: 86px 106px; }
  .home-hero__content { padding-inline: 9px; }
  .home-hero .home-eyebrow { font-size: 9px; letter-spacing: .1em; margin-bottom: 22px; }
  .home-hero h1 { font-size: clamp(41px, 11.6vw, 66px); line-height: 1.05; max-width: 100%; margin-bottom: 23px; }
  .home-hero::before { background: linear-gradient(90deg, rgb(30 18 8 / 66%), rgb(30 18 8 / 27%)); }
  .home-hero__summary { max-width: 305px; font-size: 13px; line-height: 1.8; }
  .home-hero__actions { gap: 12px; margin-top: 25px; }
  .home-page .home-button { padding: 14px 20px; gap: 22px; min-height: 50px; font-size: 12px; }
  .home-hero__actions .home-button--glass { background: transparent; border-color: transparent; padding-inline: 0; min-height: 38px; }
  .home-hero__foot { width: calc(100% - 48px); bottom: 23px; font-size: 9px; }
  .home-hero__foot > span:last-child { display: none; }
  .home-shortcuts { grid-template-columns: 1fr; padding-block: 17px; }
  .home-shortcuts a, .home-shortcuts a:first-child, .home-shortcuts a:last-child { border-left: 0; padding: 12px 9px; font-size: 12px; gap: 15px; }
  .home-shortcuts span { font-size: 25px; }
  .home-services { padding-block: 55px 60px; }
  .home-section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; padding-inline: 9px; }
  .home-section-head .home-eyebrow { margin-bottom: 17px; }
  .figma-home h2 { font-size: 41px; }
  .home-section-head > p { font-size: 13px; max-width: 340px; }
  .home-service, .home-service--reverse { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 32px; }
  .home-service__copy { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 13px; padding-inline: 9px; }
  .home-service__number { font-size: 37px; margin-bottom: 0; padding-top: 2px; }
  .home-service h3 { font-size: 31px; overflow-wrap: anywhere; }
  .home-service__description { font-size: 14px; }
  .home-service .number-list { margin-top: 19px; }
  .number-list li { font-size: 13px; padding-block: 10px; }
  .home-service__image { aspect-ratio: 1.65; }
  .home-service--reverse .home-service__copy, .home-service--reverse .home-service__image { grid-column: auto; grid-row: auto; }
  .home-about { padding-block: 58px; }
  .home-about__grid { grid-template-columns: 1fr; gap: 36px; }
  .home-about__copy { padding-inline: 9px; }
  .home-about__text { font-size: 13px; }
  .home-about__image img { aspect-ratio: 673 / 447; }
  .home-about__caption { font-size: 9px; }
  .home-about__stat { margin-block: 25px; }
  .home-contact { padding-block: 60px 145px; }
  .home-contact__grid { grid-template-columns: 1fr; gap: 36px; padding-inline: 9px; }
  .home-contact__intro { font-size: 13px; }
  .home-contact__quick { gap: 14px; font-size: 13px; }
  .home-form { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .home-form input:not([type="checkbox"]):not([type="hidden"]), .home-form textarea { font-size: 16px; }
  .home-form textarea { min-height: 130px; }
  .home-form .home-button { width: 100%; }
  .home-contact::after { height: 150px; }
  .home-page .site-footer .footer-row, .home-page .footer-legal { width: calc(100% - 48px); }
  .home-page .site-footer .footer-menu { gap: 24px; }
  .home-page .site-footer .footer-logo { width: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .home-button:hover { transform: none; }
}
