:root {
  --navy: #0b2a4a;
  --blue: #0f5c9c;
  --cyan: #19b4e6;
  --ink: #16202b;
  --muted: #5a6775;
  --line: #dde3ea;
  --bg: #ffffff;
  --soft: #f3f6f9;
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 50; }

/* En-tête */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  color: #fff;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: block; line-height: 0; }
.brand img { height: 56px; width: auto; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.top nav a { color: #fff; text-decoration: none; opacity: .9; }
.top nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.top .lang { border: 1px solid rgba(255,255,255,.5); padding: 6px 12px; border-radius: 999px; }

/* Hero */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--navy);
}
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,20,38,.75) 0%, rgba(5,20,38,.5) 40%, rgba(5,20,38,.88) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-bottom: 12vh; padding-top: 140px; }
.eyebrow { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); font-weight: 600; margin: 0 0 14px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.08; margin: 0 0 20px; max-width: 20ch; font-weight: 700; letter-spacing: -.01em; }
.hero p.lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 56ch; margin: 0 0 32px; color: rgba(255,255,255,.88); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 4px;
  font-weight: 600; text-decoration: none; font-size: 16px; transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--cyan); color: #04233d; }
.btn-primary:hover { background: #3fc5f0; }
.btn-ghost { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; margin: 0 0 14px; }
.section-head p { color: var(--muted); margin: 0; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card { border-top: 3px solid var(--blue); padding: 28px 4px 0; }
.why-card .num { font-family: "Michroma", sans-serif; color: var(--cyan); font-size: 14px; letter-spacing: .1em; }
.why-card h3 { font-size: 21px; margin: 10px 0 12px; }
.why-card p { color: var(--muted); margin: 0; }

.sectors { background: var(--soft); }
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector {
  background: linear-gradient(150deg, var(--blue), var(--navy)); color: #fff;
  padding: 32px 24px; border-radius: 6px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between;
}
.sector:nth-child(1) { background: linear-gradient(150deg, #19b4e6, #0f78b8); }
.sector:nth-child(2) { background: linear-gradient(150deg, #1a8fd1, #0f5c9c); }
.sector:nth-child(3) { background: linear-gradient(150deg, #155fa8, #0d3f75); }
.sector:nth-child(4) { background: linear-gradient(150deg, #0f3f78, #071f3d); }
.sector svg { width: 34px; height: 34px; opacity: .9; }
.sector h3 { margin: 24px 0 0; font-size: 19px; letter-spacing: .02em; }

.about { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.about::before {
  content: ""; position: absolute; inset: 0; background: url("/images/motif.webp") center/cover no-repeat; opacity: .28;
}
.about .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.about h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; margin: 0; }
.about p { color: rgba(255,255,255,.88); margin: 0 0 18px; }
.about .stat { display: flex; gap: 40px; margin-top: 28px; flex-wrap: wrap; }
.about .stat strong { display: block; font-family: "Michroma", sans-serif; font-size: 30px; color: var(--cyan); font-weight: 400; }
.about .stat span { font-size: 14px; color: rgba(255,255,255,.75); }

.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; margin: 0 0 14px; }
.contact p { color: var(--muted); }
.contact dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; font-size: 17px; }
.contact dt { font-weight: 600; color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; padding-top: 2px; }
.contact dd { margin: 0; }
.contact dd a { text-decoration: none; font-weight: 500; }
.contact dd a:hover { text-decoration: underline; }
.contact-card { border: 1px solid var(--line); border-radius: 8px; padding: 32px; }

footer { background: #071a2f; color: rgba(255,255,255,.7); font-size: 14px; padding: 28px 0; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: #fff; }

/* Apparition */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .about .wrap, .contact .wrap { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top nav a:not(.lang) { display: none; }
  .brand img { height: 40px; }
  section { padding: 64px 0; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector { min-height: 0; flex-direction: row; align-items: center; gap: 16px; justify-content: flex-start; }
  .sector h3 { margin: 0; }
  .contact-card { padding: 22px; }
  .contact dl { grid-template-columns: 1fr; gap: 4px; }
  .contact dd { margin-bottom: 12px; }
}
