/* Arc Seuil — landing. Palette satellite AXIONYX, sombre uniquement (garde-fou n°8). Aucun script, aucune ressource tierce. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-var-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050505;
  --surface: #0d0d0d;
  --surface-2: #131211;
  --text: #e8e4de;
  --muted: #8c8c8c;
  --copper: #cc785c;
  --copper-soft: rgba(204, 120, 92, 0.14);
  --gold: #b59660;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --ok: #7fb08a;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  --wrap: 1200px;
  --gutter: 24px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--copper); color: #050505; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 600px) { :root { --gutter: 16px; } body { font-size: 16px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--copper); color: #050505; padding: 8px 14px; border-radius: 999px; z-index: 100; font-weight: 600; }
.skip:focus { left: 12px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.12; margin: 0; color: #f3efe9; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.3rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: #cfcac3; max-width: 40rem; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font: 600 0.96rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn-primary { background: var(--copper); color: #0b0605; }
.btn-primary:hover { background: #d98a6f; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); }
.btn svg { width: 16px; height: 16px; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.9rem; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 5, 5, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.32rem; font-weight: 600; letter-spacing: -0.01em; color: #f3efe9; }
.brand svg { width: 30px; height: 30px; }
.brand small { font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 8px; margin-left: 4px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; color: #bdb8b1; font-size: 0.93rem; font-weight: 500; }
.nav a:hover { color: var(--text); }
.header-cta { margin-left: 4px; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-strong); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 20px; height: 20px; }
.menu[open] summary { background: rgba(255,255,255,0.06); }
.menu-panel { position: absolute; right: 0; top: 54px; width: min(300px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 10px; box-shadow: 0 24px 60px rgba(0,0,0,0.6); }
.menu-panel a { display: block; padding: 12px 14px; text-decoration: none; border-radius: 10px; color: var(--text); }
.menu-panel a:hover { background: rgba(255,255,255,0.05); }
.menu-panel .btn { width: 100%; margin-top: 8px; color: #0b0605; }
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .menu { display: block; }
}
@media (max-width: 400px) { .brand small { display: none; } }

/* Sections */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 128px) 0; border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 16px; max-width: 46rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(204,120,92,0.16), rgba(204,120,92,0.04) 55%, transparent 72%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.status-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px;
  border: 1px solid rgba(204,120,92,0.35); background: var(--copper-soft); color: #e9b9a6; font-size: 0.86rem; font-weight: 500;
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 4px rgba(204,120,92,0.2); }
.hero h1 em { font-style: normal; color: var(--copper); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 8px; padding: 0; list-style: none; color: var(--muted); font-size: 0.9rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 16px; height: 16px; color: var(--gold); }
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
}

/* Bandeau de principes */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pillar { padding: 22px 24px; display: grid; gap: 6px; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar strong { font-family: var(--serif); font-weight: 500; font-size: 1.12rem; color: #f3efe9; }
.pillar span { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3) { border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
}

/* Cartes */
.cards { display: grid; gap: 18px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cards-4 { grid-template-columns: 1fr; } }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0) 40%), var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; align-content: start;
}
.card p { color: #bdb8b1; font-size: 0.97rem; }
.icon-tile { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--copper-soft); border: 1px solid rgba(204,120,92,0.28); color: var(--copper); }
.icon-tile svg { width: 22px; height: 22px; }
.card-art { border-radius: 12px; background: #090909; border: 1px solid var(--line); overflow: hidden; }
.card-art svg { width: 100%; height: auto; }

/* Parcours */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.journey-step { position: relative; display: grid; gap: 16px; align-content: start; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step-head { display: flex; align-items: baseline; gap: 12px; }
.step-num { font-family: var(--serif); font-size: 0.95rem; color: var(--copper); border: 1px solid rgba(204,120,92,0.4); border-radius: 999px; width: 30px; height: 30px; display: grid; place-items: center; flex: none; }
.journey-step h3 { font-size: 1.22rem; }
.journey-step ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.journey-step li { position: relative; padding-left: 20px; font-size: 0.94rem; color: #c3beb7; }
.journey-step li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); border: 1px solid var(--gold); }
@media (max-width: 1080px) { .journey { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .journey { grid-template-columns: 1fr; } }

/* Section à deux colonnes */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.reverse .split-visual { order: -1; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } .split.reverse .split-visual { order: 0; } }
.split-copy { display: grid; gap: 20px; }
.checklist { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: #c9c4bd; }
.checklist svg { width: 20px; height: 20px; color: var(--copper); margin-top: 3px; }
.checklist strong { color: #f0ece6; font-weight: 600; }
.split-visual { background: radial-gradient(closest-side, rgba(181,150,96,0.08), transparent), transparent; }

/* Sécurité */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sec-item { background: var(--surface); padding: 28px; display: grid; gap: 10px; align-content: start; }
.sec-item h3 { font-size: 1.12rem; display: flex; align-items: center; gap: 12px; }
.sec-item h3 svg { width: 20px; height: 20px; color: var(--gold); flex: none; }
.sec-item p { font-size: 0.94rem; color: #b9b4ad; }
@media (max-width: 960px) { .sec-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sec-grid { grid-template-columns: 1fr; } }
.note { margin-top: 18px; font-size: 0.86rem; color: var(--muted); }

/* Intégrations */
.integrations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.integration { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.integration .glyph { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #151413; border: 1px solid var(--line-strong); color: #d8d2ca; }
.integration .glyph svg { width: 22px; height: 22px; }
.integration h3 { font-family: var(--sans); font-size: 0.98rem; font-weight: 600; letter-spacing: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.integration p { font-size: 0.89rem; color: #aaa59e; margin-top: 4px; }
.tag { font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap; }
.tag-v1 { color: #e9b9a6; border-color: rgba(204,120,92,0.4); background: var(--copper-soft); }
.tag-next { color: #d6c39c; border-color: rgba(181,150,96,0.35); }
@media (max-width: 1000px) { .integrations { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .integrations { grid-template-columns: 1fr; } }

/* Cas d'usage */
.usecase { padding: 0; overflow: hidden; gap: 0; }
.usecase .card-art { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.usecase-body { padding: 24px; display: grid; gap: 10px; }
.usecase h3 { font-size: 1.15rem; }

/* Éditions */
.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 860px) { .editions { grid-template-columns: 1fr; } }
.edition { padding: 32px; display: grid; gap: 18px; align-content: start; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.edition.featured { border-color: rgba(204,120,92,0.38); background: linear-gradient(180deg, rgba(204,120,92,0.08), rgba(204,120,92,0) 45%), var(--surface); }
.edition-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.edition h3 { font-size: 1.6rem; }
.edition .price { font-family: var(--serif); font-size: 1.15rem; color: #f3efe9; }
.edition .price span { display: block; font-family: var(--sans); font-size: 0.86rem; color: var(--muted); }
.edition ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.edition li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 0.95rem; color: #c9c4bd; }
.edition li svg { width: 18px; height: 18px; color: var(--copper); margin-top: 3px; }
.edition .btn { justify-self: start; }

/* Feuille de route */
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.roadmap li { position: relative; padding: 22px 20px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 8px; align-content: start; }
.roadmap li.done { border-color: rgba(127,176,138,0.4); }
.roadmap li.next { border-color: rgba(204,120,92,0.4); }
.roadmap .lot { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.roadmap .lot i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--muted); display: inline-block; }
.roadmap li.done .lot { color: var(--ok); }
.roadmap li.done .lot i { background: var(--ok); border-color: var(--ok); }
.roadmap li.next .lot { color: var(--copper); }
.roadmap li.next .lot i { border-color: var(--copper); box-shadow: 0 0 0 3px rgba(204,120,92,0.2); }
.roadmap strong { font-family: var(--serif); font-weight: 500; font-size: 1.08rem; color: #f3efe9; line-height: 1.3; }
.roadmap p { font-size: 0.88rem; color: #a9a49d; }
@media (max-width: 1080px) { .roadmap { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .roadmap { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 4px; font-family: var(--serif); font-size: 1.16rem; color: #f0ece6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--copper); border-bottom: 1.5px solid var(--copper); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq .answer { padding: 0 4px 24px; color: #bdb8b1; max-width: 46rem; display: grid; gap: 10px; }

/* Appel final */
.cta-final { text-align: center; }
.cta-box { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid rgba(204,120,92,0.3); padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 64px); background: radial-gradient(120% 140% at 50% 0%, rgba(204,120,92,0.18), rgba(5,5,5,0) 60%), var(--surface); display: grid; gap: 20px; justify-items: center; }
.cta-box .lead { margin: 0 auto; }
.cta-box .hero-actions { justify-content: center; }
.cta-arch { width: 84px; height: 84px; color: var(--copper); }

/* Pied */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h2 { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #bdb8b1; margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: #a9a49d; }
.footer-grid a:hover { color: var(--text); }
.footer-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Pages légales */
.legal { padding: clamp(48px, 8vw, 96px) 0; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 12px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.legal p, .legal li { color: #c3beb7; }
.legal p + p { margin-top: 12px; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 20px; margin: 0; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; color: var(--text); }
@media (max-width: 600px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 10px; } }
.legal a { color: #e9b9a6; }
.back { display: inline-flex; margin-bottom: 28px; color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.back:hover { color: var(--text); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Utilitaires (aucun style inline : CSP style-src 'self') */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.pillars-wrap { margin-top: -24px; position: relative; }
.section.no-rule { border-top: 0; }
.cta-final.no-rule { padding-top: 0; }
.journey { list-style: none; margin: 0; padding: 0; }
.inline-link { color: #e9b9a6; }
.mt { margin-top: 16px; }
.mt-s { margin-top: 8px; }
.footer-tagline { margin-top: 14px; max-width: 26rem; }
.notfound { text-align: center; display: grid; gap: 18px; justify-items: center; }
.notfound .cta-arch { width: 72px; height: 72px; }

/* Langues */
.lang-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; }
.lang-switch a, .menu-langs a, .footer-langs a { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-decoration: none; color: var(--muted); padding: 5px 9px; border-radius: 999px; }
.lang-switch a:hover, .footer-langs a:hover { color: var(--text); }
.lang-switch a[aria-current], .menu-langs a[aria-current] { background: rgba(255,255,255,0.08); color: var(--text); }
.menu-langs { display: flex; gap: 6px; padding: 8px 8px 2px; }
.menu-langs a { font-size: 0.85rem; padding: 8px 14px; border: 1px solid var(--line-strong); }
.footer-langs { display: inline-flex; gap: 4px; }
.footer-langs a { padding: 2px 6px; }
.footer-langs a[aria-current] { color: var(--text); }
@media (max-width: 960px) { .lang-switch { display: none; } }

/* Libellés longs (allemand) : les boutons passent à la ligne sur mobile, césure des titres */
@media (max-width: 600px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 11px; padding-bottom: 11px; }
}
html[lang="de"] h1, html[lang="de"] h2, html[lang="de"] h3 { -webkit-hyphens: auto; hyphens: auto; }
