/* EMILIA France · feuille de style du site (v2, octobre 2026) */

:root {
  --paper: #ffffff;
  --sand: #f2f6f5;
  --sand-2: #e3ebe9;
  --ink: #0e1514;
  --ink-2: #2c3836;
  --muted: #56625f;
  --line: #dce4e2;
  --teal: #007a6e;
  --teal-ink: #006358;
  --teal-deep: #0a3f3a;
  --night: #061816;
  --night-2: #0b2623;
  --aqua: #46d6c2;
  --teal-tint: #e7f2f0;
  --teal-glow: #2bb3a3;
  --display: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --danger: #a3271b;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 8px;
  --radius-l: 16px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
h1, h2, h3, .display, .h2 { font-variant-numeric: lining-nums; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-deep); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 999; border-radius: var(--radius); }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typographie ---------- */
.display {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.h3 { font-family: var(--sans); font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.kicker { display: inline-block; font-size: .9rem; font-weight: 600; color: var(--teal-ink); margin-bottom: 18px; }
.muted { color: var(--muted); }
.measure { max-width: 64ch; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; flex-shrink: 0; }
.logo-main { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .06em; }
.logo-main span { color: var(--teal); }
.logo-sub { font-size: .66rem; letter-spacing: .32em; color: var(--muted); margin-top: 4px; padding-left: 1px; }
.logo:hover { color: var(--ink); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav a, .nav button.nav-drop {
  font: inherit; font-size: .93rem; font-weight: 500; color: var(--ink-2);
  text-decoration: none; padding: 10px 11px; border-radius: var(--radius);
  background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav a:hover, .nav button.nav-drop:hover { color: var(--ink); background: var(--sand); }
.nav a[aria-current="page"], .nav .is-current > button { color: var(--teal-ink); }
.nav-drop svg { width: 10px; height: 10px; transition: transform .2s; }
.has-menu { position: relative; }
.submenu {
  list-style: none; position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 18px 40px -18px rgba(22,21,15,.28);
  padding: 8px; display: none;
}
.submenu a { display: block; padding: 10px 12px; }
.submenu a small { display: block; font-size: .82rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
.has-menu.open .submenu { display: block; }
.has-menu.open .nav-drop svg { transform: rotate(180deg); }
.nav a.btn { margin-left: 10px; color: #fff; background: var(--teal); padding: 10px 16px; border-radius: var(--radius); }
.nav a.btn:hover { background: var(--teal-deep); color: #fff; }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 12px; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); cursor: pointer; }

@media (max-width: 1080px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper);
    flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 40px; overflow-y: auto;
    display: none; margin: 0;
  }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a, .nav button.nav-drop { font-size: 1.1rem; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; width: 100%; }
  .submenu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; }
  .submenu a { font-size: 1rem; padding: 10px 4px; }
  .nav-drop svg { display: none; }
  .nav a.btn { margin: 24px 0 0; justify-content: center; border-bottom: 0; border-radius: var(--radius); padding: 14px; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: .97rem; font-weight: 600; text-decoration: none;
  padding: 13px 22px; border-radius: var(--radius); border: 1.5px solid var(--teal);
  background: var(--teal); color: #fff; cursor: pointer; transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--teal-deep); border-color: #fff; }
.btn--light:hover { background: var(--teal-tint); border-color: var(--teal-tint); color: var(--teal-deep); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn--sm { padding: 10px 16px; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.text-link { font-weight: 600; color: var(--teal-ink); text-decoration: underline; text-decoration-color: rgba(0,122,110,.35); }
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- Sections ---------- */
.band { padding: clamp(64px, 9vw, 112px) 0; }
.band--tight { padding: clamp(48px, 6vw, 72px) 0; }
.band--sand { background: var(--sand); }
.band--deep { background: var(--teal-deep); color: #eaf3f1; }
.band--deep h2, .band--deep h3, .band--deep .h2 { color: #fff; }
.band--deep .lead, .band--deep .muted { color: #cfe3df; }
.band--deep a:not(.btn) { color: #fff; }
.band + .band:not(.band--sand):not(.band--deep) { border-top: 1px solid var(--line); }

.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head .h2 + .lead { margin-top: 18px; }

/* Titre à gauche, contenu à droite */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.split > .split-head { position: sticky; top: calc(var(--header-h) + 32px); }
.split-head .lead { margin-top: 16px; font-size: 1.08rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split > .split-head { position: static; } }

/* ---------- Le fil (élément signature) ---------- */
.fil { list-style: none; position: relative; padding-left: 34px; }
.fil::before {
  content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(var(--teal), var(--teal-glow));
  transform-origin: top;
}
.fil > li { position: relative; padding-bottom: 30px; }
.fil > li:last-child { padding-bottom: 0; }
.fil > li::before {
  content: ""; position: absolute; left: -34px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--teal); box-sizing: border-box;
}
.fil-verb { font-family: var(--display); font-size: clamp(1.7rem, 2.6vw, 2.15rem); font-weight: 600; line-height: 1.1; display: block; }
.fil-rest { display: block; color: var(--muted); font-size: 1.02rem; margin-top: 4px; }
.fil--sm .fil-verb { font-family: var(--sans); font-size: 1.1rem; }
.fil--sm > li { padding-bottom: 22px; }
.band--deep .fil > li::before { background: var(--teal-deep); border-color: var(--teal-glow); }
.band--deep .fil-rest { color: #cfe3df; }

.hero-fil .fil::before { animation: fil-line 1.1s cubic-bezier(.2,.7,.2,1) .2s both; }
.hero-fil .fil > li { animation: fil-node .6s ease both; }
.hero-fil .fil > li:nth-child(1) { animation-delay: .35s; }
.hero-fil .fil > li:nth-child(2) { animation-delay: .7s; }
.hero-fil .fil > li:nth-child(3) { animation-delay: 1.05s; }
@keyframes fil-line { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes fil-node { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Héros ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
.hero h1 .line { display: block; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 7vw, 96px); align-items: start; margin-top: clamp(32px, 4vw, 48px); }
.hero .lead { margin-top: 0; }
.hero-alt { margin-top: 18px; font-size: .97rem; }
.hero-fil { padding-bottom: 8px; }
.hero-fil-title { font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; align-items: start; } }

.page-head, .article-head { background: radial-gradient(760px 340px at 92% -12%, rgba(70,214,194,.18), transparent 62%), radial-gradient(620px 300px at 8% 120%, rgba(0,122,110,.08), transparent 60%); }
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-head .display { font-size: clamp(2.3rem, 4.6vw, 3.7rem); max-width: 18ch; }
.page-head .lead { margin-top: 24px; }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
@media (max-width: 900px) { .page-head-grid { grid-template-columns: 1fr; } }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 6px; }

/* ---------- Listes ---------- */
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--teal); border-radius: 1px; }
.ticks--2 { grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 32px; }
@media (max-width: 640px) { .ticks--2 { grid-template-columns: 1fr; } }
.band--deep .ticks li::before { background: var(--teal-glow); }

/* Rangées : intitulé | description | contenu */
.rows { border-top: 1px solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 16px 40px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row h3 { font-family: var(--display); font-size: 1.6rem; line-height: 1.15; }
.row .row-sub { color: var(--muted); font-size: .97rem; margin-top: 8px; }
.row p:last-child { margin-bottom: 0; }
.row .ticks { margin-top: 4px; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; } }

/* Grille de blocs (utilisée avec parcimonie) */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(24px, 4vw, 48px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(24px, 3vw, 40px); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.block { border-top: 2px solid var(--teal); padding-top: 20px; }
.block h3 { margin-bottom: 10px; }
.block p { color: var(--ink-2); }
.block .text-link { font-size: .95rem; }

/* Deux domaines (accueil) */
.domains { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.domain { padding: clamp(28px, 4vw, 48px); background: var(--paper); }
.domain + .domain { border-left: 1px solid var(--line); background: var(--teal-tint); }
.domain h3 { font-family: var(--display); font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.1; margin-bottom: 14px; }
.domain .ticks { margin: 22px 0 26px; }
@media (max-width: 860px) { .domains { grid-template-columns: 1fr; } .domain + .domain { border-left: 0; border-top: 1px solid var(--line); } }

/* Applications Microsoft 365 */
.apps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.apps li { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 14px; font-size: .93rem; font-weight: 500; }
.band--sand .apps li { background: var(--paper); }

/* Parcours en étapes numérotées (vraie séquence) */
.levels { list-style: none; counter-reset: lvl; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.levels > li { counter-increment: lvl; display: grid; grid-template-columns: 72px minmax(0, 4fr) minmax(0, 7fr); gap: 12px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.levels > li::before { font-variant-numeric: lining-nums; content: counter(lvl); font-family: var(--display); font-size: 2.6rem; line-height: .9; color: var(--teal); font-weight: 600; }
.levels h3 { font-family: var(--display); font-size: 1.55rem; line-height: 1.15; }
.levels .lvl-goal { color: var(--muted); font-size: .97rem; margin-top: 6px; }
@media (max-width: 760px) { .levels > li { grid-template-columns: 48px 1fr; } .levels > li > :last-child { grid-column: 2; } }

/* Citation / conviction */
.conviction { font-family: var(--display); font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.18; font-weight: 500; max-width: 26ch; margin: 0; }
.conviction-by { margin-top: 20px; font-size: .97rem; color: var(--muted); }
.band--deep .conviction-by { color: #cfe3df; }

/* Bandeau d'appel */
.cta-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: end; }
.cta-grid .actions { margin-top: 0; flex-direction: column; align-items: stretch; justify-self: end; min-width: 260px; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } .cta-grid .actions { justify-self: start; } }

/* Note d'information */
.note { border-left: 3px solid var(--teal); background: var(--teal-tint); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .98rem; }
.note p:last-child { margin: 0; }
.note strong { color: var(--teal-deep); }
.note--warn { border-left-color: #b7791f; background: #fbf4e6; }
.note--warn strong { color: #7a4f12; }

.source { font-size: .85rem; color: var(--muted); }
.source a { color: var(--muted); }
sup.ref a { font-size: .75em; text-decoration: none; font-weight: 600; }

/* Tableau calendrier */
.timeline { width: 100%; border-collapse: collapse; font-size: .98rem; }
.timeline th, .timeline td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.timeline th { font-size: .85rem; color: var(--muted); font-weight: 600; border-bottom-color: var(--ink); }
.timeline td:first-child { white-space: nowrap; font-weight: 600; width: 1%; padding-right: 24px; }
.status { display: inline-block; font-size: .8rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--sand-2); color: var(--ink-2); white-space: nowrap; }
.status--on { background: var(--teal-tint); color: var(--teal-deep); }
@media (max-width: 640px) { .timeline td:first-child { white-space: normal; } }

/* ---------- Actualités ---------- */
.news { list-style: none; border-top: 1px solid var(--ink); }
.news-item { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 40px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.news-date { font-size: .92rem; color: var(--muted); }
.news-type { display: inline-block; font-size: .82rem; font-weight: 600; color: var(--teal-ink); margin-top: 4px; }
.news-item h3 { font-family: var(--display); font-size: 1.6rem; line-height: 1.15; margin-bottom: 8px; }
.news-item p { color: var(--ink-2); margin-bottom: 8px; max-width: 70ch; }
.news-item .source { margin: 0; }
@media (max-width: 700px) { .news-item { grid-template-columns: 1fr; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font: inherit; font-size: .92rem; font-weight: 500; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.news-empty { padding: 28px 0; color: var(--muted); }

/* ---------- Ressources (liste d'articles) ---------- */
.posts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 48px; }
.post { border-top: 1px solid var(--line); padding: 24px 0 28px; }
.post a { text-decoration: none; color: inherit; display: block; }
.post a:hover h3 { color: var(--teal-ink); }
.post-meta { font-size: .86rem; color: var(--muted); margin-bottom: 8px; }
.post h3 { font-family: var(--display); font-size: 1.45rem; line-height: 1.18; margin-bottom: 8px; }
.post p { color: var(--ink-2); font-size: .97rem; margin: 0; }
@media (max-width: 760px) { .posts { grid-template-columns: 1fr; } }

/* ---------- Article ---------- */
.article-head { padding: clamp(44px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.article-head h1 { font-family: var(--display); font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.06; max-width: 22ch; }
.article-head .lead { margin-top: 20px; }
.article-meta { margin-top: 24px; font-size: .92rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 22px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 80px); padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(64px, 8vw, 96px); }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } }
.prose { max-width: 70ch; font-size: 1.09rem; line-height: 1.72; }
.prose > * { margin-bottom: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.15; margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose .lead { font-size: 1.22rem; color: var(--ink); max-width: none; }
.prose .article-callout, .prose .changement-box { border-left: 3px solid var(--teal); background: var(--teal-tint); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 1rem; }
.prose .callout-label, .prose .changement-box-label { font-weight: 600; color: var(--teal-deep); margin-bottom: 6px; }
.prose .article-callout p, .prose .changement-box p { margin: 0; }
.prose .article-quote { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 22px 0; font-family: var(--display); font-size: 1.4rem; line-height: 1.35; }
.prose .article-quote p { margin: 0; }
.prose .article-quote cite, .prose .article-quote .quote-source, .prose .article-quote span, .prose .article-quote div { display: block; font-family: var(--sans); font-size: .9rem; color: var(--muted); font-style: normal; margin-top: 10px; }
.prose .section-num { font-size: .9rem; font-weight: 600; color: var(--teal-ink); margin-top: 2em; }
.prose .section-num + h2 { margin-top: .2em; }
.prose h2 .section-num { display: inline-block; margin: 0 10px 0 0; font-family: var(--display); font-size: 1em; color: var(--teal); }
.prose .article-quote cite { display: block; font-family: var(--sans); font-size: .9rem; color: var(--muted); font-style: normal; margin-top: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 10px 10px 0; text-align: left; vertical-align: top; }
.aside { display: grid; gap: 28px; align-content: start; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) { .aside { position: static; } }
.aside-box { border-top: 2px solid var(--teal); padding-top: 16px; font-size: .95rem; }
.aside-box h2 { font-size: 1rem; font-family: var(--sans); margin-bottom: 8px; }
.aside-box p { color: var(--ink-2); }
.aside-box .btn { width: 100%; margin-top: 6px; }

/* ---------- Formulaires ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .92rem; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid #cfcac0; border-radius: var(--radius); padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { font-size: .86rem; color: var(--danger); min-height: 0; }
.check { grid-column: 1 / -1; display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: .93rem; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--teal); }
.choice-group { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.choices label { font-weight: 500; font-size: .93rem; border: 1px solid #cfcac0; border-radius: 999px; padding: 8px 14px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.choices input { accent-color: var(--teal); margin: 0; }
.choices label:has(input:checked) { border-color: var(--teal); background: var(--teal-tint); color: var(--teal-deep); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-status { font-size: .93rem; }
.form-status--error { color: var(--danger); }
.form-done { display: none; border: 1px solid var(--line); border-top: 3px solid var(--teal); padding: 28px; border-radius: var(--radius); }
.form-done h2 { font-family: var(--display); font-size: 1.9rem; margin-bottom: 10px; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }
.newsletter { display: flex; gap: 8px; flex-wrap: wrap; max-width: 520px; }
.newsletter input { flex: 1 1 240px; font: inherit; padding: 12px 14px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: #fff; }
.newsletter input::placeholder { color: #b9d3ce; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 600; font-size: 1.06rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.6rem; font-weight: 400; color: var(--teal); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); max-width: 72ch; }

/* ---------- À propos ---------- */
.portrait { aspect-ratio: 4 / 5; background: var(--sand); border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .9rem; padding: 24px; }
.portrait-mono { font-family: var(--display); font-size: 4.5rem; font-weight: 600; color: var(--teal); line-height: 1; margin-bottom: 10px; }
.path { list-style: none; border-top: 1px solid var(--ink); }
.path li { display: grid; grid-template-columns: 150px 1fr; gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.path .when { color: var(--muted); font-size: .95rem; }
.path h3 { font-size: 1.05rem; margin-bottom: 4px; }
.path p { margin: 0; color: var(--ink-2); }
@media (max-width: 640px) { .path li { grid-template-columns: 1fr; } }

/* ---------- Pages légales ---------- */
.legal { max-width: 820px; padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 8vw, 96px); }
.legal .section { padding: 28px 0; border-bottom: 1px solid var(--line); }
.legal .section-title { font-family: var(--display); font-size: 1.7rem; margin-bottom: 14px; }
.legal .section-num { font-size: .88rem; font-weight: 600; color: var(--teal-ink); margin-bottom: 4px; }
.legal .section-subtitle { font-weight: 600; margin: 16px 0 8px; }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal .info-block { border: 1px solid var(--line); border-radius: var(--radius); margin: 12px 0; }
.legal .info-row { display: grid; grid-template-columns: 220px 1fr; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: .97rem; }
.legal .info-row:last-child { border-bottom: 0; }
.legal .info-label { color: var(--muted); }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 12px 0; }
.legal th, .legal td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 10px 10px 0; vertical-align: top; }
.legal .toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 20px; }
.legal .toc-title { font-weight: 600; margin-bottom: 8px; }
.legal .toc-list { display: grid; gap: 4px; }
.legal .highlight-box { background: var(--teal-tint); padding: 18px 22px; border-radius: var(--radius); }
@media (max-width: 640px) { .legal .info-row { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #c9c5bb; padding: clamp(56px, 7vw, 80px) 0 32px; font-size: .95rem; }
.site-footer a { color: #ece9e2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 3fr)); gap: 40px; }
.footer-grid h2 { font-size: .95rem; color: #fff; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.site-footer .logo { color: #fff; }
.footer-sign, .conviction { font-family: var(--serif) !important; font-style: italic; font-weight: 500; letter-spacing: 0 !important; }
.site-footer .logo-sub { color: #9a968c; }
.site-footer .logo-main span { color: var(--teal-glow); }
.footer-sign { font-family: var(--display); font-size: 1.35rem; color: #fff; margin: 22px 0 10px; line-height: 1.25; max-width: 28ch; }
.footer-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid #34322b; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .84rem; color: #9a968c; }
.footer-legal p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Divers ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 56px; }
.center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* =================== Version « IA moderne » =================== */
.row h3, .levels h3, .news-item h3, .post h3, .domain h3, .article-head h1, .prose h2, .form-done h2, .legal .section-title { letter-spacing: -0.025em; }
.row h3 { font-size: 1.28rem; line-height: 1.25; }
.levels h3 { font-size: 1.3rem; line-height: 1.25; }
.levels > li::before { font-family: var(--mono); font-size: 1rem; font-weight: 500; line-height: 1.9; color: var(--teal); content: "0" counter(lvl); }
.news-item h3 { font-size: 1.32rem; line-height: 1.25; }
.post h3 { font-size: 1.15rem; line-height: 1.3; }
.domain h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.article-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); }
.fil-verb { font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -0.02em; }
.fil--sm .fil-verb { font-size: 1.05rem; letter-spacing: 0; }
.domains, .note, .form-done, .legal .info-block { border-radius: var(--radius-l); }
.note { border-radius: 0 var(--radius-l) var(--radius-l) 0; }
.kicker { font-family: var(--mono); font-size: .8rem; font-weight: 500; letter-spacing: 0; }

/* Sections sombres */
.band--night, .hero--ai { position: relative; background: var(--night); color: #d6e6e3; overflow: hidden; isolation: isolate; }
.band--night h2, .band--night h3, .band--night .h2, .hero--ai h1 { color: #fff; }
.band--night .lead, .band--night .muted, .hero--ai .lead { color: #b8cfcb; }
.band--night a:not(.btn) { color: #fff; }
.glow::before, .glow::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.glow::before { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(70,214,194,.32), transparent 65%); }
.glow::after { width: 640px; height: 640px; left: -240px; bottom: -320px; background: radial-gradient(circle, rgba(0,122,110,.45), transparent 65%); }
.dots { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%); mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%); }

/* Héros IA */
.hero--ai { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 104px); border-bottom: 0; }
.hero--ai .kicker { color: var(--aqua); }
.hero--ai h1 { font-size: clamp(2.4rem, 4.4vw, 3.7rem); line-height: 1.04; }
.hero--ai h1 .soft { color: #8fb3ad; }
.hero-ai-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.hero--ai .lead { margin-top: 26px; }
.hero--ai .hero-alt { color: #b8cfcb; }
.hero--ai .hero-alt a { color: #fff; }
.btn--aqua { background: var(--aqua); border-color: var(--aqua); color: var(--night); }
.btn--aqua:hover { background: #fff; border-color: #fff; color: var(--night); }
@media (max-width: 960px) { .hero-ai-grid { grid-template-columns: 1fr; } }

/* Carte « demande structurée » */
.prompt-card { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035)); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 22px 22px 18px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-family: var(--mono); font-size: .75rem; color: #8fb3ad; }
.pc-dots { display: inline-flex; gap: 6px; }
.pc-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); display: block; }
.pc-tabs { display: inline-flex; gap: 4px; }
.pc-tabs button { font: inherit; font-size: .72rem; color: #8fb3ad; background: transparent; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 3px 10px; cursor: pointer; }
.pc-tabs button[aria-selected="true"] { color: var(--night); background: var(--aqua); border-color: var(--aqua); }
.pc-need { font-size: 1.06rem; color: #fff; line-height: 1.45; min-height: 3em; }
.pc-need .who { display: block; font-family: var(--mono); font-size: .72rem; color: var(--aqua); margin-bottom: 6px; }
.pc-caret { display: inline-block; width: 2px; height: 1.05em; background: var(--aqua); vertical-align: -2px; margin-left: 2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.pc-fields { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px dashed rgba(255,255,255,.16); display: grid; gap: 8px; }
.pc-fields li { display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: .9rem; color: #d6e6e3; opacity: 0; transform: translateY(4px); transition: opacity .35s ease, transform .35s ease; }
.pc-fields li.on { opacity: 1; transform: none; }
.pc-fields b { font-family: var(--mono); font-weight: 500; font-size: .74rem; color: #8fb3ad; padding-top: 2px; }
.pc-out { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(70,214,194,.12); border: 1px solid rgba(70,214,194,.35); color: #e9fbf8; font-size: .92rem; opacity: 0; transition: opacity .4s ease; }
.pc-out.on { opacity: 1; }
.pc-out b { color: var(--aqua); font-weight: 600; }
.pc-note { margin: 12px 2px 0; font-size: .74rem; color: #7f9f99; }

/* Du besoin au programme : cas réels */
.cases { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.case-tabs { display: grid; gap: 8px; }
.case-tabs button { text-align: left; font: inherit; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; color: var(--ink-2); }
.case-tabs button span { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }
.case-tabs button[aria-selected="true"] { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); color: var(--ink); font-weight: 600; }
.case-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.case-step { display: grid; grid-template-columns: 170px 1fr; gap: 6px 24px; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.case-step:last-child { border-bottom: 0; }
.case-step > b { font-family: var(--mono); font-size: .76rem; font-weight: 500; color: var(--teal-ink); padding-top: 4px; }
.case-step p { margin: 0; color: var(--ink-2); }
.case-step .quote { font-size: 1.12rem; color: var(--ink); }
.case-step:first-child { background: linear-gradient(90deg, var(--teal-tint), transparent); }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } .case-tabs { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 560px) { .case-tabs { grid-template-columns: 1fr; } .case-step { grid-template-columns: 1fr; } }

/* Comparatif */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .98rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: .9rem; font-weight: 600; border-bottom: 1px solid var(--ink); }
.compare thead th:last-child { color: var(--teal-ink); }
.compare tbody th { font-weight: 600; width: 22%; }
.compare td:nth-child(2) { color: var(--muted); }
.compare td:last-child { background: var(--teal-tint); color: var(--ink); }
.compare tbody tr:last-child td:last-child { border-radius: 0 0 12px 12px; }
@media (max-width: 700px) {
  .compare thead { display: none; }
  .compare tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .compare th, .compare td { display: block; border: 0; padding: 4px 0; width: auto !important; background: none !important; }
  .compare td::before { content: attr(data-l); display: block; font-size: .78rem; font-weight: 600; color: var(--muted); }
  .compare td:last-child::before { color: var(--teal-ink); }
}

/* Esquisse de programme */
.sketch { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.sketch-form { display: grid; gap: 22px; }
.sketch-form fieldset { border: 0; padding: 0; margin: 0; }
.sketch-form legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.sketch-out { position: sticky; z-index: 0; top: calc(var(--header-h) + 24px); background: var(--night); color: #d6e6e3; border-radius: 18px; padding: 26px; overflow: hidden; isolation: isolate; }
.sketch-out h3 { color: #fff; font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 4px; }
.sketch-out .meta { font-family: var(--mono); font-size: .76rem; color: var(--aqua); }
.sketch-out ol { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 0; counter-reset: m; }
.sketch-out ol li { counter-increment: m; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); }
.sketch-out ol li::before { content: "0" counter(m); font-family: var(--mono); font-size: .78rem; color: var(--aqua); padding-top: 3px; }
.sketch-out ol li b { color: #fff; font-weight: 600; display: block; }
.sketch-out ol li span { font-size: .9rem; color: #b8cfcb; }
.sketch-out .sk-sub { margin-top: 18px; font-size: .88rem; color: #b8cfcb; }
.sketch-out .sk-sub b { color: #fff; }
.sketch-out .btn { margin-top: 20px; }
.sketch-out .pc-note { color: #7f9f99; }
.sketch-empty { color: #8fb3ad; font-size: .95rem; padding: 18px 0 6px; }
@media (max-width: 900px) { .sketch { grid-template-columns: minmax(0, 1fr); } .sketch-out { position: relative; } .sketch-out .btn { width: 100%; white-space: normal; } }

@media print {
  .site-header, .site-footer, .aside, .cta-band { display: none; }
}
.band--night .conviction-by { color: #8fb3ad; }

/* Actualités : articles de fond */
.posts--3 { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0 36px; }
@media (max-width: 1000px) { .posts--3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 760px) { .posts--3 { grid-template-columns: 1fr; } }
.sources-box { margin-top: 2.6em; padding: 22px 24px; background: var(--sand, #f4efe6); border-left: 3px solid var(--teal); border-radius: 4px; }
.sources-box h2 { font-family: var(--sans); font-size: 1rem; margin: 0 0 10px; letter-spacing: .02em; }
.prose .sources-box ol { margin: 0; padding-left: 1.2em; font-size: .9rem; }
.prose .sources-box li { margin: 0 0 6px; }
.prose .sources-box a { overflow-wrap: anywhere; }
.sources-box .source { margin: 10px 0 0; }
