:root {
  --navy: #0E2342;
  --navy2: #08162B;
  --text: #0E0F12;
  --muted: #4A4F57;
  --line: rgba(14, 35, 66, .12);
  --shadow: 0 22px 60px rgba(0, 0, 0, .18);
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: .2px;
  color: var(--navy);
}

.amp {
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
}

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

a:hover {
  opacity: .92
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand img {
  height: 80px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.brand:hover img {
  transform: scale(1.02);
}

.links {
  display: flex;
  gap: 22px;
  align-items: center
}

.links a {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(14, 15, 18, .85);
}

.lang {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.menu-btn {
  display: none
}

.hero {
  position: relative;
  min-height: 78vh;
  background-image: var(--hero);
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 22, 43, .78) 0%, rgba(8, 22, 43, .55) 38%, rgba(8, 22, 43, .12) 70%, rgba(8, 22, 43, 0) 100%);
}

.hero-inner {
  position: relative;
  padding: 80px 34px 90px;
  max-width: 1180px;
}

.hero h1 {
  color: #fff;
  font-size: 56px;
  line-height: 1.06;
  max-width: 760px;
  margin: 0 0 16px;
  white-space: nowrap;
}

.hero .sub {
  color: rgba(255, 255, 255, .88);
  font-size: 18px;
  max-width: 680px;
  margin: 0 0 28px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .10);
  color: #fff;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.btn.ghost {
  background: transparent
}

.section {
  padding: 54px 34px;
  max-width: 1180px;
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
  margin: 0 auto;
}

.lead {
  font-size: 20px;
  color: rgba(14, 15, 18, .92);
  margin: 0 0 14px;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  /* Prevents overflow */
}

.muted {
  color: var(--muted);
  margin: 0 0 14px;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  /* Prevents overflow */
}

.muted a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.center {
  text-align: center
}

.v-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stone {
  background: url('assets/stone.jpg');
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: none;
}

.stone .grid-2 {
  max-width: 1180px;
  margin: 0 auto
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 140px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

.grid-70-30 {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 80px;
  align-items: stretch;
}

.image-box.elongated {
  min-height: 480px;
}

.image-box {
  position: relative;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  min-height: 320px;
}

.image-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
  background: #fff;
  flex: 0 1 200px;
}

.card .k {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  margin-bottom: 8px;
}

.card .v {
  color: var(--muted);
  font-size: 13px
}

.publications-cards .card .v,
.strategies-cards .card .v,
.philosophy-cards .card .v {
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
}

.page-hero {
  padding: 40px 34px 10px;
  background: linear-gradient(180deg, rgba(14, 35, 66, .06) 0%, rgba(14, 35, 66, 0) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: 1180px;
  margin: 0 auto
}

.page-hero h1 {
  margin: 0 0 4px;
  font-size: 44px
}

.page-hero p {
  margin: 0 0 26px;
  color: var(--muted);
  max-width: 820px
}

ul {
  padding-left: 20px
}

li {
  margin: 10px 0;
  color: var(--muted)
}

.notice {
  margin: 14px auto 0;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(14, 35, 66, .03);
  color: var(--muted);
  font-size: 13px;
  display: block;
  width: fit-content;
  text-align: center;
}

.contact-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.contact-box>div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 20px;
  background: #fff;
}

.footer {
  background: var(--navy2);
  color: rgba(255, 255, 255, .86);
  padding: 42px 34px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-logo {
  height: 54px;
  width: auto;
  display: block;
  opacity: 1
}

/* logo blanc grand */
.fine {
  font-size: 12px;
  color: rgba(255, 255, 255, .62);
  max-width: 760px;
  margin-top: 10px;
  line-height: 1.45
}

@media (max-width: 980px) {
  .nav {
    padding: 16px 20px
  }

  .brand img {
    height: 60px;
  }

  /* Ajustement mobile */

  .menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    cursor: pointer;
    z-index: 300;
  }

  .menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy);
    transition: 0.3s;
  }

  .menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: #F5F4F0 !important;
    padding: 100px 30px;
    gap: 30px;
    transform: translateX(100%);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 200;
    align-items: flex-start;
  }

  .links.active {
    transform: translateX(0);
  }

  .links a {
    font-size: 24px;
    color: var(--navy);
    font-weight: 500;
  }

  .hero h1 {
    font-size: 36px;
    white-space: normal;
    word-wrap: break-word;
  }

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

  .cards {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-box {
    grid-template-columns: 1fr;
  }

  .grid-70-30 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .footer-meta {
    align-items: center;
  }

  /* Force left alignment on mobile to avoid rivers in justified text */
  .lead,
  .muted {
    text-align: left;
    hyphens: none;
    -webkit-hyphens: none;
  }
}

/* Philosophy Cards Customization */
.cards.philosophy-cards .card {
  flex: 0 1 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

.cards.philosophy-cards .card .v {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

/* Test de la nouvelle variante Pierre Calcaire avec accents dorés */
.bg-stone {
  background-color: #F5F4F0;
  color: #0A2342;
}

.bg-stone h2 {
  border-top: 1px solid #C5B358;
  padding-top: 20px;
  display: inline-block;
}

@media (min-width: 981px) {
  .nowrap-desktop {
    white-space: nowrap;
  }
}