/* Ocom Space & Defence — direction artistique
   Concept : une « nuit orbitale » (bleu nuit profond, bleu orbite, or signal) pour les héros et bandeaux,
   un papier sobre pour la lecture. Typo héritée d'O'communication : Safiro (repli DM Sans) + italiques Playfair Display.
   Sections éditoriales en deux colonnes (titre à gauche, contenu à droite), tableaux transformés en composants. */
:root {
  --night: #060A18;
  --night-2: #0B1230;
  --bg: #090E20;
  --bg-2: #0F1733;
  --bg-3: #172252;
  --fg: #EAF0FF;
  --fg-2: #B8C3DF;
  --fg-3: #8E9BC0;
  --line: rgba(150, 178, 255, .16);
  --line-2: rgba(150, 178, 255, .32);
  --accent: #EE6A1F;
  --accent-ink: #1A0A00;
  --orbit: #7FB0FF;
  --btn-bg: #EE6A1F;
  --btn-fg: #1A0A00;
  --ph: rgba(238,106,31, .22);
  --ff-sans: "Safiro", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --ff-mono: var(--ff-sans); /* plus de police à chasse fixe : tout le site reste dans la typo de la charte */
  --r: 22px;
  --gut: max(24px, env(safe-area-inset-left, 0px));
  --gut-r: max(24px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F3F2F1;
  --bg-2: #FFFFFF;
  --bg-3: #E7EAF3;
  --fg: #0A1230;
  --fg-2: #37446E;
  --fg-3: #566390;
  --line: rgba(10, 18, 48, .12);
  --line-2: rgba(10, 18, 48, .28);
  --accent: #B4470A;
  --accent-ink: #FFFFFF;
  --orbit: #2B58B8;
  --btn-bg: #0A1230;
  --btn-fg: #FFFFFF;
  --ph: rgba(238,106,31, .45);
  color-scheme: light;
}
/* bandeaux toujours sombres */
.night {
  --bg: #070B1A;
  --bg-2: #0E1633;
  --bg-3: #172252;
  --fg: #EAF0FF;
  --fg-2: #B8C3DF;
  --fg-3: #8E9BC0;
  --line: rgba(150, 178, 255, .18);
  --line-2: rgba(150, 178, 255, .34);
  --accent: #EE6A1F;
  --btn-bg: #EE6A1F;
  --btn-fg: #1A0A00;
  --orbit: #7FB0FF;
  --ph: rgba(238,106,31, .22);
  background: var(--bg);
  color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: .2em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--btn-bg); color: var(--btn-fg); padding: 10px 16px; border-radius: 99px; text-decoration: none; font-weight: 600; }
.skip:focus { top: calc(10px + env(safe-area-inset-top, 0px)); }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-left: var(--gut); padding-right: var(--gut-r); }
h1, h2, h3 { text-wrap: balance; margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
.it { font-family: var(--ff-serif); font-style: italic; font-weight: 500; letter-spacing: -0.01em; color: var(--accent); }
.eyebrow { margin: 0; font-family: var(--ff-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.eyebrow .orb { width: 22px; height: 12px; border: 1.5px solid currentColor; border-radius: 50%; position: relative; transform: rotate(-14deg); display: inline-block; }
.eyebrow .orb::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: currentColor; left: 3px; top: -3px; }
mark.ph { background: var(--ph); color: inherit; padding: 0 .25em; border-radius: 4px; box-shadow: inset 0 -2px 0 var(--accent); }
.small { font-size: .875rem; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 13px 14px 13px 24px; border-radius: 999px; border: 1.5px solid var(--line-2); text-decoration: none; font-weight: 600; font-size: 1rem; font-family: inherit; line-height: 1.1; cursor: pointer; background: transparent; color: var(--fg); transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn .arr { width: 30px; height: 30px; padding: 6px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; transition: transform .25s; }
.btn:hover .arr { transform: translateX(3px); }
.btn.primary { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost:hover { border-color: var(--fg); }
.btn.sm { padding: 9px 12px 9px 18px; font-size: .9rem; gap: 10px; }
.btn.sm .arr { width: 24px; height: 24px; padding: 4px; }
.btn.big { padding: 18px 20px 18px 30px; font-size: 1.125rem; }
.btn.big .arr { width: 38px; height: 38px; padding: 8px; }
.night .btn.sm.primary, .hd .btn.primary { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); }
:root[data-theme="light"] .hd .btn.primary { --btn-bg: #0A1230; --btn-fg: #fff; }

/* ---------------------------------------------------------------- header */
.hd { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
body[data-lang="fr"] .hd[data-lang="en"], body[data-lang="en"] .hd[data-lang="fr"], body[data-lang="fr"] .ft[data-lang="en"], body[data-lang="en"] .ft[data-lang="fr"] { display: none; }
.hd-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--fg); flex: none; }
.logo .mark { width: 30px; height: 29px; }
.lk { display: inline-flex; align-items: baseline; gap: 8px; font-size: 1.15rem; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.lk b { font-weight: 700; margin-left: -4px; }
.lk i { font-style: normal; font-weight: 400; letter-spacing: -0.02em; color: var(--fg-2); padding-left: 8px; border-left: 1.5px solid var(--line-2); }
.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav a, .nav button.dd-b, .nav .dd > button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-decoration: none; padding: 10px 12px; border-radius: 99px; display: inline-flex; align-items: center; gap: 7px; font-size: .95rem; }
.nav > ul > li > a:hover, .nav .dd > button:hover { background: var(--bg-3); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav .btn[aria-current="page"] { color: var(--btn-fg); }
.nav .btn.sm { padding: 9px 18px; margin-left: 8px; }
.dd { position: relative; }
.dd .menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; list-style: none; margin: 0; padding: 8px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55); }
.dd .menu a { display: block; width: 100%; border-radius: 10px; }
.dd .menu a:hover { background: var(--bg-3); }
.dd.open .menu { display: block; }
.dd.open > button svg { transform: rotate(180deg); }
.tools { display: flex; align-items: center; gap: 6px; margin-left: 6px; }
.lng, .theme { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--line-2); color: var(--fg); background: transparent; font: 600 .8rem var(--ff-mono); text-decoration: none; cursor: pointer; }
.lng:hover, .theme:hover { background: var(--bg-3); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-2); background: transparent; color: var(--fg); position: relative; cursor: pointer; }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s; }
.burger i:nth-of-type(1) { top: 17px; } .burger i:nth-of-type(2) { top: 25px; }
.burger[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-of-type(2) { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1120px) {
  .burger { display: block; }
  .tools { margin-left: 0; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line); max-height: calc(100dvh - 70px); overflow: auto; padding: 8px var(--gut-r) 24px var(--gut); }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li > a, .nav .dd > button { width: 100%; justify-content: space-between; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .dd .menu { position: static; display: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 12px; min-width: 0; }
  .nav .btn.sm { margin: 16px 0 0; width: 100%; justify-content: center; }
}
@media (max-width: 520px) { .lk i { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(56px, 9vw, 128px) clamp(56px, 8vw, 112px); min-height: clamp(520px, 62vw, 700px); display: flex; align-items: center; }
.hero.hero-s { min-height: 0; padding-block: clamp(52px, 7vw, 96px); }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-svg { width: 100%; height: 100%; display: block; }
@media (min-width: 761px) {
  .hero-art { left: 14%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%); }
}
.hero-in { position: relative; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.9rem); font-weight: 700; line-height: 1.04; max-width: 17ch; letter-spacing: -0.035em; }
.hero-s h1 { font-size: clamp(1.9rem, 3.8vw, 3.2rem); max-width: 22ch; }
.article .hero h1 { max-width: 24ch; font-size: clamp(1.8rem, 3.6vw, 3rem); }
.hero .lead { margin: 0; max-width: min(54ch, 50vw); font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--fg-2); }
.hero .byline { margin: 0; font-family: var(--ff-mono); font-size: .8rem; color: var(--fg-3); letter-spacing: .02em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 760px) {
  .hero .lead { max-width: none; }
  .hero { align-items: flex-start; min-height: 0; padding-block: 48px 280px; }
  .hero-s { padding-block: 44px 56px; }
  .hero-svg { object-position: right bottom; }
  .hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,11,26,.9) 0%, rgba(7,11,26,.7) 55%, rgba(7,11,26,.05) 100%); }
}

/* ---------------------------------------------------------------- sections */
.sec { padding-block: clamp(44px, 6.5vw, 92px); border-top: 1px solid var(--line); }
.sec.intro { padding-block: clamp(36px, 5vw, 64px); }
.sec-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.sec-grid > h2 { font-size: clamp(1.5rem, 2.5vw, 2.15rem); font-weight: 700; position: sticky; top: 96px; }
.sec.wide .sec-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); }
.sec.wide .sec-grid > h2 { position: static; max-width: 28ch; }
.band-night { border-top: 0; }
.band-alt { background: var(--bg-2); }
.prose { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.prose p { margin: 0; font-size: 1.0625rem; line-height: 1.68; max-width: 68ch; color: var(--fg-2); }
.prose strong { color: var(--fg); font-weight: 600; }
.prose a { color: var(--fg); }
.sec.wide .prose p { max-width: 80ch; }
.prose h3.sub { font-size: 1.25rem; font-weight: 700; margin-top: 10px; }
.list, .steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; max-width: 72ch; }
.list li { position: relative; padding-left: 32px; font-size: 1.0625rem; color: var(--fg-2); line-height: 1.6; }
.list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 14px; height: 8px; border: 1.5px solid var(--accent); border-radius: 50%; transform: rotate(-14deg); }
.steps { counter-reset: st; gap: 0; }
.steps li { counter-increment: st; display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 1.0625rem; color: var(--fg-2); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(st); width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); display: grid; place-items: center; font: 500 .95rem var(--ff-mono); }
.steps li strong { color: var(--fg); }

.limits { background: var(--bg-2); border: 1.5px dashed var(--line-2); border-radius: var(--r); padding: 24px 26px; display: flex; flex-direction: column; gap: 14px; max-width: 72ch; }
.limits h3 { font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.limits h3::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--fg-3); background: linear-gradient(to top right, transparent calc(50% - 1px), var(--fg-3) calc(50% - 1px), var(--fg-3) calc(50% + 1px), transparent calc(50% + 1px)); flex: none; }
.limits ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.limits li { color: var(--fg-2); font-size: 1rem; padding-left: 4px; }
.band-night .limits, .band-alt .limits { background: var(--bg); }

/* chiffres */
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
@media (min-width: 1000px) {
  .figs.n3, .figs.n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .figs.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .figs.n5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .figs.n5 .fig:nth-child(-n+3) { grid-column: span 2; }
  .figs.n5 .fig:nth-child(n+4) { grid-column: span 3; }
}
.fig { margin: 0; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fig-l { font: 600 1rem/1.35 var(--ff-sans); letter-spacing: -0.005em; color: #FFFFFF; }
.fig-v { margin: 0; flex: 1; font-size: 1.125rem; line-height: 1.4; color: #E3E9FA; max-width: none; }
.fig-v .n { display: block; font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; color: var(--accent); font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.fig-v .r { display: block; }
.fig .fig-s { margin: 0; padding-top: 14px; border-top: 1px solid var(--line-2); font: 400 .9375rem/1.5 var(--ff-sans); color: #CCD5EE; max-width: none; }
.fig-s a { color: inherit; }

/* services */
.svc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.svc a { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1.5px solid var(--line-2); border-radius: var(--r); text-decoration: none; background: var(--bg-2); transition: border-color .2s, transform .2s, background .2s; position: relative; }
.svc a:hover { border-color: var(--accent); transform: translateY(-3px); }
.svc-t { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.svc-p { color: var(--fg-2); font-size: .95rem; line-height: 1.5; flex: 1; }
.svc-a { margin-top: 8px; color: var(--accent); }

/* références */
.refs { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.refs.cols-1 { grid-template-columns: minmax(0, 760px); }
.refs.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.refs.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.refs.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.ref { display: flex; flex-direction: column; gap: 14px; min-width: 0; position: relative; }
.ref-m { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--night-2); border: 1px solid var(--line); position: relative; }
.ref-m img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.ref:hover .ref-m img { transform: scale(1.03); }
.cover { position: absolute; inset: 0; background: radial-gradient(120% 120% at 80% 110%, #26497D 0, #10204D 45%, #080E24 100%); display: grid; place-items: center; }
.cover span { font-size: 5rem; font-weight: 700; color: var(--accent); letter-spacing: -0.05em; opacity: .9; }
.ref-b { display: flex; flex-direction: column; gap: 8px; }
.ref-b h3 { font-size: 1.15rem; font-weight: 700; }
.ref-b p { margin: 0; font-size: .97rem; line-height: 1.55; color: var(--fg-2); }
.ref-b .ref-sector { font: 600 .78rem var(--ff-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.gallery .ref-m { border-radius: 18px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li, .chip { font: 500 .8rem var(--ff-mono); padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 99px; color: var(--fg-2); background: transparent; }
.chips.big li { padding: 0; border: 0; }
.chips.big a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1.5px solid var(--line-2); border-radius: 99px; text-decoration: none; font: 500 .95rem var(--ff-sans); }
.chips.big a:hover { border-color: var(--accent); color: var(--accent); }
.chips.big .arr { width: 14px; height: 14px; }
.chip { cursor: pointer; font-size: .85rem; padding: 8px 14px; }
.chip.on, .chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.on { background: color-mix(in srgb, var(--accent) 14%, transparent); }

/* tableaux */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg-2); }
.band-alt .tbl-wrap { background: var(--bg); }
.tbl { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 560px; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--line); line-height: 1.5; }
.tbl thead th { font: 600 .75rem var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); background: color-mix(in srgb, var(--bg-3) 55%, transparent); white-space: nowrap; }
.tbl tbody th { font-weight: 700; color: var(--fg); width: 24%; }
.tbl td { color: var(--fg-2); }
.tbl tr:last-child > * { border-bottom: 0; }
@media (max-width: 720px) {
  .tbl-wrap { border: 0; background: transparent; overflow: visible; }
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; min-width: 0; width: 100%; }
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl tr { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 18px; margin-bottom: 12px; padding: 6px 0; }
  .band-alt .tbl tr { background: var(--bg); }
  .tbl tbody th { width: 100%; border: 0; padding: 14px 18px 6px; font-size: 1.05rem; }
  .tbl td { border: 0; padding: 8px 18px; }
  .tbl td::before { content: attr(data-label); display: block; font: 600 .72rem var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 2px; }
}
.kv { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.kv dt { font: 600 .78rem var(--ff-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); padding-top: .25em; }
.kv dd { margin: 0; color: var(--fg); font-size: 1.0625rem; min-width: 0; overflow-wrap: anywhere; }
.kv.small > div { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
.kv.small dd { font-size: .95rem; }
@media (max-width: 520px) { .kv > div { grid-template-columns: 1fr; gap: 4px; } }

/* chronologie, enjeux, équipe */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; counter-reset: tl; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; border-top: 2px dashed var(--line-2); }
.timeline li { position: relative; padding-top: 44px; display: flex; flex-direction: column; gap: 12px; }
.tl-dot { position: absolute; top: 0; left: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.tl-dot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--accent); }
.tl-p { font: 600 .85rem var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.tl-do { margin: 0; font-size: 1.15rem; font-weight: 600; line-height: 1.35; max-width: none; color: var(--fg); }
.tl-get { margin-top: auto; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 18px; padding: 16px 18px; }
.tl-get .lab { font: 600 .72rem var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }
.tl-get p { margin: 6px 0 0; font-size: .97rem; max-width: none; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 28px; padding-left: 44px; }
  .timeline::before { left: 13px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed var(--line-2); }
  .timeline li { padding-top: 0; }
  .tl-dot { left: -44px; top: 2px; }
}
.issues { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.issues li { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.issues .num { font: 600 .85rem var(--ff-mono); color: var(--accent); width: 34px; height: 34px; border: 1.5px solid var(--accent); border-radius: 50%; display: grid; place-items: center; }
.issues h3 { font-size: 1.3rem; font-weight: 700; }
.issues p { font-size: 1rem; }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 24px 18px; }
.team li { display: flex; flex-direction: column; gap: 4px; position: relative; }
.portrait { aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: radial-gradient(90% 90% at 70% 110%, #2A4F8F 0, #12214F 55%, #0A1230 100%); display: grid; place-items: center; margin-bottom: 10px; border: 1px solid var(--line); }
.portrait span { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.04em; color: var(--accent); }
.team h3 { font-size: 1.05rem; font-weight: 700; }
.team p { margin: 0; font-size: .92rem; color: var(--fg-2); }

/* FAQ */
.faq-sec .sec-body { gap: 0; }
.faq { border-top: 1px solid var(--line-2); }
.q { border-bottom: 1px solid var(--line-2); }
.q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; }
.q summary::-webkit-details-marker { display: none; }
.q summary h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.q summary:hover h3 { color: var(--accent); }
.pm { width: 30px; height: 30px; flex: none; border: 1.5px solid var(--line-2); border-radius: 50%; position: relative; }
.pm::before, .pm::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: currentColor; transition: transform .25s; }
.pm::after { transform: rotate(90deg); }
.q[open] .pm::after { transform: rotate(0); }
.q .a { padding: 0 0 24px; max-width: 64ch; }
.q .a p { margin: 0 0 10px; color: var(--fg-2); font-size: 1.0625rem; }

/* bande CTA, liens liés */
.related { border-top: 1px solid var(--line); padding-block: 40px; }
.related .wrap { display: flex; flex-direction: column; gap: 18px; }
.cta { padding-block: clamp(56px, 8vw, 104px); position: relative; overflow: hidden; background: radial-gradient(70% 160% at 100% 120%, #1E3C7C 0, #0E1A44 40%, #070B1A 75%); }
.cta-in { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 700; letter-spacing: -0.035em; max-width: 14ch; }
.cta p { margin: 18px 0 0; max-width: 54ch; color: var(--fg-2); font-size: 1.1rem; }
.cta-in > div { max-width: 640px; }

/* contact */
.contact-sec { border-top: 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.cform h2, .ccard h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 700; margin-bottom: 26px; }
.ccard { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); padding: clamp(22px, 3vw, 34px); position: sticky; top: 96px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fld { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.fld.wide { grid-column: 1 / -1; }
.fld label { font-weight: 600; font-size: .95rem; }
.req { color: var(--accent); }
.fld input:not([type=checkbox]), .fld select, .fld textarea { font: inherit; font-size: 1rem; color: var(--fg); background: var(--bg-2); border: 1.5px solid var(--line-2); border-radius: 14px; padding: 13px 15px; width: 100%; min-width: 0; }
.fld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.fld textarea { resize: vertical; min-height: 130px; }
.hint { margin: 0; font-size: .85rem; color: var(--fg-3); }
.chk { flex-direction: row; align-items: flex-start; gap: 12px; }
.chk input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.chk label { font-weight: 400; color: var(--fg-2); font-size: .95rem; line-height: 1.5; }
.act { flex-direction: row; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-msg { grid-column: 1 / -1; margin: 0; padding: 14px 18px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 16%, transparent); border: 1px solid var(--accent); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .ccard { position: static; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ressources */
.filters { margin-bottom: 28px; }
.cards-a { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 24px; }
.card-a a { display: flex; flex-direction: column; gap: 14px; text-decoration: none; height: 100%; }
.cover-a { aspect-ratio: 1200 / 630; border-radius: 18px; background: radial-gradient(100% 140% at 100% 120%, #26497D 0, #10204D 45%, #070B1A 100%); border: 1px solid var(--line-2); padding: 22px 24px; display: flex; flex-direction: column; justify-content: space-between; color: #EAF0FF; overflow: hidden; --accent: #EE6A1F; }
.cover-a .t { font-size: clamp(1rem, 1.6vw, 1.3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; max-width: 26ch; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.cover-a .d { font: 400 .78rem var(--ff-mono); color: #B8C3DF; }
.card-a h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.2; }
.card-a:hover h3 { color: var(--accent); }
.card-a .meta { margin: 0; font: 400 .8rem/1.5 var(--ff-mono); color: var(--fg-3); }
.card-a .more { display: inline-flex; gap: 8px; align-items: center; color: var(--accent); font-weight: 600; margin-top: auto; }
.card-a .more .arr { width: 16px; height: 16px; }

/* article */
.article .prose { max-width: 720px; margin-inline: auto; }
.article .sec-grid { grid-template-columns: minmax(0, 720px); justify-content: center; gap: 20px; }
.article .sec-grid > h2 { position: static; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.article .prose p { font-size: 1.15rem; max-width: none; }
.article .prose .foot { font: 400 .85rem/1.6 var(--ff-mono); color: var(--fg-3); border-top: 1px solid var(--line); padding-top: 16px; }
.article .sec.intro .prose { gap: 20px; }

/* pied de page */
.ft { border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 80px) 32px; }
.ft-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.ft-brand { display: flex; flex-direction: column; gap: 22px; }
.ft-brand .logo .mark { width: 38px; height: 36px; }
.ft-brand .lk { font-size: 1.4rem; }
.by { margin: 0; display: flex; flex-direction: column; gap: 8px; color: var(--fg-2); font-size: .95rem; }
.agency-logo { width: 150px; height: auto; color: var(--fg); opacity: .95; }
.ft-col { display: flex; flex-direction: column; gap: 16px; }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ft-col a { text-decoration: none; color: var(--fg-2); font-size: .95rem; }
.ft-col a:hover { color: var(--fg); text-decoration: underline; }
.ft .kv { border-top: 0; }
.ft .kv > div { border: 0; }
.ft .kv dd { color: var(--fg-2); }
.ft .kv a { color: var(--fg-2); }
.ft-bot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; color: var(--fg-3); }
.ft-bot p { margin: 0; max-width: 62ch; }
.legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 22px; flex-wrap: wrap; }
.legal a { color: var(--fg-2); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
@media (max-width: 960px) { .ft-in { grid-template-columns: 1fr 1fr; } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ft-in { grid-template-columns: 1fr; } }

/* notes de maquette (hors site publié) */
.note { display: none; }
body.notes .note { display: block; position: absolute; left: 10px; bottom: 10px; right: 10px; z-index: 5; font: 400 .72rem/1.4 var(--ff-mono); padding: 6px 10px; border-radius: 8px; background: rgba(238,106,31, .94); color: #1A0A00; max-width: max-content; }
body.notes .team .note { position: static; margin: 0 0 6px; max-width: none; }
body.notes .hero > .note { left: var(--gut); right: auto; bottom: 14px; max-width: min(720px, calc(100% - 2 * var(--gut))); }
.notes-toggle { position: fixed; z-index: 60; left: max(14px, env(safe-area-inset-left, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; border: 1.5px solid var(--line-2); background: var(--bg-2); color: var(--fg); font: 500 .82rem var(--ff-sans); cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.notes-toggle[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.notes-panel { position: fixed; z-index: 70; right: max(14px, env(safe-area-inset-right, 0px)); bottom: calc(66px + env(safe-area-inset-bottom, 0px)); width: min(440px, calc(100vw - 28px)); max-height: min(70vh, 640px); overflow: auto; background: var(--bg-2); color: var(--fg); border: 1.5px solid var(--accent); border-radius: 20px; padding: 22px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }
.notes-panel h2 { font-size: 1.15rem; margin-bottom: 8px; }
.notes-panel h3 { font-size: .95rem; margin: 20px 0 10px; }
.notes-panel p { margin: 0 0 12px; color: var(--fg-2); }
.notes-panel dl { margin: 0; display: grid; gap: 10px; }
.notes-panel dt { font: 600 .72rem var(--ff-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.notes-panel dd { margin: 2px 0 0; font-size: .85rem; color: var(--fg); overflow-wrap: anywhere; }
.todo { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.todo li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; font-size: .82rem; }
.todo li b { color: var(--accent); font-weight: 600; }
.todo li span { color: var(--fg-2); }
.seo { display: none; }

@media (max-width: 900px) {
  .sec-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .sec-grid > h2 { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.ref-b p::first-letter, .chips li::first-letter { text-transform: uppercase; }

/* home : chapeau centré + grand visuel horizontal */
.sec.chapeau { padding-block: clamp(48px, 7vw, 96px) 0; }
.chapeau .wrap { display: flex; justify-content: center; }
.chapeau p { margin: 0; max-width: 62ch; text-align: center; font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.55; color: var(--fg); text-wrap: balance; }
.visual-band { position: relative; padding: 0; margin: 0; background: #070B1A; border-bottom: 0; }
.vb-art { position: relative; width: 100%; aspect-ratio: 2400 / 760; max-height: 560px; overflow: hidden; background: linear-gradient(#070B1A, #090E20); }
.vb-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 4%; display: block; }
/* la Terre émerge du bleu nuit du site en haut ; le ciel se mêle au bleu du site en bas */
.vb-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(to bottom, #070B1A 0%, rgba(7,11,26,.85) 7%, rgba(7,11,26,0) 28%),
  linear-gradient(to top, #090E20 0%, rgba(9,14,32,.92) 14%, rgba(9,14,32,.55) 32%, rgba(9,14,32,0) 58%); }
@media (max-width: 760px) { .vb-art { aspect-ratio: 16 / 10; } .vb-art img { object-position: 30% 4%; } }
body.notes .visual-band > .note { left: var(--gut); bottom: 14px; z-index: 6; max-width: min(720px, calc(100% - 2 * var(--gut))); }

/* texte mis de côté (visible seulement en mode notes) */
.parked { display: none; }
body.notes .parked { display: block; padding-block: 28px; border-top: 1px dashed var(--accent); border-bottom: 1px dashed var(--accent); background: rgba(238,106,31,.06); }
.parked .wrap { display: flex; flex-direction: column; gap: 10px; }
.parked p:not(.eyebrow) { margin: 0; color: var(--fg-2); max-width: 72ch; }

/* pictogrammes « Ce que nous faisons » */
.svc-i { width: 56px; height: 56px; border-radius: 16px; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: var(--accent); background: linear-gradient(145deg, rgba(127,176,255,.14), rgba(127,176,255,.02)); margin-bottom: 8px; transition: border-color .2s, background .2s; }
.svc a:hover .svc-i { border-color: var(--accent); background: rgba(238,106,31,.1); }

/* accueil : sections repliables */
.sec.acc { padding-block: 0; }
.acc-d > summary { list-style: none; cursor: pointer; display: block; }
.acc-d > summary::-webkit-details-marker { display: none; }
.acc-sum { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(24px, 3.4vw, 40px); }
.acc-sum h2 { font-size: clamp(1.35rem, 2.3vw, 2rem); font-weight: 700; margin: 0; max-width: 40ch; transition: color .2s; }
.acc-d > summary:hover h2 { color: var(--accent); }
.chev { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: var(--accent); transition: transform .3s, background .2s, border-color .2s; }
.acc-d > summary:hover .chev, .acc-d > summary:focus-visible .chev { border-color: var(--accent); background: rgba(238,106,31,.1); }
.acc-d[open] .chev { transform: rotate(180deg); }
.acc-d > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.acc-body { padding-bottom: clamp(36px, 5vw, 72px); }
.sec.acc .acc-body .prose p { max-width: 80ch; }
@media (max-width: 760px) { .chev { width: 40px; height: 40px; } }

.visual-band + .sec { border-top: 0; }

/* héros d'accueil : photo plein cadre, ciel fondu dans le bleu nuit */
.hero-art.photo { left: 0; -webkit-mask-image: none; mask-image: none; }
.hero-art.photo .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; display: block; }
.hero-art.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(to right, rgba(7,11,26,.94) 0%, rgba(7,11,26,.78) 30%, rgba(7,11,26,.2) 62%, rgba(7,11,26,0) 80%),
  linear-gradient(to bottom, #070B1A 0%, rgba(7,11,26,0) 18%, rgba(7,11,26,0) 82%, #070B1A 100%); }
@media (max-width: 760px) {
  .hero-art.photo .hero-photo { object-position: 72% 100%; height: 62%; top: auto; bottom: 0; }
  .hero-art.photo::after { background: linear-gradient(to bottom, #070B1A 0%, rgba(7,11,26,.9) 38%, rgba(7,11,26,0) 62%), linear-gradient(to top, #070B1A 0%, rgba(7,11,26,0) 14%); }
}

/* accueil : la réponse aux chiffres clés, citée par Franck Bigot */
.expert { margin: 30px 0 0; display: flex; align-items: center; gap: 28px; position: relative; max-width: none; }
.expert-ph { flex: none; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #2A4A8F 0, #14224F 60%, #0C1738 100%); border: 2px solid var(--line-2); box-shadow: 0 0 0 6px rgba(127,176,255,.08); color: var(--fg); overflow: hidden; }
.expert-ph span { font-weight: 700; font-size: 2.2rem; letter-spacing: -0.03em; color: var(--accent); }
.expert-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prose .expert blockquote.conclusion { margin: 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--accent); display: flex; flex-direction: column; gap: 14px; flex: 1; max-width: 78ch; }
.prose .expert .conclusion p { max-width: none; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.5; color: var(--fg); font-weight: 500; }
.expert .who { font-size: .9rem; color: var(--fg-3); letter-spacing: .01em; }
.expert .who b { color: var(--fg); font-weight: 600; }
body.notes .expert .note { position: static; display: block; margin-top: 10px; flex-basis: 100%; }
body.notes .expert { flex-wrap: wrap; }
@media (max-width: 760px) {
  .expert { flex-direction: column; align-items: flex-start; gap: 20px; }
  .expert-ph { width: 96px; height: 96px; }
  .expert-ph span { font-size: 1.6rem; }
}
.figs + p { margin-top: 22px; }

.sec.wide .prose .figs + p { max-width: none; }

.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.team li:hover .portrait img { transform: scale(1.04); }
.expert-ph { background: #FFF4E8; }
.expert-ph img { object-position: 50% 30%; }

/* ===== export statique ===== */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg.err { background: color-mix(in srgb, #D33 14%, transparent); border-color: #D33; }
.form-msg[hidden] { display: none; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }
.err404 { min-height: 60vh; display: grid; align-content: center; gap: 18px; padding-block: 96px; }
.err404 h1 { margin: 0; }
