/* Limes — site public */
body { background: var(--paper); color: var(--ink); }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; font: inherit; font-size: 16px; font-weight: 600; letter-spacing: 0.005em;
  padding: 14px 22px; border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2; transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--outline { color: var(--paper); border-color: rgba(232, 237, 238, 0.45); }
.btn--outline:hover { border-color: var(--paper); background: rgba(232, 237, 238, 0.08); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--night-4); }

/* ---------- En-tête ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10; color: var(--paper);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; max-width: 1400px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-stretch: 125%; font-weight: 700; font-size: 20px; letter-spacing: 0.01em;
  flex-shrink: 0; white-space: nowrap;
}
.brand svg { display: block; flex-shrink: 0; }
.nav {
  display: flex; align-items: center; gap: clamp(8px, 1.15vw, 18px);
  font-size: 14px; font-weight: 500; white-space: nowrap; flex-shrink: 0;
}
.nav a {
  text-decoration: none; opacity: 0.85; transition: opacity .15s ease;
  white-space: nowrap;
}
.nav a:hover { opacity: 1; }
.nav a.nav-active { color: #fff !important; font-weight: 700; opacity: 1; border-bottom: 2px solid rgba(255,255,255,0.75); padding-bottom: 2px; }
.nav .btn { opacity: 1; padding: 8px 16px; font-size: 13.5px; white-space: nowrap; flex-shrink: 0; min-width: 116px; text-align: center; }

/* ---------- Sélecteur de langue ---------- */
.lang-picker { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(232, 237, 238, 0.08); color: var(--paper);
  border: 1px solid rgba(232, 237, 238, 0.28); border-radius: var(--radius);
  padding: 8px 12px; font: inherit; font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: background .15s ease, border-color .15s ease;
}
.lang-btn:hover { background: rgba(232, 237, 238, 0.16); border-color: var(--paper); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: #0b1a21; border: 1px solid var(--line-soft);
  border-radius: var(--radius); list-style: none; padding: 4px;
  min-width: 180px; max-height: 380px; overflow-y: auto; z-index: 100;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}
.lang-menu::-webkit-scrollbar { width: 6px; }
.lang-menu::-webkit-scrollbar-track { background: #071319; }
.lang-menu::-webkit-scrollbar-thumb { background: #1c3848; border-radius: 3px; }
.lang-opt {
  display: block; width: 100%; text-align: left;
  background: none; border: 0; color: rgba(232, 237, 238, 0.85);
  padding: 8px 12px; font: inherit; font-size: 13.5px; cursor: pointer;
  border-radius: 2px;
}
.lang-opt:hover { background: var(--night-3); color: #fff; }
.lang-opt.on { color: var(--paper); font-weight: 700; background: rgba(160, 196, 210, 0.18); }

/* ---------- Héros ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse 90% 85% at 75% 50%, #0d2735 0%, #081720 42%, #03080b 100%);
  color: var(--paper);
  min-height: min(100svh, 920px);
  overflow: hidden;
  isolation: isolate;
}
.hero-plan { position: absolute; inset: 0; z-index: 0; }
.hero-plan canvas { display: block; width: 100%; height: 100%; }
.hero-plan figcaption { position: absolute; right: var(--pad); bottom: 22px; font-size: 13px; color: rgba(160, 196, 210, 0.7); text-align: right; line-height: 1.4; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 140px; z-index: 1; background: linear-gradient(to bottom, #03080b 25%, rgba(3, 8, 11, 0)); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 70% 90% at 18% 50%, rgba(3, 8, 11, 0.88) 0%, rgba(3, 8, 11, 0.40) 55%, transparent 80%); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; padding-top: clamp(140px, 22vh, 200px); padding-bottom: 80px; }
.hero-copy .inner { max-width: 660px; }
h1 {
  font-size: clamp(2.6rem, 4.9vw, 4.9rem); line-height: 0.98; font-stretch: 118%; font-weight: 640; letter-spacing: -0.024em;
  text-wrap: balance;
}
.lede { margin-top: 28px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; max-width: 52ch; color: rgba(232, 237, 238, 0.86); }
.cta-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 22px; font-size: 14px; color: rgba(160, 196, 210, 0.78); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(60px, 8vw, 100px); }
.section--banner {
  background: var(--paper-2);
  border-top: 1px solid var(--paper-3);
  border-bottom: 1px solid var(--paper-3);
  padding-block: clamp(38px, 5vw, 54px);
}
.cols { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; }
.cols > .a { grid-column: 1 / span 5; }
.cols > .b { grid-column: 7 / span 6; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.8rem); line-height: 1.06; font-stretch: 112%; font-weight: 620; letter-spacing: -0.018em; text-wrap: balance; }
.prose p + p { margin-top: 1.1em; }
.prose { max-width: 60ch; color: var(--ink-2); }
.prose p { text-wrap: pretty; }

/* Frontière : proportion réelle */
.span-bar { margin-top: 44px; }
.span-bar .bar { display: flex; height: 18px; gap: 3px; }
.span-bar .bar span { display: block; height: 100%; }
.span-bar .fr { flex: 103; background: var(--ink); }
.span-bar .ch { flex: 4.5; background: var(--alert); }
.span-bar .labels { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.span-bar .labels span:last-child { text-align: right; }
.span-bar strong { color: var(--ink); font-weight: 600; }

/* Mesure / ne capte pas */
.split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.split > div { padding: 28px clamp(0px, 3vw, 40px) 8px 0; }
.split > div + div { border-left: 1px solid var(--paper-3); padding-left: clamp(20px, 3vw, 40px); }
.split h3 { font-size: 1.25rem; font-weight: 640; font-stretch: 108%; letter-spacing: -0.01em; margin-bottom: 20px; }
.split ul { list-style: none; padding: 0; }
.split li { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; padding: 14px 0; border-top: 1px solid var(--paper-3); }
.split li:first-child { border-top: 0; padding-top: 0; }
.split li svg { margin-top: 5px; }
.split li b { display: block; font-weight: 600; }
.split li span { display: block; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.yes svg { color: var(--ink); }
.no svg { color: var(--alert); }

/* ---------- Domaines Privés & Résidences ---------- */
.estate-section {
  background: var(--paper-2);
  border-top: 1px solid var(--paper-3);
  border-bottom: 1px solid var(--paper-3);
  padding-block: clamp(64px, 8vw, 110px);
}
.badge-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--alert);
  background: rgba(212, 32, 42, 0.08);
  border: 1px solid rgba(212, 32, 42, 0.25);
  padding: 5px 12px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.estate-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 760px) {
  .estate-cards { grid-template-columns: 1fr; }
}
.estate-card {
  background: var(--paper);
  border: 1px solid var(--paper-3);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.estate-card:hover {
  border-color: var(--ink-3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12, 27, 34, 0.06);
}
.ec-icon {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: var(--night);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.estate-card h3 {
  font-size: 1.12rem;
  font-weight: 640;
  margin-bottom: 8px;
  color: var(--ink);
}
.estate-card p {
  font-size: 14.8px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

/* Fonctionnement : vraie séquence */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 28px; margin-top: 56px; position: relative; counter-reset: s; }
.steps li { position: relative; padding-top: 28px; }
.steps li::before { content: ""; position: absolute; top: 0; left: 0; right: -28px; height: 1px; background: var(--ink); }
.steps li:last-child::before { right: 0; }
.steps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; background: var(--ink); }
.steps .n { font-size: 3.2rem; font-stretch: 125%; font-weight: 300; line-height: 1; letter-spacing: -0.03em; color: var(--ink); display: block; margin-bottom: 18px; }
.steps svg { display: block; margin-bottom: 18px; color: var(--ink-2); }
.steps h3 { font-size: 1.15rem; font-weight: 640; font-stretch: 106%; line-height: 1.2; margin-bottom: 10px; }
.steps p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }

/* Console / réglages */
.dark-block { background: var(--night); color: var(--paper); }
.dark-block .section { padding-block: clamp(60px, 8vw, 100px); }
.dark-block .prose { color: rgba(232, 237, 238, 0.78); }
.feat { margin: 0; border-top: 1px solid var(--line-soft); }
.feat > div { display: grid; grid-template-columns: minmax(150px, 0.8fr) 1.6fr; column-gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.feat dt { font-weight: 620; font-stretch: 104%; }
.feat dd { color: rgba(232, 237, 238, 0.74); font-size: 16px; line-height: 1.55; }
.console-shot { margin-top: 56px; }
.console-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--night-4); }
.console-shot figcaption { margin-top: 12px; font-size: 14px; color: rgba(160, 196, 210, 0.75); }
.dark-block .btn { margin-top: 32px; }

/* Sécurité */
.sec dl { margin: 0; border-top: 1px solid var(--ink); }
.sec dl > div { display: grid; grid-template-columns: minmax(150px, 0.7fr) 1.6fr; column-gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--paper-3); }
.sec dt { font-weight: 620; font-stretch: 104%; }
.sec dd { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.fine { margin-top: 24px; font-size: 14.5px; color: var(--ink-3); max-width: 62ch; }

/* Pilote */
.pilot { background: var(--paper-2); }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
form .full { grid-column: 1 / -1; }
label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 12px 14px;
}
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 14px; color: var(--ink-2); max-width: 54ch; }
.pilot .lead { margin-top: 18px; color: var(--ink-2); max-width: 46ch; }

/* Pied */
.site-footer { background: var(--night); color: rgba(232, 237, 238, 0.8); padding-block: 48px; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; align-items: flex-start; }
.site-footer a { text-decoration-color: rgba(232, 237, 238, 0.4); text-underline-offset: 3px; }
.site-footer .brand { color: var(--paper); }
.site-footer p + p { margin-top: 6px; }

/* ---------- Adaptatif ---------- */
@media (max-width: 1140px) {
  .nav { gap: 11px; font-size: 13.5px; }
  .nav .btn { padding: 7px 12px; font-size: 13px; }
  .lang-btn { padding: 6px 10px; font-size: 12.5px; }
}
@media (max-width: 980px) {
  .nav a[href="#constat"],
  .nav a[href="#mesure"],
  .nav a[href="#fonctionnement"],
  .nav a[href="#securite"] {
    display: none;
  }
  .nav { gap: 14px; }
}
@media (max-width: 1000px) {
  .cols > .a, .cols > .b { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps li:nth-child(2)::before { right: 0; }
}
@media (max-width: 1199px) {
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-copy { padding-top: 118px; padding-bottom: 36px; }
  .hero-plan { position: relative; inset: auto; order: 2; }
  .hero-plan canvas { height: min(112vw, 580px); }
  .hero-plan figcaption { position: static; padding: 12px var(--pad) 20px; text-align: left; }
}
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .split { grid-template-columns: 1fr; }
  .split > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--ink); margin-top: 20px; padding-top: 28px; }
  .feat > div, .sec dl > div { grid-template-columns: 1fr; row-gap: 4px; }
  form { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li::before { right: 0 !important; }
}

/* ---------- Fil de scroll ---------- */
.trace { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 3; overflow: visible; }
@media (min-width: 900px) {
  .has-trace .steps li::before { background: rgba(12, 27, 34, 0.14); }
  .has-trace .steps li::after { background: rgba(12, 27, 34, 0.14); }
}

/* ---------- Fin de page : téléphone + offres ---------- */
.endcta { background: var(--night); color: var(--paper); padding-block: clamp(80px, 11vw, 150px); }
.endcta-grid { display: grid; grid-template-columns: minmax(200px, 0.8fr) 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.endcta-phone { display: flex; justify-content: center; }
.phone { position: relative; width: 168px; height: 336px; border: 1.5px solid rgba(160, 196, 210, 0.75); border-radius: 26px; background: #0d1f28; padding: 12px; }
.phone-notch { position: absolute; top: 9px; left: 50%; width: 52px; height: 7px; margin-left: -26px; border-radius: 4px; background: rgba(160, 196, 210, 0.35); }
.phone-screen { position: relative; height: 100%; border-radius: 17px; background: #08151b; border: 1px solid rgba(160, 196, 210, 0.18); overflow: hidden; padding: 30px 10px 10px; }
.phone-time { text-align: center; font-size: 30px; font-weight: 300; font-stretch: 110%; letter-spacing: -0.02em; color: rgba(232, 237, 238, 0.85); }
.notif { margin-top: 26px; background: rgba(232, 237, 238, 0.94); color: var(--ink); border-radius: 10px; padding: 9px 10px; font-size: 12px; line-height: 1.35;
  display: grid; gap: 1px; opacity: 0; transform: translateY(-10px); transition: opacity 0.5s ease, transform 0.5s ease; }
.notif.on { opacity: 1; transform: none; }
.notif-app { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--ink-2); font-weight: 600; }
.notif-app i { width: 8px; height: 8px; background: var(--alert); display: inline-block; }
.notif b { font-weight: 700; font-size: 12.5px; }
.endcta-copy h2 { max-width: 20ch; }
.endcta-copy p { margin-top: 20px; color: rgba(232, 237, 238, 0.78); max-width: 46ch; font-size: 1.08rem; }
.endcta-copy .btn { margin-top: 32px; }
.endcta-copy .endcta-mail { margin-top: 22px; font-size: 14.5px; color: rgba(160, 196, 210, 0.85); }
.endcta-copy .endcta-mail a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 819px) {
  .endcta-grid { grid-template-columns: 1fr; }
  .phone { width: 148px; height: 296px; }
}
@media (prefers-reduced-motion: reduce) { .notif { opacity: 1; transform: none; } }

/* Langues de droite à gauche : le texte s'aligne à droite, la mise en page reste stable */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .skip { left: auto; right: -999px; }
[dir="rtl"] .skip:focus { right: 8px; }
/* RTL : la scène animée reste à droite, le texte du haut garde sa colonne et s'aligne à droite */
[dir="rtl"] .hero { direction: ltr; }
[dir="rtl"] .hero-copy .inner > * { direction: rtl; text-align: right; }
/* Langues longues : rien ne dépasse de l'écran */
.site-footer [style*="display:flex"], .site-footer [style*="display: flex"] { flex-wrap: wrap !important; row-gap: 6px !important; }
@media (max-width: 640px) {
  .btn { white-space: normal !important; text-align: center; max-width: 100%; }
}
.nav a.fit-hide { display: none !important; }

/* ---------- Mockup Console Aperçu Multilingue ---------- */
.console-mockup {
  background: #08151b;
  border: 1px solid rgba(160, 196, 210, 0.22);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  font-family: inherit;
  color: #e8edee;
  text-align: left;
}
.cmk-strip {
  background: #f59e0b;
  color: #0c1b22;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  text-align: center;
  letter-spacing: 0.01em;
}
.cmk-body {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 520px;
}
@media (max-width: 860px) {
  .cmk-body { grid-template-columns: 1fr; }
  .cmk-rail { display: none; }
}
.cmk-rail {
  background: #061116;
  border-right: 1px solid rgba(160, 196, 210, 0.12);
  display: flex;
  flex-direction: column;
  padding: 14px 0 10px;
}
.cmk-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px 14px;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  border-bottom: 1px solid rgba(160, 196, 210, 0.1);
}
.cmk-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 10px;
  flex: 1;
}
.cmk-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  font-size: 13px;
  color: rgba(232, 237, 238, 0.65);
  border-left: 3px solid transparent;
}
.cmk-nav-item.active {
  color: #fff;
  background: rgba(160, 196, 210, 0.08);
  border-left-color: #38bdf8;
  font-weight: 600;
}
.cmk-badge {
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
}
.cmk-user {
  padding: 12px 18px;
  border-top: 1px solid rgba(160, 196, 210, 0.1);
  font-size: 12px;
  line-height: 1.35;
}
.cmk-user b { display: block; color: #fff; }
.cmk-user span { color: rgba(160, 196, 210, 0.7); }
.cmk-main {
  background: #0c1b22;
  display: flex;
  flex-direction: column;
}
.cmk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px;
  background: #09171e;
  border-bottom: 1px solid rgba(160, 196, 210, 0.12);
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 8px;
}
.cmk-poste { color: rgba(160, 196, 210, 0.85); display: flex; align-items: center; gap: 8px; }
.cmk-select { background: #132731; color: #e8edee; padding: 4px 10px; border-radius: 3px; border: 1px solid rgba(160, 196, 210, 0.2); font-weight: 500; font-size: 12px; }
.cmk-online { display: flex; align-items: center; gap: 6px; color: #10b981; font-weight: 600; font-size: 12px; }
.cmk-online small { color: rgba(160, 196, 210, 0.65); font-weight: 400; margin-left: 6px; }
.cmk-dot { width: 7px; height: 7px; background: #10b981; border-radius: 50%; display: inline-block; }
.cmk-content { padding: 18px 22px 24px; }
.cmk-vh h3 { font-size: 1.25rem; font-weight: 650; margin: 0; color: #fff; }
.cmk-vh p { font-size: 13px; color: rgba(232, 237, 238, 0.7); margin: 3px 0 16px; }
.cmk-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #11242d;
  border: 1px solid rgba(160, 196, 210, 0.15);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}
@media (max-width: 640px) { .cmk-stats { grid-template-columns: repeat(2, 1fr); } }
.cmk-stat { padding: 12px 16px; border-left: 1px solid rgba(160, 196, 210, 0.12); }
.cmk-stat:first-child { border-left: none; }
.cmk-stat span { display: block; font-size: 11.5px; color: rgba(160, 196, 210, 0.8); text-transform: none; }
.cmk-stat b { display: block; font-size: 1.4rem; font-weight: 700; color: #fff; margin-top: 3px; line-height: 1.1; }
.cmk-panel {
  background: #11242d;
  border: 1px solid rgba(160, 196, 210, 0.15);
  border-radius: 4px;
  padding: 14px 18px;
  margin-bottom: 16px;
}
.cmk-panel-title { font-size: 13px; font-weight: 650; color: #fff; margin-bottom: 8px; }
.cmk-chart-svg { width: 100%; height: 70px; display: block; }
.cmk-chart-labels { display: flex; justify-content: space-between; font-size: 10.5px; color: rgba(160, 196, 210, 0.6); padding-top: 4px; }
.cmk-chart-sub { font-size: 11px; color: rgba(160, 196, 210, 0.65); margin-top: 6px; }
.cmk-bottom-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 14px;
}
@media (max-width: 700px) { .cmk-bottom-grid { grid-template-columns: 1fr; } }
.cmk-alerts-card, .cmk-detail-card {
  background: #11242d;
  border: 1px solid rgba(160, 196, 210, 0.15);
  border-radius: 4px;
  padding: 14px 16px;
}
.cmk-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.cmk-card-title { font-size: 13px; font-weight: 650; color: #fff; }
.cmk-tabs { display: flex; gap: 4px; font-size: 11px; }
.cmk-tab { padding: 2px 7px; background: rgba(160, 196, 210, 0.08); border-radius: 3px; color: rgba(232, 237, 238, 0.7); }
.cmk-tab.active { background: #38bdf8; color: #0c1b22; font-weight: 600; }
.cmk-alert-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(160, 196, 210, 0.08);
  font-size: 12px;
}
.cmk-alert-row:last-child { border-bottom: none; }
.cmk-tag { font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 2px; }
.cmk-tag.new { background: rgba(239, 68, 68, 0.2); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.4); }
.cmk-tag.ack { background: rgba(245, 158, 11, 0.2); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.4); }
.cmk-ar-info { flex: 1; min-width: 0; line-height: 1.3; }
.cmk-ar-info b { display: block; color: #fff; font-size: 12px; }
.cmk-ar-info small { color: rgba(160, 196, 210, 0.7); font-size: 11px; }
.cmk-alert-row time { font-size: 11px; color: rgba(160, 196, 210, 0.7); font-family: monospace; }
.cmk-dt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  font-size: 12px;
}
.cmk-dt-grid label { display: block; font-size: 11px; color: rgba(160, 196, 210, 0.7); margin-bottom: 2px; }
.cmk-dt-grid b { color: #fff; font-size: 12.5px; }

/* Slogan Triple Zéro */
.triple-zero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #a7f3d0;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.triple-zero-pill b {
  color: #fff;
  font-weight: 700;
}
.triple-zero-pill .dot {
  color: rgba(160, 196, 210, 0.4);
}


/* ==========================================
   BLOC 3 PILIERS TRIPLE ZERO (SWISS STANDARD)
   ========================================== */
.triple-zero-section {
  padding-block: 44px 52px;
  background: #08151b;
  border-bottom: 1px solid rgba(160, 196, 210, 0.09);
  position: relative;
  z-index: 2;
}
.triple-zero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tz-card {
  background: rgba(11, 26, 33, 0.85);
  border: 1px solid rgba(160, 196, 210, 0.12);
  border-radius: 12px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.tz-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.tz-num {
  font-size: clamp(40px, 4.8vw, 54px);
  font-weight: 800;
  line-height: 1;
  color: #10b981;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1;
}
.tz-body h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 10px 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.tz-body p {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
}
@media (max-width: 860px) {
  .triple-zero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .triple-zero-section {
    padding-block: 32px 38px;
  }
  .tz-card {
    padding: 22px 20px;
  }
}
