/* ==========================================================================
   NOHCOS ENGINEERING & PROJECTS — feuille de styles principale
   Charte : bleu marine #002255 · bleu vif #0A8CF5 · cyan #1EB4F5
            fond gris-bleu #E4EAF1 · ardoise #3D5573
   Police : Calibri (Carlito en équivalent web libre, métriques identiques)
   ========================================================================== */

@font-face {
	font-family: "NOHCOS Sans";
	src: local("Calibri"), local("Carlito"), url("../fonts/carlito-latin-400-normal.woff2") format("woff2");
	font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
	font-family: "NOHCOS Sans";
	src: local("Calibri Italic"), local("Calibri-Italic"), local("Carlito Italic"), url("../fonts/carlito-latin-400-italic.woff2") format("woff2");
	font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
	font-family: "NOHCOS Sans";
	src: local("Calibri Bold"), local("Calibri-Bold"), local("Carlito Bold"), url("../fonts/carlito-latin-700-normal.woff2") format("woff2");
	font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
	font-family: "NOHCOS Sans";
	src: local("Calibri Bold Italic"), local("Calibri-BoldItalic"), local("Carlito Bold Italic"), url("../fonts/carlito-latin-700-italic.woff2") format("woff2");
	font-weight: 700; font-style: italic; font-display: swap;
}

:root {
	--navy: #002255;
	--navy-deep: #00183d;
	--navy-soft: #0b2f66;
	--blue: #0a8cf5;
	--blue-dark: #0670c8;
	--cyan: #1eb4f5;
	--bg: #e4eaf1;
	--bg-soft: #f2f5f9;
	--line: #cfd9e5;
	--pale: #d6e4f5;
	--slate: #3d5573;
	--white: #ffffff;
	--text: #2b4060;

	--font: "NOHCOS Sans", Calibri, Carlito, "Segoe UI", Arial, sans-serif;
	--radius: 12px;
	--radius-lg: 22px;
	--shadow: 0 1px 2px rgba(0, 34, 85, .06), 0 8px 24px rgba(0, 34, 85, .07);
	--shadow-lg: 0 20px 50px rgba(0, 24, 61, .18);
	--wrap: 1200px;
	--header-h: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { color: var(--navy); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: .55em;
	font: 700 1rem/1 var(--font); letter-spacing: .01em;
	padding: .8em 1.3em; border-radius: 999px; border: 2px solid transparent;
	cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
	white-space: nowrap;
}
.btn .ico { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-lg { font-size: 1.075rem; padding: .95em 1.55em; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); color: var(--white); }

/* ---------- En-tête ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	height: var(--header-h);
	background: rgba(0, 24, 61, .96);
	backdrop-filter: saturate(140%) blur(8px);
	-webkit-backdrop-filter: saturate(140%) blur(8px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
	transition: background .3s, box-shadow .3s;
}
.js .site-header.at-top { background: linear-gradient(180deg, rgba(0, 24, 61, .85), rgba(0, 24, 61, 0)); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; max-width: 1360px; }
.brand { flex: none; display: block; transition: opacity .3s, transform .3s var(--ease); }
.brand img { height: 40px; width: auto; }
.js .at-top .brand { opacity: 0; transform: translateY(-6px); pointer-events: none; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav ul a {
	display: block; padding: 8px 11px; color: rgba(255, 255, 255, .86);
	font-size: 1.02rem; font-weight: 700; position: relative; white-space: nowrap;
}
.main-nav ul a::after {
	content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
	background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav ul a:hover, .main-nav ul a.is-active { color: var(--white); }
.main-nav ul a:hover::after, .main-nav ul a.is-active::after { transform: scaleX(1); }
.nav-cta { padding: .65em 1.15em; }

.header-tools { display: flex; align-items: center; gap: 10px; }
.lang-switch {
	display: inline-flex; align-items: center; gap: 6px;
	color: var(--white); font-weight: 700; font-size: .95rem; letter-spacing: .06em;
	padding: 7px 12px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 999px;
	transition: border-color .2s, background .2s;
}
.lang-switch:hover { color: var(--white); border-color: var(--cyan); background: rgba(30, 180, 245, .12); }
.lang-switch .ico { width: 16px; height: 16px; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--white); border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative; background: var(--navy); color: var(--white);
	min-height: min(860px, 100vh); display: flex; flex-direction: column; justify-content: flex-end;
	overflow: hidden; padding-top: var(--header-h);
}
.hero-photo {
	position: absolute; top: 0; right: 0; bottom: 0; width: 54%;
	background-size: cover; background-position: 40% 30%;
	clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-photo::after { /* voile pour lisibilité */
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(0, 34, 85, .55) 0%, rgba(0, 34, 85, 0) 45%);
}
.hero::before { /* bande bleu vif — reprise de la diagonale de la plaquette */
	content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 54%; z-index: 1;
	background: linear-gradient(180deg, var(--cyan), var(--blue));
	clip-path: polygon(calc(34% - 14px) 0, 34% 0, 0 100%, -14px 100%);
	transform: translateX(-22px);
}
.hero::after { /* triangle clair en bas à gauche, comme la couverture */
	content: ""; position: absolute; left: 0; bottom: 0; width: 46%; height: 34%;
	background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.07));
	clip-path: polygon(0 100%, 0 40%, 100% 100%);
	pointer-events: none;
}
.hero-panel { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; }
.hero-inner { padding-top: 40px; padding-bottom: 40px; }
.hero-copy { max-width: 560px; }
.hero-logo { width: 230px; margin: 0 0 30px -6px; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 14px;
	font-size: .9rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--cyan);
	margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 40px; height: 2px; background: var(--cyan); }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 4.2vw, 3.4rem); line-height: 1.04; letter-spacing: -.01em; margin-bottom: 22px; }
.hero .lead { font-size: 1.22rem; line-height: 1.55; color: #c9d6ea; max-width: 500px; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-pillars {
	position: relative; z-index: 3;
	display: grid; grid-template-columns: repeat(3, 1fr);
	margin-bottom: -1px;
}
.hero-pillars li {
	display: flex; align-items: center; gap: 14px;
	background: var(--white); color: var(--navy);
	font-weight: 700; font-style: italic; font-size: 1.3rem;
	padding: 24px 28px; border-top: 4px solid var(--blue);
}
.hero-pillars li + li { border-left: 1px solid var(--line); }
.hero-pillars li:first-child { border-top-left-radius: var(--radius); }
.hero-pillars li:last-child { border-top-right-radius: var(--radius); }
.hero-pillars .num { font-style: normal; font-size: .9rem; letter-spacing: .1em; color: var(--blue); }

/* ---------- Sections ---------- */
.section { position: relative; padding: 108px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy); color: #c9d6ea; overflow: hidden; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.is-center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: .85rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
	color: var(--blue); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.is-center .kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head .title {
	font-size: clamp(2rem, 3.4vw, 2.75rem);
	text-decoration: underline; text-decoration-color: var(--blue);
	text-decoration-thickness: 3px; text-underline-offset: 10px;
	margin-bottom: 26px;
}
.section-head .intro { font-size: 1.2rem; color: var(--slate); margin: 0; }
.section-head.is-light .title { color: var(--white); text-decoration-color: var(--cyan); }
.section-head.is-light .kicker { color: var(--cyan); }
.section-head.is-light .intro { color: #c9d6ea; }

/* ---------- Icônes rondes (reprise plaquette) ---------- */
.icon-badge {
	flex: none; display: inline-grid; place-items: center;
	width: 48px; height: 48px; border-radius: 50%;
	background: var(--blue); color: var(--white);
	box-shadow: 0 6px 16px rgba(10, 140, 245, .28);
}
.icon-badge .ico { width: 24px; height: 24px; }
.icon-badge-lg { width: 58px; height: 58px; }
.icon-badge-lg .ico { width: 28px; height: 28px; }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
	background: var(--white); border-radius: var(--radius); padding: 28px;
	box-shadow: var(--shadow); border: 1px solid rgba(207, 217, 229, .6);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.3rem; margin: 18px 0 8px; }
.card p { color: var(--slate); margin: 0; font-size: 1.05rem; }
.card-row { display: flex; gap: 18px; align-items: flex-start; }
.card-row h3 { margin-top: 2px; }
.section:not(.section-alt) .card { background: var(--bg-soft); box-shadow: none; }
.section:not(.section-alt) .card:hover { background: var(--white); box-shadow: var(--shadow-lg); }

/* ---------- Split (texte + image) ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.split-top { align-items: start; }
.split-reverse .split-media { order: -1; }
.media-diag { position: relative; }
.media-diag img { border-radius: var(--radius-lg); clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%, 0 18%); width: 100%; aspect-ratio: 4/3.6; object-fit: cover; }
.media-diag::before {
	content: ""; position: absolute; inset: auto -18px -18px auto; width: 62%; height: 62%;
	border-radius: var(--radius-lg); background: var(--navy); z-index: -1;
}
.media-diag::after {
	content: ""; position: absolute; top: -12px; left: -12px; width: 26%; height: 30%;
	background: linear-gradient(135deg, var(--cyan), var(--blue)); clip-path: polygon(0 0, 100% 0, 0 100%);
	border-top-left-radius: 14px;
}

.feature-list li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list h3 { font-size: 1.28rem; margin: 2px 0 4px; }
.feature-list p { margin: 0; color: var(--slate); }
.feature-list.compact li { padding: 13px 0; }
.feature-list.compact h3 { font-size: 1.15rem; }
.feature-list.compact p { font-size: 1.02rem; }

.mission {
	position: relative; margin: 72px 0 0; padding: 40px 48px 40px 56px;
	background: var(--navy); color: var(--white); border-radius: var(--radius-lg); overflow: hidden;
}
.mission::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: linear-gradient(180deg, var(--cyan), var(--blue)); }
.mission::after {
	content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: 220px;
	background: linear-gradient(180deg, rgba(30,180,245,.22), rgba(10,140,245,.05));
	clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
}
.mission-label { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.mission p { position: relative; z-index: 1; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.35; font-weight: 700; font-style: italic; margin: 0; max-width: 900px; }

/* ---------- Domaines ---------- */
.services-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: stretch; }
.services-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 100%; }
.services-photo img { width: 100%; height: 100%; object-fit: cover; }
.services-photo::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
	background: linear-gradient(180deg, transparent, rgba(0, 34, 85, .75));
}
.footnote { font-size: .92rem; font-style: italic; color: var(--slate); margin: 22px 0 0; }

/* ---------- Méthodologie ---------- */
.pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin: -10px 0 56px; }
.pills li {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--navy); color: var(--white); font-weight: 700;
	padding: 11px 24px; border-radius: 999px; font-size: 1.05rem;
}
.pills .ico { color: var(--cyan); width: 18px; height: 18px; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: s; }
.timeline::before {
	content: ""; position: absolute; top: 24px; left: 8%; right: 8%;
	border-top: 2px dashed var(--blue); z-index: 0;
}
.timeline li {
	position: relative; z-index: 1; text-align: center;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 0 16px 24px; margin-top: 24px;
}
.timeline .step-num { margin: -24px auto 16px; }
.timeline h3 { font-size: 1.2rem; margin-bottom: 8px; }
.timeline p { font-size: .98rem; color: var(--slate); margin: 0; line-height: 1.45; }
.step-num {
	display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	background: var(--blue); color: var(--white); font-weight: 700; font-size: 1.15rem;
	box-shadow: 0 0 0 6px var(--white);
}

/* ---------- Pilotage ---------- */
.steering { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: stretch; }
.highlight {
	position: relative; overflow: hidden;
	background: var(--navy); color: var(--white); border-radius: var(--radius-lg);
	padding: 40px 34px; display: flex; flex-direction: column; justify-content: flex-end;
}
.highlight::before {
	content: ""; position: absolute; top: -10%; right: -30%; width: 90%; height: 70%;
	background: linear-gradient(180deg, rgba(30,180,245,.35), rgba(10,140,245,0));
	clip-path: polygon(45% 0, 100% 0, 55% 100%, 0 100%);
}
.highlight-num { position: relative; font-size: 7rem; line-height: .9; font-weight: 700; color: var(--cyan); margin: 0 0 6px; }
.highlight-title { position: relative; font-size: 1.7rem; font-weight: 700; line-height: 1.15; margin: 0 0 14px; }
.highlight-text { position: relative; color: #c9d6ea; margin: 0; }

/* ---------- Modes d'intervention ---------- */
.mode {
	position: relative; overflow: hidden;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
	padding: 36px 36px 32px; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.mode:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.mode::after {
	content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0;
	background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .35s var(--ease);
}
.mode:hover::after { width: 100%; }
.mode-index { position: absolute; top: 18px; right: 26px; font-size: 3.4rem; font-weight: 700; color: var(--bg); line-height: 1; }
.mode h3 { font-size: 1.45rem; margin: 22px 0 10px; }
.mode p { color: var(--slate); margin: 0; }

/* ---------- Bandeau sombre (capacités) ---------- */
.diag-deco {
	position: absolute; top: 0; left: 0; bottom: 0; width: 50%;
	background: linear-gradient(180deg, rgba(30,180,245,.12), rgba(10,140,245,.02));
	clip-path: polygon(0 0, 70% 0, 40% 100%, 0 100%);
}
.diag-deco::before {
	content: ""; position: absolute; inset: 0;
	background: var(--blue);
	clip-path: polygon(calc(70% - 10px) 0, 70% 0, 40% 100%, calc(40% - 10px) 100%);
}
.section-dark .split { position: relative; }
.section-dark p { color: #c9d6ea; }
.claim { font-weight: 700; font-style: italic; color: var(--white) !important; font-size: 1.25rem; border-left: 4px solid var(--cyan); padding-left: 18px; margin-top: 26px; }
.checklist { margin: 0 0 26px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; }
.checklist .ico { color: var(--blue); margin-top: 3px; }
.checklist.is-light li { color: var(--white); }
.checklist.is-light .ico { color: var(--cyan); }
.media-frame { position: relative; }
.media-frame img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; position: relative; z-index: 1; }
.media-frame::before {
	content: ""; position: absolute; inset: 22px -22px -22px 22px;
	border: 2px solid var(--cyan); border-radius: var(--radius-lg);
}

/* ---------- Appareils de mesure ---------- */
.devices { gap: 26px; }
.device {
	background: var(--navy); color: #c9d6ea; border-radius: var(--radius-lg);
	padding: 28px 28px 26px; text-align: center; display: flex; flex-direction: column;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.device:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.device-type { color: var(--cyan); font-weight: 700; font-size: 1.25rem; margin: 0 0 14px; }
.device-img { height: 210px; display: grid; place-items: center; margin-bottom: 18px; }
.device-img img { max-height: 210px; width: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
.device h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 12px; }
.device ul { margin-bottom: 18px; }
.device li { font-size: 1rem; padding: 3px 0; }
.norms { margin: auto 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); font-size: .9rem; color: #9fb4d3; }
.norms strong { color: var(--white); margin-right: 4px; }
.outro { margin: 44px auto 0; max-width: 900px; text-align: center; font-size: 1.15rem; color: var(--slate); }

/* ---------- Campagnes ---------- */
.protocol { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; margin-top: 72px; align-items: start; }
.sub-title { font-size: 1.8rem; margin-bottom: 24px; }
.protocol-steps ol { display: grid; gap: 12px; }
.protocol-steps li {
	display: grid; grid-template-columns: 48px 150px 1fr; gap: 18px; align-items: center;
	background: var(--white); border-radius: var(--radius); padding: 14px 20px; box-shadow: var(--shadow);
}
.protocol-steps .step-num { box-shadow: none; width: 42px; height: 42px; font-size: 1.05rem; }
.protocol-steps strong { color: var(--navy); font-size: 1.12rem; }
.protocol-steps .desc { color: var(--slate); font-size: 1rem; line-height: 1.45; }
.report { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.report-badge {
	display: flex; align-items: center; gap: 18px;
	background: var(--navy); color: var(--white); padding: 26px 28px;
}
.report-badge .ico { width: 44px; height: 44px; color: var(--cyan); flex: none; }
.report-badge p { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 1.3rem; }
.report-badge span { color: var(--cyan); font-weight: 700; }
.report h3 { font-size: 1.25rem; margin: 24px 28px 8px; }
.report .checklist { padding: 0 28px 20px; margin: 0; }
.report .checklist li { border-bottom: 1px solid var(--bg); }
.report .checklist li:last-child { border-bottom: 0; }

/* ---------- Modélisation 3D ---------- */
.model-fig { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; margin-top: 100px; }
.model-fig img { border-radius: 10px; }
figcaption { font-size: .92rem; color: var(--slate); text-align: center; margin-top: 12px; font-style: italic; }
.case {
	display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; margin-top: 72px;
	background: var(--navy); border-radius: var(--radius-lg); overflow: hidden; position: relative;
}
.case-media { background: var(--bg); padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.case-media img { border-radius: 10px; }
.case-body { padding: 44px 44px 36px; position: relative; }
.case-body::before {
	content: ""; position: absolute; top: 0; right: 0; width: 46%; height: 46%;
	background: linear-gradient(225deg, rgba(30,180,245,.28), rgba(10,140,245,0) 70%);
	clip-path: polygon(30% 0, 100% 0, 100% 100%);
}
.case-body .kicker { color: var(--cyan); }
.case-body h3 { color: var(--white); font-size: 2rem; margin-bottom: 4px; }
.case-sub { color: #9fb4d3; font-weight: 700; margin-bottom: 14px; }
.case-body .checklist li { padding: 6px 0; font-size: 1.04rem; }

/* ---------- Références ---------- */
.section-refs { background: var(--navy); overflow: hidden; }
.section-refs::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100%;
	background: var(--white);
	clip-path: polygon(0 0, 76% 0, 0 96%);
}
.section-refs::after {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100%;
	background: var(--blue);
	clip-path: polygon(76% 0, calc(76% + 16px) 0, 0 calc(96% + 16px), 0 96%);
}
.section-refs { padding-top: 72px; }
.section-refs .wrap { position: relative; z-index: 1; }
.section-refs .section-head { margin-bottom: 64px; }
.section-refs .section-head .title { color: var(--navy); text-decoration-color: var(--blue); font-size: clamp(2.2rem, 4vw, 3.2rem); }
.section-refs .section-head .kicker { color: var(--blue); }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.logos li {
	display: grid; place-items: center; background: var(--white); border-radius: var(--radius);
	height: 120px; padding: 22px 26px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
	transition: transform .25s var(--ease);
}
.logos li:hover { transform: translateY(-4px); }
.logos img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.contact-info {
	position: relative; padding: 52px 48px; color: var(--white);
	background:
		linear-gradient(160deg, rgba(0, 34, 85, .97) 30%, rgba(0, 34, 85, .82) 100%),
		url("../img/equipe-chantier.jpg") center / cover no-repeat;
}
.contact-info::after {
	content: ""; position: absolute; right: 0; bottom: 0; width: 55%; height: 32%;
	background: linear-gradient(180deg, var(--cyan), var(--blue));
	clip-path: polygon(calc(100% - 12px) 0, 100% 0, 12px 100%, 0 100%);
}
.contact-info .section-head { margin-bottom: 32px; }
.people { display: grid; gap: 16px; position: relative; z-index: 1; }
.person { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 20px 22px; }
.person p { margin: 0; }
.person-name { font-size: 1.35rem; font-weight: 700; }
.person-name span { font-style: italic; }
.person-role { color: var(--cyan); font-weight: 700; font-style: italic; margin-bottom: 10px !important; }
.person a { display: inline-flex; align-items: center; gap: 10px; color: #dbe6f5; padding: 3px 0; word-break: break-all; }
.person a:hover { color: var(--white); }
.person .ico { color: var(--cyan); width: 18px; height: 18px; }

.contact-form-wrap { background: var(--white); padding: 52px 48px; }
.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field span { font-weight: 700; color: var(--navy); font-size: .98rem; }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: 1.05rem; color: var(--navy);
	background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 10px;
	padding: 12px 14px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(10, 140, 245, .15); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--slate); line-height: 1.45; cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form-foot small { color: var(--slate); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-weight: 700; }
.notice-ok { background: #e3f6ea; color: #17643a; }
.notice-err { background: #fde8e8; color: #9b1c1c; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; background: var(--navy-deep); color: #9fb4d3; padding: 80px 0 0; overflow: hidden; }
.footer-diag {
	position: absolute; top: 0; right: 0; width: 36%; height: 100%;
	background: linear-gradient(180deg, rgba(30,180,245,.08), rgba(10,140,245,0));
	clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
}
.footer-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand img { width: 210px; margin-bottom: 16px; }
.footer-brand p { font-style: italic; }
.footer-nav li { padding: 4px 0; }
.site-footer a { color: #c9d6ea; }
.site-footer a:hover { color: var(--white); }
.footer-contact p { margin-bottom: 14px; }
.footer-contact strong { color: var(--white); }
.social { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom {
	position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
	border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; padding-bottom: 26px; font-size: .95rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { margin-left: 20px; }

/* ---------- Pages intérieures ---------- */
.page-main { padding-top: var(--header-h); }
.page-hero { position: relative; background: var(--navy); padding: 76px 0 64px; overflow: hidden; }
.page-hero::after {
	content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 34%;
	background: linear-gradient(180deg, var(--cyan), var(--blue));
	clip-path: polygon(60% 0, calc(60% + 14px) 0, 14px 100%, 0 100%);
}
.page-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4vw, 3rem); margin: 0; position: relative; z-index: 1; }
.page-hero .intro { color: #c9d6ea; font-size: 1.2rem; }
.page-hero .kicker { color: var(--cyan); }
.page-404 { padding: 120px 0; }
.prose { max-width: 860px; padding-top: 56px; padding-bottom: 96px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text); }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }

/* ---------- Animations d'apparition ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
	.js .reveal.is-in { opacity: 1; transform: none; }
	.hero-copy > * { animation: rise .9s var(--ease) both; }
	.hero-copy > *:nth-child(2) { animation-delay: .08s; }
	.hero-copy > *:nth-child(3) { animation-delay: .16s; }
	.hero-copy > *:nth-child(4) { animation-delay: .24s; }
	.hero-copy > *:nth-child(5) { animation-delay: .32s; }
	@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
	.burger { display: block; }
	.main-nav {
		position: fixed; top: var(--header-h); left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 10px;
		background: var(--navy-deep); padding: 16px 24px 28px;
		box-shadow: 0 20px 40px rgba(0,0,0,.3);
		transform: translateY(-12px); opacity: 0; visibility: hidden;
		transition: transform .25s var(--ease), opacity .25s, visibility .25s;
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
	}
	.main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav ul a { padding: 14px 4px; font-size: 1.15rem; border-bottom: 1px solid rgba(255,255,255,.08); }
	.main-nav ul a::after { display: none; }
	.nav-cta { justify-content: center; margin-top: 8px; }
	.js .site-header.at-top.menu-open { background: rgba(0, 24, 61, .98); }
	.js .menu-open .brand { opacity: 1; transform: none; pointer-events: auto; }
	.header-tools { margin-left: auto; }
	.timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
	.timeline::before { display: none; }
}

@media (max-width: 980px) {
	.section { padding: 84px 0; }
	.hero { min-height: auto; }
	.hero-photo { width: 100%; clip-path: none; opacity: .28; }
	.hero-photo::after { background: linear-gradient(180deg, rgba(0,34,85,.6), rgba(0,34,85,.9)); }
	.hero::before { display: none; }
	.hero-inner { padding-top: 56px; padding-bottom: 72px; }
	.diag-deco { display: none; }
	.hero-pillars { grid-template-columns: 1fr; padding: 0; }
	.hero-pillars li { border-radius: 0 !important; border-top-width: 0; border-left: 0 !important; border-bottom: 1px solid var(--line); font-size: 1.15rem; padding: 18px 24px; }
	.hero-pillars li:first-child { border-top: 4px solid var(--blue); }
	.split, .services-layout, .steering, .protocol, .case, .contact-grid { grid-template-columns: 1fr; }
	.split { gap: 48px; }
	.split-reverse .split-media { order: 0; }
	.services-photo { max-height: 360px; }
	.model-fig { margin-top: 0; }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.logos { grid-template-columns: repeat(3, 1fr); }
	.section-refs::before { clip-path: polygon(0 0, 100% 0, 100% 22%, 0 48%); }
	.section-refs::after { clip-path: polygon(0 48%, 100% 22%, 100% calc(22% + 12px), 0 calc(48% + 12px)); }
	.section-refs .section-head { margin-bottom: 40px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.media-diag::before { inset: auto -10px -10px auto; }
	.media-frame::before { inset: 14px -10px -14px 14px; }
}

@media (max-width: 640px) {
	body { font-size: 1.0625rem; }
	.wrap { padding: 0 16px; }
	.section { padding: 68px 0; }
	.brand img { height: 32px; }
	.hero-logo { width: 170px; }
	.hero .lead { font-size: 1.12rem; }
	.hero-ctas .btn { width: 100%; justify-content: center; }
	.grid-2, .grid-3, .field-row { grid-template-columns: 1fr; }
	.timeline { grid-template-columns: 1fr; row-gap: 36px; }
	.card { padding: 22px; }
	.mode { padding: 28px 22px 24px; }
	.mission { padding: 30px 24px 30px 32px; margin-top: 48px; }
	.protocol-steps li { grid-template-columns: 42px 1fr; }
	.protocol-steps .desc { grid-column: 2; }
	.logos { grid-template-columns: repeat(2, 1fr); }
	.logos li { height: 96px; padding: 16px; }
	.logos img { max-height: 48px; }
	.contact-info, .contact-form-wrap { padding: 36px 22px; }
	.case-body { padding: 32px 22px 26px; }
	.case-body h3 { font-size: 1.6rem; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.footer-bottom { flex-direction: column; }
	.footer-bottom a { margin: 0 18px 0 0; }
	.device-img { height: 170px; }
	.device-img img { max-height: 170px; }
	.highlight-num { font-size: 5rem; }
	.section-head .title { text-underline-offset: 8px; }
}
