@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&display=swap");

:root {
  color-scheme: dark;
  --paper: #0f0f0e;
  --ink: #ece6d9;
  --muted: #8f8a7d;
  --olive: #c8ad82;
  --line: #2a2926;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 88px;
  align-items: center;
  justify-content: space-between;
  padding: 0 7.2%;
  color: white;
  border-bottom: 1px solid rgb(255 255 255 / 23%);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: 180px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
  font-size: 11px;
  letter-spacing: 0.2px;
}

.site-nav > a:not(.nav-cta) {
  transition: opacity 180ms ease;
}

.site-nav > a:not(.nav-cta):hover {
  opacity: 0.7;
}

.nav-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 16px;
  padding: 0 17px;
  border: 1px solid rgb(255 255 255 / 55%);
  transition: background 180ms ease, color 180ms ease;
}

.nav-cta:hover {
  background: var(--olive);
  color: #10100f;
}

.nav-cta span,
.contact-link span,
.site-footer > a:last-of-type span {
  font-size: 15px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(800px, 100svh);
  align-items: center;
  overflow: hidden;
  background: #6c6a5e;
  color: white;
}

.hero-image,
.statement > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image {
  object-position: center 52%;
  animation: hero-reveal 1.1s ease-out both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(10 10 9 / 86%) 0%, rgb(10 10 9 / 62%) 45%, rgb(10 10 9 / 38%) 100%),
    linear-gradient(0deg, rgb(15 15 14 / 90%), transparent 45%),
    linear-gradient(180deg, rgb(10 10 9 / 70%), transparent 25%);
}

.hero-content {
  position: relative;
  width: min(690px, 75%);
  margin: 80px 0 0 12.8%;
}

.eyebrow {
  display: inline-block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1.6;
  text-transform: uppercase;
}

.hero-eyebrow {
  margin-bottom: 26px;
  color: #e4dfd3;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
.statement-content p {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  margin-bottom: 23px;
  font-size: clamp(54px, 7.5vw, 100px);
  letter-spacing: -3.6px;
  line-height: 0.98;
}

h1 em,
h2 em,
.statement-content em {
  font-weight: 400;
}

.hero-intro {
  max-width: 375px;
  margin-bottom: 32px;
  color: rgb(255 255 255 / 82%);
  font-size: 13px;
  line-height: 1.8;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 28px;
  padding: 0 18px;
  font-size: 10px;
  transition: background 180ms ease, color 180ms ease;
}

.button-light {
  background: var(--olive);
  color: #10100f;
}

.button-light:hover {
  background: #dcc49b;
}

.button span {
  font-size: 15px;
}

.hero-note {
  position: absolute;
  right: 7.2%;
  bottom: 28px;
  margin-bottom: 0;
  color: rgb(255 255 255 / 78%);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}

.section-wrap {
  padding-right: 12.8%;
  padding-left: 12.8%;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8%;
  padding-top: 130px;
  padding-bottom: 145px;
}

.intro-label,
.contact-label {
  padding-top: 12px;
}

.intro-label .eyebrow,
.contact-label .eyebrow,
.section-heading .eyebrow {
  color: var(--muted);
}

.line {
  display: block;
  width: 48px;
  height: 1px;
  margin-top: 27px;
  background: #6f6249;
}

.intro-copy {
  max-width: 710px;
}

h2 {
  margin-bottom: 25px;
  font-size: clamp(36px, 4.6vw, 59px);
  letter-spacing: -1.4px;
  line-height: 1.12;
}

.intro-copy > p:not(.location-note) {
  max-width: 590px;
  margin-bottom: 23px;
  color: #a8a396;
  font-size: 13px;
  line-height: 1.95;
}

.location-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 32px 0 0;
  color: var(--olive);
  font-size: 10px;
  letter-spacing: 0.3px;
}

.location-note span {
  font-size: 17px;
}

.expertise {
  padding-top: 92px;
  padding-bottom: 132px;
  background: #151514;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 52px;
}

.section-heading h2 {
  margin: 20px 0 0;
}

.section-heading > p {
  max-width: 270px;
  margin: 0 0 6px;
  color: #8f8a7d;
  font-size: 12px;
  line-height: 1.8;
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 18px;
}

.expertise-card {
  position: relative;
  min-height: 345px;
  overflow: hidden;
  background: #1c1b19;
  color: white;
}

.expertise-card-large,
.expertise-card-wide {
  min-height: 450px;
}

.expertise-card-wide {
  grid-column: 1 / -1;
  min-height: 390px;
}

.expertise-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.88);
  transition: transform 700ms cubic-bezier(.2, .7, .2, 1);
}

.expertise-card:hover img {
  transform: scale(1.035);
}

.expertise-card::after {
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(0deg, rgb(18 20 17 / 58%), transparent);
  content: "";
  pointer-events: none;
}

.card-caption {
  position: absolute;
  z-index: 1;
  right: 25px;
  bottom: 23px;
  left: 25px;
  display: flex;
  align-items: baseline;
  gap: 17px;
}

.card-caption > span:first-child {
  color: rgb(255 255 255 / 72%);
  font-size: 9px;
  letter-spacing: 1px;
}

.card-caption h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.card-plus {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-left: auto;
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.card-plus::before {
  position: absolute;
  inset: 0;
  content: "";
}

.expertise-card:hover .card-plus {
  border-color: var(--olive);
  background: var(--olive);
  color: #10100f;
}

.expertise-card {
  cursor: pointer;
}

.statement {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
  overflow: hidden;
  background: #1c1b19;
  color: white;
  text-align: center;
}

.statement > img {
  object-position: center 53%;
}

.statement-overlay {
  position: absolute;
  inset: 0;
  background: rgb(10 10 9 / 72%);
}

.statement-content {
  position: relative;
  padding: 50px 20px;
}

.statement-content .eyebrow {
  color: #e1ddd1;
}

.statement-content p {
  margin: 28px 0 0;
  font-size: clamp(37px, 5.3vw, 67px);
  letter-spacing: -1px;
  line-height: 1.28;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 8%;
  padding-top: 130px;
  padding-bottom: 130px;
}

.contact-label p {
  margin-top: 42px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.contact-main h2 {
  margin-bottom: 20px;
}

.contact-main > p {
  max-width: 360px;
  margin-bottom: 30px;
  color: #8f8a7d;
  font-size: 12px;
  line-height: 1.8;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid #6f6249;
  font-size: 13px;
  transition: color 180ms ease;
}

.contact-link:hover {
  color: var(--olive);
}

.contact-index {
  align-self: end;
  color: #6f6a5e;
  font-size: 9px;
  letter-spacing: 1px;
  line-height: 2;
  text-align: right;
}

.site-footer {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 7.2%;
  border-top: 1px solid var(--line);
}

.footer-brand {
  color: var(--ink);
}

.footer-brand .brand-logo {
  width: 160px;
}

.site-footer p,
.site-footer > a:last-of-type,
.copyright {
  margin: 0;
  color: #77796f;
  font-size: 9px;
}

.site-footer > a:last-of-type {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
}

@keyframes hero-reveal {
  from {
    transform: scale(1.04);
    opacity: 0.7;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (min-width: 1500px) {
  .section-wrap {
    padding-right: max(12.8%, calc((100% - 1120px) / 2));
    padding-left: max(12.8%, calc((100% - 1120px) / 2));
  }
}

@media (max-width: 800px) {
  .site-header {
    height: 76px;
    padding: 0 6%;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    align-content: center;
    justify-items: center;
    gap: 6px;
    padding: 0;
    border: 1px solid rgb(255 255 255 / 55%);
    background: transparent;
    color: white;
    cursor: pointer;
  }

  .menu-toggle > span:not(.sr-only) {
    width: 16px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-last-child(2) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 75px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 10px 6% 20px;
    background: #121211;
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .site-nav > a:not(.nav-cta) {
    padding: 15px 0;
    border-bottom: 1px solid rgb(255 255 255 / 15%);
  }

  .nav-cta {
    justify-content: space-between;
    margin-top: 15px;
  }

  .hero {
    min-height: 710px;
    min-height: min(780px, 100svh);
  }

  .hero-content {
    width: 82%;
    margin-left: 9%;
  }

  .hero-note {
    right: 9%;
    font-size: 11px;
  }

  .section-wrap {
    padding-right: 8%;
    padding-left: 8%;
  }

  .intro,
  .contact {
    grid-template-columns: 0.6fr 2fr;
    gap: 8%;
    padding-top: 100px;
    padding-bottom: 105px;
  }

  .contact-index {
    display: none;
  }

  .expertise {
    padding-top: 76px;
    padding-bottom: 90px;
  }

  .expertise-card,
  .expertise-card-large {
    min-height: 330px;
  }

  .expertise-card-wide {
    min-height: 300px;
  }

  .statement {
    min-height: 460px;
  }

  .site-footer {
    flex-wrap: wrap;
    padding: 24px 6%;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 75px;
  }

  .hero {
    min-height: 740px;
    min-height: 100svh;
    max-height: 840px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgb(10 10 9 / 82%), rgb(10 10 9 / 45%)),
      linear-gradient(0deg, rgb(15 15 14 / 90%), transparent 50%),
      linear-gradient(180deg, rgb(10 10 9 / 70%), transparent 25%);
  }

  .hero-content {
    width: 86%;
    margin: 68px 0 0 7%;
  }

  h1 {
    font-size: clamp(54px, 15vw, 78px);
    letter-spacing: -2.8px;
  }

  .hero-intro {
    max-width: 300px;
    font-size: 12px;
  }

  .hero-note {
    right: auto;
    left: 7%;
    font-size: 11px;
  }

  .section-wrap {
    padding-right: 7%;
    padding-left: 7%;
  }

  .intro,
  .contact {
    display: block;
    padding-top: 78px;
    padding-bottom: 82px;
  }

  .intro-label,
  .contact-label {
    padding-top: 0;
    margin-bottom: 38px;
  }

  .intro-label .line,
  .contact-label .line {
    width: 35px;
    margin-top: 16px;
  }

  h2 {
    font-size: 39px;
    letter-spacing: -1px;
  }

  .intro-copy > p:not(.location-note) {
    font-size: 12px;
  }

  .expertise {
    padding-top: 73px;
    padding-bottom: 76px;
  }

  .section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .section-heading h2 {
    margin-top: 15px;
  }

  .section-heading > p {
    max-width: 320px;
    margin-top: 18px;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .expertise-card,
  .expertise-card-large,
  .expertise-card-wide {
    grid-column: auto;
    min-height: 330px;
  }

  .expertise-card-wide {
    min-height: 280px;
  }

  .card-caption {
    right: 18px;
    bottom: 18px;
    left: 18px;
    gap: 12px;
  }

  .card-caption h3 {
    font-size: 21px;
  }

  .statement {
    min-height: 390px;
  }

  .statement-content p {
    font-size: 39px;
  }

  .contact-label p {
    margin-top: 22px;
  }

  .contact-main h2 {
    font-size: 40px;
  }

  .site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px 10px;
    padding: 22px 7%;
  }

  .site-footer p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .site-footer > a:last-of-type {
    justify-self: end;
  }

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Page réalisations */
.page-realisations .site-header {
  position: relative;
  border-bottom-color: var(--line);
}

.realisations-intro {
  padding: 60px 7.2% 0;
}

.realisations-intro h1 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
}

.realisations-intro p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.8;
}

.back-link {
  color: var(--olive);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.product-section {
  padding: 40px 7.2% 80px;
  scroll-margin-top: 10px;
}

.product-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 34px;
}

.product-head span {
  color: var(--olive);
  font-size: 11px;
  letter-spacing: 2px;
}

.product-head h2 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 400;
}

.product-head p {
  align-self: end;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.product-gallery {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-gallery::-webkit-scrollbar {
  display: none;
}

.product-gallery figure {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 28px;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}

.carousel-btn:hover {
  background: var(--olive);
  color: #10100f;
}

.carousel-count {
  min-width: 56px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 2px;
  text-align: center;
}

.product-section[hidden] {
  display: none;
}

.product-gallery figure {
  margin: 0;
  background: #1c1b19;
}

.product-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  object-fit: cover;
  filter: brightness(0.85) saturate(0.9);
}

.product-gallery figcaption {
  padding: 18px 4px 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .product-head {
    grid-template-columns: 1fr;
  }
}
