:root {
  --ink: #0e1a24;
  --muted: #5b6b76;
  --paper: #f3f1ec;
  --paper-2: #fffcf7;
  --line: #d6d0c4;
  --navy: #06141f;
  --navy-2: #0c2433;
  --blue: #0f3d66;
  --orange: #e87722;
  --orange-2: #f4a15a;
  --header: rgb(255 252 247 / 0.9);
  --radius: 18px;
  --shadow: 0 24px 60px rgb(6 20 31 / 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 86px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 10px 0;
  line-height: 0;
}
.logo img {
  height: 52px;
  width: auto;
  display: block;
  transition: opacity .2s ease;
}
.logo:hover img { opacity: .82; }
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a:not(.btn) {
  text-decoration: none;
  color: var(--muted);
  transition: color .2s ease;
}
.nav a:not(.btn):hover,
.nav a.active {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--orange);
  padding-bottom: 4px;
}
.nav .btn { box-shadow: none; padding: 10px 16px; color: #fff; }
.nav .btn:hover { color: #fff; box-shadow: none; transform: translateY(-1px); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  border: 1px solid transparent;
  transition: .2s ease;
}
.btn-dark { background: var(--navy); color: #fff; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #d16616; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 0.28);
}
.btn-ghost:hover { background: rgb(255 255 255 / 0.1); }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 22px;
  cursor: pointer;
  color: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  min-height: 84vh;
  background:
    radial-gradient(1200px 500px at -10% 110%, rgb(232 119 34 / 0.18), transparent 50%),
    var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero-copy {
  padding: 80px 48px 56px 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.kicker {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 18px;
}
.hero h1,
.page-hero h1 {
  font-size: clamp(36px, 5.2vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}
.hero h1 { max-width: 13ch; }
.accent-line {
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  margin: 0 0 22px;
  border: 0;
  border-radius: 99px;
}
.hero p,
.page-hero p {
  color: rgb(255 255 255 / 0.78);
  max-width: 46ch;
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-photo {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  animation: heroOpen 1.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}
.hero-photo:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--navy);
  animation: heroWipe 1.45s cubic-bezier(0.76, 0, 0.18, 1) 0.08s forwards;
}
.hero-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--navy), transparent 28%);
  pointer-events: none;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 52%;
  position: absolute;
  inset: 0;
  transform: scale(1.18);
  animation: heroKen 16s ease-out 0.2s forwards;
}
.hero-copy > * {
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-copy .kicker { animation-delay: .4s; }
.hero-copy h1 { animation-delay: .55s; }
.hero-copy .accent-line {
  animation-name: lineIn;
  animation-delay: .78s;
  transform-origin: left;
}
.hero-copy p { animation-delay: .92s; }
.hero-copy .hero-actions { animation-delay: 1.08s; }
.hero-copy .chips { animation-delay: 1.22s; }

@keyframes heroOpen {
  to { clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%); }
}
@keyframes heroWipe {
  to { transform: translateX(101%); }
}
@keyframes heroKen {
  to {
    transform: scale(1.04);
    object-position: 52% 42%;
  }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes lineIn {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

.chips {
  display: flex;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.chips a,
.chips span {
  padding: 10px 14px;
  font-size: 13px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.05);
  transition: .2s ease;
}
.chips a:hover {
  border-color: var(--orange);
  color: var(--orange-2);
  background: rgb(232 119 34 / 0.12);
}

.section { padding: 96px 0; }
.section-activities { padding-top: 0; }
.section-works {
  background: var(--navy);
  color: #fff;
  padding: 88px 0;
}
.section-works .kicker { color: var(--orange-2); }
.section-works h2 { color: #fff; }
.section-head { max-width: 720px; }
.section-head h2,
.two-col h2,
.split-copy h2,
.values-copy h2,
.panel h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 500;
  margin: 8px 0 12px;
  letter-spacing: -0.03em;
}
.two-col {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.two-col a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 500;
}
.two-col a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.wrap.cards { margin-top: 0; }
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card:nth-child(2) { transform: translateY(18px); }
.card:nth-child(2):hover { transform: translateY(10px); }
.card-media {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.card-media img[src*="stock-ligne-prod"] { object-position: 50% 45%; }
.card:hover .card-media img { transform: scale(1.08); }
.card-num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  letter-spacing: .08em;
  padding: 6px 9px;
  border-radius: 999px;
  font-weight: 600;
}
.card-body { padding: 22px 22px 26px; }
.card h3 { margin: 0 0 10px; font-size: 22px; font-weight: 500; }
.card p { margin: 0; color: var(--muted); }
.card .more {
  display: inline-block;
  margin-top: 16px;
  color: var(--orange);
  font-weight: 500;
  font-size: 14px;
}
.card .more:after { content: " →"; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform .35s ease;
}
.gallery figure:hover img { transform: scale(1.03); }
.gallery figure:nth-child(3) img { object-position: 50% 18%; }
.gallery figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: rgb(255 255 255 / 0.72);
}

.section-clients {
  padding: 80px 0;
  background: var(--paper-2);
}
.section-head-center {
  max-width: none;
  text-align: center;
  margin: 0 auto;
}
.logo-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 40px;
  align-items: stretch;
}
.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: box-shadow .25s ease, transform .25s ease;
}
.logo-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.logo-item img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .82;
  transition: filter .25s ease, opacity .25s ease;
}
.logo-item:hover img {
  filter: none;
  opacity: 1;
}

.split-photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
  background: var(--paper-2);
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.split-photo img[src*="stock-ligne-prod"] { object-position: 50% 55%; }
.split-copy { padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; }
.split-copy ul { padding-left: 18px; color: var(--muted); }
.section-values {
  padding: 40px 0 88px;
  background: var(--paper);
}
.values-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
}
.values-photo {
  border-radius: var(--radius);
  overflow: hidden;
  height: 480px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.values-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 22%;
}
.section-methode {
  padding-top: 40px;
  padding-bottom: 88px;
}
.methode-photo {
  height: 560px;
}
.methode-photo img {
  object-position: 72% 58%;
}
.values-copy h2 { margin-top: 8px; }
.values { display: grid; gap: 18px; margin-top: 8px; }
.values h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 600;
}
.values p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.band {
  background: linear-gradient(120deg, var(--navy) 0%, #0c2a3d 60%, #123044 100%);
  color: #fff;
  padding: 64px 0;
}
.band .wrap {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
}
.band p { color: rgb(255 255 255 / 0.75); margin: 8px 0 0; }
.band a:not(.btn) { color: var(--orange-2); }
.band .btn { flex-shrink: 0; color: #fff; }
.band .btn-orange { background: var(--orange); color: #fff; border-color: var(--orange); }

.prose { max-width: 72ch; }
.prose a { color: var(--blue); }

.section-history { padding-top: 72px; }
.history-photo img { object-position: 32% 78%; }
.timeline {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.timeline li {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.timeline .year {
  display: block;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.timeline h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}
.timeline p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.chapters {
  max-width: 72ch;
  margin: 72px auto 0;
  display: grid;
  gap: 48px;
}
.chapters h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.chapters p {
  margin: 0 0 14px;
  color: var(--muted);
}
.chapters p:last-child { margin-bottom: 0; }
.chapters a { color: var(--blue); font-weight: 500; text-decoration: none; }
.chapters a:hover { text-decoration: underline; }
.page-hero {
  background:
    radial-gradient(800px 280px at 100% 0%, rgb(232 119 34 / 0.18), transparent 50%),
    var(--navy);
  color: #fff;
  padding: 84px 0 64px;
}
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.columns-3 { grid-template-columns: repeat(3, 1fr); }
.panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.panel h3 { margin-top: 0; }
.list { margin: 0; padding-left: 18px; color: var(--muted); }

.certs-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px 32px;
  margin-top: 28px;
  padding: 18px 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .25s ease;
}
a.certs-inline:hover { box-shadow: var(--shadow); }
.certs-inline span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.certs-logos {
  display: flex;
  align-items: center;
  gap: 22px;
}
.certs-logos img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.section-qualif { padding-top: 8px; }
.lead-qualif {
  max-width: 62ch;
  margin: 12px 0 0;
  color: var(--muted);
}
.cert-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.cert-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .25s ease, transform .25s ease;
}
.cert-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.cert-card img {
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.cert-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}
.cert-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.cert-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  letter-spacing: .04em;
  vertical-align: middle;
}
.contact-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.contact-facts a {
  display: block;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .25s ease, transform .25s ease;
}
.contact-facts a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.contact-facts span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.contact-form h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.contact-form .muted { margin: 0 0 22px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgb(232 119 34 / 0.28);
  border-color: var(--orange);
}
.contact-form .btn { margin-top: 4px; border: 0; cursor: pointer; }
.form-status { margin: 14px 0 0; font-size: 14px; }
.form-status.is-ok { color: #1f6b3a; }
.form-status.is-err { color: #9b2c2c; }
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
  min-height: 420px;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  display: block;
}

.site-footer {
  background: var(--navy);
  color: rgb(255 255 255 / 0.78);
  padding: 48px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--orange-2); }
.footer-logo {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 14px;
}
.footer-logo img {
  height: 32px;
  width: auto;
}
.footer-logo:hover { color: inherit; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-weight: 500; }
.legal {
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding-top: 16px;
  color: rgb(255 255 255 / 0.5);
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper-2);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 20px;
    border-bottom: 1px solid var(--line);
    justify-content: flex-start;
  }
  .nav.open { display: flex; }
  .hero, .two-col, .cards, .gallery, .split-photo, .columns, .contact-grid, .footer-grid, .band .wrap, .values-layout, .cert-cards, .timeline, .contact-facts, .form-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .values-photo { height: 320px; }
  .methode-photo { height: 360px; }
  .methode-photo img { object-position: 62% 40%; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .hero-copy { padding: 48px 24px; }
  .hero-photo {
    min-height: 280px;
    clip-path: none;
    animation: none;
  }
  .hero-photo:before { animation-duration: 1.1s; }
  .card:nth-child(2) { transform: none; }
  .card:nth-child(2):hover { transform: translateY(-8px); }
  .gallery img { height: 220px; }
  .split-copy { padding: 36px 24px; }
  .hero h1 { max-width: none; }
}

@media (max-width: 640px) {
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .logo img { height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo,
  .hero-photo:before,
  .hero-photo img,
  .hero-copy > * {
    animation: none !important;
  }
  .hero-photo {
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  }
  .hero-photo:before { display: none; }
  .hero-photo img {
    transform: scale(1.04);
    object-position: 50% 42%;
  }
  .hero-copy > * { opacity: 1; transform: none; }
}
