/* as202827.net — même charte que czh.fr */
:root {
  --bg: #060b16;
  --bg-2: #0a1222;
  --surface: #0f1a2e;
  --line: rgba(170, 200, 255, .09);
  --line-2: rgba(170, 200, 255, .16);
  --text: #e8edf4;
  --muted: #9aa9c2;
  --dim: #6b7a93;
  --accent: #5aa8ff;
  --accent-strong: #1d6bff;
  --ok: #4ade80;
  --radius: 14px;
  --f-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.h2-sm { font-size: clamp(22px, 2.6vw, 30px); }
::selection { background: var(--accent-strong); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--f-mono); font-size: 13.5px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent-strong); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.kicker { font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin: 0 0 16px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 640px; }
.lead strong { color: var(--text); }
.sub { color: var(--muted); margin: 0; }
.ok { color: var(--ok); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 15px/1 var(--f-body); padding: 13px 20px; border-radius: 10px;
  border: 1px solid var(--accent-strong); background: var(--accent-strong); color: #fff;
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 30px -8px rgba(29,107,255,.6); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--text); box-shadow: none; }
.btn--sm { padding: 10px 16px; font-size: 14px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(6,11,22,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 800 18px/1 var(--f-display); }
.brand:hover { text-decoration: none; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 12px; background: var(--surface); border: 1px solid var(--line-2); color: var(--accent); }
.nav__menu { display: flex; align-items: center; gap: 26px; }
.nav__menu a:not(.btn) { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.nav__menu a:not(.btn):hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { position: relative; padding: 96px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 420px at 85% 0%, rgba(77,159,255,.12), transparent 60%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 20%, #000 30%, transparent 75%);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1.3 var(--f-mono); color: var(--muted); margin: 0 0 26px; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 99px; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.hero h1 { font-size: clamp(56px, 11vw, 140px); line-height: .9; letter-spacing: -.045em; margin-bottom: 26px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.facts { display: grid; grid-template-columns: repeat(6, 1fr); margin: 64px 0 0; border-top: 1px solid var(--line-2); }
.facts div { padding: 20px 18px 0; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font: 500 11.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin-bottom: 10px; }
.facts dd { margin: 0; font: 600 16px/1.3 var(--f-display); overflow-wrap: anywhere; }

/* Sections */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 36px; max-width: 720px; }

/* Tables */
.table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 18px; border-top: 1px solid var(--line); white-space: nowrap; }
thead th { border-top: 0; font: 500 11.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--dim); background: rgba(255,255,255,.015); }
tbody th { font-weight: 600; }
tbody tr:hover { background: rgba(90,168,255,.04); }
td.port { color: var(--accent); }
.na { color: var(--dim); font-family: var(--f-body); font-size: 13px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px/1 var(--f-mono); color: var(--ok); background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.25); padding: 6px 10px; border-radius: 99px; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.tbl-title { font-size: 18px; font-weight: 600; margin: 36px 0 14px; display: flex; align-items: center; gap: 10px; }
.tbl-title:first-of-type { margin-top: 0; }
.tbl-title span { font: 500 12px/1 var(--f-mono); color: var(--accent); border: 1px solid var(--line-2); padding: 5px 8px; border-radius: 99px; }

/* Transit */
.two { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.upstream { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 22px 24px; margin: 8px 0 16px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); }
.upstream b { font: 700 20px/1.2 var(--f-display); }
.tag { font: 500 12px/1 var(--f-mono); color: var(--muted); border: 1px solid var(--line-2); padding: 6px 9px; border-radius: 7px; }
.sessions { list-style: none; margin: 8px 0 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.sessions li { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; padding: 11px 18px; border-top: 1px solid var(--line); font-size: 15px; }
.sessions li:first-child { border-top: 0; }
.afi { font: 12px/1 var(--f-mono); color: var(--dim); }

/* Facilities */
.fac { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fac li { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.fac b { display: block; font: 600 17px/1.25 var(--f-display); margin-bottom: 6px; }
.fac span { color: var(--muted); font-size: 14px; }

/* Contact */
.contact { text-align: center; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 50% 100%, rgba(77,159,255,.12), transparent 70%); }
.contact h2 { font-size: clamp(36px, 6vw, 68px); letter-spacing: -.035em; }
.contact .lead { margin: 0 auto; }
.contacts { list-style: none; padding: 0; margin: 36px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contacts li { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; min-width: 240px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); }
.contacts span { font: 500 11.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--dim); }
.contacts a { font: 500 15px/1.3 var(--f-mono); overflow-wrap: anywhere; }

.foot { border-top: 1px solid var(--line); padding: 26px 0; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font: 12.5px/1.5 var(--f-mono); color: var(--dim); }

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

@media (max-width: 1024px) {
  .facts { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .facts div:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
  .two { grid-template-columns: 1fr; gap: 48px; }
  .fac { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav__menu a:not(.btn) { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 72px 0; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .facts div { padding: 16px 0 0 14px; }
  .facts div:nth-child(3n + 1) { border-left: 1px solid var(--line); padding-left: 14px; }
  .facts div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .hero__cta .btn { flex: 1 1 calc(50% - 5px); }
  .hero__cta .btn:first-child { flex-basis: 100%; }
  th, td { padding: 12px 14px; }
  .sessions li { grid-template-columns: 82px 1fr auto; padding: 11px 14px; font-size: 14px; }
  .fac { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .contacts li { min-width: 0; width: 100%; }
}

/* 2026-11-16 : lieu des sessions */
.sessions .where { opacity: .6; font-size: .85em; margin-left: .35em; white-space: nowrap; }
.peers-rs { margin-top: 1.6rem; }

/* 2026-11-16 : liste sur deux colonnes */
@media (min-width: 820px) { .sessions--2 { columns: 2; column-gap: 1.5rem; } .sessions--2 li { break-inside: avoid; } }
