:root {
  --ink: #0f1724;
  --night: #0f1b2f;
  --night-2: #162238;
  --muted: #5f6978;
  --line: #dce1e9;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --accent: #2f80ff;
  --accent-dark: #1766df;
  --shadow: 0 18px 46px rgba(15, 27, 47, .08);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
body.error-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body.error-page main {
  flex: 1 0 auto;
  display: flex;
  min-height: calc(100vh - 140px);
  min-height: calc(100dvh - 140px);
}
body.error-page .page-hero {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
}
body.error-page .site-footer {
  margin-top: auto;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--paper);
  color: var(--night);
  border: 1px solid var(--line);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.inner {
  background: rgba(255,255,255,.94);
  color: var(--night);
  border-color: rgba(220,225,233,.9);
  box-shadow: 0 10px 28px rgba(15,27,47,.05);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.brand-mark {
  width: 40px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(15, 27, 47, .88);
  border-radius: 6px;
  font-size: 12px;
  letter-spacing: 0;
}
.site-header:not(.is-scrolled):not(.inner) .brand-mark {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .34);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}
.nav-list a[aria-current="page"] { color: var(--accent-dark); }
.site-header:not(.is-scrolled):not(.inner) .nav-list a[aria-current="page"],
.site-header:not(.is-scrolled):not(.inner) .nav-list a:hover {
  color: #fff;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--night);
}

.hero {
  min-height: 92vh;
  display: grid;
  align-items: end;
  background: linear-gradient(90deg, rgba(15,27,47,.91), rgba(15,27,47,.62), rgba(255,255,255,.1)), url("../images/sevres-hero.svg") center/cover no-repeat;
  color: #fff;
}
.hero-content, .section-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}
.hero-content { padding: 168px 0 90px; }
.eyebrow {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0;
  color: inherit;
  font-weight: 500;
  line-height: 1.05;
}
h1 {
  max-width: 900px;
  font-size: clamp(3.4rem, 8vw, 7.6rem);
}
h2 {
  max-width: 830px;
  font-size: clamp(2.2rem, 4.5vw, 4.6rem);
}
h3 { font-size: clamp(1.35rem, 2vw, 2rem); }
.lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: #dce4ef;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}
.page-lead { color: var(--muted); }
.hero-actions, .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--night);
  border-radius: 4px;
  background: var(--night);
  color: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s ease, border-color .2s ease;
}
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.button.secondary { background: transparent; color: inherit; border-color: rgba(255,255,255,.58); }
.button.secondary:hover { background: #fff; color: var(--night); border-color: #fff; }
.button.light { background: #fff; color: var(--night); border-color: #fff; }

.section { padding: 112px 0; }
.section.soft { background: var(--soft); }
.section.night { background: var(--night); color: #fff; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 42px;
  align-items: end;
  margin-bottom: 52px;
}
.section-head p { max-width: 470px; margin: 0; color: var(--muted); }
.night .section-head p, .night .muted { color: #c7d0dd; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tile {
  background: var(--paper);
  min-height: 260px;
  padding: 34px;
  transition: background .2s ease;
}
.tile:hover { background: #fbfcfe; }
.tile p, .muted { color: var(--muted); }
.tile-number {
  display: block;
  margin-bottom: 42px;
  color: var(--accent-dark);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 800;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 74px;
  align-items: center;
}
.visual {
  border: 1px solid var(--line);
  background: var(--soft);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.2);
}
.stat { padding: 36px; background: rgba(255,255,255,.06); }
.stat strong {
  display: block;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1;
}
.stat span { color: #c7d0dd; }
.page-hero {
  padding: 170px 0 88px;
  background: var(--soft);
}
.page-hero h1 { color: var(--night); font-size: clamp(3rem, 6vw, 6.2rem); }
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.detail-card {
  border-top: 2px solid var(--night);
  padding: 28px 0 18px;
}
.detail-card ul { margin: 18px 0 0; padding-left: 20px; color: var(--muted); }
.expertise-block {
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(0, 2.05fr);
  gap: 52px;
  padding: 60px 0;
  border-top: 1px solid var(--line);
}
.expertise-block > h2 {
  max-width: 420px;
  font-size: clamp(2.55rem, 3vw, 3.65rem);
  line-height: 1.08;
  text-wrap: balance;
}
.expertise-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.expertise-cols h3 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.timeline {
  counter-reset: step;
  border-left: 1px solid var(--line);
  max-width: 980px;
  margin: 0 auto;
  padding-left: 34px;
}
.timeline article {
  position: relative;
  padding: 0 0 64px 72px;
}
.timeline article::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: -56px;
  top: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--night);
  color: #fff;
  border-radius: 50%;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 800;
}
.timeline article p {
  max-width: 720px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 58px;
  align-items: start;
}
.form {
  display: grid;
  gap: 20px;
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.form-status {
  min-height: 1.4em;
  margin: -4px 0 0;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}
input, textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid #c8d0dc;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
textarea { resize: vertical; min-height: 150px; }
.map {
  min-height: 430px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(15,27,47,.08) 1px, transparent 1px),
    linear-gradient(rgba(15,27,47,.08) 1px, transparent 1px),
    #f6f7f9;
  background-size: 42px 42px;
  position: relative;
  overflow: hidden;
}
.map::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 2px solid var(--night);
  transform: rotate(-8deg);
}
.map::after {
  content: "Sèvres Consulting";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 14px 20px;
  background: var(--night);
  color: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
}
.legal {
  max-width: 860px;
}
.legal h2 { font-size: 2rem; margin-top: 48px; }
.site-footer {
  padding: 54px 0;
  background: #081427;
  color: #d6deeb;
}
.site-footer a {
  color: #d6deeb;
}
.site-footer a:hover,
.site-footer a:visited {
  color: #ffffff;
}
.site-footer .brand:hover {
  color: #ffffff;
}
.footer-grid {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
}
[data-animate] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-animate].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  [data-animate] { opacity: 1; transform: none; }
}
@media (max-width: 1240px) {
  .expertise-block {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .expertise-block > h2 {
    max-width: 760px;
    font-size: clamp(2.7rem, 5vw, 4.15rem);
  }
  .expertise-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 82px 0 0;
    display: none;
    background: rgba(255,255,255,.98);
    color: var(--night);
    border-top: 1px solid var(--line);
  }
  .site-nav.is-open { display: block; }
  .nav-list { width: min(var(--max), calc(100% - 48px)); margin: 30px auto; display: grid; gap: 18px; font-size: 18px; }
  .site-header:not(.is-scrolled):not(.inner) .site-nav .nav-list a[aria-current="page"],
  .site-header:not(.is-scrolled):not(.inner) .site-nav .nav-list a:hover { color: var(--accent-dark); }
  .section-head, .split, .contact-grid, .expertise-block { grid-template-columns: 1fr; display: grid; }
  .grid, .stats, .cards-2, .expertise-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .nav-wrap, .hero-content, .section-inner, .footer-grid { width: min(100% - 32px, var(--max)); }
  .section { padding: 72px 0; }
  .hero { min-height: 780px; }
  .hero-content { padding-bottom: 62px; }
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .grid, .stats, .cards-2, .expertise-cols { grid-template-columns: 1fr; }
  .timeline { padding-left: 22px; }
  .timeline article { padding-left: 42px; }
  .timeline article::before {
    left: -38px;
    width: 36px;
    height: 36px;
  }
  .tile, .stat { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
}
