@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/site/assets/fonts/ibm-plex-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/site/assets/fonts/ibm-plex-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/site/assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/site/assets/fonts/ibm-plex-mono-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/site/assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/site/assets/fonts/ibm-plex-mono-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* myEnneade — site public. Charte « rapport d'ingénierie » : papier, IBM Plex, réglure
   fine, sections numérotées, figures légendées, un accent orange chantier, angles droits,
   aucune animation décorative. Polices auto-hébergées (aucun appel tiers). */
:root {
  --paper: #F7F6F2; --white: #FFFFFF;
  --ink: #17191C; --ink-2: #3D4046; --ink-3: #5F636B;
  --rule: #DAD9D3; --rule-2: #C4C3BC;
  --accent: #E4572E; --accent-2: #B8431F; --accent-text: #A93C1B;
  --sans: "IBM Plex Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.55 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }
sub { font-size: .72em; line-height: 0; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ── Boutons ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--ink); border-radius: 2px; background: transparent; color: var(--ink); font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--white); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; color: #fff; }
.btn-sm { padding: 9px 14px; font-size: 14px; }

/* ── En-tête ─────────────────────────────────────────────── */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--rule); }
.hdr-in { height: 64px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.brand img { width: 28px; height: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav > a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 4px 0; }
.nav > a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.nav > a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.nav-mobile-actions { display: none; }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.hdr-actions .lnk { font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.hdr-actions .lnk:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; height: 2px; background: var(--ink); }

/* ── Figures ─────────────────────────────────────────────── */
.fig-box { border: 1px solid var(--rule-2); background: var(--white); overflow: hidden; }
.fig img { width: 100%; }
figcaption { display: flex; gap: 12px; margin-top: 10px; font: 400 12.5px/1.5 var(--mono); color: var(--ink-3); }
figcaption b { font-weight: 500; color: var(--ink); white-space: nowrap; }
.fig-wide img { aspect-ratio: 21 / 9; object-fit: cover; object-position: center 45%; }
.fig-tall img { max-height: 560px; object-fit: cover; object-position: center top; }

/* ── Hero (accueil) ──────────────────────────────────────── */
.hero { padding: 64px 0 56px; border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: end; }
.eyebrow { font: 400 13px/1.5 var(--mono); color: var(--ink-3); margin-bottom: 28px; }
.hero h1 { font-size: clamp(38px, 4.6vw, 62px); font-weight: 600; line-height: 1.06; letter-spacing: -.02em; max-width: 860px; }
.hero-one .intro { max-width: 680px; }
.intro { margin-top: 24px; font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 600px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; font: 400 13px var(--mono); color: var(--ink-3); }
.meta li::before { content: "— "; color: var(--accent); }
.band { padding: 40px 0 48px; }

/* ── Sections numérotées ─────────────────────────────────── */
.sec { border-top: 1px solid var(--rule); padding: 56px 0 64px; }
.sec-grid, .cta-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.idx { font: 400 13px/1.6 var(--mono); color: var(--ink-3); }
.idx b { display: block; font-weight: 500; color: var(--accent-text); margin-bottom: 2px; }
.body h2, .cta h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; max-width: 760px; }
.body > p { margin-top: 16px; color: var(--ink-2); max-width: 680px; }
.body > p a, .more a, .faq-a a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.more { margin-top: 22px; font-weight: 500; }

/* Lignes (index de fonctions) */
.rows { margin-top: 32px; border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: 56px 1.1fr 1.6fr auto; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.row .n { font: 500 13px var(--mono); color: var(--accent-text); padding-top: 7px; }
.row h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.row p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.row .links { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; padding-top: 6px; }
.row .links a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule-2); white-space: nowrap; font-weight: 500; }
.row .links a:hover { border-color: var(--ink); }
.row .links a::after { content: " →"; color: var(--accent-text); }

/* Tableau de caractéristiques */
.spec-wrap { overflow-x: auto; margin-top: 28px; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.spec th { font: 500 12.5px var(--mono); color: var(--ink-3); border-bottom: 1px solid var(--ink); }
.spec td:first-child { font-weight: 500; width: 32%; }
.spec td { color: var(--ink-2); }
.spec code { font: 400 13.5px var(--mono); color: var(--ink); background: var(--white); border: 1px solid var(--rule); padding: 1px 6px; border-radius: 2px; }

/* Listes à tiret */
.list { margin-top: 20px; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.list li::before { content: ""; position: absolute; left: 0; top: .66em; width: 10px; height: 1px; background: var(--accent); }
.list strong { color: var(--ink); font-weight: 500; }

/* Faits en colonnes */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border-top: 1px solid var(--ink); }
.facts-2 { grid-template-columns: 1fr 1fr; }
.fact { padding: 20px 24px 22px 0; border-bottom: 1px solid var(--rule); }
.fact + .fact { border-left: 1px solid var(--rule); padding-left: 24px; }
.fact .k { font: 500 12.5px var(--mono); color: var(--accent-text); margin-bottom: 8px; }
.fact h3 { font-size: 16.5px; font-weight: 600; line-height: 1.3; }
.fact p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

/* Deux colonnes texte / figure */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 32px; }
.split h3 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.split > div > p { margin-top: 12px; color: var(--ink-2); font-size: 16px; }

/* Étapes (G1→G5, pipeline) */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 28px; border-top: 1px solid var(--ink); }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps li { padding: 18px 20px 22px 0; border-bottom: 1px solid var(--rule); }
.steps li + li { border-left: 1px solid var(--rule); padding-left: 20px; }
.steps b { font: 500 13px var(--mono); color: var(--accent-text); }
.steps h3 { margin-top: 8px; font-size: 17px; font-weight: 600; }
.steps p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* Formules */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border-top: 1px solid var(--ink); }
.plan { display: flex; flex-direction: column; padding: 24px 24px 28px 0; border-bottom: 1px solid var(--rule); }
.plan + .plan { border-left: 1px solid var(--rule); padding-left: 24px; }
.plan-hi { background: var(--white); padding-right: 24px; }
.plan-name { font: 500 13px var(--mono); color: var(--accent-text); }
.plan-price { margin-top: 10px; font-size: 40px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.plan-price small { font: 400 13px var(--mono); color: var(--ink-3); margin-left: 8px; }
.plan-for { margin-top: 12px; color: var(--ink-2); font-size: 15px; min-height: 3em; }
.plan .list { margin-top: 18px; flex: 1; }
.plan .list li { font-size: 14.5px; }
.plan .btn { margin-top: 22px; align-self: flex-start; }

/* FAQ */
.faq { margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-size: 17px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 22px var(--mono); color: var(--accent-text); }
.faq details[open] summary::after { content: "−"; }
.faq-a { padding: 0 0 20px; color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 720px; }
.faq-a p + p { margin-top: 10px; }

/* Voir aussi */
.also { margin-top: 24px; border-top: 1px solid var(--ink); }
.also a { display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; align-items: baseline; }
.also b { font-weight: 600; }
.also span { color: var(--ink-2); font-size: 15px; }
.also i { font-style: normal; color: var(--accent-text); }
.also a:hover b { text-decoration: underline; text-underline-offset: 4px; }

/* En-tête de page dédiée */
.page-head { padding: 56px 0 44px; border-bottom: 1px solid var(--rule); }
.crumbs { font: 400 13px var(--mono); color: var(--ink-3); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.page-head h1 { margin-top: 20px; font-size: clamp(34px, 4.2vw, 54px); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; max-width: 820px; }
.page-head .intro { max-width: 720px; }

/* Contact */
.cta { border-top: 1px solid var(--ink); padding: 64px 0 72px; }
.cta p { margin-top: 16px; color: var(--ink-2); max-width: 600px; }
.cta .who { margin-top: 26px; font: 400 13px var(--mono); color: var(--ink-3); }
.cta .who a { color: var(--ink-2); }
#mail-btn.revealed { font-family: var(--mono); }

/* Pied de page */
.ftr { background: var(--ink); color: #C9CBD1; padding: 48px 0 24px; font-size: 14px; }
.ftr-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.ftr .brand { color: #fff; }
.ftr-brand p { margin-top: 14px; max-width: 340px; line-height: 1.6; }
.ftr-h { font: 500 12px var(--mono); color: #A3A6AE; margin-bottom: 12px; }
.ftr-col a { display: block; color: #D5D6DA; text-decoration: none; padding: 4px 0; }
.ftr-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ftr-bot { margin-top: 40px; padding-top: 16px; border-top: 1px solid #2E3137; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font: 400 12.5px var(--mono); color: #A3A6AE; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .row { grid-template-columns: 48px 1fr; }
  .row p { grid-column: 2; }
  .row .links { grid-column: 2; flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
  .facts, .plans { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3), .plan:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
  .hero { padding: 44px 0 40px; }
  .hero-grid, .sec-grid, .cta-grid, .split { grid-template-columns: 1fr; gap: 28px; }
  .idx { display: flex; gap: 12px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
  .idx b { margin: 0; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--ink); padding: 8px 24px 24px; display: none; }
  .nav.open { display: flex; }
  .nav > a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
  .nav-mobile-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
  .nav-mobile-actions .btn { justify-content: center; }
  .hdr-actions { display: none; }
  .burger { display: flex; }
  .facts, .facts-2, .plans, .steps, .steps-4 { grid-template-columns: 1fr; }
  .fact + .fact, .plan + .plan, .steps li + li { border-left: 0; padding-left: 0; }
  .plan-hi { padding: 24px 0 28px; }
  .also a { grid-template-columns: 1fr; gap: 6px; }
  .ftr-in { grid-template-columns: 1fr; gap: 28px; }
  .sec { padding: 40px 0 48px; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), 100% - 40px); }
  .hero h1 { font-size: clamp(32px, 9.6vw, 40px); }
  .intro { font-size: 17px; }
  .actions .btn { width: 100%; justify-content: center; }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .row .n { padding: 0; }
  .row p, .row .links { grid-column: 1; }
  .fig-wide img { aspect-ratio: 16 / 10; }
}

/* Grilles : pas de bordure gauche en début de rangée */
.facts > .fact:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.facts-2 > .fact:nth-child(3n+1) { border-left: 1px solid var(--rule); padding-left: 24px; }
.facts-2 > .fact:nth-child(2n+1) { border-left: 0; padding-left: 0; }
@media (max-width: 1100px) and (min-width: 901px) {
  .facts > .fact:nth-child(3n+1) { border-left: 1px solid var(--rule); padding-left: 24px; }
  .facts > .fact:nth-child(2n+1) { border-left: 0; padding-left: 0; }
}
/* Navigation : « Tarifs » seulement dans le tiroir mobile (déjà dans les actions d'en-tête) */
.nav > a.nav-more { display: none; }
@media (max-width: 900px) { .nav > a.nav-more { display: block; } }
@media (max-width: 1180px) and (min-width: 901px) { .nav { gap: 16px; } .nav > a { font-size: 14px; } .hdr-in { gap: 24px; } }

/* Tiroir mobile : couvre la hauteur d'écran */
@media (max-width: 900px) { .nav.open { min-height: calc(100vh - 64px); min-height: calc(100dvh - 64px); } }

/* Pages légales : articles compacts */
.legal { padding: 36px 0 40px; }
.legal .body h2 { font-size: 22px; }
.legal .body h3 { margin-top: 18px; font-size: 16px; font-weight: 600; }
.legal .body p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 760px; }
.legal .body .list { margin-top: 10px; }
.legal .body .list li { font-size: 15px; }
.legal .idx b { font-size: 13px; }

.row .links a[href^="http"]::after { content: " ↗"; }
