:root {
  --ink: #201b18;
  --muted: #6f6760;
  --paper: #f5f2ec;
  --copper: #b86f4d;
  --copper-dark: #7d442e;
  --line: rgba(55, 46, 40, 0.14);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.hero {
  position: relative;
  min-height: 84vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  background-image:
    linear-gradient(90deg, rgba(245, 242, 236, 0.96) 0%, rgba(245, 242, 236, 0.82) 34%, rgba(245, 242, 236, 0.26) 67%, rgba(245, 242, 236, 0.08) 100%),
    url("Fond d'écran.jpeg");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 22vh;
  content: "";
  background: linear-gradient(180deg, rgba(245, 242, 236, 0), var(--paper));
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.brand img {
  width: 30px;
  height: 48px;
  object-fit: contain;
}

.nav-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.84rem;
  font-weight: 700;
}

.nav-link {
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(10px);
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 11vh;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--copper-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.98;
}

h1 {
  max-width: 580px;
  font-size: clamp(3.4rem, 6vw, 5.9rem);
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
}

.intro {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  padding: 0 22px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.nav-link:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 68, 46, 0.36);
}

.button.primary {
  color: var(--white);
  border-color: var(--copper-dark);
  background: var(--copper-dark);
}

.button.secondary {
  color: var(--copper-dark);
  background: rgba(255, 255, 255, 0.54);
}

.expertise {
  padding: 86px 0 96px;
  background:
    linear-gradient(180deg, var(--paper), #ffffff 36%),
    var(--white);
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
  border: 1px solid var(--line);
  background: var(--line);
}

.pillars article {
  min-height: 245px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.78);
}

.pillars span {
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.pillars h3 {
  margin: 52px 0 14px;
  font-size: 1.35rem;
}

.pillars p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 780px) {
  .hero {
    min-height: 86vh;
    background-image:
      linear-gradient(180deg, rgba(245, 242, 236, 0.96) 0%, rgba(245, 242, 236, 0.76) 48%, rgba(245, 242, 236, 0.38) 100%),
      url("Fond d'écran.jpeg");
    background-position: 54% center;
  }

  .topbar,
  .hero-content,
  .section-inner {
    width: min(100% - 28px, 1120px);
  }

  .topbar {
    padding: 18px 0;
  }

  .brand {
    max-width: 62%;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
  }

  .brand img {
    width: 24px;
    height: 38px;
  }

  .nav-link {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero-content {
    align-self: end;
    padding: 42px 0 10vh;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

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

  .button {
    width: 100%;
  }

  .expertise {
    padding: 62px 0 72px;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pillars article {
    min-height: 210px;
  }
}
