/* NewCo - feuille de style. Couleurs et typographie se règlent dans :root.
   Deux familles seulement : NewCo Serif (titres et chiffres clés) et NewCo Sans (tout le reste), hébergées avec le site. */
@font-face { font-family: "NewCo Serif"; src: url("fonts/lora-500.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "NewCo Sans"; src: url("fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "NewCo Sans"; src: url("fonts/inter-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "NewCo Sans"; src: url("fonts/inter-600.woff") format("woff"); font-weight: 600 800; font-style: normal; font-display: swap; }
:root {
  --night: #0a1c33;
  --night-2: #132a49;
  --ink: #0d1726;
  --white: #ffffff;
  --mist: #f1f4f8;
  --rule: #d6dde6;
  --green: #0a1c33;
  --brass: #9db8d6;
  --brass-soft: #dfe8f2;
  --muted: #536175;
  --sans: "NewCo Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "NewCo Serif", Georgia, "Times New Roman", serif;
  --serif: var(--sans);
  --wrap: 74rem;
  --gutter: clamp(1.25rem, 4.5vw, 3.5rem);
  --radius: 0.35rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-weight: 400; font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--green); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 680; letter-spacing: -0.028em; line-height: 1.05; text-wrap: pretty; }
h1, h2, .reading li { font-family: var(--display); font-weight: 500; letter-spacing: -0.015em; line-height: 1.1; }
.reading li { letter-spacing: 0; }
h1 { font-size: clamp(2.6rem, 8.2vw, 6rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.2; font-weight: 560; }
p { margin: 0 0 1em; }
ul { margin: 0; padding-left: 1.15em; }
li { margin-bottom: 0.4em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999rem; top: 0; background: var(--brass); color: var(--ink); padding: 0.6rem 1rem; z-index: 30; }
.skip:focus { left: 0; }
.voice { font-weight: 500; letter-spacing: -0.005em; }

.pill { display: inline-flex; align-items: center; gap: 0.9rem; padding: 0.4rem 0; font: inherit; font-weight: 500; font-size: 1.1rem; text-decoration: none; background: none; border: 0; cursor: pointer; line-height: 1.2; color: inherit; }
.pill::after { content: ""; flex: none; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 1.5px solid currentColor; background: no-repeat center / 1.15rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Cpath d='M3 12h17M14 6l6 6-6 6'/%3E%3C/svg%3E"); transition: transform .2s ease; }
.pill:hover::after { transform: translateX(4px); }
.pill-brass, .pill-ghost { color: var(--white); }
.pill-dark { color: var(--ink); }
.pill-dark::after, .block-mist .pill::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1c33' stroke-width='1.6'%3E%3Cpath d='M3 12h17M14 6l6 6-6 6'/%3E%3C/svg%3E"); }

/* En-tête : toujours visible, le contact à un geste */
.top { position: sticky; top: 0; z-index: 20; background: rgba(10,28,51,.94); backdrop-filter: blur(10px); color: var(--white); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.7rem; }
.mark { font-weight: 720; font-size: 1.35rem; letter-spacing: -0.04em; color: var(--white); text-decoration: none; }
.mark i { font-style: normal; color: var(--brass); }
.top nav { display: flex; gap: 1.6rem; }
.top nav a { color: #cfd8e4; text-decoration: none; font-size: 0.95rem; }
.top nav a:hover { color: var(--white); }
.top-end { display: flex; align-items: center; gap: 1.4rem; }
.lang { color: #cfd8e4; text-decoration: none; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; padding: 0.3rem 0.1rem; border-bottom: 1px solid transparent; }
.lang:hover { color: var(--white); border-bottom-color: var(--white); }
.top .pill { font-size: 0.98rem; gap: 0.6rem; }
.top .pill::after { width: 2rem; height: 2rem; background-size: 0.85rem; }

/* Ouverture */
.hero { background: var(--night); color: var(--white); padding-block: clamp(2.6rem, 6vw, 5rem) clamp(2.6rem, 6vw, 4.5rem); }
.hero-home h1 { font-size: clamp(2.3rem, 4.6vw, 4.1rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.proof { list-style: none; margin: 0; padding: 0; max-width: none; border-top: 1px solid rgba(255,255,255,.22); }
.proof li { margin: 0; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.proof strong { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.15; color: var(--white); }
.proof span { display: block; margin-top: 0.2rem; font-size: 0.95rem; color: #b9c6d6; }
.hero-actions .link-quiet { color: #d9e1ec; align-self: center; font-weight: 500; }
.hero .lead { font-size: clamp(1.12rem, 1.9vw, 1.4rem); line-height: 1.5; color: #d9e1ec; margin-top: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem 2.6rem; margin-top: 2.2rem; }
/* La planche : quatre chevrons, à cheval entre l'ouverture et la suite */
/* Les quatre étapes : une section à part entière, sur fond blanc, sans carte ni filet de couleur */
.slide-wrap { padding-block: clamp(3.2rem, 7vw, 5.5rem) clamp(2.4rem, 5vw, 4rem); }
.slide h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.chevrons { list-style: none; margin: clamp(1.3rem, 3vw, 2rem) 0 0; padding: 0; max-width: none; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: chev; }
.chevrons li { margin: 0; counter-increment: chev; }
.chevrons a { text-decoration: none; display: block; margin-right: -0.55rem; }
.chevrons li:last-child a { margin-right: 0; }
.chev { display: block; color: var(--white); background: var(--night); font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.2rem); padding: 1rem 1.6rem 1rem 2.2rem; clip-path: polygon(0 0, calc(100% - 1.1rem) 0, 100% 50%, calc(100% - 1.1rem) 100%, 0 100%, 1.1rem 50%); }
.chevrons li:first-child .chev { clip-path: polygon(0 0, calc(100% - 1.1rem) 0, 100% 50%, calc(100% - 1.1rem) 100%, 0 100%); padding-left: 1.3rem; }
.chev::before { content: counter(chev) "  "; white-space: pre; font-weight: 400; opacity: .7; }
.chevrons li:nth-child(2) .chev { background: #17335c; }
.chevrons li:nth-child(3) .chev { background: #254c84; }
.chevrons li:nth-child(4) .chev { background: #3565a8; }
.chevrons a:hover .chev { filter: brightness(1.15); }
.chevrons p { margin: 1.1rem 1.4rem 0.9rem 0.2rem; font-size: 0.98rem; }
.chevrons dl { margin: 0 1.4rem 0 0.2rem; padding-top: 0.8rem; border-top: 1px solid var(--rule); }
.chevrons dt { font-size: 0.82rem; color: var(--muted); }
.chevrons dd { margin: 0.15rem 0 0; font-weight: 560; font-size: 0.98rem; }
.slide-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.8rem 2rem; margin-top: clamp(1.4rem, 3vw, 2.2rem); padding-top: 1.1rem; border-top: 1px solid var(--ink); }
.slide-foot p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.slide-foot .pill { font-size: 1rem; }
.slide-foot .pill::after { width: 2.3rem; height: 2.3rem; background-size: 0.95rem; }

/* Sections */
.block { padding-block: clamp(3.5rem, 9vw, 7rem); }
.block-mist { background: var(--mist); }
.block-night { background: var(--night); color: var(--white); }
.block-night p { color: #d9e1ec; }
.intro { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.5; margin-top: 1.4rem; color: var(--muted); }
.block-night .intro { color: #d9e1ec; }

/* Notre lecture */
.reading { list-style: none; padding: 0; margin: 0; max-width: none; }
.reading li { font-size: clamp(1.5rem, 4vw, 2.7rem); padding: clamp(1rem, 2.4vw, 1.6rem) 0; border-bottom: 1px solid var(--rule); margin: 0; }
.reading li span { color: var(--muted); font-weight: 400; }
.reading-close { font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.35; max-width: 34rem; margin-top: 2.2rem; }

/* La démarche : rail fixe à gauche, étapes à droite */
.path { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; margin-top: clamp(2rem, 5vw, 3.5rem); }
.rail { position: sticky; top: 6rem; }
.rail ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.rail li { margin: 0; }
.rail a { display: block; padding: 0.55rem 0 0.55rem 1.2rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-weight: 560; }
.rail a.on { color: var(--ink); border-left-color: var(--green); }
.rail p { font-size: 0.95rem; color: var(--muted); margin-top: 1.6rem; max-width: 18rem; }
.stages { display: grid; gap: 1.2rem; list-style: none; margin: 0; padding: 0; max-width: none; counter-reset: stage; }
.stage { counter-increment: stage; background: var(--white); border-top: 1px solid var(--night); border-radius: var(--radius); padding: clamp(1.5rem, 3.5vw, 2.6rem); margin: 0; scroll-margin-top: 6rem; }
.stage-head { display: flex; align-items: baseline; gap: 0.9rem; }
.stage-head::before { content: counter(stage); font-weight: 680; color: var(--green); font-size: 1.05rem; min-width: 1.1rem; }
.stage h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.025em; }
.stage .voice { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.4; margin: 0.9rem 0 1.2rem; color: var(--muted); }
.stage ul { margin-bottom: 1.3rem; list-style: disc; }
.stage ul li::marker { color: var(--green); }
.stage dl { margin: 0; border-top: 1px solid var(--rule); padding-top: 1.1rem; }
.stage dt { font-size: 0.9rem; color: var(--muted); }
.stage dd { margin: 0.1rem 0 0; }

/* IA */
.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem clamp(1.2rem, 3vw, 2.4rem); margin-top: clamp(2rem, 5vw, 3.5rem); list-style: none; padding: 0; max-width: none; counter-reset: ai; }
.ai-grid li { counter-increment: ai; margin: 0; border-top: 1px solid rgba(255,255,255,.25); padding-top: 1.1rem; }
.ai-grid h3::before { content: counter(ai) "  "; color: var(--brass); white-space: pre; }
.ai-grid p { font-size: 1rem; margin-top: 0.6rem; }

/* Repères et réalisations */
.marks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem clamp(1.5rem, 4vw, 3rem); margin: clamp(2rem, 5vw, 3rem) 0; }
.marks.marks-home { display: none; }
.marks div { border-top: 2px solid var(--ink); padding-top: 0.9rem; }
.marks strong { display: block; font-family: var(--display); font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 500; line-height: 1.15; }
.marks span { color: var(--muted); font-size: 0.98rem; }
.ledger { list-style: none; padding: 0; margin: 0; max-width: none; border-top: 1px solid var(--night); }
.ledger li { margin: 0; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) minmax(0, 5fr); gap: 0.3rem 2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.ledger small { color: var(--muted); font-size: 0.92rem; }
.ledger strong { font-weight: 600; font-size: 1.08rem; }
.ledger p { margin: 0; color: var(--muted); font-size: 1rem; max-width: none; }
.page-title { font-size: clamp(2.2rem, 6vw, 4.2rem); }
.hero-page { padding-block: clamp(3rem, 8vw, 6rem); }
.hero-page .circle p { color: #d9e1ec; }
.stage h2 { font-family: var(--sans); font-weight: 560; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.025em; }
.ai-grid h2 { font-family: var(--sans); font-weight: 560; font-size: 1.3rem; letter-spacing: -0.015em; }
.ai-grid h2::before { content: counter(ai) "  "; color: var(--brass); white-space: pre; }
.top nav a[aria-current] { color: var(--white); border-bottom: 1px solid var(--white); }

/* Ils nous ont fait confiance : une bande fine qui défile */
.trust { margin: clamp(1.8rem, 4vw, 2.6rem) 0 1.2rem; }
.band { position: relative; overflow: hidden; border-block: 1px solid var(--rule); padding-block: clamp(1.4rem, 3vw, 2rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.band ul { list-style: none; margin: 0; padding: 0; max-width: none; display: flex; align-items: center; width: max-content; animation: band 48s linear infinite; }
.band li { margin: 0 clamp(2.8rem, 5.5vw, 5rem) 0 0; flex: none; }
.band img { display: block; height: calc(var(--h, 1) * 2.3rem); width: auto; mix-blend-mode: multiply; }
.band:hover ul, .band.paused ul { animation-play-state: paused; }
@keyframes band { to { transform: translateX(-50%); } }
.band-toggle { position: absolute; left: -999rem; font: inherit; font-size: 0.85rem; }
.band-toggle:focus-visible { left: 0.5rem; top: 0.4rem; background: var(--white); border: 1px solid var(--rule); border-radius: 4px; padding: 0.2rem 0.6rem; }

/* Le cercle sur l'accueil, portrait et LinkedIn */
.circle-home.with-portrait { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
.portrait { display: block; width: 100%; max-width: 20rem; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); filter: grayscale(.15); }
.circle .portrait { max-width: 14rem; margin-bottom: 1.6rem; }
.li-link { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 500; }
.li-link::before { content: ""; width: 1.15rem; height: 1.15rem; flex: none; background: currentColor; border-radius: 3px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.45 20.45h-3.56v-5.57c0-1.33-.02-3.04-1.85-3.04-1.85 0-2.14 1.45-2.14 2.94v5.67H9.35V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.43a2.06 2.06 0 1 1 0-4.13 2.06 2.06 0 0 1 0 4.13zM7.12 20.45H3.56V9h3.56v11.45zM22.22 0H1.77C.79 0 0 .77 0 1.73v20.54C0 23.23.79 24 1.77 24h20.45c.98 0 1.78-.77 1.78-1.73V1.73C24 .77 23.2 0 22.22 0z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.45 20.45h-3.56v-5.57c0-1.33-.02-3.04-1.85-3.04-1.85 0-2.14 1.45-2.14 2.94v5.67H9.35V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.43a2.06 2.06 0 1 1 0-4.13 2.06 2.06 0 0 1 0 4.13zM7.12 20.45H3.56V9h3.56v11.45zM22.22 0H1.77C.79 0 0 .77 0 1.73v20.54C0 23.23.79 24 1.77 24h20.45c.98 0 1.78-.77 1.78-1.73V1.73C24 .77 23.2 0 22.22 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.li-night { color: var(--white); align-self: center; }

/* Réassurance à côté du formulaire */
.reassure { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.reassure li { position: relative; padding: 0.7rem 0 0.7rem 1.9rem; margin: 0; border-bottom: 1px solid var(--rule); font-size: 1.02rem; }
.reassure li:first-child { font-weight: 600; }
.reassure li::before { content: ""; position: absolute; left: 0.1rem; top: 1.05rem; width: 0.95rem; height: 0.5rem; border-left: 2px solid var(--night); border-bottom: 2px solid var(--night); transform: rotate(-45deg); }

/* Points de vue */
.notes { list-style: none; padding: 0; margin: clamp(1.8rem, 4vw, 2.6rem) 0 0; max-width: none; border-top: 1px solid var(--ink); }
.notes li { margin: 0; border-bottom: 1px solid var(--rule); }
.notes a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0.4rem 2.4rem; padding: 1.4rem 0; color: inherit; text-decoration: none; }
.notes strong { font-weight: 600; font-size: 1.15rem; line-height: 1.35; }
.notes span { color: var(--muted); font-size: 1rem; }
.notes a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.hero-article .page-title { font-size: clamp(2rem, 5vw, 3.6rem); }
.crumb { margin: 0 0 1.4rem; font-size: 0.95rem; }
.crumb a { color: var(--brass); }
.byline { margin-top: 1.6rem; color: #b4c0d0; font-size: 0.98rem; }
.byline a { color: var(--white); }
.prose h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); margin: 2.6rem 0 0.9rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.12rem; line-height: 1.72; max-width: 40rem; }
.prose .sign { font-family: var(--sans); font-size: 1rem; color: var(--muted); margin-top: 2.6rem; padding-top: 1.2rem; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }

/* Trois leviers */
.levers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--ink); }
.levers a { display: block; padding: 1.6rem 1.6rem 1.6rem 0; color: inherit; text-decoration: none; border-bottom: 1px solid var(--rule); }
.levers a + a { padding-left: 1.6rem; border-left: 1px solid var(--rule); }
.levers h3 { font-weight: 600; font-size: 1.3rem; letter-spacing: -0.015em; }
.levers p { margin: 0.6rem 0 0; color: var(--muted); font-size: 1rem; }
.levers a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

/* Le cercle */
.circle { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; margin-top: clamp(1.8rem, 4vw, 3rem); }
.rules { list-style: none; padding: 0; margin: 0; }
.rules li { padding: 1.1rem 0; border-top: 1px solid rgba(255,255,255,.22); margin: 0; }
.rules strong { display: block; font-size: 1.15rem; font-weight: 640; }
.rules span { color: #c2cddb; font-size: 0.98rem; }

/* Trois portes et formulaire */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: clamp(2rem, 5vw, 3rem) 0; }
.door { text-align: left; font: inherit; color: inherit; background: var(--white); border: 1.5px solid var(--rule); border-radius: var(--radius); padding: 1.3rem 1.4rem; cursor: pointer; }
.door strong { display: block; font-size: 1.2rem; font-weight: 660; letter-spacing: -0.02em; }
.door span { display: block; color: var(--muted); font-size: 0.97rem; margin-top: 0.35rem; }
.door[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 -4px 0 var(--green); }
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.field { margin-bottom: 1.1rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.3rem; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid #98a5b6; border-radius: 0.6rem; padding: 0.72rem 0.85rem; }
input[type="file"] { padding: 0.5rem; }
textarea { min-height: 8rem; resize: vertical; }
.trap { position: absolute; left: -999rem; }
.fine { font-size: 0.9rem; color: var(--muted); }
.status { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 0.6rem; background: var(--white); border-left: 4px solid var(--green); }
.status[data-state="error"] { border-left-color: #a8322a; }
.status:empty { display: none; }
[hidden] { display: none !important; }
.aside p { font-size: 1rem; }
.aside .voice { font-size: 1.15rem; line-height: 1.45; color: var(--green); }

/* Questions */
details { border-top: 1px solid var(--rule); }
details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; padding: 1.05rem 0; font-weight: 620; font-size: 1.1rem; letter-spacing: -0.01em; }
details p { margin-bottom: 1.1rem; color: var(--muted); }

/* Pied de page et pages légales */
.foot { background: var(--night); color: #b4c0d0; padding-block: 2.2rem 5.5rem; font-size: 0.92rem; }
.foot .wrap { display: grid; gap: 1.4rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; padding-bottom: 1.3rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.foot-nav a, .foot-nav a:first-child { margin-left: 0; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 2rem; }
.foot p { margin: 0; max-width: none; }
.foot a { color: #d9e1ec; margin-left: 1.2rem; }
.foot a:first-child { margin-left: 0; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.45rem; margin: 2.2rem 0 0.7rem; letter-spacing: -0.02em; }
.todo { background: #fbefc9; padding: 0 0.3em; }

/* Barre de contact mobile */
.dock { display: none; }

@media (max-width: 56rem) {
  .chevrons { grid-template-columns: 1fr; gap: 1.5rem; }
  .chevrons a { margin-right: 0; }
  .chev, .chevrons li:first-child .chev { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 0.7rem), 50% 100%, 0 calc(100% - 0.7rem)); padding: 0.85rem 1.2rem 1.4rem; }
  .chevrons p, .chevrons dl { margin-right: 0; }
  .top nav { display: none; }
  .path, .circle, .contact, .levers, .ledger li { grid-template-columns: 1fr; }
  .levers a, .levers a + a { padding: 1.3rem 0; border-left: 0; }
  .rail { position: static; }
  .rail ol { display: none; }
  .rail p { margin-top: 0; max-width: none; }
  .ai-grid { grid-template-columns: 1fr 1fr; }
  .marks, .doors { grid-template-columns: 1fr; }
  .marks { gap: 1.2rem; }
  .dock { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom, 0px)); background: rgba(10,28,51,.96); transition: transform .25s ease; }
  .dock .pill { display: flex; justify-content: space-between; }
  .dock.away { transform: translateY(110%); }
  .top .pill { display: none; }
  .block-reading { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .proof { display: none; }
  .proof li { padding: 0.8rem 0; }
  .proof strong { font-size: 1.3rem; }
  .proof span { font-size: 0.9rem; }
  .circle-home.with-portrait, .notes a { grid-template-columns: 1fr; }
  .circle-home .portrait { max-width: 11rem; }
  .band img { height: calc(var(--h, 1) * 1.8rem); }
  .band ul { animation-duration: 36s; }
}
@media (max-width: 34rem) {
  .ai-grid, .two { grid-template-columns: 1fr; }
  .hero-actions .pill { flex: 1 1 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } .dock { transition: none; }
  .band { -webkit-mask-image: none; mask-image: none; }
  .band ul { animation: none; width: auto; flex-wrap: wrap; gap: 1.2rem 0; }
  .band li[aria-hidden] { display: none; }
  .band-toggle { display: none; }
}
@media print { .top, .dock { display: none; } .hero, .block-night, .foot { background: #fff; color: #000; } }
/* Les quatre constats suivent directement les quatre étapes, sur le même fond : pas de double marge */
.block-reading { padding-top: clamp(0.5rem, 2vw, 1.5rem); }

/* Les quatre étapes en planche (ordinateur) : un bandeau, quatre tuiles numérotées, puis ce que vous avez en main.
   Sur mobile, la présentation compacte en chevrons est conservée. */
.slide-banner { margin: 0; }
.zoom { display: none; }
@media (min-width: 56.01rem) {
  .slide-banner { margin-top: clamp(1.4rem, 3vw, 2rem); background: var(--night); color: var(--white); text-align: center; font-weight: 500; padding: 1.05rem 1.5rem; }
  .chevrons { margin-top: 0; gap: 0 1rem; padding: 0 clamp(0rem, 3vw, 3rem); }
  .chevrons a { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem; position: relative; min-height: 10.5rem; margin-top: 1.6rem; padding: 2.2rem 1rem 1.3rem; background: var(--night); color: var(--white); text-align: center; }
  .chevrons li:nth-child(2) a { background: #17335c; }
  .chevrons li:nth-child(3) a { background: #254c84; }
  .chevrons li:nth-child(4) a { background: #3565a8; }
  .chevrons a::before { content: counter(chev); position: absolute; top: -1.15rem; left: 50%; transform: translateX(-50%); width: 2.3rem; height: 2.3rem; display: grid; place-items: center; background: inherit; border: 2px solid var(--white); outline: 1px solid var(--rule); font-weight: 600; font-size: 1.05rem; }
  .chev, .chevrons li:first-child .chev { clip-path: none; background: none; padding: 0; font-size: 1.3rem; font-weight: 600; }
  .chev::before { content: none; }
  .zoom { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.9rem; color: #d9e1ec; }
  .zoom::before { content: ""; width: 1rem; height: 1rem; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d9e1ec' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E"); }
  .chevrons a:hover { filter: brightness(1.12); }
  .chevrons a:hover .zoom { color: var(--white); text-decoration: underline; text-underline-offset: 0.2em; }
  .chevrons p { display: none; }
  .chevrons dl { position: relative; margin: 1.6rem 0 0; padding: 1rem 1rem 1.1rem; border: 1px solid #3565a8; border-top-width: 1px; min-height: 7rem; background: var(--white); }
  .chevrons dl::before { content: ""; position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%); border: 0.55rem solid transparent; border-top-color: #3565a8; border-bottom: 0; width: 0; height: 0; }
  .chevrons dt { font-size: 0.8rem; }
  .chevrons dd { font-size: 1rem; }
  .chevrons::after { content: none; }
  .slide-foot { border-top: 0; padding-top: 0; }
}
/* Deux sections blanches qui se suivent : pas de double marge entre elles */
.block:not(.block-mist):not(.block-night) + .block:not(.block-mist):not(.block-night) { padding-top: clamp(1rem, 3vw, 2rem); }
@media (max-width: 56rem) { .slide-banner { margin: 0.9rem 0 1.4rem; color: var(--muted); } }

/* Points de vue sur fond marine (home) */
.block-night .notes { border-top-color: rgba(255,255,255,.55); }
.block-night .notes li { border-bottom-color: rgba(255,255,255,.16); }
.block-night .notes strong { color: var(--white); }
.block-night .notes span { color: #b4c0d0; }

/* Le fil des quatre étapes (ordinateur) : un bandeau clair tendu au-dessus des tuiles,
   chaque étape y est suspendue par une pince numérotée, pour dire qu'on peut en prendre une ou plusieurs. */
@media (min-width: 56.01rem) {
  .slide-banner { position: relative; z-index: 1; background: #e3ebf4; color: var(--night); border-bottom: 3px solid #9db8d6; padding: 1rem 1.5rem 0.95rem; }
  .slide-banner strong { font-weight: 600; }
  .chevrons li { --pc: var(--night); }
  .chevrons li:nth-child(2) { --pc: #17335c; }
  .chevrons li:nth-child(3) { --pc: #254c84; }
  .chevrons li:nth-child(4) { --pc: #3565a8; }
  .chevrons a { z-index: 2; margin-top: 1.5rem; padding-top: 2.6rem; background: var(--pc); }
  .chevrons a::before { z-index: 2; top: -2.35rem; width: 2.2rem; height: 3.3rem; border-radius: 0.35rem; background: var(--white); color: var(--pc); border: 2px solid var(--pc); outline: 0; box-shadow: 0 1px 0 rgba(10,28,51,.12); font-size: 1.1rem; }
}
.trust-title { font-family: var(--display); font-weight: 500; font-size: clamp(1.35rem, 2.4vw, 1.8rem); letter-spacing: -0.01em; line-height: 1.2; margin-top: clamp(2.4rem, 5vw, 3.4rem); }
.trust-title + .trust { margin-top: 1.2rem; }
/* Contact épuré : le formulaire occupe toute la largeur, sans colonne annexe */
.contact { display: block; }
@media (min-width: 56.01rem) {
  .contact form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .contact form > * { grid-column: 1 / -1; }
  .contact form > .two:not([data-candidate]) { grid-column: auto; }
  .contact form > button { justify-self: start; }
}
@media (min-width: 56.01rem) {
  .slide-banner { padding: 1.05rem 1.5rem 2.1rem; color: #33465f; font-size: 0.98rem; font-weight: 400; }
  .slide-banner strong { display: block; color: var(--night); font-size: 1.15rem; margin-bottom: 0.2rem; }
  .chevrons a { margin-top: 1.4rem; }
  .chevrons a::before { top: -3.05rem; height: 4.3rem; width: 2.3rem; padding-top: 0; }
}
@media (min-width: 56.01rem) { .chevrons li { display: flex; flex-direction: column; } .chevrons dl { flex: 1; } }
.door { display: flex; flex-direction: column; justify-content: flex-start; }
/* Bandeau du fil : gris clair neutre, une seule phrase */
@media (min-width: 56.01rem) {
  .slide-banner { --banner: #eef0f3; --wire: #b8c0cb; background: var(--banner); border-bottom-color: var(--wire); color: var(--night); font-size: 1.15rem; font-weight: 600; padding: 1.05rem 1.5rem 1.9rem; }
}
/* Bandeau gris, cadres en pointillé (bandeau et pinces numérotées) ; la seconde phrase sur ordinateur seulement */
.slide-banner strong { font-weight: inherit; }
.banner-more { display: none; }
@media (min-width: 56.01rem) {
  .slide-banner { border: 1.5px dashed #74839a; font-weight: 400; font-size: 0.98rem; color: #33465f; padding: 1rem 1.5rem 1.95rem; }
  .slide-banner strong { display: block; font-weight: 600; font-size: 1.15rem; color: var(--night); margin-bottom: 0.2rem; }
  .banner-more { display: block; }
  .chevrons a::before { border: 2px dashed var(--pc); box-shadow: none; }
}
/* Pointillés harmonisés : un seul trait pour le bandeau et les pinces, pinces élargies */
@media (min-width: 56.01rem) {
  .slide-wrap { --dash: 2px dashed #6f7f95; }
  .slide-banner { border: var(--dash); border-radius: 0.4rem; padding-bottom: 2.2rem; }
  .chevrons a { margin-top: 1.6rem; padding-top: 3rem; }
  .chevrons a::before { border: var(--dash); border-radius: 0.4rem; width: 3.6rem; height: 4.6rem; top: -3.25rem;
    font-family: var(--display); font-weight: 500; font-size: 1.6rem; color: var(--pc); background: var(--white); }
}
/* Proportions allégées : pinces plus petites, bandeau plus discret */
@media (min-width: 56.01rem) {
  .slide-banner { margin-top: clamp(1.2rem, 2.4vw, 1.7rem); padding: 0.7rem 1.5rem 1.55rem; font-size: 0.92rem; }
  .slide-banner strong { font-size: 1.05rem; margin-bottom: 0.1rem; }
  .chevrons a { margin-top: 1.25rem; padding-top: 2.4rem; min-height: 9.8rem; }
  .chevrons a::before { width: 2.5rem; height: 3.2rem; top: -2.3rem; font-size: 1.25rem; border-radius: 0.35rem; }
  .slide-banner { border-radius: 0.35rem; }
}
/* Pinces moins enfoncées : moins de vide dans le bandeau et en haut des tuiles */
@media (min-width: 56.01rem) {
  .slide-banner { padding: 0.7rem 1.5rem 1.05rem; }
  .chevrons a { margin-top: 1rem; padding-top: 1.9rem; min-height: 9rem; }
  .chevrons a::before { width: 2.4rem; height: 2.1rem; top: -1.55rem; font-size: 1.15rem; }
}

/* Fil à linge (ordinateur) : une étiquette à la largeur de son texte, posée sur un fil en pointillé
   tendu d'un clou à l'autre ; les pinces numérotées pendent du fil et mordent franchement dans les tuiles. */
@media (min-width: 56.01rem) {
  .slide-banner { width: fit-content; max-width: 100%; margin: clamp(1.2rem, 2.4vw, 1.7rem) auto 0; padding: 0.6rem 1.7rem 0.65rem;
    border: var(--dash); border-bottom: 0; border-radius: 0.4rem 0.4rem 0 0; }
  .chevrons { position: relative; padding-top: 0; margin-top: -1px;
    background: radial-gradient(circle, #6f7f95 0 4px, transparent 4.5px) 0 0 / 10px 10px no-repeat,
                radial-gradient(circle, #6f7f95 0 4px, transparent 4.5px) 100% 0 / 10px 10px no-repeat; }
  .chevrons::before { content: ""; position: absolute; left: 5px; right: 5px; top: 4px; border-top: var(--dash); }
  .chevrons a { margin-top: 1.15rem; padding-top: 3.3rem; min-height: 10.6rem; }
  .chevrons a::before { width: 3rem; height: 3.7rem; top: -1rem; font-size: 1.55rem; border-radius: 0.45rem; }
}
/* Étiquette du fil en bleu marine */
@media (min-width: 56.01rem) {
  .slide-banner { background: var(--night); color: #c9d4e2; }
  .slide-banner strong { color: var(--white); }
}
/* Étiquette du fil en bleu marine, en rappel de l'ouverture */
@media (min-width: 56.01rem) {
  .slide-banner { background: var(--night); color: #c9d4e2; }
  .slide-banner strong { color: var(--white); }
}

/* Titre des quatre étapes : une seule ligne sur ordinateur (taille calée sur la largeur de la colonne) */
@media (min-width: 56.01rem) {
  .slide h2 { font-size: min(2.15rem, 2.9vw); white-space: nowrap; }
}

/* Formes de la planche : tuiles arrondies en haut et terminées par une pointe (écho des chevrons du mobile),
   la pointe désigne directement « Vous avez en main », traité en carte douce aux couleurs de l'étape. */
@media (min-width: 56.01rem) {
  .chevrons a, .chevrons li:nth-child(n) a { background: none; padding-bottom: 2rem; }
  .chevrons a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pc); border-radius: 0.45rem 0.45rem 0 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 0.9rem), 50% 100%, 0 calc(100% - 0.9rem)); }
  .chevrons dl { margin-top: 0.9rem; border: 0; border-top: 3px solid var(--pc); border-radius: 0 0 0.45rem 0.45rem; background: #f3f5f8; padding: 0.9rem 1.1rem 1rem; }
  .chevrons dl::before { content: none; }
  .chevrons dt { color: var(--muted); }
  .chevrons dd { color: var(--night); }
}
@media (min-width: 56.01rem) { .slide-banner { margin-top: clamp(1.6rem, 3vw, 2.4rem); } }
/* Cartes « Vous avez en main » : un peu plus de largeur utile, pour que les textes tiennent sur deux lignes */
@media (min-width: 56.01rem) {
  .chevrons dl { padding: 0.9rem 0.85rem 1rem; }
  .chevrons dd { font-size: 0.97rem; }
}
/* Étiquette bleu marine sans pointillé ; tuiles descendues pour que leur bord haut coupe les pinces à mi-hauteur */
@media (min-width: 56.01rem) {
  .slide-banner { border: 0; }
  .chevrons a { margin-top: 2rem; padding-top: 2.7rem; min-height: 10rem; }
  .chevrons a::before { top: -1.85rem; }
}
/* Étiquette sans pointillé, détachée du fil ; tuiles abaissées à mi-hauteur des pinces */
@media (min-width: 56.01rem) {
  .slide-banner { border: 0; border-radius: 0.45rem; margin-bottom: 1.3rem; padding: 0.75rem 1.9rem 0.8rem; }
  .chevrons { margin-top: 0; }
  .chevrons a { margin-top: 2.1rem; padding-top: 2.6rem; }
  .chevrons a::before { top: -1.85rem; height: 3.7rem; }
}

/* Ouverture : texte, bouton et chiffres placés par zones.
   Ordinateur : chiffres à droite. Mobile : chiffres entre l'introduction et le bouton « Échanger avec nous ». */
.hero-grid { grid-template-areas: "text proof" "actions proof"; align-items: end; row-gap: 0; }
.hero-text { grid-area: text; }
.hero-grid > .hero-actions { grid-area: actions; align-self: start; }
.proof { grid-area: proof; align-self: center; }
@media (max-width: 56rem) {
  .hero-grid { grid-template-areas: "text" "proof" "actions"; }
  .proof { display: block; margin-top: 1.8rem; }
  .hero-grid > .hero-actions { margin-top: 1.8rem; }
}
/* Réalisations rangées par étape de la démarche */
.ledger li.ledger-stage { display: flex; align-items: center; gap: 0.7rem; padding: 1.6rem 0 0.6rem; border-bottom: 1px solid var(--ink); font-family: var(--display); font-weight: 500; font-size: 1.35rem; }
.ledger li.ledger-stage:first-child { padding-top: 1rem; }
.ledger li.ledger-stage span { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border: 1.5px dashed #6f7f95; border-radius: 0.35rem; font-size: 1rem; color: var(--night); }
