/* NETsatori NETstar — page d'accueil publique.
   Bleu NETsatori #215FAA, jaune #FFD752, nuit #0E2747. */
:root {
  --blue: #215faa;
  --blue-strong: #1a4d8c;
  --navy: #0e2747;
  --navy-2: #133158;
  --yellow: #ffd752;
  --paper: #f3f6fa;
  --ink: #13223a;
  --muted: #56667e;
  --line: #dce3ec;
  --ok: #3ec28a;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Barlow", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: #fff; }
img { max-width: 100%; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.ic { flex: none; vertical-align: -3px; }
.wrap { width: min(1200px, 100% - 48px); margin: 0 auto; }

/* ---------------------------------------------------------------- boutons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 16px/1 var(--font); padding: 14px 22px; border-radius: 10px;
  text-decoration: none; border: 1.5px solid transparent; white-space: nowrap;
}
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: #ffe07a; }
.btn-line { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-strong); }

/* ---------------------------------------------------------------- en-tête */
.top { background: var(--navy); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.top-in { display: flex; align-items: center; gap: 28px; height: 74px; }
.top-logo img { height: 34px; width: auto; display: block; }
.top-nav { display: flex; gap: 26px; margin-left: auto; }
.top-nav a { color: #c9d6e8; text-decoration: none; font-weight: 500; font-size: 15.5px; }
.top-nav a:hover { color: #fff; }
.top .btn { padding: 10px 16px; font-size: 15px; }

/* ------------------------------------------------------------------- héros */
.hero { background: var(--navy); color: #fff; padding: 84px 0 96px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 64px; align-items: center; }
.product { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font: 600 22px/1 var(--display); letter-spacing: .4px; }
.product span { color: var(--yellow); font-weight: 500; }
.hero h1 {
  font: 700 clamp(44px, 5.4vw, 72px)/1.0 var(--display);
  letter-spacing: .2px; margin: 0 0 24px; max-width: 16ch; text-wrap: balance;
}
.hero-lede { color: #b8c8de; font-size: 18.5px; max-width: 52ch; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Le moniteur : l'élément signature de la page. */
.monitor {
  margin: 0; background: #0a1d36; border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px;
  padding: 20px 22px 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); position: relative;
}
.monitor-head { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-bottom: 8px; }
.monitor-head b { font-weight: 600; }
.monitor-head .site { color: #8fa6c4; }
.live { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(62, 194, 138, .18); }
.ok-pill { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--ok); background: rgba(62, 194, 138, .12); padding: 4px 10px; border-radius: 99px; }
.ecg { width: 100%; height: 130px; display: block; margin: 6px 0 10px; }
.ecg .grid { stroke: rgba(255, 255, 255, .06); stroke-width: 1; fill: none; }
.ecg .beat {
  fill: none; stroke: url(#fade); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.6s .3s cubic-bezier(.3, .6, .3, 1) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.readouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.readouts div { padding: 14px 4px 10px; }
.readouts div:nth-child(n + 4) { border-top: 1px solid rgba(255, 255, 255, .06); }
.readouts dt { color: #8fa6c4; font-size: 13.5px; display: flex; align-items: center; gap: 7px; }
.readouts dd { margin: 4px 0 0; font: 700 34px/1 var(--display); font-variant-numeric: tabular-nums; color: #fff; }
.readouts dd small { font-size: 18px; color: #8fa6c4; font-weight: 600; }
.monitor figcaption { position: absolute; right: 22px; bottom: -28px; font-size: 13px; color: #6f86a6; }

/* --------------------------------------------------------------- sections */
.band { padding: 104px 0; }
.band-paper { background: var(--paper); }
.band-navy { background: var(--navy); color: #fff; }
.band h2 { font: 700 clamp(34px, 3.8vw, 50px)/1.05 var(--display); margin: 0 0 14px; letter-spacing: .2px; max-width: 22ch; }
.section-lede { color: var(--muted); font-size: 18.5px; max-width: 60ch; margin: 0 0 56px; }
.band-navy .section-lede { color: #b8c8de; }
h3 { font: 600 24px/1.15 var(--display); margin: 0 0 8px; letter-spacing: .2px; }

.watch { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.watch li { padding: 30px 32px 34px 0; border-bottom: 1px solid var(--line); }
.watch li:nth-child(3n + 2), .watch li:nth-child(3n + 3) { padding-left: 32px; border-left: 1px solid var(--line); }
.watch .ic { color: var(--blue); margin-bottom: 14px; }
.watch p { margin: 0; color: var(--muted); }

.flow { display: grid; grid-template-columns: 1fr .9fr 1fr .9fr 1fr; align-items: center; margin-bottom: 64px; }
.node { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-align: center; }
.node span { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #e8f0fa; color: var(--blue); margin-bottom: 8px; }
.node b { display: block; font: 600 20px/1.1 var(--display); }
.node small { color: var(--muted); font-size: 14px; }
.node-probe span { background: var(--yellow); color: var(--navy); }
.node-noc { background: var(--navy); border-color: var(--navy); color: #fff; }
.node-noc span { background: rgba(255, 255, 255, .1); color: var(--yellow); }
.node-noc small { color: #a9bbd3; }
.link { position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--muted) 0 6px, transparent 6px 12px); margin: 0 10px; }
.link span { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.link-secure { background: var(--blue); height: 3px; }
.link-secure span { color: var(--blue); font-weight: 600; display: inline-flex; gap: 5px; align-items: center; }
.link::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left-color: inherit; border-left: 8px solid var(--muted); }
.link-secure::after { border-left-color: var(--blue); top: -4.5px; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.steps li { counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff; font: 700 20px/1 var(--display); margin-bottom: 16px;
}
.steps p { margin: 0; color: var(--muted); }

.secure { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 64px; }
.secure li { display: flex; gap: 18px; }
.secure .ic { color: var(--yellow); margin-top: 3px; }
.secure p { margin: 0; color: #b8c8de; }

.netcare { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.netcare p { color: var(--muted); max-width: 62ch; margin: 0 0 30px; }
.netcare-mark { font: 700 34px/1 var(--display); color: var(--ink); margin: 0 0 18px !important; letter-spacing: .3px; }
.netcare-mark span { color: var(--blue); }
.netcare-mark::after { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); margin-left: 6px; vertical-align: 2px; }
.contact { background: var(--paper); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; gap: 14px; border-left: 4px solid var(--yellow); }
.contact h3 { margin-bottom: 6px; }
.contact a, .contact span { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 18px; }
.contact a:hover { color: var(--blue); }
.contact .ic { color: var(--blue); }

/* ---------------------------------------------------------- pied de page */
.foot { border-top: 1px solid var(--line); padding: 34px 0; }
.foot-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot-logo { height: 38px; width: auto; }
.foot nav { display: flex; gap: 22px; margin-left: auto; }
.foot nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.foot nav a:hover { color: var(--blue); }
.foot small { color: var(--muted); width: 100%; }

/* -------------------------------------------------------------- mobile */
@media (max-width: 1000px) {
  .hero-in, .netcare { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .top-nav { display: none; }
  .top .btn { margin-left: auto; }
  .watch { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .watch li:nth-child(n) { padding: 26px 24px 28px 0; border-left: 0; }
  .watch li:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .link { width: 2px; height: 56px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--muted) 0 6px, transparent 6px 12px); }
  .link-secure { background: var(--blue); width: 3px; }
  .link span { left: 18px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .link::after { display: none; }
  .steps, .secure { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .top-logo img { height: 26px; }
  .hero { padding: 56px 0 72px; }
  .band { padding: 72px 0; }
  .watch { grid-template-columns: minmax(0, 1fr); }
  .watch li:nth-child(n) { padding: 24px 0; border-left: 0; }
  .readouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readouts div:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .06); }
  .readouts dd { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ecg .beat { animation: none; stroke-dashoffset: 0; }
}
