/* MCC Cybersécurité Cloud : site actuel, habillé à la charte de la refonte (octobre 2026).
   Jetons, polices et composants repris de la refonte (site-20261016/final) ; seuls les composants
   du contenu actuel sont ici. Une seule feuille, aucun style en ligne, aucun script, aucune image
   en data: (CSP « b » : style-src 'self', font-src 'self', img-src 'self'). */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-var.woff2?v=7726a5cd6f") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-var.woff2?v=19143dca07") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500.woff2?v=01d2854474") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Jetons (valeurs de la charte) ---------- */
:root {
  color-scheme: light dark;
  --paper: #ffffff;
  --surface: #f2f5fa;
  --ink: #071836;
  --text: #243049;
  --muted: #5b6a86;
  --line: #d9e1ee;
  --field: #7a879e;
  --brand: #0076d8;
  --brand-hover: #0062b8;
  --on-brand: #ffffff;
  --link: #0a5fb0;
  --focus: #0a5fb0;
  --mark: #0076d8;
  --ring: #d3deec;
  --hatch: #c9d5e6;

  /* le seul bloc marine : jetons --ia-* de la charte */
  --marine-bg: #071836;
  --marine-panel: #0e1f44;
  --marine-ink: #ffffff;
  --marine-text: #dbe3f2;
  --marine-muted: #9aa9c6;
  --marine-link: #7dbdf6;
  --marine-line: #22355f;
  --marine-tag: #b9c6de;
  --cyan: #1fd4cb;

  --font-title: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --font-text: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --gutter: clamp(1rem, 4.2vw, 2.5rem);
  --max: 75rem;
  --gap: clamp(1.25rem, 0.6rem + 2vw, 2.5rem);
  --section-y: clamp(2.5rem, 1rem + 7vw, 8.5rem);
  --header-h: 4.75rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #071836;
    --surface: #0e1f44;
    --ink: #eef2fa;
    --text: #dbe3f2;
    --muted: #9aa9c6;
    --line: #22355f;
    --field: #5d6f95;
    --brand: #4da3f0;
    --brand-hover: #7dbdf6;
    --on-brand: #071836;
    --link: #7dbdf6;
    --focus: #7dbdf6;
    --mark: #4da3f0;
    --ring: #1b3263;
    --hatch: #22355f;

    --marine-bg: #0d2149;
    --marine-panel: #132b5a;
    --marine-muted: #a7b5d0;
    --marine-link: #8cc6f7;
    --marine-line: #2a4373;
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1rem;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.62 var(--font-text);
  font-kerning: normal;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 400;
  color: var(--ink);
  text-wrap: balance;
}
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
p, li, dd { text-wrap: pretty; }
svg { display: block; }
strong { font-weight: 600; }
a {
  color: var(--link);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { text-decoration-thickness: 2px; }
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}
.nowrap { white-space: nowrap; }
.skip-link {
  position: absolute;
  top: 0.75rem;
  left: var(--gutter);
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font: 500 0.95rem/1.2 var(--font-title);
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* suite séparée par un point médian qui ne commence ni ne finit jamais une ligne */
.seq {
  display: flex;
  flex-wrap: wrap;
  margin-left: -1.3em;
}
.seq > span {
  position: relative;
  padding-left: 1.3em;
}
.seq > span::before {
  content: "·";
  content: "·" / "";
  position: absolute;
  left: 0.5em;
}

/* ---------- Surtitres et étiquettes ---------- */
.eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font: 500 0.78rem/1.3 var(--font-title);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--link);
}
/* le « trait » : une barre à 61,7°, la pente des jambes du M */
.eyebrow::before {
  content: "";
  flex: none;
  width: 2px;
  height: 1.05rem;
  margin-top: -0.05rem;
  background: var(--brand);
  transform: skewX(-28.3deg);
}
.label {
  font: 500 0.75rem/1.4 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Boutons et liens d'action ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: var(--on-brand);
  font: 500 1rem/1.2 var(--font-title);
  letter-spacing: 0.02em;
  text-decoration: none;
}
.btn:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}
.btn .arrow { width: 1.3rem; height: auto; }
.btn-sm { min-height: 2.6rem; padding: 0.55rem 1rem; font-size: 0.95rem; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  font: 500 1rem/1.2 var(--font-title);
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration-color: var(--brand);
}
.link-arrow .arrow-down { width: 0.7rem; height: auto; color: var(--brand); }

/* ---------- En-tête : collant avec la navigation complète (dès 64em) ---------- */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
}
.brand .mcc-mark {
  width: auto;
  height: 1.5rem;
  color: var(--mark);
}
/* Le monogramme dit déjà MCC : le nom n'est plus affiché à côté (variante B, choisie par Franck
   le 17/10/2026). Il reste dans la page, masqué à l'écran mais lu par les lecteurs d'écran : il
   donne son nom au lien de la marque, même sur mobile, où la signature est masquée. */
.brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font: 400 0.7rem/1.2 var(--font-title);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand-tag::before {
  content: "";
  width: 1px;
  height: 1.35rem;
  background: var(--field);
  transform: skewX(-28.3deg);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.nav-list {
  display: flex;
  gap: clamp(1rem, 1.9vw, 1.9rem);
  list-style: none;
}
.nav-list a,
.nav-panel ul a {
  color: var(--ink);
  font: 400 1rem/1.2 var(--font-title);
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.nav-list a {
  display: inline-block;
  padding-block: 0.6rem;
  border-bottom: 1px solid transparent;
}
.nav-list a:hover {
  color: var(--link);
  border-bottom-color: currentColor;
}
.nav-cta { white-space: nowrap; }

.nav-mobile { display: none; }
.nav-mobile summary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0 0.95rem;
  border: 1px solid var(--field);
  color: var(--ink);
  font: 500 0.95rem/1 var(--font-title);
  letter-spacing: 0.04em;
  list-style: none;
  cursor: pointer;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary svg { width: 1.1rem; height: auto; }
.nav-mobile .icon-close { display: none; }
.nav-mobile:not([open]) > .nav-panel { display: none; }
.nav-mobile[open] .icon-close { display: block; }
.nav-mobile[open] .icon-open { display: none; }
/* le panneau ouvert reste dans le flux : la page descend sous lui au lieu d'être recouverte */
.nav-panel {
  margin-inline: calc(-1 * var(--gutter));
  padding: 0.5rem var(--gutter) 1.75rem;
  border-top: 1px solid var(--line);
}
.nav-panel ul { list-style: none; margin-bottom: 1.25rem; }
.nav-panel li { border-bottom: 1px solid var(--line); }
.nav-panel ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.25rem;
  font-size: 1.15rem;
}
.nav-panel ul a::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-top: 1.5px solid var(--brand);
  border-right: 1.5px solid var(--brand);
  transform: rotate(45deg);
}

@media (min-width: 64em) {
  .site-header {
    position: sticky;
    top: 0;
  }
  /* le focus et les ancres ne passent jamais sous l'en-tête collant (WCAG 2.4.11) */
  html { scroll-padding-top: calc(var(--header-h) + 1.25rem); }
}
/* libellés de navigation plus longs que ceux de la refonte : la signature cède la place avant 75rem.
   Bornes complémentaires écrites en négation exacte (« not all and ») : aucune largeur fractionnaire
   (zoom du navigateur ou du système) ne tombe entre deux règles. */
@media (min-width: 64em) {
  @media not all and (min-width: 75rem) {
    .site-header .brand-tag { display: none; }
    .site-nav { gap: 1.25rem; }
    .nav-list { gap: 1.15rem; }
    .nav-list a { font-size: 0.95rem; }
  }
}
@media not all and (min-width: 64em) {
  :root { --header-h: 4rem; }
  .nav-list,
  .nav-cta { display: none; }
  .nav-mobile { display: block; }
  .brand .mcc-mark { height: 1.3rem; }
  .brand-name { font-size: 1.25rem; }
  /* la marque occupe la première rangée, le bouton « Menu » y est posé à droite ;
     le panneau ouvert forme la seconde rangée, pleine largeur, dans le flux */
  .header-inner { flex-wrap: wrap; row-gap: 0; position: relative; }
  .site-header .brand { min-height: var(--header-h); }
  .site-nav { display: block; flex: 0 0 100%; }
  .nav-mobile summary {
    position: absolute;
    top: calc((var(--header-h) - 44px) / 2);
    right: 0;
  }
}

/* ---------- Héros ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  padding-block: clamp(3.25rem, 1.5rem + 6vw, 7rem) clamp(3.25rem, 1.5rem + 4.5vw, 6rem);
}
.hero-text {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}
.hero h1 {
  margin-top: 1.6rem;
  font-size: clamp(2.6rem, 1rem + 3.9vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.012em;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
}
.lede {
  margin-top: 1.6rem;
  max-width: 34rem;
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem);
  line-height: 1.55;
  color: var(--text);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 2.4rem;
}
.hero-scope {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-top: 2.6rem;
  max-width: 34rem;
  font: 500 0.78rem/1.6 var(--font-mono);
  letter-spacing: 0.02em;
  color: var(--muted);
}
.hero-scope::before {
  content: "";
  flex: none;
  width: 1.75rem;
  height: 1px;
  background: var(--field);
  transform: translateY(-0.3em);
}

/* le monogramme au trait, ses arcs ouverts et ses rayons */
.hero-art { overflow: hidden; }
.hero-rings path,
.hero-rays path {
  fill: none;
  stroke: var(--ring);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.hero-rays path { stroke-dasharray: 3 6; }
.hero-ink, .hero-paper {
  fill: none;
  stroke-linecap: butt;
  stroke-linejoin: miter;
}
.hero-ink { stroke: var(--mark); }
.hero-paper { stroke: var(--paper); }
/* une seule animation, le tracé à l'ouverture (moins d'une seconde), coupée en mouvement réduit */
@media (prefers-reduced-motion: no-preference) {
  .hero-ink path {
    stroke-dasharray: 1;
    animation: trace 0.9s cubic-bezier(0.3, 0.6, 0.2, 1) 0.05s both;
  }
}
@keyframes trace {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

/* ---------- Bandeau de chiffres (forme de la fiche de la refonte) ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  border-bottom: 1px solid var(--line);
}
.stats > li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 1.75rem 1.5rem 1.85rem 2.25rem;
}
.stats > li:first-child { padding-left: 0; }
.stats > li + li::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 1.35rem;
  bottom: 1.35rem;
  width: 1px;
  background: var(--line);
  transform: skewX(-28.3deg);
}
.stat-figure {
  font: 300 clamp(2.2rem, 1.5rem + 1.7vw, 3.1rem)/1 var(--font-title);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.stat-label {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text);
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 1.4rem;
  margin-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head h2 {
  grid-column: 1 / span 7;
  font-size: clamp(2rem, 1.2rem + 2.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.section-intro {
  grid-column: 8 / -1;
  align-self: end;
  color: var(--text);
}
.section-ruled { padding-top: 0; }
.section-ruled > .wrap {
  padding-top: var(--section-y);
  border-top: 1px solid var(--line);
}

/* pictogrammes : trait constant, extrémités droites, angles vifs */
.icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--brand);
}

/* ---------- Expertise : trois piliers en cartes ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  list-style: none;
}
.pillar {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 1rem;
  padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem);
  border: 1px solid var(--line);
  background: var(--paper);
}
.pillar h3 {
  margin-top: 0.4rem;
  font-size: clamp(1.25rem, 1.1rem + 0.35vw, 1.4rem);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.005em;
}
.pillar p { font-size: 1rem; color: var(--text); }
/* titres et textes alignés d'une carte à l'autre, même quand un titre passe sur deux lignes */
@supports (grid-template-rows: subgrid) {
  @media not all and (max-width: 62rem) {
    .pillar { grid-row: span 3; grid-template-rows: subgrid; row-gap: 1rem; }
  }
}

/* ---------- Sécurité : le seul bloc marine ---------- */
.marine {
  position: relative;
  overflow: hidden;
  background: var(--marine-bg);
  color: var(--marine-text);
}
.marine h2,
.marine h3 { color: var(--marine-ink); }
.marine .eyebrow { color: var(--marine-tag); }
.marine .eyebrow::before { background: var(--cyan); }
.marine a { color: var(--marine-link); }
.marine :focus-visible { outline-color: var(--marine-link); }
.marine .label { color: var(--marine-muted); }
.marine .wrap { position: relative; }
.marine-decor {
  position: absolute;
  top: 0;
  right: 0;
  width: min(35rem, 62%);
  height: auto;
  pointer-events: none;
}
.marine-decor-rings path,
.marine-decor-rays path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.marine-decor-rings path { stroke-opacity: 0.32; }
.marine-decor-rays path { stroke-opacity: 0.5; stroke-dasharray: 3 6; }
.securite {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 2.75rem;
  align-items: start;
}
.securite-text { grid-column: 1 / span 6; }
.securite h2 {
  margin-top: 1.4rem;
  font-size: clamp(2rem, 1.2rem + 2.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.securite-intro {
  margin-top: 1.4rem;
  max-width: 34rem;
}
.checklist {
  display: grid;
  gap: 0.95rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--marine-line);
  list-style: none;
}
.checklist li {
  display: grid;
  grid-template-columns: 1.1rem minmax(0, 1fr);
  column-gap: 0.95rem;
  align-items: start;
  color: var(--marine-text);
}
.checklist .check {
  width: 1.1rem;
  height: auto;
  margin-top: 0.3em;
  color: var(--cyan);
}
/* « Cadre de sécurité » : un panneau, le filet cyan en tête, une ligne par domaine */
.cadre {
  grid-column: 8 / -1;
  margin-top: 0.4rem;
  padding: clamp(1.4rem, 1rem + 1.6vw, 2.25rem);
  background: var(--marine-panel);
  border-top: 2px solid var(--cyan);
}
.cadre dl { margin-top: 1rem; }
.cadre dl > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.25rem 1rem;
  padding-block: 0.9rem;
  border-top: 1px solid var(--marine-line);
}
.cadre dt { color: var(--marine-text); }
.cadre dd {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font: 500 0.78rem/1.4 var(--font-mono);
  letter-spacing: 0.07em;
  color: var(--marine-ink);
}
.cadre dd::before {
  content: "";
  flex: none;
  width: 1px;
  height: 0.85rem;
  background: var(--cyan);
  transform: skewX(-28.3deg);
}

/* ---------- Microsoft : la carte, à droite du titre ---------- */
.ms {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 2.5rem;
  align-items: start;
}
.ms .section-head {
  grid-column: 1 / span 6;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 0;
}
.ms .section-head h2 { grid-column: 1 / -1; }
.ms-card {
  grid-column: 7 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: clamp(1.1rem, 0.8rem + 1vw, 1.6rem);
  align-items: start;
  padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem);
  background: var(--surface);
  border-left: 2px solid var(--brand);
}
.ms-card h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.35vw, 1.4rem);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.005em;
}
.ms-card p { margin-top: 0.7rem; }
/* au bureau, le haut de la carte s'aligne sur la première ligne du titre (surtitre et son écart
   franchis), au lieu de dépasser au-dessus du surtitre */
@media not all and (max-width: 62rem) {
  .ms-card { margin-top: 2.35rem; }
}

/* ---------- Qui sommes-nous ---------- */
.founder {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 2.75rem;
}
.founder-id {
  grid-column: 1 / span 4;
  display: grid;
  grid-template-columns: auto;
  justify-items: start;
  align-content: start;
}
/* les initiales : un monogramme typographique, sans cadre ni emplacement de photo, dessiné comme
   le mot « MCC » du logo (Jost 300, approche de 0,3 em, compensée à droite) */
.initials {
  display: block;
  font: 300 clamp(1.5rem, 1.2rem + 0.9vw, 1.9rem)/1 var(--font-title);
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  color: var(--ink);
}
.founder h3 {
  margin-top: 1.5rem;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem);
  line-height: 1.1;
}
/* la fonction : petite mono, précédée de la barre oblique du M (comme les natures de la refonte) */
.role {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
  font: 500 0.8rem/1.5 var(--font-mono);
  letter-spacing: 0.02em;
  color: var(--muted);
}
.role::before {
  content: "";
  flex: none;
  width: 1px;
  height: 0.85rem;
  background: var(--brand);
  transform: skewX(-28.3deg);
}
.founder-text { grid-column: 6 / -1; }
.bio {
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.62;
}
/* valeurs : une rangée sous les deux colonnes, comme dans la refonte, séparées par la barre
   oblique du M ; celle qui ouvrirait une ligne est rognée */
.values {
  grid-column: 1 / -1;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.values ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin-left: -2.4rem;
  clip-path: inset(0 0 0 2.4rem);
}
.values li {
  position: relative;
  padding: 0.3rem 0 0.3rem 2.4rem;
  font: 300 clamp(1rem, 0.85rem + 0.45vw, 1.25rem)/1.3 var(--font-title);
  letter-spacing: 0.2em;
  color: var(--ink);
}
.values li::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 1px;
  background: var(--brand);
  transform: skewX(-28.3deg);
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  background: var(--surface);
}
/* hachures légères à 61,7°, en lisière */
.contact::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.75rem;
  background: repeating-linear-gradient(118.3deg, var(--hatch) 0 1px, transparent 1px 9px);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 2.5rem;
  align-items: end;
}
.contact-text { grid-column: 1 / span 7; }
.contact-text h2 {
  margin-top: 1.4rem;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.contact-text p {
  margin-top: 1.4rem;
  max-width: 34rem;
}
.contact-box {
  grid-column: 8 / -1;
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}
.contact-info {
  display: grid;
  gap: 0.6rem;
  list-style: none;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}
.contact-info .icon-sm {
  flex: none;
  width: 1.25rem;
  height: auto;
  color: var(--brand);
}
.contact-place { color: var(--muted); }
.contact-mail {
  font: 400 clamp(1.2rem, 1rem + 0.8vw, 1.55rem)/1.3 var(--font-title);
  color: var(--ink);
  overflow-wrap: anywhere;
  text-decoration-color: var(--brand);
}
.contact-cta {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  justify-self: stretch;
}

/* ---------- Pied de page ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem) 2.25rem;
  font-size: 0.95rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  list-style: none;
}
.footer-links a {
  display: inline-block;
  padding-block: 0.45rem;
  color: var(--text);
}
.footer-links a:hover { color: var(--link); }
.footer-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 0.2rem;
}
.legal-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 2rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}
.legal-id {
  flex: 1 1 20rem;
  min-width: 0;
  overflow: hidden;
}

/* ---------- Mentions légales ---------- */
.page-head {
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2rem, 1.5rem + 2vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(2.2rem, 1.3rem + 3vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.page-head .lede { margin-top: 1.25rem; max-width: 40rem; }
.legal { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) var(--section-y); }
/* chaque rubrique : son titre dans la colonne de gauche, le texte à droite */
.legal > section {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 1.25rem;
}
.legal > section + section {
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.legal h2 {
  grid-column: 1 / span 4;
  align-self: start;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem);
  line-height: 1.12;
}
.legal-text {
  grid-column: 5 / -1;
  max-width: 46rem;
}
.legal h3 {
  margin: 2rem 0 0.7rem;
  font-size: 1.25rem;
  font-weight: 500;
}
.legal p + p,
.legal p + ul,
.legal ul + p { margin-top: 0.85rem; }
.legal ul {
  display: grid;
  gap: 0.5rem;
  list-style: none;
}
.legal li {
  position: relative;
  padding-left: 1.4rem;
}
.legal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 0.7rem;
  height: 1px;
  background: var(--brand);
}
.legal .meta {
  margin-bottom: 1.1rem;
  font: 500 0.8rem/1.5 var(--font-mono);
  letter-spacing: 0.02em;
  color: var(--muted);
}
/* identité de l'éditeur et de l'hébergeur : l'encart de la refonte, filet de marque à gauche */
.facts {
  display: grid;
  grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr);
  gap: 0.55rem 1.5rem;
  margin-top: 1.1rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border-left: 2px solid var(--brand);
}
.facts dt {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding-top: 0.08rem;
}
.facts dd { color: var(--ink); }
/* titres de rubrique collants sous l'en-tête, seulement quand l'en-tête l'est aussi (dès 64em) */
@media (min-width: 64em) and (min-height: 36rem) {
  .legal h2 {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

/* ---------- Bureau : le dessin du héros se cale sur la section pleine largeur ----------
   Le bord droit de la fenêtre coupe le grand C ; le petit C reste entier. */
@media (min-width: 75rem) {
  /* le titre tient sur deux lignes, coupé à la virgule, sans toucher le monogramme */
  .hero-text { max-width: min(43rem, 50vw); }
  .hero .lede,
  .hero-scope { max-width: 31rem; }
  .hero-art {
    position: absolute;
    top: 50%;
    right: -15.6vw;
    width: 67vw;
    height: auto;
    transform: translateY(-50%);
  }
}
@media (min-width: 120rem) {
  .hero-art { width: 62vw; right: -14.4vw; }
}

/* ---------- Tablette et mobile : le dessin passe sous le texte, ses arcs s'estompent ---------- */
@media not all and (min-width: 75rem) {
  .hero-art {
    width: min(46rem, 100% + var(--gutter));
    margin: 1.5rem calc(-1 * var(--gutter)) 0 auto;
    height: auto;
    aspect-ratio: 652 / 360;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 19%, #000 81%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 19%, #000 81%, transparent 100%);
  }
  .hero-inner { padding-bottom: 0; }
  .hero { border-bottom: 0; }
  .stats { border-top: 1px solid var(--line); }
}

@media (max-width: 62rem) {
  .section-head h2,
  .section-intro { grid-column: 1 / -1; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: none;
    column-gap: 1.25rem;
    row-gap: 0.5rem;
  }
  .pillar .icon { grid-row: 1 / span 2; }
  .pillar h3 { margin-top: 0.3rem; }
  .securite-text,
  .cadre { grid-column: 1 / -1; }
  .cadre { max-width: 36rem; margin-top: 0; }
  .ms .section-head,
  .ms-card { grid-column: 1 / -1; }
  .ms-card { max-width: 46rem; }
  .founder-id,
  .founder-text { grid-column: 1 / -1; }
  .founder-id {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1.25rem;
    align-items: center;
  }
  .initials { grid-row: 1 / span 2; }
  .founder h3 { margin-top: 0; align-self: end; }
  .role { margin-top: 0.4rem; align-self: start; }
  .founder { row-gap: 2rem; }
  .values ul { margin-left: -2.1rem; clip-path: inset(0 0 0 2.1rem); }
  .values li { padding-left: 2.1rem; letter-spacing: 0.14em; }
  .values li::before { left: 0.9rem; }
  .contact-text,
  .contact-box { grid-column: 1 / -1; }
  .contact-box { max-width: 34rem; }
  .legal h2,
  .legal-text { grid-column: 1 / -1; }
}

/* ---------- Mobile : même contenu, mise en page serrée ---------- */
@media (max-width: 40rem) {
  body { font-size: 1rem; line-height: 1.5; }
  .brand-tag { display: none; }
  .section-head { row-gap: 0.85rem; margin-bottom: 1.75rem; }
  .section-head h2 { font-size: 1.9rem; }

  .hero-inner { padding-top: 2.25rem; }
  .hero h1 { margin-top: 1.1rem; }
  .lede { margin-top: 1.1rem; font-size: 1.0625rem; line-height: 1.5; }
  .hero-actions { margin-top: 1.4rem; gap: 0.25rem 1.5rem; }
  .hero-scope { margin-top: 1.1rem; }
  .hero-art {
    margin-top: 0.75rem;
    aspect-ratio: 652 / 330;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
  }

  /* chiffres : une ligne par chiffre, le libellé à côté */
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stats > li {
    grid-template-columns: 5.6rem minmax(0, 1fr);
    align-items: baseline;
    column-gap: 1rem;
    padding: 0.95rem 0;
  }
  .stats > li + li { border-top: 1px solid var(--line); }
  .stats > li + li::before { display: none; }
  .stat-figure { font-size: 2rem; }

  .pillar { padding: 1.15rem 1.1rem 1.25rem; column-gap: 0.9rem; }
  .pillar .icon { width: 2rem; height: 2rem; }
  .pillar h3 { font-size: 1.22rem; margin-top: 0.15rem; }
  .pillar p { font-size: 0.97rem; }

  .securite h2 { margin-top: 1rem; font-size: 1.9rem; }
  .securite-intro { margin-top: 0.9rem; }
  .checklist { margin-top: 1.4rem; padding-top: 1.2rem; gap: 0.75rem; }
  .cadre { padding: 1.15rem 1.1rem 0.6rem; }
  .cadre dl > div { padding-block: 0.7rem; }
  .marine-decor { opacity: 0.6; }

  .ms { row-gap: 1.75rem; }
  .ms-card { padding: 1.15rem 1.1rem 1.25rem; column-gap: 0.9rem; }
  .ms-card .icon { width: 2rem; height: 2rem; }
  .ms-card h3 { font-size: 1.22rem; margin-top: 0.15rem; }

  .founder { row-gap: 1.25rem; }
  .founder h3 { font-size: 1.55rem; }
  .bio { font-size: 1.0625rem; line-height: 1.55; }
  .values { padding-top: 1rem; }

  .contact-grid { row-gap: 1.6rem; }
  .contact-text h2 { margin-top: 1rem; font-size: 1.75rem; }
  .contact-text p { margin-top: 0.9rem; }
  .contact-box { gap: 1rem; }

  .page-head .lede { margin-top: 0.9rem; }
  .legal > section { row-gap: 0.9rem; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0.9rem 1rem; }
  .facts dd + dt { margin-top: 0.6rem; }

  .site-footer { padding-block: 1.75rem 1.75rem; }
  .footer-top { gap: 1rem; }
  .footer-links a { padding-block: 0.35rem; }
  .legal-line { margin-top: 1.25rem; }
}

@media (max-width: 22rem) {
  .hero-actions { gap: 0.75rem 1.5rem; }
  .btn { padding-inline: 1.1rem; }
  .stats > li { grid-template-columns: 4.6rem minmax(0, 1fr); }
  .stat-figure { font-size: 1.75rem; }
}

/* ---------- Couleurs forcées (contraste élevé) ----------
   Les traits et barres faits de fonds CSS prennent la couleur du texte du système ;
   les boutons et les encarts gardent un contour ; le décor (anneaux, rayons) est retiré. */
@media (forced-colors: active) {
  .btn,
  .nav-mobile summary { border: 1px solid ButtonText; }
  .eyebrow::before,
  .brand-tag::before,
  .hero-scope::before,
  .stats > li + li::before,
  .cadre dd::before,
  .role::before,
  .values li::before,
  .legal li::before {
    forced-color-adjust: none;
    background: CanvasText;
  }
  .marine .eyebrow::before { background: CanvasText; }
  .nav-panel ul a::after {
    forced-color-adjust: none;
    border-color: CanvasText;
  }
  .brand .mcc-mark,
  .link-arrow .arrow-down,
  .icon,
  .icon-sm,
  .checklist .check { color: inherit; }
  .hero-rings,
  .hero-rays,
  .marine-decor { display: none; }
  .pillar,
  .cadre,
  .ms-card,
  .facts { border: 1px solid CanvasText; }
  .hero-ink { stroke: CanvasText; }
  .hero-paper { stroke: Canvas; }
  .footer-links a[aria-current="page"] { border-bottom-color: CanvasText; }
}

/* ---------- Impression ---------- */
@media print {
  .site-header nav, .hero-art, .marine-decor, .skip-link { display: none !important; }
  .site-header { position: static; }
  .marine { background: none; color: #000; }
  .marine h2, .marine h3, .marine p, .marine li, .marine dt, .marine dd { color: #000; }
  a { color: inherit; }
}
