/* 1. Variables — palette officielle EvoProjet */
:root {
    --paper: #0d131b;
    --ink: #edf3f9;
    --muted: #a5b6c9;
    --line: #2a3746;
    --accent: #0d6efd;
    --accent-text: #87b8ff;
    --bright: #6ea8fe;
    --night: #080e16;
    --white: #ffffff;
    --surface: #141c26;
    --surface-raised: #18222e;
    --max-width: 1440px;
}

/* 2. Base */
* {
    box-sizing: border-box;
}
html {
    color-scheme: dark;
    background: var(--paper);
    scroll-behavior: smooth;
    scroll-padding-top: 35px;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
::selection {
    background: var(--accent);
    color: white;
}
h1, h2, h3, p, figure {
    margin: 0;
}
h1, h2, h3 {
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -0.055em;
}
h1 {
    font-size: clamp(3rem, 6.5vw, 6.8rem);
}
h2 {
    font-size: clamp(2.4rem, 4.4vw, 4.4rem);
}
h3 {
    font-size: 1.6rem;
    letter-spacing: -0.035em;
}
em {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    color: var(--bright);
}
p {
    color: var(--muted);
}
p + p {
    margin-top: 1.1rem;
}
a {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 6px;
}
a:hover {
    color: var(--bright);
}
button, input, textarea {
    font: inherit;
}
button {
    cursor: pointer;
}
:focus-visible {
    outline: 3px solid #9bbfff;
    outline-offset: 5px;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
[hidden] {
    display: none !important;
}
.skip-link {
    position: fixed;
    z-index: 100;
    top: -100px;
    left: 20px;
    padding: 12px 20px;
    background: white;
    color: #0d131b;
}
.skip-link:focus {
    top: 12px;
}
.eyebrow, .technical-label {
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.eyebrow {
    margin-bottom: 28px;
}
.lead {
    font-size: 1.1rem;
    line-height: 1.7;
}
.muted {
    color: var(--muted);
}
.brand-accent {
    color: var(--bright);
}
.fine-print, .form-help {
    font-size: 0.78rem;
    line-height: 1.65;
}

/* 3. Mise en page — le passage */
.container {
    width: min(calc(100% - 96px), var(--max-width));
    margin-inline: auto;
}
.section {
    padding-block: 100px;
}
.section-heading {
    margin-bottom: 50px;
}
.passage-hero {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto 1fr auto;
    padding-top: 65px;
    min-height: 800px;
    background-image: linear-gradient(#6ea8fe07 1px, transparent 1px), linear-gradient(90deg, #6ea8fe07 1px, transparent 1px);
    background-size: 82px 82px;
}
.hero-heading {
    grid-column: 2 / 12;
    grid-row: 1;
    z-index: 2;
    pointer-events: none;
}
.hero-heading .eyebrow {
    color: #c5d6ec;
}
.hero-heading h1 {
    font-size: clamp(4rem, 8.8vw, 9.2rem);
    font-weight: 650;
    line-height: 0.98;
    letter-spacing: -0.065em;
}
.outline-word {
    color: transparent;
    -webkit-text-stroke: 1.5px #edf3f9;
}
.hero-coordinate {
    position: absolute;
    top: 84px;
    left: 0;
    bottom: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    font: 0.6rem Consolas, monospace;
    color: #8095ae;
}
.hero-coordinate span:nth-child(2) {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: 0.2em;
}
.hero-coordinate span:last-child {
    font-size: 1.5rem;
    color: var(--bright);
}
.portal-visual {
    position: relative;
    grid-column: 7 / 13;
    grid-row: 1 / 3;
    align-self: center;
    margin-top: 5px;
    margin-bottom: 60px;
    padding: 35px 30px 20px;
    min-width: 0;
}
.portal-window {
    border-radius: 49% 49% 4px 4px;
    border: 1px solid #5388cf;
    padding: 6px;
    background: #172a45;
    box-shadow: 0 0 90px #0d6efd21;
}
.portal-window img {
    width: 100%;
    aspect-ratio: 0.84;
    object-fit: cover;
    object-position: 62% center;
    border-radius: 49% 49% 2px 2px;
}
.portal-orbit {
    position: absolute;
    inset: 15px 10px 35px;
    border: 1px solid #6ea8fe38;
    border-radius: 49% 49% 0 0;
    pointer-events: none;
}
.portal-orbit span {
    position: absolute;
    right: -5px;
    top: 52%;
    transform: translate(50%, -50%) rotate(90deg);
    background: var(--paper);
    padding: 5px 15px;
    color: #87a5cd;
    font: 0.56rem Consolas, monospace;
    letter-spacing: 0.15em;
    white-space: nowrap;
}
.portal-visual figcaption {
    margin-top: 18px;
    font: 0.65rem Consolas, monospace;
    letter-spacing: 0.03em;
    text-align: right;
    color: #bed4f1;
}
.portal-cross {
    position: absolute;
    font: 1.7rem Consolas, monospace;
    color: var(--bright);
}
.cross-one {
    top: 25px;
    left: 15%;
}
.cross-two {
    bottom: 22px;
    left: 0;
}
.hero-summary {
    grid-column: 2 / 7;
    grid-row: 2;
    z-index: 2;
    padding-top: 40px;
    padding-right: 25px;
    align-self: start;
    max-width: 520px;
}
.hero-summary > p:first-of-type {
    margin-top: 18px;
    color: var(--ink);
    font-size: 1.35rem;
    line-height: 1.5;
    letter-spacing: -0.02em;
}
.hero-description {
    max-width: 410px;
    font-size: 0.92rem;
}
.hero-bottom {
    grid-column: 1 / -1;
    grid-row: 3;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-block: 23px;
    border-block: 1px solid var(--line);
    color: #a5b6c9;
    font: 0.65rem Consolas, monospace;
}
.hero-bottom a {
    color: white;
}
.hero-bottom a span {
    margin-left: 25px;
}
.chapter-heading {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 65px;
}
.chapter-heading .eyebrow {
    color: #c5d6ec;
    margin: 0;
    flex-shrink: 0;
}
.chapter-line {
    flex: 1;
    height: 1px;
    background: var(--line);
}
.chapter-heading > .technical-label {
    font-size: 0.56rem;
}
.departure-section {
    padding-block: 110px;
}
.departure-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 90px;
}
.departure-intro h2 {
    font-size: clamp(4rem, 6.5vw, 6.8rem);
}
.departure-intro > p {
    max-width: 390px;
    margin-top: 30px;
    font-size: 0.95rem;
}
.departure-controls {
    display: none;
    margin-top: 35px;
}
.js .departure-controls {
    display: grid;
}
.departure-controls button {
    display: grid;
    grid-template-columns: 25px 1fr 20px;
    text-align: left;
    align-items: center;
    gap: 13px;
    width: 100%;
    padding: 22px 6px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    font-size: 0.88rem;
}
.departure-controls button:first-child {
    border-top: 1px solid var(--line);
}
.departure-controls button > span:first-child {
    color: #7f94ae;
    font: 0.62rem Consolas, monospace;
}
.departure-controls button[aria-pressed="true"] {
    color: white;
    border-bottom-color: var(--accent);
}
.departure-controls button[aria-pressed="true"] > span {
    color: var(--bright);
}
.departure-controls button:hover {
    background: #142135;
}
.route-panel {
    align-self: end;
    background: #111e30;
    padding: 35px;
    border: 1px solid #335176;
    position: relative;
}
.route-panel::before, .route-panel::after {
    content: "+";
    position: absolute;
    color: #8db7f0;
    font: 1.3rem Consolas, monospace;
}
.route-panel::before {
    top: -14px;
    left: -7px;
}
.route-panel::after {
    bottom: -14px;
    right: -7px;
}
.route-diagram {
    display: grid;
    grid-template-columns: 1fr 0.9fr 1fr;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #335176;
    padding-bottom: 35px;
    margin-bottom: 35px;
    font: 0.6rem Consolas, monospace;
    letter-spacing: 0.05em;
    color: #c0d4ef;
}
.route-diagram > span:first-child {
    max-width: 135px;
}
.route-diagram > span:last-child {
    text-align: right;
}
.route-diagram b {
    color: var(--bright);
    font-weight: 400;
}
.route-track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 1px;
    background: #4d79bc;
}
.route-track i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 9px #0d6efd;
}
#scenario-content {
    min-height: 350px;
}
#scenario-content h3 {
    margin-block: 20px;
    font-size: clamp(2rem, 3vw, 3rem);
}
#scenario-content > p:not(.technical-label) {
    font-size: 0.9rem;
}
.route-checks {
    list-style: none;
    margin-block: 25px;
    padding: 0;
}
.route-checks li {
    font-size: 0.78rem;
    color: #bed0e6;
    padding-block: 5px;
}
.route-checks li::before {
    content: "+";
    color: var(--bright);
    margin-right: 12px;
}
.trajectory-section {
    padding-block: 100px;
    background: #e9f0fa;
    color: #0d213d;
}
.trajectory-section .eyebrow, .trajectory-section .technical-label {
    color: #425e82;
}
.trajectory-section .chapter-line {
    background: #b7c8df;
}
.trajectory-heading {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    align-items: end;
    gap: 80px;
}
.trajectory-heading em {
    color: #0a58ca;
}
.trajectory-heading > p {
    font-size: 0.92rem;
    color: #425976;
}
.trajectory {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    margin-top: 75px;
}
.trajectory article {
    min-width: 0;
}
.trajectory-number {
    display: block;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #9bb5d8;
    font: 3.5rem Consolas, monospace;
    color: #0a58ca;
    letter-spacing: -0.1em;
}
.trajectory article:nth-child(2) {
    padding-top: 40px;
}
.trajectory article:nth-child(3) {
    padding-top: 80px;
}
.trajectory article:nth-child(4) {
    padding-top: 120px;
}
.trajectory h3 {
    margin-top: 16px;
    font-size: clamp(1.4rem, 2.3vw, 2.3rem);
    overflow-wrap: anywhere;
}
.trajectory p {
    margin-block: 20px;
    font-size: 0.85rem;
    color: #425976;
}
.trajectory .text-link {
    color: #0a58ca;
}
.security-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
    align-items: center;
    padding-block: 110px;
}
.security-symbol {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 15px;
    aspect-ratio: 1;
    border: 1px solid var(--line);
    background: radial-gradient(ellipse at center, #0d6efd1f, transparent 65%);
    font: 11rem Consolas, monospace;
    color: #6ea8fe;
}
.security-symbol b {
    font-family: "Segoe UI", sans-serif;
    font-size: 8rem;
    font-weight: 300;
    color: white;
}
.security-symbol small {
    position: absolute;
    bottom: 25px;
    font: 0.6rem Consolas, monospace;
    color: #a8bfdc;
    letter-spacing: 0.08em;
}
.security-copy > p:not(.eyebrow) {
    margin-top: 30px;
    max-width: 500px;
}
.security-topics {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-block: 30px;
}
.security-topics span {
    font: 0.65rem Consolas, monospace;
    border: 1px solid #3b506b;
    padding: 10px 12px;
    color: #c5d6ec;
}
.observatory-section {
    background: #0c2450;
    padding-block: 80px;
    border-block: 1px solid #2a4c7e;
}
.observatory-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.observatory-layout > div:first-child > p:not(.eyebrow) {
    max-width: 470px;
    margin-block: 30px;
    color: #b7cbe7;
}
.observatory-visual {
    position: relative;
    min-height: 430px;
}
.observatory-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: min(100%, 410px);
    aspect-ratio: 1;
    border: 1px solid #6ea8fe70;
    border-radius: 50%;
    background: linear-gradient(transparent calc(50% - 0.5px), #6ea8fe50 50%, transparent calc(50% + 0.5px)), linear-gradient(90deg, transparent calc(50% - 0.5px), #6ea8fe50 50%, transparent calc(50% + 0.5px));
}
.observatory-grid::before, .observatory-grid::after {
    content: "";
    position: absolute;
    inset: 17%;
    border: 1px solid #6ea8fe50;
    border-radius: 50%;
}
.observatory-grid::after {
    inset: 33%;
}
.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font: 1.7rem Consolas, monospace;
    color: white;
}
.orbit-dot {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #89baff;
    box-shadow: 0 0 0 7px #0d6efd30;
}
.dot-one {
    left: 27%;
    top: 3%;
}
.dot-two {
    right: 19%;
    top: 42%;
}
.dot-three {
    left: 24%;
    bottom: 26%;
}
.observatory-caption {
    position: absolute;
    right: 0;
    bottom: 70px;
    background: #0c2450;
    padding: 15px 0 15px 25px;
    border-left: 2px solid var(--bright);
}
.observatory-caption p {
    font-size: 1.5rem;
    line-height: 1.2;
    color: white;
    margin-top: 15px;
}
.observatory-caption .technical-label {
    color: #c0d3ee;
}
.visual-note {
    position: absolute;
    bottom: 0;
    right: 0;
    color: #b7cbe7;
    font-size: 0.53rem;
    text-align: right;
}
.human-section {
    display: grid;
    grid-template-columns: 1.5fr 0.65fr;
    gap: 50px;
    padding-block: 110px;
    border-bottom: 1px solid var(--line);
}
.human-section > .eyebrow {
    grid-column: 1 / -1;
}
.human-statement {
    font-size: clamp(3rem, 6.3vw, 6.5rem);
    letter-spacing: -0.06em;
    line-height: 1.02;
    color: var(--ink);
}
.human-statement span {
    color: var(--bright);
}
.human-detail {
    align-self: end;
    font-size: 0.9rem;
}
.human-detail .text-link {
    margin-top: 25px;
}
.page-intro {
    position: relative;
    padding-block: 85px 75px;
    border-bottom: 1px solid var(--line);
    background: radial-gradient(ellipse at 90% 30%, #0d6efd20, transparent 55%);
}
.page-intro::after {
    content: "+";
    position: absolute;
    top: 40px;
    right: 0;
    color: var(--bright);
    font: 2rem Consolas, monospace;
}
.page-intro .lead {
    margin-top: 35px;
    max-width: 730px;
}
.dark-section {
    padding-block: 90px;
    background: var(--night);
    border-block: 1px solid var(--line);
}
.platform-split, .split-editorial, .faq, .about-story, .migration-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.platform-split h2 + p, .platform-split .lead, .split-editorial h2 + p {
    margin-block: 28px;
}
.platform-split .fine-print {
    margin-top: 22px;
}
.migration-layout img {
    width: 100%;
    aspect-ratio: 0.9;
    object-fit: cover;
    border-radius: 48% 48% 0 0;
    border: 1px solid #3c5980;
}
.about-story {
    padding-top: 75px;
    align-items: start;
}
.story-copy h2 {
    margin-bottom: 30px;
}
.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    padding-block: 70px 100px;
}
.closing {
    padding-block: 85px;
}
.closing > div {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
}

/* 4. Navigation */
.site-header {
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-height: 95px;
}
.logo {
    display: block;
    width: 180px;
    flex-shrink: 0;
}
.site-nav {
    display: flex;
    gap: 32px;
    align-items: center;
    counter-reset: navigation;
    font-size: 0.75rem;
}
.site-nav a {
    counter-increment: navigation;
    padding-block: 12px;
}
.site-nav a::before {
    content: "0" counter(navigation);
    display: block;
    font: 0.53rem Consolas, monospace;
    color: #7893b7;
    margin-bottom: 3px;
}
.site-nav a[aria-current="page"] {
    color: var(--bright);
}
.site-nav .nav-contact {
    color: #b9d5ff;
    border-bottom: 1px solid var(--accent);
}
.menu-toggle {
    display: none;
}
.site-footer {
    background: #080e16;
    border-top: 1px solid var(--line);
}
.footer-main, .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.footer-main {
    padding-block: 50px;
}
.footer-main p {
    font-size: 0.83rem;
}
.footer-main > a:last-child {
    font-size: 1.1rem;
}
.footer-bottom {
    padding-block: 22px;
    border-top: 1px solid var(--line);
    font: 0.64rem Consolas, monospace;
    color: var(--muted);
}

/* 5. Composants et formulaires */
.signal {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6ea8fe;
    margin-right: 9px;
    flex-shrink: 0;
    box-shadow: 0 0 10px #0d6efd70;
}
.actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 18px 22px;
    border: 1px solid transparent;
    background: var(--accent);
    color: white;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.4;
    transition: background 180ms, transform 180ms;
}
.button:hover {
    color: white;
    background: #0b5ed7;
    transform: translateY(-2px);
}
.button-light {
    color: #0c2450;
    background: #edf3f9;
}
.button:disabled {
    opacity: 0.6;
    cursor: default;
}
.text-link {
    display: inline-block;
    padding-block: 6px;
    color: #b9d5ff;
    border-bottom: 1px solid #4d79bc;
    font-size: 0.77rem;
}
.anchor-links {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 45px;
    font: 0.72rem Consolas, monospace;
    color: var(--bright);
}
.feature-list article {
    border-bottom: 1px solid var(--line);
    padding-block: 25px;
}
.feature-list h3 {
    margin-block: 14px;
}
.feature-list p {
    font-size: 0.92rem;
}
.row-index {
    font: 0.7rem Consolas, monospace;
    color: var(--bright);
}
.steps {
    list-style: none;
    counter-reset: migration;
    margin: 0;
    padding: 0;
}
.steps li {
    counter-increment: migration;
    position: relative;
    padding: 22px 0 22px 48px;
    border-bottom: 1px solid var(--line);
}
.steps li::before {
    content: "0" counter(migration);
    position: absolute;
    top: 24px;
    left: 0;
    color: var(--bright);
    font: 0.7rem Consolas, monospace;
}
.steps h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}
.steps p, .migration-layout + .fine-print {
    font-size: 0.85rem;
}
.migration-layout + .fine-print {
    margin-top: 30px;
}
.maintenance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}
.maintenance-grid article {
    border-top: 1px solid var(--line);
    padding-top: 25px;
}
.large-number {
    display: block;
    margin-bottom: 35px;
    font: 3.8rem Consolas, monospace;
    letter-spacing: -0.08em;
    color: var(--bright);
}
.maintenance-grid h3 {
    margin-bottom: 22px;
}
.maintenance-grid p {
    font-size: 0.9rem;
}
.label {
    display: inline-block;
    margin-top: 25px;
    font: 0.65rem Consolas, monospace;
    color: #b9d5ff;
}
.section-note {
    margin-top: 35px;
    max-width: 850px;
    font-size: 0.85rem;
}
.faq {
    align-items: start;
}
details {
    padding-block: 22px;
    border-bottom: 1px solid var(--line);
}
summary {
    cursor: pointer;
    font-size: 0.95rem;
}
details p {
    font-size: 0.88rem;
    margin-top: 18px;
}
.service-rows {
    border-top: 1px solid var(--line);
}
.service-row {
    display: grid;
    grid-template-columns: 35px 0.8fr 1fr;
    gap: 30px;
    padding-block: 30px;
    border-bottom: 1px solid var(--line);
    align-items: center;
}
.service-row h3 {
    font-size: 2rem;
}
.service-row p {
    font-size: 0.9rem;
}
.console {
    background: #141e2d;
    border: 1px solid #3c5980;
    padding: 30px;
    box-shadow: 14px 14px 0 #0c1522;
}
.console-top, .console-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.console-top {
    border-bottom: 1px solid #3c5980;
    padding-bottom: 25px;
}
.console-brand {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.05em;
}
.demo-tag {
    font: 0.58rem Consolas, monospace;
    color: #c4d5ec;
    border: 1px solid #567393;
    padding: 6px 8px;
}
.console-row {
    border-bottom: 1px solid var(--line);
    padding-block: 18px;
    font-size: 0.76rem;
}
.status {
    background: #12392d;
    color: #a3e6c2;
    padding: 4px 8px;
    font-size: 0.65rem;
}
.demo-controls {
    display: none;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.js .demo-controls {
    display: flex;
}
.demo-controls button {
    background: transparent;
    border: 1px solid #64788d;
    padding: 12px 16px;
    color: var(--ink);
    font: 0.74rem Consolas, monospace;
}
.demo-controls button[aria-pressed="true"] {
    background: #dceaff;
    border-color: #dceaff;
    color: #112a4f;
}
#demo-content {
    min-height: 280px;
}
#demo-content h3 {
    margin-block: 25px 10px;
}
#demo-content > p {
    margin-top: 20px;
    font-size: 0.85rem;
}
.note-panel {
    border: 1px solid #385982;
    border-left: 3px solid var(--accent);
    padding: 55px;
    background: #111e30;
}
.note-panel p {
    max-width: 750px;
    margin-block: 25px;
}
.founder-block {
    padding: 40px;
    background: #111e30;
    border: 1px solid #385982;
}
.founder-monogram {
    display: flex;
    justify-content: space-between;
    padding-block: 35px 55px;
    font-size: 7rem;
    line-height: 1;
    font-weight: 300;
    letter-spacing: -0.1em;
    color: var(--bright);
}
.founder-monogram span {
    font-size: 4rem;
}
.founder-block h2 {
    font-size: 2rem;
}
.founder-block p {
    font-size: 0.8rem;
    margin-block: 20px;
}
.wide-art {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    align-items: stretch;
}
.wide-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wide-art > div {
    align-self: center;
    padding: 45px;
}
.contact-aside h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}
.contact-aside > p {
    font-size: 0.9rem;
}
.email-link {
    display: inline-block;
    margin-block: 25px 35px;
    font-size: clamp(1.4rem, 2.5vw, 2.4rem);
    letter-spacing: -0.04em;
    border-bottom: 1px solid var(--bright);
    overflow-wrap: anywhere;
}
.contact-note {
    display: flex;
    align-items: baseline;
    padding-top: 25px;
    margin-top: 40px;
    border-top: 1px solid var(--line);
}
.contact-note p {
    font-size: 0.78rem;
}
.project-form {
    min-width: 0;
    border: 1px solid #3c5980;
    padding: 35px;
    background: #111c2b;
}
.project-form h2 {
    font-size: 2rem;
}
.project-form .form-help {
    margin-block: 20px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
label, legend {
    display: block;
    margin-bottom: 9px;
    font-size: 0.78rem;
    font-weight: 600;
}
input, textarea {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 13px;
    margin-bottom: 22px;
    border: 1px solid #546a85;
    border-radius: 0;
    background: #0d1521;
    color: var(--ink);
    color-scheme: dark;
}
input::placeholder, textarea::placeholder {
    color: #92a6bf;
}
textarea {
    resize: vertical;
}
.optional {
    color: var(--muted);
    font-weight: 400;
}
fieldset {
    margin: 0 0 22px;
    padding: 0;
    min-width: 0;
    border: 0;
}
.choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}
.choice-grid label {
    position: relative;
    margin: 0;
}
.choice-grid input {
    position: absolute;
    left: 12px;
    top: 15px;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--accent);
}
.choice-grid span {
    display: block;
    padding: 13px 10px 13px 38px;
    border: 1px solid #546a85;
    font-weight: 400;
}
.choice-grid input:checked + span {
    background: #14345e;
    border-color: #6ea8fe;
}
.message-preview {
    padding-top: 25px;
    margin-top: 30px;
    border-top: 2px solid var(--accent);
}
.message-preview p {
    font-size: 0.88rem;
    margin-block: 15px;
}
.message-preview textarea {
    font-size: 0.86rem;
}

/* 6. Adaptation mobile et préférences */
@media (min-width: 1600px) {
    .passage-hero {
        min-height: 900px;
    }
}
@media (max-width: 1100px) {
    .container {
        width: calc(100% - 64px);
    }
    .site-nav {
        gap: 22px;
    }
    .passage-hero {
        min-height: 740px;
    }
    .hero-heading {
        grid-column: 2 / -1;
    }
    .hero-summary {
        grid-column: 2 / 8;
    }
    .portal-visual {
        grid-column: 8 / 13;
        align-self: center;
        padding: 25px 15px;
    }
    .portal-window img {
        aspect-ratio: 0.68;
    }
    .portal-orbit {
        inset: 10px 0 35px;
    }
    .portal-orbit span {
        display: none;
    }
    .portal-visual figcaption {
        font-size: 0.55rem;
    }
    .departure-layout, .security-section, .observatory-layout, .platform-split, .split-editorial, .about-story, .migration-layout, .contact-layout {
        gap: 45px;
    }
    .trajectory-heading {
        gap: 35px;
    }
    .trajectory {
        gap: 20px;
    }
    .trajectory h3 {
        font-size: 1.7rem;
    }
    .security-symbol {
        font-size: 8rem;
    }
    .security-symbol b {
        font-size: 6rem;
    }
    .observatory-visual {
        min-height: 380px;
    }
    .observatory-caption {
        bottom: 50px;
    }
}
@media (max-width: 800px) {
    .site-nav {
        gap: 16px;
        font-size: 0.68rem;
    }
    .logo {
        width: 145px;
    }
    .departure-layout, .security-section, .observatory-layout, .platform-split, .migration-layout, .contact-layout {
        grid-template-columns: 1fr;
    }
    .route-panel {
        max-width: 650px;
    }
    .trajectory-heading {
        grid-template-columns: 1fr;
    }
    .trajectory-heading > p {
        max-width: 520px;
    }
    .trajectory {
        grid-template-columns: 1fr 1fr;
    }
    .trajectory article:nth-child(n) {
        padding-top: 0;
    }
    .trajectory article:nth-child(even) {
        padding-top: 50px;
    }
    .security-symbol {
        max-width: 450px;
    }
    .observatory-visual {
        min-height: 440px;
        width: min(100%, 550px);
    }
    .contact-aside {
        max-width: 580px;
    }
    .chapter-heading > .technical-label {
        display: none;
    }
    .human-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .human-detail {
        max-width: 450px;
    }
}
@media (max-width: 700px) {
    .container {
        width: calc(100% - 40px);
    }
    .header-inner {
        flex-wrap: wrap;
        min-height: 78px;
        padding-block: 18px;
        gap: 15px;
    }
    .logo {
        width: 160px;
    }
    .site-nav {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-top: 12px;
        font-size: 1rem;
    }
    .site-nav a {
        display: flex;
        align-items: baseline;
        gap: 18px;
        padding-block: 14px;
        border-top: 1px solid var(--line);
    }
    .js .menu-toggle {
        display: flex;
        gap: 20px;
        padding: 8px 12px;
        font-size: 0.78rem;
        border: 1px solid #546a85;
        background: transparent;
        color: var(--ink);
    }
    .js .site-nav {
        display: none;
    }
    .js .site-nav.is-open {
        display: flex;
    }
    .passage-hero {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto;
        padding-top: 40px;
        min-height: 0;
    }
    .hero-coordinate {
        display: none;
    }
    .hero-heading {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    .hero-heading .eyebrow {
        font-size: 0.57rem;
        letter-spacing: 0.08em;
    }
    .hero-heading h1 {
        font-size: clamp(3.45rem, 12vw, 5.3rem);
        letter-spacing: -0.065em;
    }
    .portal-visual {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: end;
        width: 83%;
        max-width: 420px;
        margin-block: -15px 10px;
        padding: 35px 20px 25px;
    }
    .portal-window img {
        aspect-ratio: 1;
    }
    .portal-orbit {
        inset: 20px 4px 40px;
    }
    .portal-visual figcaption {
        font-size: 0.58rem;
    }
    .hero-summary {
        grid-column: 1 / -1;
        grid-row: 3;
        padding: 10px 0 30px;
        max-width: 520px;
    }
    .hero-summary > p:first-of-type {
        font-size: 1.2rem;
    }
    .hero-bottom {
        grid-row: 4;
        flex-wrap: wrap;
        gap: 15px;
        font-size: 0.56rem;
    }
    .hero-bottom span:nth-child(2) {
        width: 100%;
        order: 3;
    }
    .hero-bottom a {
        margin-left: auto;
    }
    .departure-section, .trajectory-section, .security-section, .observatory-section, .human-section {
        padding-block: 65px;
    }
    .chapter-heading {
        margin-bottom: 40px;
        gap: 15px;
    }
    .chapter-heading .eyebrow {
        font-size: 0.6rem;
    }
    .departure-layout {
        gap: 45px;
    }
    .departure-intro h2 {
        font-size: 4.5rem;
    }
    .departure-intro > p {
        max-width: 450px;
    }
    .route-panel {
        padding: 27px 22px;
    }
    .route-diagram {
        gap: 10px;
        font-size: 0.52rem;
    }
    #scenario-content {
        min-height: 0;
    }
    #scenario-content h3 {
        font-size: 2.15rem;
    }
    .trajectory {
        grid-template-columns: 1fr;
        margin-top: 45px;
        gap: 0;
    }
    .trajectory article:nth-child(n) {
        display: grid;
        grid-template-columns: 48px 1fr;
        gap: 22px;
        padding-block: 28px;
        border-top: 1px solid #b7c8df;
    }
    .trajectory-number {
        font-size: 2.5rem;
        padding: 0;
        margin: 0;
        border: 0;
    }
    .trajectory h3 {
        font-size: 2rem;
        overflow-wrap: normal;
    }
    .trajectory p {
        margin-block: 16px;
    }
    .security-section {
        gap: 40px;
    }
    .security-symbol {
        width: 78%;
        justify-self: center;
        font-size: 6rem;
    }
    .security-symbol b {
        font-size: 5rem;
    }
    .security-symbol small {
        font-size: 0.48rem;
        bottom: 18px;
    }
    .security-copy h2 {
        font-size: 3rem;
    }
    .observatory-layout {
        gap: 45px;
    }
    .observatory-visual {
        min-height: 390px;
    }
    .observatory-caption {
        bottom: 55px;
    }
    .observatory-caption p {
        font-size: 1.2rem;
    }
    .visual-note {
        font-size: 0.48rem;
    }
    .human-statement {
        font-size: clamp(2.65rem, 9.3vw, 4rem);
    }
    .human-section > .eyebrow {
        margin: 0;
    }
    h1 {
        font-size: clamp(2.65rem, 9vw, 4rem);
    }
    h2 {
        font-size: clamp(2.15rem, 7vw, 3.1rem);
    }
    .section, .dark-section, .closing {
        padding-block: 65px;
    }
    .page-intro {
        padding-block: 55px;
    }
    .page-intro .lead {
        font-size: 1rem;
    }
    .split-editorial, .faq, .about-story, .wide-art {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .anchor-links {
        gap: 18px;
        margin-top: 35px;
        font-size: 0.68rem;
    }
    .maintenance-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .large-number {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    .maintenance-grid p {
        max-width: 500px;
    }
    .service-row {
        grid-template-columns: 25px 1fr;
        gap: 18px;
    }
    .service-row p {
        grid-column: 2;
    }
    .console {
        width: calc(100% - 14px);
        padding: 24px;
    }
    .closing > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
    }
    .footer-main, .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
    .footer-bottom {
        gap: 15px;
    }
    .contact-layout {
        padding-block: 45px 65px;
    }
    .project-form {
        padding: 25px 18px;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .note-panel, .founder-block, .wide-art > div {
        padding: 30px 25px;
    }
    .about-story {
        padding-top: 45px;
    }
    .wide-art {
        gap: 0;
    }
}
@media (max-width: 380px) {
    .container {
        width: calc(100% - 32px);
    }
    .portal-visual {
        width: 89%;
    }
    .hero-heading .eyebrow {
        font-size: 0.5rem;
    }
    .departure-controls button {
        font-size: 0.78rem;
        gap: 9px;
    }
    .route-panel {
        padding: 25px 18px;
    }
    .console-top, .console-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    .choice-grid {
        grid-template-columns: 1fr;
    }
    .observatory-visual {
        min-height: 330px;
    }
    .security-symbol {
        width: 90%;
    }
    .technical-label {
        font-size: 0.58rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
    color-scheme: dark;
    background: var(--paper);
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
}
