/* Groupe Tercium — système de design (refonte 2026) */

:root {
  --bg: #07090a;
  --bg-2: #0a0d0e;
  --card: #0d1112;
  --deep: #0e3f41;
  --lime: #c6d93a;
  --lime-h: #d7e85a;
  --teal: #3fb5b0;
  --teal-l: #8fd9d4;
  --text: #e8ecea;
  --soft: #b9c2bf;
  --muted: #9aa4a1;
  --dim: #6b7673;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.08);
  --line-3: rgba(255, 255, 255, 0.14);
  --line-4: rgba(255, 255, 255, 0.16);
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --px: clamp(18px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--bg); }
input::placeholder, textarea::placeholder { color: #5b6563; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 500;
}
.skip-link:focus { top: 12px; color: var(--bg); }

/* ---------- Mise en page ---------- */
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 var(--px); }
.wrap--narrow { max-width: 960px; }
.wrap--article { max-width: 780px; padding: 0 24px; }

.sec { padding: clamp(72px, 9vw, 112px) 0; border-bottom: 1px solid var(--line); }
.sec--lg { padding: clamp(80px, 10vw, 128px) 0; }
.sec--md { padding: clamp(64px, 8vw, 96px) 0; }
.sec--alt { background: var(--bg-2); }
.sec--deep { background: var(--deep); }
.sec--lime { background: var(--lime); color: #0b1210; border-bottom: 0; }
.sec--nb { border-bottom: 0; }

.grid {
  display: grid;
  gap: var(--gap, 12px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 300px)), 1fr));
}
.grid--fill { grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 300px)), 1fr)); }
.split {
  display: grid;
  gap: var(--gap, 56px);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 480px)), 1fr));
}
.split--start { align-items: start; }
.split--end { align-items: end; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 18px); }
.row { display: flex; flex-wrap: wrap; gap: var(--gap, 12px); align-items: center; }
.row--between { justify-content: space-between; }
.row--center { justify-content: center; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.flexcols { display: flex; flex-wrap: wrap; gap: var(--gap, 56px); align-items: flex-start; }
.col-main { flex: 3 1 520px; min-width: 0; }
.col-side { flex: 1 1 280px; min-width: 0; }
.sticky { position: sticky; top: 96px; }

.mt-6 { margin-top: 6px; } .mt-8 { margin-top: 8px; } .mt-10 { margin-top: 10px; } .mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; } .mt-20 { margin-top: 20px; } .mt-24 { margin-top: 24px; } .mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; } .mt-48 { margin-top: 48px; } .mt-56 { margin-top: 56px; }
.mt-auto { margin-top: auto; }
.mb-24 { margin-bottom: 24px; } .mb-40 { margin-bottom: 40px; } .mb-48 { margin-bottom: 48px; } .mb-56 { margin-bottom: 56px; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mw-460 { max-width: 460px; } .mw-500 { max-width: 500px; } .mw-520 { max-width: 520px; } .mw-560 { max-width: 560px; }
.mw-600 { max-width: 600px; } .mw-640 { max-width: 640px; } .mw-720 { max-width: 720px; } .mw-820 { max-width: 820px; } .mw-860 { max-width: 860px; }

/* ---------- Typographie ---------- */
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 12px; color: var(--teal); letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow--lime { color: var(--lime); }
.eyebrow--teal-l { color: var(--teal-l); }
.eyebrow--ink { color: #0b1210; }
.eyebrow--dim { color: var(--dim); font-size: 11px; }
.h1 { font-size: clamp(46px, 6vw, 96px); line-height: 0.95; letter-spacing: -0.05em; font-weight: 600; text-wrap: balance; }
.h2 { font-size: clamp(36px, 4vw, 60px); line-height: 1; letter-spacing: -0.045em; font-weight: 600; margin-top: 16px; text-wrap: balance; }
.h2--xl { font-size: clamp(40px, 4.4vw, 68px); margin-top: 18px; }
.h2--sm { font-size: clamp(32px, 3.4vw, 52px); }
.h1 .m, .h2 .m, .m { color: var(--dim); }
.lead { font-size: 17px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.lead--lg { font-size: 19px; line-height: 1.55; }
.lead--sm { font-size: 16px; }
.paras { display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.65; color: var(--muted); }
.paras--sm { gap: 16px; font-size: 16px; }
.c-text { color: var(--text); } .c-soft { color: var(--soft); } .c-muted { color: var(--muted); } .c-dim { color: var(--dim); }
.c-lime { color: var(--lime); } .c-teal { color: var(--teal); }
.k { font-family: var(--mono); font-size: 12px; color: var(--lime); }
.k--sm { font-size: 11px; }
.t-17 { font-size: 17px; } .t-16 { font-size: 16px; } .t-15 { font-size: 15px; } .t-14 { font-size: 14px; } .t-13 { font-size: 13px; }
.title-18 { font-size: 18px; font-weight: 600; }
.title-20 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.title-22 { font-size: 22px; font-weight: 600; letter-spacing: -0.025em; }
.title-24 { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.title-26 { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.title-28 { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.desc { font-size: 14px; line-height: 1.55; color: var(--muted); }
.desc--15 { font-size: 15px; }

/* ---------- Cartes, cellules ---------- */
.card { background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; }
.card--16 { border-radius: 16px; }
.card--20 { border-radius: 20px; }
.card--pad { padding: 26px; }
.card--pad-sm { padding: 22px; }
.card--flex { display: flex; flex-direction: column; }
.card--clip { overflow: hidden; }
a.card, .card--link { color: var(--text); transition: border-color .2s, background .2s; }
a.card:hover, .card--link:hover { border-color: rgba(63, 181, 176, 0.5); color: var(--text); }
a.card--lime:hover { border-color: rgba(198, 217, 58, 0.5); }
.card--accent { border-color: rgba(198, 217, 58, 0.35); }

.cells {
  display: grid;
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 240px)), 1fr));
}
.cells--fill { grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--min, 240px)), 1fr)); }
.cells--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 14px; }
.cell { background: var(--bg); padding: 28px; }
.cells--alt > .cell { background: var(--bg-2); }
.cells--card > .cell { background: var(--card); }
.cell--sm { padding: 20px; }
.cell--hover { transition: background .2s; }
.cell--hover:hover { background: var(--card); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--line-2); }
.facts > div { padding: 28px 24px 0 0; }
.fact-v { font-size: clamp(34px, 3.4vw, 52px); font-weight: 600; letter-spacing: -0.045em; margin-top: 10px; }
.fact-v--xl { font-size: clamp(44px, 4.6vw, 72px); letter-spacing: -0.05em; line-height: 1; margin-top: 0; }

.lines { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.line { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 28px 0; border-bottom: 1px solid var(--line-2); align-items: baseline; }
.line--sm { padding: 18px 0; gap: 6px 24px; border-bottom-color: var(--line); }
.line--kv { justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 15px; flex-wrap: nowrap; }

/* ---------- Étiquettes, badges ---------- */
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-family: var(--mono); font-size: 12px; color: var(--soft);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2);
  padding: 4px 8px; border-radius: 6px; white-space: nowrap;
}
.tag--sm { font-size: 11px; }
.tag--plain { background: none; border-color: rgba(255, 255, 255, 0.1); }
.tag--teal { color: var(--text); background: rgba(63, 181, 176, 0.1); border-color: rgba(63, 181, 176, 0.25); padding: 5px 10px; font-size: 13px; }
.tag--lime { color: var(--lime); background: none; border-color: rgba(198, 217, 58, 0.3); }
.tag--lime-strong { color: var(--lime); background: none; border-color: rgba(198, 217, 58, 0.35); padding: 5px 10px; font-size: 13px; }
.badge {
  display: inline-block; font-family: var(--mono); font-size: 11px; color: var(--muted);
  border: 1px solid var(--line-3); padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.badge--lime { background: var(--lime); color: var(--bg); border-color: var(--lime); }
.badge--12 { font-size: 12px; padding: 4px 10px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; line-height: 1.2; padding: 13px 22px; border-radius: 10px;
  border: 1px solid transparent; background: none; cursor: pointer; white-space: nowrap;
  text-align: center; transition: background .2s, border-color .2s, color .2s;
}
.btn--lime { background: var(--lime); border-color: var(--lime); color: var(--bg); font-weight: 500; }
.btn--lime:hover { background: var(--lime-h); border-color: var(--lime-h); color: var(--bg); }
.btn--ghost { border-color: var(--line-4); color: var(--text); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--ghost-lime:hover { border-color: var(--lime); color: var(--lime); }
.btn--light { background: var(--text); border-color: var(--text); color: var(--bg); font-weight: 500; }
.btn--light:hover { background: var(--lime); border-color: var(--lime); color: var(--bg); }
.btn--sm { font-size: 14px; padding: 10px 16px; border-radius: 8px; }
.btn--lg { font-size: 16px; padding: 15px 26px; }
.btn--block { display: flex; width: 100%; }
.btn--split { display: flex; justify-content: space-between; width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; }
.link-arrow { font-size: 14px; color: var(--lime); }
.back-link { font-family: var(--mono); font-size: 12px; color: var(--muted); }

.pill {
  appearance: none; cursor: pointer; font-size: 14px; line-height: 1.3; padding: 10px 16px;
  border-radius: 999px; white-space: nowrap; border: 1px solid var(--line-3);
  background: transparent; color: var(--muted); transition: border-color .15s, background .15s, color .15s;
}
.pill:hover { color: var(--text); }
.pill--sm { padding: 9px 14px; }
.pill.is-on { border-color: var(--lime); background: rgba(198, 217, 58, 0.12); color: var(--text); }

/* ---------- Emplacements d'images ---------- */
.slot { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--line-2); background: var(--card); }
.slot > img { width: 100%; height: 100%; object-fit: cover; }
.slot--bare { border: 0; }
.slot--r12 { border-radius: 12px; } .slot--r16 { border-radius: 16px; } .slot--r20 { border-radius: 20px; }
.slot--r0 { border-radius: 0; }
.slot--round { border-radius: 50%; }
.slot--empty {
  background:
    radial-gradient(ellipse 70% 60% at 75% 25%, rgba(63, 181, 176, 0.16), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--card);
}
.slot--logo { background: #eef1ef; }
.slot--logo > img { object-fit: contain; padding: 12%; }
.slot--word { display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; }
.slot--word span { font-size: clamp(18px, 2vw, 26px); font-weight: 600; letter-spacing: -0.03em; color: var(--soft); }
.slot--word span.mono { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--teal); }
.ar-1 { aspect-ratio: 1; } .ar-43 { aspect-ratio: 4 / 3; } .ar-34 { aspect-ratio: 3 / 4; } .ar-45 { aspect-ratio: 4 / 5; }
.ar-169 { aspect-ratio: 16 / 9; } .ar-1610 { aspect-ratio: 16 / 10; } .ar-167 { aspect-ratio: 16 / 7; } .ar-168 { aspect-ratio: 16 / 8; }
.ar-219 { aspect-ratio: 21 / 9; }
.fill { position: absolute; inset: 0; }

/* ---------- En-tête ---------- */
.hd {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 9, 10, 0.82);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.hd__in { max-width: 1400px; margin: 0 auto; padding: 0 clamp(18px, 3vw, 32px); height: 64px; display: flex; align-items: center; gap: 28px; }
.hd__logo { display: flex; flex-shrink: 0; margin-right: auto; }
.hd__logo img { height: 28px; width: auto; }
.hd__nav { display: flex; gap: clamp(14px, 2vw, 30px); flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; justify-content: safe center; font-size: 14px; }
.hd__nav a { color: var(--muted); padding: 22px 0; transition: color .15s; }
.hd__nav a:hover { color: var(--text); }
.hd__nav a.is-active { color: var(--text); box-shadow: inset 0 -2px 0 var(--lime); }
.hd__cta { font-size: 14px; padding: 9px 16px; border-radius: 8px; flex-shrink: 0; }
.hd__cta .mono { font-family: var(--mono); }
.hd__mob { display: none; gap: 8px; align-items: center; }
.hd__tel {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-3);
  display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px;
}
.hd__burger {
  appearance: none; border: 0; cursor: pointer; width: 44px; height: 44px; border-radius: 12px;
  background: var(--text); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hd__burger span { width: 18px; height: 2px; background: var(--bg); border-radius: 2px; transition: transform .3s var(--ease); }
body.menu-open .hd__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .hd__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mmenu {
  position: fixed; inset: 64px 0 0 0; z-index: 39; background: var(--bg);
  display: none; flex-direction: column; overflow-y: auto;
  padding: 24px 22px calc(24px + env(safe-area-inset-bottom));
}
.mmenu::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.mmenu > * { position: relative; }
body.menu-open { overflow: hidden; }
body.menu-open .mmenu { display: flex; }
.mmenu__nav { display: flex; flex-direction: column; margin-top: 10px; }
.mmenu__nav a {
  display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0;
  border-bottom: 1px solid var(--line-2); font-size: 30px; font-weight: 600; letter-spacing: -0.035em;
}
.mmenu__nav a.is-active { color: var(--lime); }
.mmenu__nav a span:last-child { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--dim); }
.mmenu__foot { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.mmenu__big { display: flex; justify-content: space-between; background: var(--lime); color: var(--bg); font-weight: 500; font-size: 17px; padding: 18px 20px; border-radius: 14px; }
.mmenu__big:hover { color: var(--bg); }
.mmenu__duo { display: flex; gap: 10px; }
.mmenu__duo a { flex: 1; text-align: center; border: 1px solid var(--line-4); padding: 15px; border-radius: 14px; font-size: 15px; }
.mmenu__addr { font-family: var(--mono); font-size: 11px; color: var(--dim); text-align: center; margin-top: 6px; }

.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 38;
  display: none; gap: 8px; padding: 6px; border-radius: 999px;
  background: rgba(13, 17, 18, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(140%); transition: transform .45s var(--ease);
}
.dock a { padding: 14px 18px; border-radius: 999px; font-size: 14px; }
.dock__call { flex: 0 0 auto; border: 1px solid var(--line-4); }
.dock__go { flex: 1; text-align: center; background: var(--lime); color: var(--bg); font-weight: 500; }
.dock__go:hover { color: var(--bg); }
.dock.is-on { transform: none; }
body.menu-open .dock { transform: translateY(140%); }

@media (max-width: 1179px) {
  .hd__nav, .hd__cta { display: none; }
  .hd__mob { display: flex; }
  .dock { display: flex; }
}
@media (min-width: 1180px) {
  body.menu-open { overflow: auto; }
  body.menu-open .mmenu { display: none; }
}

.progress { position: sticky; top: 64px; z-index: 20; height: 2px; background: rgba(255, 255, 255, 0.05); }
.progress > div { height: 2px; width: 0; background: var(--lime); box-shadow: 0 0 8px var(--lime); }

/* ---------- Pied de page ---------- */
.ft { border-top: 1px solid var(--line); background: var(--bg); }
.ft__grid {
  max-width: 1400px; margin: 0 auto; padding: 56px var(--px) 96px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 36px;
  font-size: 14px; color: var(--muted);
}
.ft__col { display: flex; flex-direction: column; gap: 10px; }
.ft__col--brand { gap: 16px; }
.ft__col--brand img { height: 30px; width: auto; align-self: flex-start; }
.ft__h { font-family: var(--mono); font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.ft a { color: var(--muted); }
.ft a:hover { color: var(--text); }
.ft a.c-lime { color: var(--lime); }
.ft__bar {
  max-width: 1400px; margin: 0 auto; padding: 20px var(--px) 32px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; color: var(--dim); border-top: 1px solid var(--line);
}
.ft__bar a { color: var(--dim); }
.ft__bar div { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Hero de page & CTA ---------- */
.gridbg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
}
.phero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.phero .gridbg {
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 80% 20%, #000 20%, transparent 75%);
}
.phero__glow { position: absolute; width: 640px; height: 640px; right: -160px; top: -260px; background: radial-gradient(circle, rgba(63,181,176,.14) 0%, rgba(63,181,176,0) 62%); pointer-events: none; }
.phero__in { position: relative; max-width: 1400px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) var(--px) clamp(48px, 6vw, 80px); }
.phero h1 { margin-top: 22px; max-width: 1100px; }
.phero p { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 640px; margin-top: 26px; text-wrap: pretty; }

.cta { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 128px) var(--px); background: var(--deep); border-top: 1px solid var(--line); }
.cta__glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 460px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(198,217,58,.14) 0%, rgba(198,217,58,0) 65%); pointer-events: none; }
.cta__in { position: relative; max-width: 960px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta h2 { font-size: clamp(40px, 5vw, 80px); line-height: 0.98; letter-spacing: -0.05em; font-weight: 600; text-wrap: balance; }
.cta p { font-size: 18px; color: #b5d3d1; margin-top: 22px; max-width: 580px; line-height: 1.55; }
.cta .btn--ghost { border-color: rgba(255, 255, 255, 0.3); }
.cta__contact { margin-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--teal-l); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__q {
  appearance: none; background: none; border: 0; cursor: pointer; width: 100%; text-align: left;
  display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 500;
}
.faq__q span:last-child { font-family: var(--mono); color: var(--lime); }
.faq__a { padding: 0 40px 24px 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- Formulaires ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.fields { display: flex; gap: 12px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.fields > .field { flex: 1 1 180px; }
.input {
  width: 100%; background: var(--bg); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 10px;
  padding: 13px 14px; color: var(--text); font-size: 15px; outline: none; transition: border-color .15s;
}
.input:focus { border-color: var(--lime); }
textarea.input { resize: vertical; }
.check { display: flex; gap: 10px; font-size: 13px; color: var(--muted); line-height: 1.5; align-items: flex-start; }
.check input { margin-top: 3px; accent-color: var(--lime); }
.check a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 12px; padding: 22px; font-size: 14px; color: var(--muted); cursor: pointer;
  transition: border-color .15s;
}
.drop:hover { border-color: var(--lime); }
.drop small { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop__files { font-family: var(--mono); font-size: 12px; color: var(--lime); }
.form-status { border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.45; }
.form-status--err { background: rgba(232, 162, 58, 0.12); border: 1px solid rgba(232, 162, 58, 0.45); color: #f1c98a; }
.sent { padding: 48px 0; text-align: center; }
.sent__ok { font-size: 40px; color: var(--lime); line-height: 1; }
.sent__t { font-size: 22px; font-weight: 600; margin-top: 12px; }
.sent__d { font-size: 15px; color: var(--muted); margin-top: 6px; }
.recap { background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 16px; font-size: 14px; color: var(--muted); line-height: 1.5; }
[hidden] { display: none !important; }

/* ---------- Visuel flux (HopIA) ---------- */
.flow-slot { min-height: 470px; width: 100%; }
.flow { position: relative; height: 100%; padding: 64px clamp(20px, 3vw, 40px) 32px; display: flex; flex-direction: column; justify-content: center; gap: 0; }
.flow__head { position: absolute; left: 16px; right: 16px; top: 16px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: #b5d3d1; }
.flow__step { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: rgba(7, 9, 10, 0.72); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; padding: 14px 16px; }
.flow__step + .flow__step { margin-top: 28px; }
.flow__step + .flow__step::before { content: ''; position: absolute; left: 35px; top: -29px; width: 1px; height: 28px; background: linear-gradient(rgba(198,217,58,.0), rgba(198,217,58,.8)); }
.flow__ico { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 11px; color: var(--bg); background: var(--teal); }
.flow__step:nth-child(3) .flow__ico { background: var(--lime); }
.flow__t { font-size: 15px; font-weight: 600; }
.flow__d { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 2px; }
.flow__s { font-family: var(--mono); font-size: 11px; color: var(--lime); }

/* ---------- Accueil ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .gridbg {
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 45%, #000 30%, transparent 80%);
}
.hero__glow { position: absolute; width: 720px; height: 720px; right: -120px; top: -80px; background: radial-gradient(circle, rgba(63,181,176,.16) 0%, rgba(63,181,176,0) 62%); pointer-events: none; }
.hero__in {
  position: relative; max-width: 1400px; margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--px) 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 540px), 1fr)); gap: 48px; align-items: center;
}
.hero__news {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; padding: 6px 14px 6px 8px;
  font-size: 13px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero__news:hover { border-color: rgba(255, 255, 255, 0.3); }
.hero__news .badge--lime { font-size: 11px; font-weight: 500; }
.hero h1 { font-size: clamp(52px, 6.6vw, 108px); line-height: 0.94; letter-spacing: -0.05em; font-weight: 600; margin-top: 28px; }
.hero h1 span { display: inline-block; }
.hero__lead { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 580px; margin-top: 28px; text-wrap: pretty; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.hero__viz { width: min(100%, 620px); justify-self: center; display: flex; flex-direction: column; gap: 16px; }
.hero__status { position: relative; max-width: 1400px; margin: 0 auto; padding: 0 var(--px); }
.hero__status > div { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--dim); }
.hero__status span.st { padding: 16px 28px; }
.hero__status span.st:first-child { padding-left: 0; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }

.orbit { position: relative; width: 100%; aspect-ratio: 1; }
.orbit__ring { position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 50%; }
.orbit__sweep { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.orbit__sweep::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(63,181,176,.16), rgba(63,181,176,0) 70deg, rgba(63,181,176,0) 360deg); }
.orbit__dash { position: absolute; inset: 16%; border: 1px dashed rgba(255, 255, 255, 0.14); border-radius: 50%; }
.orbit__inner { position: absolute; inset: 32%; border: 1px solid rgba(63, 181, 176, 0.35); border-radius: 50%; }
.orbit__pulse { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; border-radius: 50%; transform: translate(-50%, -50%); }
.orbit__line { position: absolute; left: 50%; top: 50%; height: 1px; width: 0; transform-origin: 0 50%; opacity: 0; pointer-events: none; background: linear-gradient(90deg, rgba(198,217,58,0) 0%, rgba(198,217,58,.9) 100%); }
.orbit__core {
  position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, #0f2a2a 0%, #0a1415 100%); border: 1px solid rgba(63, 181, 176, 0.6);
  box-shadow: 0 0 60px rgba(63, 181, 176, 0.25);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
}
.orbit__core div:first-child { font-family: var(--mono); font-size: 10px; color: var(--teal); letter-spacing: 0.12em; }
.orbit__core div:last-child { font-weight: 600; font-size: clamp(13px, 1.4vw, 18px); letter-spacing: -0.02em; }
.node {
  appearance: none; cursor: pointer; position: absolute; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 6px; white-space: nowrap; z-index: 2; border-radius: 999px;
  transition: background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.node--core, .node--brand { font-family: var(--sans); font-size: 13px; font-weight: 500; padding: 6px 11px; color: var(--text); background: rgba(14, 18, 19, 0.9); border: 1px solid rgba(63, 181, 176, 0.25); }
.node--core { background: #11201f; border-color: rgba(63, 181, 176, 0.55); }
.node--prod { font-family: var(--mono); font-size: 10.5px; padding: 3px 7px; color: #7d8885; background: rgba(7, 9, 10, 0.6); border: 1px solid transparent; }
.node__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.node--prod .node__dot { width: 4px; height: 4px; background: var(--lime); }
.node.is-on { background: var(--lime); color: var(--bg); border-color: var(--lime); box-shadow: 0 0 24px rgba(198, 217, 58, 0.45); z-index: 3; }
.node.is-on .node__dot { background: var(--bg); }
.orbit-panel {
  background: rgba(14, 18, 19, 0.92); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px;
  padding: 14px 16px; min-height: 96px; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; align-items: center;
}
.orbit-panel__side { font-family: var(--mono); font-size: 10px; color: var(--dim); writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: 0.1em; }
.orbit-panel__kind { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--teal); text-transform: uppercase; }
.orbit-panel__name { font-size: 17px; font-weight: 600; margin-top: 4px; }
.orbit-panel__desc { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.45; }
@media (max-width: 759px) {
  .node--core, .node--brand { font-size: 11px; padding: 4px 8px; }
  .node--prod { padding: 5px; }
  .node--prod .node__label { display: none; }
}

.clients { border-bottom: 1px solid var(--line); }
.clients__in { max-width: 1400px; margin: 0 auto; padding: 28px var(--px); display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.clients__list { display: flex; gap: clamp(20px, 3vw, 44px); flex-wrap: wrap; flex: 1; justify-content: space-between; font-size: 17px; font-weight: 500; color: #8b9592; letter-spacing: -0.01em; }

.pillar { padding: 10px; display: flex; flex-direction: column; scroll-snap-align: start; }
.pillar:hover { border-color: rgba(63, 181, 176, 0.5); }
.pillar__body { padding: 20px 14px 18px; display: flex; flex-direction: column; flex: 1; }

.ia-steps { margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.ia-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.ia-step .tag { border-color: rgba(255, 255, 255, 0.16); }
.c-ia { color: #b5d3d1; }
.c-ia-m { color: #7fb3b0; }

.aud__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.aud__row span:last-child { font-family: var(--mono); font-size: 12px; color: var(--teal); white-space: nowrap; }

.term { background: var(--bg); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; overflow: hidden; }
.term--card { background: var(--card); border-color: var(--line-2); border-radius: 16px; }
.term__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.term__bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3133; }
.term__bar span { margin-left: 12px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.term__row { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 20px 22px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); align-items: center; }
.term__row > span { flex: 0 0 140px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.term--card .term__row { padding: 18px 22px; }
.term--card .term__row > span { flex-basis: 110px; }
.term__foot { padding: 16px 22px; font-family: var(--mono); font-size: 12px; color: var(--dim); }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); border-top: 1px solid rgba(11, 18, 16, 0.18); border-left: 1px solid rgba(11, 18, 16, 0.18); }
.product { border-right: 1px solid rgba(11, 18, 16, 0.18); border-bottom: 1px solid rgba(11, 18, 16, 0.18); padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; color: #0b1210; scroll-snap-align: start; transition: background .15s; }
.product:hover { background: rgba(11, 18, 16, 0.07); color: #0b1210; }
.product__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product__top span:first-child { font-family: var(--mono); font-size: 14px; font-weight: 500; }
.product__top span:last-child { font-family: var(--mono); font-size: 11px; color: #4f5a1c; }
.product__d { font-size: 16px; line-height: 1.45; color: #2a3322; }
.c-olive { color: #4f5a1c; }
.ink-chip { font-family: var(--mono); font-size: 13px; color: #0b1210; border: 1px solid rgba(11, 18, 16, 0.3); border-radius: 8px; padding: 10px 14px; white-space: nowrap; }

.cases { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.cases__list { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.case-row {
  appearance: none; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; color: var(--muted);
  cursor: pointer; text-align: left; display: flex; align-items: center; gap: 16px; padding: 20px 14px; transition: all .15s;
}
.case-row.is-on { background: rgba(198, 217, 58, 0.07); color: #fff; box-shadow: inset 2px 0 0 var(--lime); }
.case-row span:first-child { font-family: var(--mono); font-size: 12px; color: var(--dim); width: 28px; }
.case-row span:nth-child(2) { flex: 1; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.case-row span:last-child { font-family: var(--mono); font-size: 11px; color: var(--dim); text-transform: uppercase; }
.cases__view { flex: 2 1 480px; order: -1; min-width: 0; display: flex; flex-direction: column; }
.cases__shot { position: relative; aspect-ratio: 16 / 9; background: var(--card); }
.cases__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cases__info { padding: 22px 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }

.team-card { padding: 20px; scroll-snap-align: start; }
.team-card .slot { width: 56px; height: 56px; }
.team-card .slot img { object-position: top; }

.siege { position: relative; min-height: 620px; display: flex; align-items: flex-end; overflow: hidden; background: var(--card); border-bottom: 1px solid var(--line); }
.siege > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.siege__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,9,10,.85) 0%, rgba(7,9,10,.4) 50%, rgba(7,9,10,0) 100%); }
.siege__in { position: relative; width: 100%; max-width: 1400px; margin: 0 auto; padding: 96px var(--px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: end; }
.siege__specs {
  background: rgba(7, 9, 10, 0.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 6px 22px;
  font-family: var(--mono); font-size: 13px; max-width: 440px; justify-self: end; width: 100%;
}
.siege__specs div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.siege__specs div:last-child { border-bottom: 0; }
.siege__specs span:first-child { color: var(--dim); }
.siege__specs span:last-child { text-align: right; }

.composer { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 136px) var(--px); }
.composer__glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 500px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(198,217,58,.08) 0%, rgba(198,217,58,0) 65%); pointer-events: none; }
.composer h2 { font-size: clamp(44px, 5.4vw, 88px); line-height: 0.98; letter-spacing: -0.05em; font-weight: 600; margin-top: 18px; text-wrap: balance; }
.composer__box { margin-top: 56px; padding: clamp(22px, 3vw, 36px); border-radius: 20px; border-color: rgba(255, 255, 255, 0.1); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 36px; }
.composer__out { background: var(--bg); border: 1px solid var(--line-2); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.step-k { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-bottom: 12px; }

@media (max-width: 759px) {
  .carousel-m {
    display: grid !important; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: var(--cw, 82%);
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -18px; padding: 0 18px 8px; scroll-padding-left: 18px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .carousel-m::-webkit-scrollbar { display: none; }
  .products { grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .products::-webkit-scrollbar { display: none; }
}

/* ---------- Pages internes ---------- */
.org-root { border: 1px solid rgba(63, 181, 176, 0.4); background: rgba(63, 181, 176, 0.06); border-radius: 16px; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.org-link { width: 1px; height: 28px; background: linear-gradient(var(--teal), rgba(63, 181, 176, 0)); margin-left: 40px; }

.explore { padding: 26px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; }
a.explore:hover { border-color: rgba(198, 217, 58, 0.5); }

.tl-year { flex: 0 0 140px; font-family: var(--mono); font-size: clamp(28px, 3vw, 44px); color: var(--lime); letter-spacing: -0.03em; }
.tl-title { flex: 1 1 240px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -0.025em; }
.tl-desc { flex: 1.2 1 300px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.quote-xl { font-size: clamp(28px, 2.8vw, 42px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 500; text-wrap: balance; }
.quote-bar { border-left: 2px solid var(--lime); padding: 4px 0 4px 20px; }

.member { padding: 12px; display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; }
.member .slot img { object-position: top; }
.member__body { padding: 10px 10px 10px 0; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 420px) { .member { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; } }

.logo-cell { background: var(--bg); aspect-ratio: 16 / 9; padding: 18px; display: flex; align-items: center; justify-content: center; }
.logo-cell img { max-width: 80%; max-height: 70%; object-fit: contain; filter: grayscale(1) brightness(1.6) contrast(.9); opacity: .85; transition: filter .2s, opacity .2s; }
.logo-cell:hover img { filter: none; opacity: 1; }
.logo-cell span { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: #8b9592; text-align: center; }
.logo-cell--light { background: #eef1ef; }

.exp-card { padding: 10px; display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 16px; }
.exp-card__body { padding: 18px 6px 18px 18px; display: flex; flex-direction: column; }
.exp-card .slot { min-height: 220px; }
@media (max-width: 480px) { .exp-card { grid-template-columns: 1fr; } .exp-card .slot { min-height: 160px; order: -1; } .exp-card__body { padding: 8px; } }

.brandbar { border-bottom: 1px solid var(--line); }
.brandbar__in { max-width: 1400px; margin: 0 auto; padding: 28px var(--px); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.brandbar .slot { width: 52px; height: 52px; flex-shrink: 0; }

.method-card { flex: 1 1 200px; padding: 22px; position: relative; overflow: hidden; }
.method-card__bar { position: absolute; left: 0; top: 0; height: 2px; background: var(--lime); }

.check-ok { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--lime); color: var(--lime); display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; }
.flag { font-family: var(--mono); font-size: 11px; color: var(--bg); padding: 2px 6px; border-radius: 4px; }
.flag--risk { background: #e8a23a; }
.flag--fix { background: var(--lime); }
.risk-row { display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 20px 0; border-bottom: 1px solid var(--line-2); align-items: center; }
.risk-row > span { display: flex; gap: 12px; align-items: center; }
.risk-row > span:first-child { flex: 1 1 260px; font-size: 17px; font-weight: 500; }
.risk-row > span:last-child { flex: 1 1 320px; font-size: 15px; color: var(--soft); }
.proc { flex: 1 1 220px; border: 1px solid var(--line-2); border-radius: 16px; padding: 20px 22px; display: flex; gap: 16px; align-items: baseline; }

.port-card { display: flex; flex-direction: column; }
.port-card__shot { position: relative; aspect-ratio: 16 / 10; }
.port-card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.port-card__type { position: absolute; left: 12px; top: 12px; font-family: var(--mono); font-size: 11px; background: rgba(7, 9, 10, 0.8); color: var(--lime); padding: 4px 8px; border-radius: 6px; pointer-events: none; }
.port-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.meta-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.meta-strip > div { padding: 24px 20px 24px 0; border-right: 1px solid var(--line); margin-right: 20px; }
.meta-strip > div:last-child { border-right: 0; }
.case-block { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.case-block > span { flex: 0 0 180px; font-family: var(--mono); font-size: 12px; color: var(--teal); letter-spacing: 0.08em; padding-top: 8px; }
.case-block > div { flex: 1 1 300px; min-width: 0; }
.case-block h2 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; letter-spacing: -0.035em; }
.case-block p { font-size: 17px; line-height: 1.65; color: var(--muted); margin-top: 14px; }
.side-list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.side-list a:hover { color: var(--lime); }

.sector { padding: 10px; display: flex; flex-direction: column; }
.sector__body { padding: 20px 14px 14px; }
.sector__ref { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 14px; }
.sector__ref span:last-child { color: var(--dim); text-align: right; }
.tagbig { font-size: 15px; border: 1px solid var(--line-3); padding: 10px 16px; border-radius: 999px; color: var(--soft); }

.une { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); overflow: hidden; border-radius: 20px; }
a.une:hover { border-color: rgba(198, 217, 58, 0.5); }
.une__shot { min-height: 320px; border: 0; border-radius: 0; }
.une__body { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.une__title { font-size: clamp(28px, 3vw, 44px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.post { overflow: hidden; display: flex; flex-direction: column; border-radius: 16px; }
.post__shot { aspect-ratio: 16 / 8; border: 0; border-radius: 0; border-bottom: 1px solid var(--line-2); }
.post__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post__meta { display: flex; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: 11px; }
.post__title { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; margin-top: 4px; }
.related { padding: 24px; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 16px; }

.prose { display: flex; flex-direction: column; gap: 22px; }
.prose p, .prose li { font-size: 18px; line-height: 1.75; color: var(--muted); text-wrap: pretty; }
.prose > p:first-child { font-size: 20px; line-height: 1.6; color: var(--soft); }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(198, 217, 58, 0.6); text-underline-offset: 3px; }
.prose a:hover { color: var(--lime); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ol, .prose ul { margin: 0; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 10px; }
.prose h2, .prose h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; color: var(--text); margin-top: 12px; }

.perk { padding: 20px; }
.job { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 28px; }
a.job:hover { border-color: rgba(198, 217, 58, 0.5); }
.job__title { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.03em; margin-top: 16px; }
.arrow-list { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.arrow-list div { display: flex; gap: 10px; font-size: 15px; color: var(--soft); line-height: 1.45; }
.arrow-list div::before { content: '→'; color: var(--lime); }

.coord { display: flex; justify-content: space-between; gap: 16px; padding: 20px 22px; border-radius: 16px; }
a.coord:hover { border-color: rgba(198, 217, 58, 0.5); }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: var(--card); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.9); }
.map a { position: absolute; right: 12px; bottom: 12px; background: var(--bg); border: 1px solid var(--line-4); font-size: 13px; padding: 9px 14px; border-radius: 8px; }

.tabs { display: flex; border-bottom: 1px solid var(--line-2); overflow-x: auto; }
.tab { appearance: none; border: 0; background: none; cursor: pointer; flex: 1; padding: 18px 20px; font-size: 14px; white-space: nowrap; color: var(--dim); text-align: left; }
.tab .mono { font-size: 11px; opacity: .7; }
.tab.is-on { color: var(--text); box-shadow: inset 0 -2px 0 var(--lime); }
.tab.is-done { box-shadow: inset 0 -2px 0 rgba(63, 181, 176, 0.6); }
.type-card {
  appearance: none; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 16px;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); background: var(--bg); color: var(--text); transition: all .15s;
}
.type-card span:first-child { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.type-card span:last-child { font-size: 16px; font-weight: 500; margin-top: 6px; }
.type-card.is-on { border-color: var(--lime); background: rgba(198, 217, 58, 0.08); }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.step-nav .btn { visibility: visible; }
.step-nav .is-invisible { visibility: hidden; }

.toc { display: flex; flex-direction: column; gap: 2px; }
.toc a { font-size: 14px; color: var(--muted); padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.toc a span { font-family: var(--mono); font-size: 11px; color: var(--dim); margin-right: 10px; }
.legal-sec { padding: 32px 0; border-top: 1px solid var(--line-2); }
.legal-sec h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; margin: 10px 0 16px; }
.legal-sec p, .legal-sec li { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0 0 6px; }
.legal-sec ul { margin: 0 0 8px; padding-left: 1.2rem; }
.legal-sec a { color: var(--lime); }
.legal-sec a:hover { color: #fff; }
.legal-sec strong { color: var(--text); font-weight: 500; }

.e404 { flex: 1; position: relative; overflow: hidden; display: flex; align-items: center; min-height: 640px; }
.e404 .gridbg {
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 20%, transparent 75%);
}
.e404__ring { position: absolute; left: 50%; top: 50%; width: min(80vw, 560px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.12); animation: spin404 24s linear infinite; }
.e404__ring::before { content: ''; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime); }
.e404 h1 { font-size: clamp(96px, 18vw, 240px); line-height: 0.85; letter-spacing: -0.07em; font-weight: 600; margin-top: 20px; }
@keyframes spin404 { to { transform: translate(-50%, -50%) rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
