/* ============================================================
   Aerialix — système de design « Aéronautique de nuit »
   Fond Night Deep, alternance sombre/clair ~60/40.
   Tokens contextuels : --fg / --fg-soft / --rule / --accent
   se re-scopent automatiquement dans .on-light.
   ============================================================ */

@font-face {
    font-family: "Space Grotesk";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("assets/fonts/space-grotesk-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Space Grotesk";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("assets/fonts/space-grotesk-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("assets/fonts/inter-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url("assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url("assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Direction 2 — tokens du plan */
    --bg: #0b1a1d;
    --bg-raise: #112427;
    --bg-light: #f3f1ea;
    --bg-light-deep: #e8e5dc;
    --white: #fffef9;
    --ink: #142326;
    --ink-soft: #506064;
    --cta: #e36a3f;
    --accent-dark: #25a9a8;   /* sur fond sombre */
    --accent-light: #07747a;  /* sur fond clair — ≥4,5:1 sur Paper */

    /* Tokens contextuels — valeurs « sur sombre » par défaut */
    --fg: #e9efee;
    --fg-soft: #aab9b7;
    --rule: rgba(255, 255, 255, 0.14);
    --accent: var(--accent-dark);
    --panel: var(--bg-raise);

    --shell: min(1360px, calc(100vw - 96px));
    --header-height: 82px;
    --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
    --font-body: Inter, "Segoe UI", Arial, sans-serif;
    --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

.on-light {
    --fg: var(--ink);
    --fg-soft: var(--ink-soft);
    --rule: rgba(20, 35, 38, 0.18);
    --accent: var(--accent-light);
    --panel: var(--white);
    color: var(--fg);
    background: var(--bg-light);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }

body {
    margin: 0;
    color: var(--fg);
    background: var(--bg);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }

::selection { color: var(--bg); background: var(--accent-dark); }

a:focus-visible,
button:focus-visible,
summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.shell { width: var(--shell); margin-inline: auto; }

/* ---------- Typographie ---------- */

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 550;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-wrap: balance;
}

h1 { font-size: clamp(3.5rem, 2.5rem + 2.8vw, 4.5rem); }   /* 56–72 px */
h2 { font-size: clamp(2.25rem, 1.9rem + 1vw, 2.5rem); }    /* 36–40 px */
h3 { font-size: 1.5rem; }                                   /* 24 px */

.lead { font-size: clamp(1.05rem, 1vw + .8rem, 1.2rem); line-height: 1.7; }

p { max-width: 68ch; }

/* Étiquette mono — labels techniques, eyebrows, légendes */
.mono-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--accent);
    font: 500 0.8125rem/1.4 var(--font-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mono-label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.mono-label--bare::before { content: none; }

/* Étiquette « objectif de conception » — composant d'honnêteté réutilisable */
.design-goal {
    display: inline-block;
    padding: 4px 9px;
    color: var(--fg-soft);
    border: 1px solid var(--rule);
    font: 500 0.75rem/1.4 var(--font-mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---------- Skip link ---------- */

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 15px;
    color: var(--bg);
    background: var(--accent-dark);
    font-weight: 600;
    transform: translateY(-180%);
    transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    z-index: 100;
    inset: 0 0 auto;
    height: var(--header-height);
    color: #e9efee;
    border-bottom: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease, height .3s ease;
}

.site-header.is-scrolled {
    height: 68px;
    background: rgba(11, 26, 29, .92);
    border-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
}

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 26px; height: 30px; }
.brand-name { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; letter-spacing: .22em; }

.desktop-nav { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 46px); }

.desktop-nav a {
    position: relative;
    font: 500 0.78rem/1.4 var(--font-mono);
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: var(--accent-dark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.desktop-nav a[aria-current="page"] { color: var(--accent-dark); }
.desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 20px; }

.language-switch { display: flex; align-items: center; gap: 5px; color: #aab9b7; font-family: var(--font-mono); font-size: .72rem; }
.language-button { padding: 3px; color: inherit; background: transparent; border: 0; cursor: pointer; opacity: .7; }
.language-button.is-active { color: #e9efee; opacity: 1; font-weight: 700; }

.header-cta {
    padding: 11px 16px;
    color: #0b1a1d;
    background: var(--cta);
    font: 600 0.75rem/1.3 var(--font-mono);
    letter-spacing: .05em;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    transition: filter .2s ease;
}

.header-cta:hover { filter: brightness(1.08); }

.menu-toggle { display: none; width: 40px; height: 40px; padding: 9px; color: inherit; background: none; border: 1px solid rgba(255,255,255,.25); cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 1px; margin: 5px 0; background: currentColor; transition: transform .25s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
    position: fixed;
    z-index: 90;
    inset: var(--header-height) 0 auto;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    padding: 36px 24px;
    color: var(--fg);
    background: var(--bg-raise);
    overflow-y: auto;
}
.mobile-menu nav { display: grid; }
.mobile-menu a { display: flex; align-items: baseline; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.mobile-menu a span { color: var(--accent-dark); font: 500 .72rem var(--font-mono); }
.mobile-menu a b { font: 550 clamp(1.4rem, 7vw, 2.2rem)/1.05 var(--font-display); letter-spacing: -.01em; }

/* ---------- Boutons ---------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    padding: 14px 24px;
    font: 600 0.8rem/1.3 var(--font-mono);
    letter-spacing: .05em;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    transition: filter .2s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.button-cta { color: #0b1a1d; background: var(--cta); border: 1px solid var(--cta); }
.button-cta:hover { filter: brightness(1.08); }
.button-ghost { color: var(--fg); background: transparent; border: 1px solid var(--rule); }
.button-ghost:hover { border-color: var(--fg-soft); }

.text-link {
    display: inline-flex;
    align-items: baseline;
    gap: 9px;
    color: var(--accent);
    font: 500 0.8rem/1.5 var(--font-mono);
    letter-spacing: .05em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* ---------- Sections ---------- */

.section { padding: clamp(90px, 11vw, 150px) 0; }
.section-raise { background: var(--bg-raise); }

.section-heading { max-width: 900px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-heading h2 { margin-top: 22px; }
.section-heading > p:not(.mono-label) { margin-top: 20px; color: var(--fg-soft); line-height: 1.7; }

/* ---------- Hero (index) ---------- */

.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: max(640px, 92vh);
    padding: calc(var(--header-height) + 60px) 0 clamp(56px, 8vh, 96px);
    isolation: isolate;
    overflow: hidden;
}

.hero-photo {
    position: absolute;
    z-index: -2;
    inset: 0;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    filter: saturate(.6) contrast(1.05) brightness(.92);
}

/* Voile : asseoir le texte dans la palette, jamais violet-bleu */
.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(to top, rgba(11, 26, 29, .96) 0%, rgba(11, 26, 29, .55) 42%, rgba(11, 26, 29, .18) 75%, rgba(11, 26, 29, .35) 100%);
}

.hero-copy { max-width: 1080px; }
.hero-copy h1 { max-width: 22ch; }
.hero-copy h1 { margin-top: 24px; }
.hero-lead { max-width: 640px; margin-top: 26px; color: #cdd8d6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 38px; }

.hero-caption {
    margin-top: clamp(36px, 5vh, 56px);
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #aab9b7;
    font: 400 0.75rem/1.5 var(--font-mono);
    letter-spacing: .04em;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Fade-up du hero au chargement — un seul moment, 400 ms */
@keyframes fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

.fade-up { animation: fade-up .4s var(--ease) both; }
.fade-up-1 { animation-delay: .08s; }
.fade-up-2 { animation-delay: .16s; }
.fade-up-3 { animation-delay: .24s; }

/* ---------- Page hero (pages intérieures) ---------- */

.page-hero { padding: calc(var(--header-height) + clamp(64px, 10vh, 110px)) 0 clamp(56px, 7vw, 90px); }
.page-hero h1 { max-width: 950px; margin-top: 24px; }
.page-hero .lead { max-width: 640px; margin-top: 26px; color: var(--fg-soft); }

/* ---------- Signature : ligne d'altitude ---------- */

.altitude-scope { position: relative; }

@media (min-width: 1181px) {
    .altitude-scope { padding-left: clamp(64px, 6vw, 96px); }
}

.altitude-rail {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 1px;
    background: var(--rule);
}

.altitude-rail span {
    position: relative;
    display: block;
    color: var(--fg-soft);
    font: 400 0.6875rem/1 var(--font-mono);
    letter-spacing: .06em;
    white-space: nowrap;
    padding-left: 14px;
    transform: translateY(-0.5em);
}

.altitude-rail span:last-child { transform: translateY(.15em); }

.altitude-rail span::before {
    content: "";
    position: absolute;
    top: 0.5em;
    left: 0;
    width: 9px;
    height: 1px;
    background: var(--fg-soft);
}

/* ---------- Photos : bandeaux, cadres, légendes ---------- */

.photo-band { position: relative; overflow: hidden; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 21 / 9; filter: saturate(.6) contrast(1.05); }

.media-figure { margin: 0; }

.media-frame { position: relative; overflow: hidden; background: var(--panel); border: 1px solid var(--rule); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; filter: saturate(.62) contrast(1.05); }
.media-frame--wide img { aspect-ratio: 16 / 9; }
.media-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 26, 29, .28), transparent 45%);
    pointer-events: none;
}

.media-caption {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--rule);
    color: var(--fg-soft);
    font: 400 0.72rem/1.55 var(--font-mono);
    letter-spacing: .04em;
    text-transform: uppercase;
}

.media-caption b { flex: 0 0 auto; color: var(--fg); font-weight: 500; }

/* ---------- Index : problème client ---------- */

.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }
.problem-grid article { display: flex; flex-direction: column; gap: 16px; min-height: 250px; padding: clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 32px); background: var(--bg); }
.problem-grid article > span { color: var(--accent); font: 500 .75rem var(--font-mono); letter-spacing: .08em; }
.problem-grid h3 { max-width: 20ch; }
.problem-grid p { margin-top: auto; color: var(--fg-soft); font-size: .92rem; line-height: 1.65; }

/* ---------- Index : solution ---------- */

.solution-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: clamp(48px, 6vw, 110px); align-items: start; }
.solution-copy > p:not(.mono-label) { margin-top: 20px; color: var(--fg-soft); line-height: 1.72; }
.solution-copy h2 { margin-top: 22px; }
.solution-copy .text-link { margin-top: 26px; }

.spec-goals { display: grid; border-top: 1px solid var(--rule); }
.spec-goals > div { display: grid; grid-template-columns: minmax(140px, .8fr) 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.spec-goals dt { color: var(--fg-soft); font: 400 .75rem/1.5 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.spec-goals dd { font: 500 1.25rem/1.25 var(--font-display); letter-spacing: -.01em; }
.spec-goals dd small { display: block; margin-top: 4px; color: var(--fg-soft); font: 400 .78rem/1.5 var(--font-body); }
.spec-goals-note { margin-top: 18px; }

/* ---------- Traction (une ligne) ---------- */

.traction { padding: clamp(40px, 5vw, 60px) 0; border-block: 1px solid var(--rule); background: var(--bg-raise); }
.traction-inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px 28px; }
.traction p { color: var(--fg); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; font-family: var(--font-display); font-weight: 500; }

/* ---------- Preuve (section claire) ---------- */

.aeac-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px 32px;
    padding: clamp(24px, 3vw, 36px) clamp(22px, 3vw, 40px);
    background: var(--panel);
    border: 1px solid var(--rule);
    border-left: 3px solid var(--cta);
}

.aeac-banner strong { font: 550 clamp(1.4rem, 2.4vw, 1.9rem)/1.2 var(--font-display); letter-spacing: -.015em; }
.aeac-banner span { color: var(--fg-soft); font: 400 .78rem/1.5 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }

.proof-vignettes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.6vw, 36px); margin-top: clamp(32px, 4vw, 48px); }

.affiliations {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 14px 44px;
    margin-top: clamp(36px, 5vw, 56px);
    padding-top: 26px;
    border-top: 1px solid var(--rule);
}

.affiliations > span:first-child { color: var(--fg-soft); font: 400 .72rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.affiliations b { color: var(--fg-soft); font: 500 .95rem/1.4 var(--font-display); letter-spacing: .04em; }

/* ---------- Parcours (deux cartes) ---------- */

.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.2vw, 28px); }

.path-card {
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: clamp(26px, 3vw, 42px);
    background: var(--panel);
    border: 1px solid var(--rule);
    border-top: 3px solid var(--accent);
}

.path-card > span { color: var(--accent); font: 500 .75rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.path-card h3 { margin-top: 18px; max-width: 24ch; }
.path-card p { margin-top: 14px; color: var(--fg-soft); font-size: .93rem; line-height: 1.68; }
.path-card .text-link { margin-top: auto; padding-top: 26px; }

/* ---------- Ambitions (bloc discret) ---------- */

.ambitions { padding: clamp(56px, 7vw, 80px) 0; background: var(--bg); border-top: 1px solid var(--rule); }
.ambitions-inner { max-width: 760px; }
.ambitions h2 { font-size: clamp(1.5rem, 2vw, 1.85rem); }
.ambitions p { margin-top: 16px; color: var(--fg-soft); font-size: .92rem; line-height: 1.7; }

/* ---------- CTA final ---------- */

.final-cta { padding: clamp(80px, 10vw, 130px) 0; background: var(--bg-raise); border-top: 1px solid var(--rule); }
.final-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.final-cta h2 { max-width: 20ch; margin-top: 14px; }
.final-cta .final-cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.final-cta-email { color: var(--fg-soft); font: 400 .82rem/1.5 var(--font-mono); }
.final-cta-email a { color: var(--fg); text-underline-offset: 4px; }

/* ---------- Listes techniques (capacités, implications) ---------- */

.tech-list { list-style: none; border-top: 1px solid var(--rule); }
.tech-list li { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 12px 28px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.tech-list li > span { color: var(--accent); font: 500 .75rem/1.6 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.tech-list h3 { font-size: 1.25rem; }
.tech-list p { margin-top: 8px; color: var(--fg-soft); font-size: .92rem; line-height: 1.65; }

/* ---------- Étapes (Cas B) — révélation au scroll avec stagger ---------- */

.steps { list-style: none; counter-reset: step; display: grid; gap: clamp(16px, 2vw, 24px); }

.step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: clamp(18px, 3vw, 40px);
    padding: clamp(24px, 3vw, 38px);
    background: var(--panel);
    border: 1px solid var(--rule);
}

.step > span { color: var(--accent); font: 500 clamp(1.6rem, 2.4vw, 2.2rem)/1 var(--font-display); letter-spacing: -.02em; }
.step h3 { font-size: 1.35rem; }
.step p { margin-top: 12px; color: var(--fg-soft); font-size: .93rem; line-height: 1.68; }
.step .design-goal { margin-top: 14px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger-1 { transition-delay: .1s; }
.reveal-stagger-2 { transition-delay: .2s; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 860px; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }

.faq-item summary {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
    cursor: pointer;
    list-style: none;
    font: 500 clamp(1.05rem, 1.4vw, 1.2rem)/1.4 var(--font-display);
    letter-spacing: -.01em;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: 0 0 auto; color: var(--accent); font: 400 1.3rem/1 var(--font-mono); transition: transform .25s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > div { padding: 0 0 26px; }
.faq-item p { max-width: 66ch; color: var(--fg-soft); font-size: .95rem; line-height: 1.7; }
.faq-item p + p { margin-top: 12px; }

/* ---------- Spec panel (Antilope, plateformes) ---------- */

.platform-panel { padding: clamp(28px, 4vw, 56px); background: var(--panel); border: 1px solid var(--rule); }
.platform-panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 14px 28px; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
.platform-panel-head h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); letter-spacing: -.025em; }
.platform-panel-head > span { color: var(--fg-soft); font: 400 .75rem/1.5 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.platform-panel > p { margin-top: 22px; color: var(--fg-soft); line-height: 1.7; }

.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 28px; background: var(--rule); border: 1px solid var(--rule); }
.spec-grid > div { padding: 20px; background: var(--panel); }
.spec-grid dt { color: var(--fg-soft); font: 400 .72rem/1.5 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.spec-grid dd { margin-top: 8px; font: 500 1.3rem/1.25 var(--font-display); }
.spec-grid dd small { display: block; margin-top: 3px; color: var(--fg-soft); font: 400 .76rem/1.5 var(--font-body); }

/* ---------- Projets : fiche plateforme ---------- */

.project-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 48px); align-items: start; }
.project-feature + .project-feature { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--rule); }
.project-feature--flip > .media-figure { order: 2; }
.project-copy > h3 { margin-top: 16px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.project-copy > p:not(.mono-label) { margin-top: 16px; color: var(--fg-soft); font-size: .95rem; line-height: 1.7; }

.project-specs { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
.project-specs div { display: flex; align-items: baseline; gap: 8px; }
.project-specs dt { color: var(--fg-soft); font: 400 .7rem/1.5 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.project-specs dd { font: 500 1.05rem/1.3 var(--font-display); }

.attribution { margin-top: 20px; color: var(--fg-soft); font: 400 .72rem/1.6 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }

/* ---------- Équipe ---------- */

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }
.person { border-top: 1px solid var(--rule); }
.person-photo { position: relative; margin-top: 16px; overflow: hidden; background: var(--panel); }
.person-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; filter: saturate(.7); }
.person-info { padding: 18px 0; }
.person-info h3 { font-size: 1.3rem; }
.person-info > span { display: block; margin-top: 5px; color: var(--accent); font: 500 .72rem/1.5 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.person-info p { margin-top: 12px; color: var(--fg-soft); font-size: .88rem; line-height: 1.6; }

.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.support-grid > div { min-height: 170px; padding: clamp(22px, 2.6vw, 32px); background: var(--bg); }
.on-light .support-grid > div { background: var(--panel); }
.support-grid span { color: var(--accent); font: 500 .72rem/1.5 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.support-grid strong { display: block; margin-top: 12px; font: 500 1.25rem/1.3 var(--font-display); }
.support-grid p { margin-top: 6px; color: var(--fg-soft); font-size: .85rem; line-height: 1.6; }

.notice-box {
    display: grid;
    grid-template-columns: minmax(140px, .3fr) 1fr;
    gap: 24px;
    margin-top: clamp(32px, 4vw, 48px);
    padding: clamp(22px, 3vw, 32px);
    background: var(--panel);
    border: 1px solid var(--rule);
    border-left: 3px solid var(--cta);
}

.notice-box > span { color: var(--accent); font: 500 .72rem/1.6 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.notice-box p { color: var(--fg-soft); font-size: .88rem; line-height: 1.65; }

/* ---------- Contact ---------- */

.contact-main { padding: calc(var(--header-height) + clamp(56px, 9vh, 100px)) 0 clamp(70px, 9vw, 120px); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: clamp(48px, 7vw, 130px); align-items: start; }
.contact-heading h1 { margin-top: 24px; }
.contact-heading > p:not(.mono-label) { max-width: 560px; margin-top: 24px; color: var(--fg-soft); line-height: 1.72; }

.contact-email-block { margin-top: 34px; padding: 20px 0; border-block: 1px solid var(--rule); }
.contact-email-block span { display: block; color: var(--fg-soft); font: 400 .7rem/1.5 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.contact-email-block a { display: inline-block; margin-top: 8px; font: 500 clamp(1.05rem, 1.6vw, 1.35rem)/1.4 var(--font-display); text-decoration-color: var(--accent); text-underline-offset: 5px; }

.contact-mini-faq { margin-top: 40px; }
.contact-mini-faq .faq-list { border-top-color: var(--rule); }

.contact-card { padding: clamp(24px, 3vw, 38px); background: var(--panel); border: 1px solid var(--rule); }
.contact-card > p { color: var(--fg-soft); font-size: .92rem; line-height: 1.7; }

.intake-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--fg-soft); font: 500 .72rem/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.intake-form input, .intake-form select, .intake-form textarea { width: 100%; padding: 12px 14px; color: var(--fg); font: 400 .92rem var(--font-body); background: rgba(255, 255, 255, .04); border: 1px solid var(--rule); border-radius: 0; transition: border-color .25s ease, background .25s ease; }
.intake-form textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.intake-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent-dark) 50%), linear-gradient(135deg, var(--accent-dark) 50%, transparent 50%); background-position: calc(100% - 18px) center, calc(100% - 13px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.intake-form input::placeholder, .intake-form textarea::placeholder { color: var(--fg-soft); opacity: .7; }
.intake-form input:hover, .intake-form select:hover, .intake-form textarea:hover { border-color: rgba(255, 255, 255, .32); }
.intake-form input:focus, .intake-form select:focus, .intake-form textarea:focus { border-color: var(--accent-dark); background: rgba(255, 255, 255, .06); }
.intake-form input:focus-visible, .intake-form select:focus-visible, .intake-form textarea:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
.intake-form select option { color: var(--ink); background: var(--white); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--cta); }
.intake-submit { grid-column: 1 / -1; justify-content: center; width: 100%; margin-top: 6px; }
.intake-status { grid-column: 1 / -1; margin: 0; min-height: 1.2em; color: var(--fg-soft); font-size: .82rem; line-height: 1.5; }
.intake-status.is-error { color: #f0a98c; }
.intake-status.is-ok { color: #8fe0bd; }
.contact-meta { display: flex; justify-content: space-between; gap: 15px; margin-top: 22px; color: var(--fg-soft); font: 400 .68rem/1.6 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }

/* ---------- Footer ---------- */

.site-footer { padding: 60px 0 24px; color: #d3dcda; background: #071416; border-top: 1px solid rgba(255,255,255,.1); }
.footer-main { display: grid; grid-template-columns: 1.2fr 1fr 1fr; align-items: start; gap: 40px; padding-bottom: 44px; }
.footer-main .brand { color: var(--white); }
.footer-main > p { max-width: 340px; color: #aab9b7; font-size: .85rem; line-height: 1.65; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; }
.footer-links a { color: #ced7d5; font-size: .78rem; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; padding-top: 20px; color: #91a3a0; border-top: 1px solid rgba(255,255,255,.12); font: 400 .68rem/1.6 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
    :root { --shell: min(calc(100% - 56px), 1120px); }
    .desktop-nav { display: none; }
    .menu-toggle { display: block; }
    .altitude-rail { display: none; }
}

@media (max-width: 900px) {
    :root { --header-height: 70px; }
    .header-cta { display: none; }
    .hero { min-height: 560px; }
    .solution-layout { grid-template-columns: 1fr; gap: 40px; }
    .problem-grid { grid-template-columns: 1fr; }
    .problem-grid article { min-height: 0; }
    .proof-vignettes { grid-template-columns: 1fr; }
    .paths-grid { grid-template-columns: 1fr; }
    .path-card { min-height: 0; }
    .spec-grid { grid-template-columns: 1fr 1fr; }
    .project-feature { grid-template-columns: 1fr; }
    .project-feature--flip > .media-figure { order: 0; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .support-grid { grid-template-columns: 1fr; }
    .support-grid > div { min-height: 0; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-card { max-width: 680px; }
    .final-cta-inner { flex-direction: column; align-items: flex-start; }
    .tech-list li { grid-template-columns: 1fr; gap: 8px; }
    .notice-box { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 620px) {
    :root { --shell: calc(100% - 32px); }
    .brand-name { font-size: .9rem; }
    .header-actions { gap: 12px; }
    h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
    h2 { font-size: clamp(1.8rem, 7.4vw, 2.2rem); }
    .hero { padding-bottom: 44px; }
    .hero-actions .button { width: 100%; }
    .hero-caption { flex-direction: column; gap: 6px; }
    .section { padding: 76px 0; }
    .photo-band img { aspect-ratio: 16 / 10; }
    .step { grid-template-columns: 1fr; gap: 12px; }
    .spec-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .aeac-banner { flex-direction: column; }
    .footer-main { grid-template-columns: 1fr; }
    .footer-links { max-width: 320px; }
    .footer-bottom { flex-direction: column; }
    .intake-form { grid-template-columns: 1fr; }
    .media-caption { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .reveal { opacity: 1; transform: none; }
    .fade-up { animation: none; }
}

/* ============================================================
   MODE PRODUIT — interrupteur unique
   ============================================================
   Le site a deux visages :

   · MODE COMPLET (bloc ci-dessous commenté)
     Le site normal. On y présente autant le produit de lavage
     que le développement de systèmes sur mesure pour un client.

   · MODE PRODUIT (bloc ci-dessous actif)
     Aerialix ne se présente QUE comme un concepteur-fabricant
     de son propre produit matériel. Tout ce qui pourrait se lire
     comme une offre de services, de consultation ou de
     développement à contrat disparaît. C'est le visage exigé par
     les programmes de type « Fusion for Startups », qui excluent
     explicitement les fournisseurs de services et les agences.

   POUR BASCULER : commenter / décommenter les trois règles
   marquées ci-dessous. Rien d'autre à toucher, sur aucune page.

   Comment ça marche :
   · [data-service]      → masqué en mode produit (et retiré du DOM par script.js)
   · [data-product-only] → visible SEULEMENT en mode produit
   · data-hw-fr / data-hw-en → texte de remplacement en mode produit
   · --hardware-focus    → drapeau lu par script.js (textes, <title>, méta)
   ============================================================ */

[data-product-only] { display: none; }

/* ─── MODE PRODUIT : ACTIF ─── (commenter les 3 règles pour revenir au site complet) */
:root { --hardware-focus: 1; }
[data-service] { display: none !important; }
[data-product-only] { display: revert; }
/* ─── fin du mode produit ─── */
