:root {
  --black: #0a0a0a;
  --white: #fff;
  --grey: #6b6b6b;
  --line: #e6e6e6;
  --soft: #f5f5f4;
  --accent: #ff5a1f;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", roboto, "Helvetica Neue", arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus { left: 16px; top: 16px; background: var(--black); color: var(--white); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--black);
  text-decoration: none;
}
.logo-mark { width: 44px; height: 28px; }
.logo-word { width: 92px; height: 14px; margin-top: 2px; }
.nav { display: flex; gap: 28px; }

.nav a {
  text-decoration: none;
  font-size: 15px;
  color: var(--grey);
}
.nav a:hover { color: var(--black); }
.nav .cta { color: var(--black); font-weight: 600; }

/* Hero */
.hero { padding: 120px 0 96px; overflow: hidden; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 24px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: middle;
}

h1 {
  font-size: clamp(42px, 7.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 32px;
  max-width: 13ch;
}
h1 em { font-style: normal; color: var(--accent); }

.lead {
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--grey);
  max-width: 40em;
  margin: 0 0 40px;
}

.btn {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  padding: 14px 26px;
  border: 0;
  border-radius: 0;
  font: inherit;
  cursor: pointer;
}
.btn:hover { background: var(--accent); }

/* Sections */
section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; margin-bottom: 56px; }

h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
}
.section-head p { color: var(--grey); margin: 6px 0 0; font-size: 19px; }

.label {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--black); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.cell { padding: 28px 28px 8px 0; }
.cell + .cell { padding-left: 28px; border-left: 1px solid var(--line); }
.cell .num { font-size: 13px; color: var(--accent); font-weight: 700; letter-spacing: 0.1em; }
h3 { font-size: 20px; margin: 12px 0 10px; letter-spacing: -0.01em; }
.cell p { color: var(--grey); margin: 0 0 16px; font-size: 16px; }

/* Dark band */
.dark { background: var(--black); color: var(--white); border-top: 0; }
.dark .label, .dark .section-head p, .dark .cell p { color: #a3a3a3; }
.dark .grid { border-top-color: var(--white); }
.dark .cell + .cell { border-left-color: #262626; }

.statement {
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 24ch;
  margin: 0;
}
.statement em { font-style: normal; color: var(--accent); }

/* Products */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.product {
  background: var(--soft);
  padding: 40px;
}

.product .tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  padding: 4px 10px;
  margin-bottom: 20px;
}
.product h3 { font-size: 26px; }
.product p { color: var(--grey); margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.contact-info p { color: var(--grey); }
.contact-info a { color: var(--black); }
form { display: grid; gap: 20px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--grey); }

input, textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--black);
  background: var(--white);
  border: 1px solid #cfcfcf;
  border-radius: 0;
  padding: 12px 14px;
}
input:focus, textarea:focus { outline: 2px solid var(--black); outline-offset: -1px; border-color: var(--black); }
textarea { min-height: 160px; resize: vertical; }
.hidden { display: none; }
.consent { font-size: 13px; color: var(--grey); margin: 0; }
.consent a { color: var(--grey); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 14px; color: var(--grey); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: var(--grey); }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-mark { width: 30px; height: 19px; color: var(--black); }

/* Simple pages */
.page { padding: 96px 0; }
.page h1 { font-size: clamp(36px, 5vw, 56px); max-width: none; }
.page h2 { font-size: 22px; margin: 40px 0 8px; }
.page p, .page li { color: #333; max-width: 46em; }

@media (max-width: 900px) {
  .grid, .grid.three { grid-template-columns: 1fr 1fr; }
  .cell:nth-child(odd) { padding-left: 0; border-left: 0; }
  .cell { border-bottom: 1px solid var(--line); }
  .dark .cell { border-bottom-color: #262626; }
  .section-head, .contact, .products { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav a:not(.cta, .lang) { display: none; }
  .hero { padding: 48px 0 64px; }
  section { padding: 64px 0; }
  .grid, .grid.three, .row { grid-template-columns: 1fr; }
  .cell, .cell + .cell { padding-left: 0; border-left: 0; }
  .product { padding: 28px; }
}

/* Réalisations */
.h1-wide { max-width: 18ch; }
.nav a[aria-current="page"] { color: var(--black); }

.trust { padding: 56px 0; }
.trust .label { display: block; font-weight: 400; margin-bottom: 28px; text-align: center; }

.logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 32px;
}

.logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  color: #8a8a8a;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.logos img {
  max-width: 100%;
  height: auto;
  filter: grayscale(1);
  opacity: 0.55;
  transition: opacity 0.2s;
}
.logos a { display: flex; align-items: center; justify-content: center; color: inherit; text-decoration: none; }
.logos li:hover img { opacity: 1; }
.logos .wordmark a:hover { color: var(--black); }
.logos .wordmark { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 19px; letter-spacing: 0.14em; color: #8a8a8a; }


.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.sector {
  position: relative;
  display: block;
  background: var(--soft);
  padding: 28px 28px 64px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.sector .num { font-size: 13px; color: var(--accent); font-weight: 700; letter-spacing: 0.1em; }
.sector p { color: var(--grey); margin: 0; font-size: 15px; }
.sector .arrow { position: absolute; left: 28px; bottom: 22px; font-size: 22px; }
.sector:hover { background: var(--black); color: var(--white); }
.sector:hover p { color: #a3a3a3; }
.sector:hover .arrow { color: var(--accent); }

.cases { padding-top: 0; border-top: 0; }
.case { padding: 96px 0; border-top: 1px solid var(--line); scroll-margin-top: 64px; }
.case:first-child { border-top: 0; }
.case-head { max-width: 40em; margin-bottom: 48px; }

.case-head .tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  padding: 4px 10px;
}
.client { margin: 20px 0 8px; font-weight: 700; color: var(--accent); letter-spacing: 0.02em; }
.case-body { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; border-top: 1px solid var(--black); padding-top: 32px; }
.case-body dt { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin-bottom: 10px; }
.case-body dd { margin: 0; }
.case-body > div:last-child { grid-column: 1 / -1; }
.points { list-style: none; margin: 0; padding: 0; }
.points li { margin-bottom: 14px; }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 48px; }
.facts li { color: var(--grey); }
.facts strong { display: block; font-size: 40px; line-height: 1.1; color: var(--black); letter-spacing: -0.02em; }

.case-cta {
  display: inline-block;
  margin-top: 48px;
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}
.case-cta:hover { color: var(--accent); }

select {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--black);
  background: var(--white);
  border: 1px solid #cfcfcf;
  border-radius: 0;
  padding: 12px 14px;
}
select:focus { outline: 2px solid var(--black); outline-offset: -1px; }

.work { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.work-card { background: var(--soft); padding: 32px; text-decoration: none; display: block; transition: background 0.2s, color 0.2s; }
.work-card .tag { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.work-card h3 { font-size: 24px; margin: 14px 0 8px; }
.work-card p { color: var(--grey); margin: 0; }
.work-card:hover { background: var(--black); color: var(--white); }
.work-card:hover p, .work-card:hover .tag { color: #a3a3a3; }
.more { margin-top: 32px; }

@media (max-width: 900px) {
  .logos { grid-template-columns: repeat(3, 1fr); }
  .sectors, .work { grid-template-columns: 1fr 1fr; }
  .case-body { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .logos { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .sectors, .work { grid-template-columns: 1fr; }
  .case { padding: 64px 0; }
}

/* "Un nouveau monde se lève": a dark world rises at the bottom of the hero,
   its rim lit like an atmosphere at dawn, while the stars fade. Built for the dark theme. */
.world-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 300px;
  isolation: isolate;
}
.hero-text { position: relative; z-index: 3; }
.hero-text > * { animation: text-in 1.2s cubic-bezier(.2,.7,.2,1) both; }
.hero-text > :nth-child(2) { animation-delay: .15s; }
.hero-text > :nth-child(3) { animation-delay: .3s; }
.hero-text > :nth-child(4) { animation-delay: .45s; }

.stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  animation: stars-fade 4.5s ease-out both;
}

.stars::before {
  content: "";
  position: absolute;
  left: calc(50% - 1000px);
  top: 0;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  box-shadow:
    663px 154px 0 0 rgb(255 255 255 / 90%),
    148px 840px 0 0.5px rgb(255 255 255 / 90%),
    748px 596px 0 0 rgb(255 255 255 / 70%),
    76px 88px 0 0 rgb(255 255 255 / 35%),
    143px 246px 0 0 rgb(255 255 255 / 35%),
    121px 846px 0 0.5px rgb(255 255 255 / 90%),
    1940px 228px 0 0.5px rgb(255 255 255 / 90%),
    1181px 599px 0 0 rgb(255 255 255 / 90%),
    1999px 226px 0 0 rgb(255 255 255 / 70%),
    593px 429px 0 0 rgb(255 255 255 / 90%),
    1169px 315px 0 0.5px rgb(255 255 255 / 70%),
    211px 595px 0 0.5px rgb(255 255 255 / 70%),
    762px 99px 0 0.5px rgb(255 255 255 / 90%),
    1155px 61px 0 0.5px rgb(255 255 255 / 70%),
    1016px 696px 0 0.5px rgb(255 255 255 / 35%),
    1591px 321px 0 0 rgb(255 255 255 / 35%),
    740px 306px 0 0 rgb(255 255 255 / 70%),
    1431px 798px 0 0 rgb(255 255 255 / 90%),
    1176px 307px 0 0.5px rgb(255 255 255 / 35%),
    1792px 351px 0 0.5px rgb(255 255 255 / 35%),
    589px 623px 0 0 rgb(255 255 255 / 90%),
    1048px 428px 0 0 rgb(255 255 255 / 50%),
    311px 500px 0 0 rgb(255 255 255 / 90%),
    1970px 684px 0 0 rgb(255 255 255 / 50%),
    696px 711px 0 0 rgb(255 255 255 / 35%),
    1187px 816px 0 0 rgb(255 255 255 / 90%),
    1720px 95px 0 0 rgb(255 255 255 / 35%),
    1427px 680px 0 0 rgb(255 255 255 / 90%),
    1497px 718px 0 0 rgb(255 255 255 / 35%),
    582px 733px 0 0 rgb(255 255 255 / 50%),
    46px 472px 0 0 rgb(255 255 255 / 70%),
    1251px 119px 0 0 rgb(255 255 255 / 90%),
    446px 786px 0 0 rgb(255 255 255 / 70%),
    1512px 253px 0 0 rgb(255 255 255 / 35%),
    1877px 892px 0 0 rgb(255 255 255 / 90%),
    340px 459px 0 0 rgb(255 255 255 / 50%),
    1809px 140px 0 0 rgb(255 255 255 / 50%),
    1446px 425px 0 0 rgb(255 255 255 / 35%),
    1961px 236px 0 0 rgb(255 255 255 / 90%),
    360px 154px 0 0 rgb(255 255 255 / 70%),
    24px 496px 0 0.5px rgb(255 255 255 / 70%),
    538px 288px 0 0 rgb(255 255 255 / 70%),
    858px 547px 0 0 rgb(255 255 255 / 50%),
    1951px 128px 0 0.5px rgb(255 255 255 / 90%),
    935px 891px 0 0.5px rgb(255 255 255 / 35%),
    815px 408px 0 0 rgb(255 255 255 / 90%),
    986px 649px 0 0 rgb(255 255 255 / 90%),
    390px 68px 0 0 rgb(255 255 255 / 35%),
    332px 112px 0 0 rgb(255 255 255 / 90%),
    209px 0 0 0.5px rgb(255 255 255 / 70%),
    1098px 103px 0 0 rgb(255 255 255 / 90%),
    144px 895px 0 0 rgb(255 255 255 / 35%),
    304px 649px 0 0 rgb(255 255 255 / 50%),
    1233px 372px 0 0 rgb(255 255 255 / 90%),
    236px 869px 0 0 rgb(255 255 255 / 35%),
    983px 495px 0 0 rgb(255 255 255 / 90%),
    295px 104px 0 0.5px rgb(255 255 255 / 50%),
    1516px 271px 0 0 rgb(255 255 255 / 70%),
    1057px 23px 0 0 rgb(255 255 255 / 50%),
    300px 706px 0 0.5px rgb(255 255 255 / 90%),
    1552px 540px 0 0 rgb(255 255 255 / 90%),
    1425px 865px 0 0 rgb(255 255 255 / 50%),
    1860px 171px 0 0 rgb(255 255 255 / 70%),
    1090px 554px 0 0.5px rgb(255 255 255 / 50%),
    1303px 228px 0 0.5px rgb(255 255 255 / 70%),
    1650px 245px 0 0 rgb(255 255 255 / 70%),
    409px 530px 0 0 rgb(255 255 255 / 50%),
    1497px 29px 0 0 rgb(255 255 255 / 50%),
    967px 265px 0 0 rgb(255 255 255 / 50%),
    915px 827px 0 0.5px rgb(255 255 255 / 50%),
    1955px 373px 0 0 rgb(255 255 255 / 70%),
    209px 232px 0 0 rgb(255 255 255 / 70%),
    691px 209px 0 0 rgb(255 255 255 / 90%),
    981px 668px 0 0 rgb(255 255 255 / 90%),
    1709px 676px 0 0 rgb(255 255 255 / 35%),
    1602px 728px 0 0 rgb(255 255 255 / 35%),
    1820px 182px 0 0 rgb(255 255 255 / 50%),
    177px 820px 0 0.5px rgb(255 255 255 / 35%),
    948px 411px 0 0.5px rgb(255 255 255 / 90%),
    1484px 162px 0 0 rgb(255 255 255 / 70%),
    56px 154px 0 0.5px rgb(255 255 255 / 35%),
    1651px 671px 0 0 rgb(255 255 255 / 35%),
    1346px 358px 0 0 rgb(255 255 255 / 70%),
    43px 14px 0 0.5px rgb(255 255 255 / 90%),
    1078px 767px 0 0 rgb(255 255 255 / 35%),
    1785px 199px 0 0 rgb(255 255 255 / 90%),
    515px 217px 0 0 rgb(255 255 255 / 70%),
    1564px 600px 0 0 rgb(255 255 255 / 50%),
    1114px 429px 0 0 rgb(255 255 255 / 90%),
    1863px 757px 0 0 rgb(255 255 255 / 35%);
}

.world {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -2690px;
  width: 2900px;
  height: 2900px;
  margin-left: -1450px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 0%, #161616 0%, #0b0b0b 18%, #0a0a0a 40%);
  box-shadow:
    0 -1px 0 rgb(255 255 255 / 95%),
    0 -6px 18px rgb(255 255 255 / 35%),
    0 -40px 120px rgb(255 255 255 / 12%),
    inset 0 2px 6px rgb(255 255 255 / 35%);
  animation: world-rise 3.6s cubic-bezier(.16,.8,.2,1) both;
}

.dawn {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 100px;
  width: 1400px;
  height: 420px;
  margin-left: -700px;
  background: radial-gradient(ellipse 50% 60% at 50% 100%, rgb(255 255 255 / 22%), rgb(255 255 255 / 6%) 55%, transparent 75%);
  animation: dawn-in 4.5s ease-out .6s both;
}

@keyframes world-rise { from { transform: translateY(260px); } to { transform: translateY(0); } }

@keyframes dawn-in { from { opacity: 0; transform: translateY(160px) scaleX(.6); } to { opacity: 1; transform: none; } }

@keyframes stars-fade { from { opacity: 1; } to { opacity: .35; } }

@keyframes text-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .world, .dawn, .stars, .hero-text > * { animation: none; }
  .stars { opacity: .35; }
}

@media (max-width: 600px) {
  .world-hero { padding-bottom: 200px; }
  .world { bottom: -1460px; width: 1600px; height: 1600px; margin-left: -800px; }
  .dawn { bottom: 100px; width: 700px; margin-left: -350px; height: 260px; }
}

/* Language switch */
.nav .lang {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--grey);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
}
.nav .lang:hover { color: var(--black); border-color: var(--grey); }
