:root {
  --black: #0d0d0c;
  --black-soft: #151513;
  --stone: #d8d2c5;
  --stone-soft: #eee9df;
  --muted: #9d9587;
  --muted-dark: #6e675c;
  --line: rgb(238 233 223 / 0.14);
  --line-dark: rgb(13 13 12 / 0.16);
  --bronze: #b69766;
  --bronze-soft: #d3bd91;
  --panel: #f4f0e8;
  --radius: 6px;
  --font-site: "TT Drugs", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@font-face {
  font-family: "TT Drugs";
  src: url("assets/fonts/tt-drugs-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Drugs";
  src: url("assets/fonts/tt-drugs-medium.otf") format("opentype");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TT Drugs";
  src: url("assets/fonts/tt-drugs-italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--stone-soft);
  font-family: var(--font-site);
  font-feature-settings: "liga" 0, "calt" 0;
  font-variant-ligatures: none;
}

body::selection {
  background: var(--bronze);
  color: var(--black);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero-copy,
.audit-panel,
.offmarket-copy,
.maison-copy,
.contact > div,
.section-head {
  min-width: 0;
}

.safe-hyphen {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 18px clamp(22px, 4vw, 58px);
  border-bottom: 1px solid var(--line);
  background: rgb(13 13 12 / 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  width: 132px;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  color: rgb(238 233 223 / 0.72);
  font-size: 0.82rem;
}

.main-nav a,
.nav-cta,
.button {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.main-nav a:hover {
  color: var(--stone-soft);
}

.nav-cta {
  justify-self: end;
  padding: 12px 18px;
  border: 1px solid rgb(211 189 145 / 0.5);
  border-radius: var(--radius);
  color: var(--stone-soft);
  font-size: 0.82rem;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: end;
  min-height: calc(100vh - 76px);
  padding: clamp(76px, 8vw, 124px) clamp(22px, 4vw, 58px) clamp(54px, 6vw, 84px);
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--bronze-soft);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1,
.section-head h2,
.audit h2,
.offmarket h2,
.maison h2,
.not-section h2,
.clients h2,
.contact h2 {
  margin: 0;
  font-family: var(--font-site);
  font-weight: 500;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin-top: 28px;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
}

.hero-copy > p:last-of-type {
  max-width: 670px;
  margin: 34px 0 0;
  color: rgb(238 233 223 / 0.7);
  font-size: 1.12rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 650;
}

.button.primary {
  border: 1px solid var(--bronze);
  background: var(--bronze);
  color: #10100e;
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--stone-soft);
}

.hero-media {
  position: relative;
  min-height: 680px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--black-soft);
}

.hero-image,
.image-band {
  background-size: cover;
  background-position: center;
  filter: saturate(0.78) contrast(1.04);
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgb(13 13 12 / 0.08), rgb(13 13 12 / 0.84)),
    url("https://images.unsplash.com/photo-1600607688969-a5bfcd646154?auto=format&fit=crop&w=1400&q=84");
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgb(238 233 223 / 0.2);
}

.hero-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 2;
  display: grid;
  gap: 10px;
  max-width: 420px;
  padding: 24px;
  border: 1px solid rgb(238 233 223 / 0.22);
  border-radius: var(--radius);
  background: rgb(13 13 12 / 0.62);
  backdrop-filter: blur(16px);
}

.hero-card span,
.teaser span,
.pricing span {
  color: var(--bronze-soft);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.hero-card strong {
  font-family: var(--font-site);
  font-size: 1.75rem;
  font-weight: 400;
}

.hero-card small {
  color: rgb(238 233 223 / 0.68);
  line-height: 1.65;
}

.intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.3fr);
  gap: clamp(30px, 6vw, 96px);
  padding: 54px clamp(22px, 4vw, 58px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro p {
  margin: 0;
}

.intro p:first-child {
  color: var(--bronze-soft);
  font-family: var(--font-site);
  font-size: 1.5rem;
}

.intro p:last-child {
  max-width: 880px;
  color: rgb(238 233 223 / 0.72);
  font-size: 1.1rem;
  line-height: 1.7;
}

.services,
.audit,
.offmarket,
.maison,
.not-section,
.clients,
.contact {
  padding: clamp(86px, 9vw, 140px) clamp(22px, 4vw, 58px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(180px, 0.44fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 96px);
  align-items: start;
  margin-bottom: clamp(42px, 5vw, 76px);
}

.section-head h2,
.audit h2,
.offmarket h2,
.maison h2,
.contact h2 {
  max-width: 760px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.12;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.91fr 0.91fr;
  gap: 18px;
}

.service-card {
  min-height: 420px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(238 233 223 / 0.035);
}

.service-card.featured {
  background:
    linear-gradient(145deg, rgb(182 151 102 / 0.14), transparent 58%),
    rgb(238 233 223 / 0.045);
}

.service-card span,
.scenario-list li,
.client-grid span,
.not-grid span {
  color: var(--bronze-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 110px 0 18px;
  font-family: var(--font-site);
  font-size: 2.7rem;
  font-weight: 400;
  line-height: 1.05;
}

.service-card p {
  max-width: 450px;
  margin: 0;
  color: rgb(238 233 223 / 0.68);
  line-height: 1.75;
}

.service-card a {
  display: inline-flex;
  margin-top: 34px;
  color: var(--stone-soft);
  border-bottom: 1px solid var(--bronze);
}

.audit {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: clamp(34px, 6vw, 84px);
  background: var(--panel);
  color: var(--black);
}

.audit .section-label {
  color: var(--muted-dark);
}

.audit-panel p:not(.section-label) {
  max-width: 760px;
  margin: 30px 0 0;
  color: #4f4a42;
  font-size: 1.06rem;
  line-height: 1.85;
}

.audit-details {
  display: grid;
  gap: 18px;
  align-content: start;
}

.pricing {
  padding: 30px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: #fffaf1;
}

.pricing span {
  color: #7d6b4e;
}

.pricing strong {
  display: block;
  margin-top: 48px;
  font-family: var(--font-site);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 0.98;
}

.pricing p {
  margin: 18px 0 0;
  color: #5f594f;
  line-height: 1.65;
}

.scenario-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.scenario-list li {
  padding: 20px 22px;
  color: #24211d;
  border-bottom: 1px solid var(--line-dark);
}

.scenario-list li:last-child {
  border-bottom: 0;
}

.offmarket {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.image-band {
  min-height: 660px;
  border-radius: var(--radius);
  background-image:
    linear-gradient(180deg, rgb(13 13 12 / 0.05), rgb(13 13 12 / 0.42)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1400&q=84");
}
.offmarket-copy p:not(.section-label),
.maison-copy p,
.maison-copy blockquote,
.contact p {
  color: rgb(238 233 223 / 0.7);
  line-height: 1.8;
}

.offmarket-copy > p:not(.section-label) {
  max-width: 690px;
  margin: 30px 0 0;
  font-size: 1.06rem;
}

.teaser {
  max-width: 560px;
  margin-top: 46px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.teaser p {
  margin: 18px 0 0;
  color: var(--stone-soft);
  font-family: var(--font-site);
  font-size: 1.35rem;
  line-height: 1.3;
}

.maison {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: clamp(34px, 6vw, 84px);
  border-top: 1px solid var(--line);
}

/* Titre ancré pendant la lecture du pavé (évite le vide sous un titre court) */
.maison > div:first-child {
  position: sticky;
  top: clamp(90px, 12vh, 130px);
  align-self: start;
}

.maison-copy p {
  margin: 0;
  font-size: 1.18rem;
}

.maison-copy blockquote {
  margin: 42px 0 0;
  padding: 0 0 0 28px;
  border-left: 1px solid var(--bronze);
  font-family: var(--font-site);
  font-size: 1.4rem;
  line-height: 1.4;
}

.not-section {
  background: #f7f2e8;
  color: var(--black);
}

.not-section h2 {
  max-width: 740px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.12;
}

.not-grid,
.client-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 54px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.not-grid span,
.client-grid span {
  display: grid;
  min-height: 132px;
  place-items: end start;
  padding: 20px;
  background: #f7f2e8;
  color: #3b352d;
  line-height: 1.35;
}

.clients {
  background: #f7f2e8;
  color: var(--black);
}

.clients .section-label {
  color: #7d6b4e;
}

.client-grid {
  grid-template-columns: repeat(5, 1fr);
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  border-top: 1px solid var(--line);
}

.contact > img {
  width: 220px;
  opacity: 0.95;
}

.contact p:not(.section-label) {
  max-width: 620px;
  margin: 24px 0 0;
}

.button.light {
  justify-self: end;
  white-space: nowrap;
}

.contact-actions {
  display: flex;
  gap: 12px;
  justify-self: end;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  border: 1px solid var(--bronze);
  background: var(--bronze);
  color: #10100e;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  background: var(--bronze-soft);
  border-color: var(--bronze-soft);
}

.icon-button svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero,
  .audit,
  .offmarket,
  .maison,
  .contact,
  .section-head,
  .intro {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .image-band {
    min-height: 540px;
  }

  .service-grid,
  .not-grid,
  .client-grid {
    grid-template-columns: 1fr 1fr;
  }

  .button.light,
  .contact-actions {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 18px;
  }

  .brand {
    width: 104px;
  }

  .nav-cta {
    padding: 10px 12px;
    font-size: 0.74rem;
    line-height: 1.1;
    text-align: center;
  }

  .hero,
  .services,
  .audit,
  .offmarket,
  .maison,
  .not-section,
  .clients,
  .contact {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero h1 {
    font-size: 2.05rem;
    overflow-wrap: break-word;
  }

  .eyebrow,
  .section-label {
    line-height: 1.4;
    overflow-wrap: break-word;
  }

  .hero-copy > p:last-of-type,
  .intro p:last-child,
  .maison-copy p {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
    text-align: center;
  }

  .hero-media,
  .image-band {
    min-height: 420px;
  }

  .hero-media::after {
    inset: 18px;
  }

  .hero-card {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .service-grid,
  .not-grid,
  .client-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 340px;
  }

  .service-card h3 {
    margin-top: 76px;
    font-size: 2.25rem;
  }

  .pricing strong {
    font-size: 2rem;
  }

  .maison-copy blockquote {
    padding-left: 20px;
    font-size: 1.45rem;
  }

  .contact > img {
    width: 160px;
  }
}
