/* ============================================
   NET1C — Contrôle d'accès (landing dédiée)
   S'appuie sur les variables de ../style.css
   ============================================ */

.container--narrow { max-width: 820px; }

.nav__cta {
  background: var(--accent);
  color: var(--white) !important;
}
.nav__cta:hover { background: var(--accent-light); }

/* ============================================
   HERO
   ============================================ */
.ca-hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.ca-hero__bg { position: absolute; inset: 0; z-index: 0; }
.ca-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 75%);
}
.ca-hero__glow {
  position: absolute;
  width: 720px; height: 520px;
  top: -180px; right: -120px;
  background: var(--accent);
  opacity: 0.06;
  filter: blur(130px);
  border-radius: 50%;
}
.ca-hero__inner { position: relative; z-index: 1; max-width: 860px; }
.ca-hero__back {
  display: inline-block;
  font-size: 14px; font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  transition: var(--transition);
}
.ca-hero__back:hover { opacity: .7; }
.ca-hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px; font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.ca-hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34,197,94,.5);
  animation: pulse-dot 2s ease-in-out infinite;
}
.ca-hero__title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.ca-hero__title span { display: block; }
.ca-hero__title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #e8213e 50%, #b80d28 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ca-hero__sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 660px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.ca-hero__cta {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 44px;
}
.ca-hero__phone {
  display: inline-flex; align-items: center; gap: 10px;
}
.ca-hero__phone svg { width: 18px; height: 18px; }
.ca-hero__partners {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.ca-hero__partners li {
  font-size: 15px; font-weight: 700;
  letter-spacing: .02em;
  color: var(--text-dim);
}

/* ============================================
   TRUST STRIP
   ============================================ */
.ca-trust { border-bottom: 1px solid var(--border); }
.ca-trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.ca-trust__item {
  background: var(--bg);
  padding: 28px 20px;
  text-align: center;
}
.ca-trust__num {
  display: block;
  font-size: 24px; font-weight: 800;
  letter-spacing: -.02em;
  color: var(--accent);
  margin-bottom: 6px;
}
.ca-trust__label {
  font-size: 13px; color: var(--text-muted); font-weight: 500;
}

/* ============================================
   SECTIONS
   ============================================ */
.ca-section { padding: 100px 0; border-top: 1px solid var(--border); }
.ca-section--alt { background: var(--bg-elevated); }
.ca-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.ca-tag {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent-light);
  margin-bottom: 16px;
}
.ca-title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800; letter-spacing: -.02em;
  line-height: 1.15;
}
.ca-lead {
  margin-top: 18px;
  font-size: 17px; line-height: 1.7;
  color: var(--text-muted);
}

/* ============================================
   GRID + CARDS
   ============================================ */
.ca-grid { display: grid; gap: 22px; }
.ca-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ca-grid--3 { grid-template-columns: repeat(3, 1fr); }

.ca-card {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: var(--transition);
}
.ca-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: 0 18px 44px rgba(0,0,0,.08);
}
.ca-card--lg { padding: 40px 36px; }
.ca-card__icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-glow);
  border-radius: 13px;
  margin-bottom: 20px;
}
.ca-card__icon svg { width: 25px; height: 25px; color: var(--accent-light); }
.ca-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.ca-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; }

.ca-mini-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.ca-mini-list li {
  position: relative; padding-left: 22px;
  font-size: 14px; color: var(--text-muted); line-height: 1.5;
}
.ca-mini-list li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}

/* ============================================
   RESILIENCE HIGHLIGHT
   ============================================ */
.ca-resilience {
  background: #1e1e24;
  color: #e8e8ee;
  padding: 64px 0;
}
.ca-resilience__inner {
  display: flex; align-items: center; gap: 32px;
}
.ca-resilience__icon {
  flex-shrink: 0;
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.3);
  border-radius: 18px;
}
.ca-resilience__icon svg { width: 36px; height: 36px; color: #34d399; }
.ca-resilience__text h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 12px;
}
.ca-resilience__text p {
  font-size: 16px; line-height: 1.75; color: #b6b6c2;
  max-width: 880px;
}

/* ============================================
   SCREENSHOTS (Genea)
   ============================================ */
.ca-shots {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; margin-bottom: 48px;
}
.ca-shot {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(0,0,0,.08);
}
.ca-shot__chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  background: #1e1e24;
  border-bottom: 1px solid #2a2a32;
}
.ca-shot__chrome span {
  width: 11px; height: 11px; border-radius: 50%; background: #43434f;
}
.ca-shot__chrome span:nth-child(1) { background: #ff5f57; }
.ca-shot__chrome span:nth-child(2) { background: #febc2e; }
.ca-shot__chrome span:nth-child(3) { background: #28c840; }
.ca-shot__chrome em {
  margin-left: 10px;
  font-family: var(--mono); font-style: normal;
  font-size: 11.5px; color: #8a8a96;
}
.ca-shot__img {
  aspect-ratio: 16 / 10;
  display: flex; align-items: center; justify-content: center;
}
.ca-shot__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ca-shot__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(135deg, #f4f4f7 0 14px, #eeeef2 14px 28px);
  position: relative;
}
.ca-shot__placeholder::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(200,16,46,.06), transparent 70%);
}
.ca-shot__placeholder span {
  position: relative;
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  color: var(--text-dim);
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px dashed var(--border-light);
  border-radius: 8px;
}
.ca-shot figcaption {
  padding: 16px 20px;
  font-size: 13.5px; color: var(--text-muted); line-height: 1.5;
  border-top: 1px solid var(--border);
}

/* Capture large (vue Matériel) */
.ca-shot--wide { max-width: 940px; margin: 8px auto 28px; }
.ca-shot--wide .ca-shot__img { aspect-ratio: auto; min-height: 240px; }
.ca-shot--wide .ca-shot__img img { object-fit: contain; height: auto; }

/* Mockup HTML reproduisant une vue Genea (données fictives) */
.ca-usermgmt { background: var(--bg-card); }
.ca-usermgmt__bar {
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.ca-usermgmt__h { font-size: 15px; font-weight: 600; color: var(--text); }
.ca-usermgmt__add {
  font-size: 12px; font-weight: 600; color: #fff; background: #2563eb;
  padding: 5px 12px; border-radius: 6px;
}
.ca-usermgmt__table { width: 100%; border-collapse: collapse; }
.ca-usermgmt__table th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-dim); font-weight: 600;
  padding: 10px 18px; background: var(--bg-elevated);
}
.ca-usermgmt__table td {
  padding: 9px 18px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted); vertical-align: middle;
}
.ca-usermgmt__name { display: flex; align-items: center; gap: 10px; }
.ca-usermgmt__name a, .ca-usermgmt__name span.lnk { color: #2563eb; font-weight: 500; }
.ca-ava {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-weight: 700; color: #fff;
  background: var(--c, #888);
}
.ca-st { color: #15803d; font-weight: 500; white-space: nowrap; }
.ca-st::before { content: '✓ '; }
@media (max-width: 560px) {
  .ca-usermgmt__table th:nth-child(2), .ca-usermgmt__table td:nth-child(2) { display: none; }
  .ca-usermgmt__table th, .ca-usermgmt__table td { padding: 9px 12px; }
}

/* Mock tables génériques (Doors, Hardware, Journal) */
.ca-mock { background: var(--bg-card); overflow-x: auto; }
.ca-mock__bar {
  padding: 0 18px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 22px;
}
.ca-mock__tabs { display: flex; gap: 22px; }
.ca-mock__tabs span {
  font-size: 13px; color: var(--text-dim); font-weight: 600;
  padding: 14px 0; border-bottom: 2px solid transparent;
}
.ca-mock__tabs span.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.ca-mock__table { width: 100%; border-collapse: collapse; }
.ca-mock__table th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-dim); font-weight: 600; white-space: nowrap;
  padding: 10px 18px; background: var(--bg-elevated);
}
.ca-mock__table td {
  padding: 10px 18px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted); vertical-align: middle; white-space: nowrap;
}
.ca-mock__table td .lnk { color: #2563eb; font-weight: 500; }
.ca-mock__sub { display: block; font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.ca-pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.ca-pill--locked { background: #dcfce7; color: #15803d; }
.ca-online { color: #15803d; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; }
.ca-online::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.ca-granted { color: #15803d; font-weight: 600; }
.ca-denied { color: #b91c1c; font-weight: 600; }

/* Dashboard mock */
.ca-dash { padding: 16px; background: var(--bg-elevated); display: flex; flex-direction: column; gap: 14px; }
.ca-dash__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ca-dash__stat { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; }
.ca-dash__num { font-size: 28px; font-weight: 800; color: var(--text); line-height: 1; }
.ca-dash__lbl { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.ca-dash__panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; }
.ca-dash__panel h5 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-dim); margin-bottom: 10px; }
.ca-dash__row { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--text-muted); padding: 5px 0; }
.ca-dash__row b { width: 130px; font-weight: 600; color: var(--text); }
.ca-dash__row em { font-style: normal; font-variant-numeric: tabular-nums; }
.ca-bar { flex: 1; height: 8px; border-radius: 4px; background: var(--border); overflow: hidden; }
.ca-bar i { display: block; height: 100%; background: #2563eb; }
@media (max-width: 560px) { .ca-dash__stats { grid-template-columns: 1fr; } .ca-dash__row b { width: 96px; } }

.ca-feature-list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.ca-feature-list li {
  background: var(--bg-card);
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.ca-feature-list strong { font-size: 15px; font-weight: 700; }
.ca-feature-list span { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ============================================
   SPLIT (video / intégration)
   ============================================ */
.ca-split {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 56px; align-items: center;
}
.ca-split__text { text-align: left; }
.ca-split__text .ca-title { margin-bottom: 18px; }
.ca-split__text p {
  font-size: 16px; line-height: 1.75; color: var(--text-muted);
  margin-bottom: 16px;
}
.ca-split__text .ca-mini-list { margin-top: 22px; }

/* Loop diagram */
.ca-split__visual { display: flex; justify-content: center; }
.ca-loop {
  position: relative; width: 280px; height: 280px;
}
.ca-loop__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ca-loop__lines circle {
  fill: none; stroke: var(--accent); stroke-width: 1.5;
  stroke-dasharray: 6 5; opacity: .35;
  animation: dash-flow 18s linear infinite;
}
.ca-loop__center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 108px; height: 108px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-size: 13px; font-weight: 700;
  background: var(--accent); color: var(--white);
  border-radius: 50%;
  box-shadow: 0 8px 28px rgba(200,16,46,.3);
  padding: 0 12px;
}
.ca-loop__node {
  position: absolute;
  width: 92px; height: 92px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.ca-loop__node--1 { top: -10px; left: 50%; transform: translateX(-50%); }
.ca-loop__node--2 { bottom: 6px; left: -10px; }
.ca-loop__node--3 { bottom: 6px; right: -10px; }

/* ============================================
   HARDWARE
   ============================================ */
.ca-hw {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--accent);
  transition: var(--transition);
}
.ca-hw:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,.08); }
.ca-hw h3 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.ca-hw__role {
  font-size: 12.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--accent-light);
  margin: 4px 0 16px;
}
.ca-hw p { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; }
.ca-hw__note {
  margin-top: 28px; text-align: center;
  font-size: 14px; color: var(--text-dim); line-height: 1.6;
  max-width: 760px; margin-left: auto; margin-right: auto;
}

/* ============================================
   INTÉGRATIONS / ÉCOSYSTÈME
   ============================================ */
.ca-int {
  padding: 30px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: var(--transition);
}
.ca-int:hover { transform: translateY(-4px); border-color: var(--border-light); box-shadow: 0 18px 44px rgba(0,0,0,.08); }
.ca-int h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.ca-int p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin-bottom: 18px; }
.ca-int__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.ca-int__tags span {
  padding: 5px 11px;
  font-size: 12px; font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
}

/* ============================================
   IDENTIFICATION : téléphone Wallet
   ============================================ */
.ca-id { display: grid; grid-template-columns: 400px 1fr; gap: 52px; align-items: center; }
.ca-id__visual { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.ca-id__cards { display: flex; flex-direction: column; gap: 22px; }
.ca-devices { display: flex; align-items: center; gap: 18px; justify-content: center; }

.ca-phone {
  width: 218px; padding: 12px; border-radius: 38px;
  background: #1d1d24;
  box-shadow: 0 28px 64px rgba(0,0,0,.30), inset 0 0 0 2px #2c2c36;
  position: relative;
}
.ca-phone__notch {
  position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 22px; background: #1d1d24; border-radius: 0 0 16px 16px; z-index: 3;
}
.ca-phone__screen {
  background: linear-gradient(165deg, #eef0f6 0%, #e2e4ec 100%);
  border-radius: 28px; min-height: 430px;
  padding: 44px 16px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.ca-phone__time { font-size: 13px; font-weight: 600; color: #4a4a55; align-self: stretch; text-align: center; }
.ca-pass {
  width: 100%; border-radius: 18px; padding: 18px 18px 20px;
  background: linear-gradient(145deg, #2c2c36 0%, #15151b 70%);
  color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.28);
  position: relative; overflow: hidden;
}
.ca-pass::after {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 70%); opacity: .5;
}
.ca-pass__top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.ca-pass__brand { font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.ca-pass__brand i { color: var(--accent-light); font-style: normal; }
.ca-pass__nfc { width: 20px; height: 20px; opacity: .9; }
.ca-pass__name { margin-top: 30px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.ca-pass__role { font-size: 12px; opacity: .65; margin-top: 2px; }
.ca-pass__hint { margin-top: 26px; font-size: 10.5px; opacity: .6; display: flex; align-items: center; gap: 6px; }
.ca-wallet-badges { display: flex; gap: 10px; }
.ca-wallet-badges span {
  font-size: 12px; font-weight: 600; color: #fff; background: #111;
  padding: 8px 14px; border-radius: 9px; display: inline-flex; align-items: center; gap: 7px;
}
.ca-wallet-badges svg { width: 14px; height: 14px; }

/* Montre type Apple Watch */
.ca-watch { display: flex; flex-direction: column; align-items: center; }
.ca-watch__band { width: 60px; background: #2a2a33; z-index: 0; }
.ca-watch__band--top { height: 30px; border-radius: 14px 14px 5px 5px; margin-bottom: -10px; }
.ca-watch__band--bottom { height: 30px; border-radius: 5px 5px 14px 14px; margin-top: -10px; }
.ca-watch__body {
  position: relative; width: 114px; height: 136px;
  border-radius: 36px; background: #1d1d24; padding: 9px;
  box-shadow: 0 18px 42px rgba(0,0,0,.30), inset 0 0 0 2px #2c2c36; z-index: 1;
}
.ca-watch__crown {
  position: absolute; right: -4px; top: 50%; transform: translateY(-50%);
  width: 5px; height: 26px; background: #3a3a44; border-radius: 3px;
}
.ca-watch__screen {
  width: 100%; height: 100%; border-radius: 28px;
  background: linear-gradient(160deg, #2c2c36 0%, #14141a 75%);
  color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px; padding: 8px; text-align: center;
}
.ca-watch__screen .ca-pass__nfc { width: 24px; height: 24px; opacity: .9; }
.ca-watch__brand { font-size: 12px; font-weight: 800; letter-spacing: .07em; }
.ca-watch__brand i { color: var(--accent-light); font-style: normal; }
.ca-watch__name { font-size: 10px; opacity: .7; }

@media (max-width: 420px) {
  .ca-phone { width: 190px; }
  .ca-watch__body { width: 96px; height: 116px; }
}

/* ============================================
   PLAN D'ÉTAGE (Floor Plan)
   ============================================ */
.ca-floor { background: var(--bg-card); padding: 18px; position: relative; }
.ca-floor svg { width: 100%; height: auto; display: block; }
.ca-floor__door-grp { cursor: pointer; }
.ca-floor__door-grp:focus { outline: none; }
.ca-floor__door-grp:focus .ca-floor__door-ring,
.ca-floor__door-grp:hover .ca-floor__door-ring { opacity: .8; }
.ca-floor__door.is-pulse { transform-box: fill-box; transform-origin: center; animation: ca-doorpulse .5s ease 0s 3; }
@keyframes ca-doorpulse { 50% { transform: scale(1.9); } }

/* Popover porte */
/* La figure du plan ne clippe pas la popup (sinon coupée en mobile) */
.ca-shot--floor { overflow: visible; }
.ca-shot--floor .ca-shot__chrome { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.ca-shot--floor figcaption { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

.ca-floor__pop {
  position: absolute; transform: translate(-50%, -116%); width: 206px;
  max-width: calc(100vw - 32px); z-index: 6;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 16px 42px rgba(0,0,0,.22); padding: 12px; display: none;
}
.ca-floor__pop.is-open { display: block; }
.ca-floor__pop::after {
  content: ''; position: absolute; left: calc(50% + var(--arrow-dx, 0px)); bottom: -7px;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: var(--bg-card);
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.ca-floor__pop-cam {
  height: 92px; border-radius: 8px; margin-bottom: 10px; overflow: hidden;
  position: relative; background: #0e1118;
}
.ca-cam__scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ca-cam__person { animation: ca-cam-walk 4.5s ease-in-out infinite; }
@keyframes ca-cam-walk { 0%,100% { transform: translateY(1.5px); } 50% { transform: translateY(-2px); } }
.ca-floor__pop-cam::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: repeating-linear-gradient(rgba(255,255,255,.04) 0 1px, transparent 1px 3px);
  box-shadow: inset 0 0 32px rgba(0,0,0,.65);
}
.ca-cam__live, .ca-cam__id, .ca-cam__ts {
  position: absolute; z-index: 4; font-family: var(--mono); font-size: 9px; font-weight: 600;
  letter-spacing: .04em; padding: 2px 5px; border-radius: 3px; background: rgba(0,0,0,.4);
}
.ca-cam__live { top: 6px; left: 6px; color: #fff; display: inline-flex; align-items: center; gap: 4px; }
.ca-cam__live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: #ef4444;
  box-shadow: 0 0 6px #ef4444; animation: ca-cam-blink 1.2s steps(1) infinite;
}
@keyframes ca-cam-blink { 50% { opacity: .25; } }
.ca-cam__id { top: 6px; right: 6px; color: #9fb4cf; }
.ca-cam__ts { bottom: 6px; right: 6px; color: #cdd6e2; }
.ca-cam__scan {
  position: absolute; left: 0; right: 0; top: -16px; height: 16px; z-index: 2; pointer-events: none;
  background: linear-gradient(rgba(120,200,255,0), rgba(120,200,255,.10), rgba(120,200,255,0));
  animation: ca-cam-sweep 3.5s linear infinite;
}
@keyframes ca-cam-sweep { 0% { top: -16px; } 100% { top: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .ca-cam__person, .ca-cam__scan, .ca-cam__live::before { animation: none; }
}
.ca-floor__pop-h { font-size: 14px; font-weight: 700; }
.ca-floor__pop-st { font-size: 12px; font-weight: 600; color: #15803d; margin: 2px 0 10px; }
.ca-floor__pop-st.is-alarm { color: var(--accent); }
.ca-floor__pop-btn {
  width: 100%; padding: 9px; border-radius: 8px;
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 600;
  transition: var(--transition);
}
.ca-floor__pop-btn:hover { background: var(--accent-light); }
.ca-floor__pop-btn.is-done { background: #16a34a; }
.ca-floor__room { fill: var(--bg-elevated); stroke: var(--border-light); stroke-width: 1.5; }
.ca-floor__wall { stroke: #b9b9c4; stroke-width: 4; stroke-linecap: round; }
.ca-floor__label { fill: var(--text-dim); font-family: var(--font); font-size: 12px; font-weight: 600; }
.ca-floor__door { fill: #22c55e; }
.ca-floor__door--alarm { fill: var(--accent); }
.ca-floor__door-ring { fill: none; stroke: #22c55e; stroke-width: 1.5; opacity: .35; }
.ca-floor__door-ring--alarm { stroke: var(--accent); }
.ca-floor__reader { fill: #2563eb; }
.ca-floor__cam { fill: none; stroke: var(--text-muted); stroke-width: 1.5; }
.ca-floor__legend { display: flex; flex-wrap: wrap; gap: 18px 24px; padding: 16px 6px 4px; }
.ca-floor__legend span { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-muted); }
.ca-floor__legend i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }

@media (max-width: 860px) {
  .ca-id { grid-template-columns: 1fr; gap: 40px; }
  .ca-id__visual { order: -1; }
}

/* ============================================
   PARTNERS
   ============================================ */
.ca-partners-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.ca-partners-grid li {
  display: flex; flex-direction: column; gap: 4px;
  align-items: center; text-align: center;
  padding: 28px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.ca-partners-grid li:hover { border-color: var(--border-light); background: var(--bg-card-hover); }
.ca-partners-grid__name { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.ca-partners-grid li span:last-child { font-size: 12px; color: var(--text-dim); }

/* ============================================
   SECTORS
   ============================================ */
.ca-sectors {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.ca-sectors li {
  padding: 22px 24px;
  font-size: 15px; font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative; padding-left: 48px;
}
.ca-sectors li::before {
  content: ''; position: absolute; left: 22px; top: 50%;
  transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 2px;
  background: var(--accent);
}

/* ============================================
   FAQ
   ============================================ */
.ca-faq { display: flex; flex-direction: column; gap: 12px; }
.ca-faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.ca-faq__item[open] { border-color: var(--border-light); box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.ca-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 16px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.ca-faq__item summary::-webkit-details-marker { display: none; }
.ca-faq__item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 22px; font-weight: 400; line-height: 1;
  color: var(--accent);
  transition: transform var(--transition);
}
.ca-faq__item[open] summary::after { transform: rotate(45deg); }
.ca-faq__a { padding: 0 24px 22px; }
.ca-faq__a p { font-size: 15px; color: var(--text-muted); line-height: 1.75; }

/* ============================================
   CONTACT
   ============================================ */
.ca-contact {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.ca-contact__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: start;
}
.ca-contact__info .ca-tag { display: inline-block; }
.ca-contact__info .ca-title { text-align: left; }
.ca-contact__lead {
  font-size: 16px; color: var(--text-muted); line-height: 1.7;
  margin: 18px 0 28px;
}
.ca-contact__phone {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 22px; font-weight: 800; letter-spacing: -.01em;
  color: var(--text);
  margin-bottom: 28px;
  transition: var(--transition);
}
.ca-contact__phone svg {
  width: 22px; height: 22px; color: var(--accent);
}
.ca-contact__phone:hover { color: var(--accent); }
.ca-contact__detail {
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.ca-contact__detail strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.ca-contact__detail span { font-size: 14px; color: var(--text-muted); }
.ca-form { margin: 0; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .ca-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .ca-shots { gap: 20px; }
  .ca-feature-list { grid-template-columns: repeat(2, 1fr); }
  .ca-split { grid-template-columns: 1fr; gap: 40px; }
  .ca-split__visual { order: -1; }
  .ca-partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .ca-hero { padding: 120px 0 64px; }
  .ca-section { padding: 72px 0; }
  .ca-contact { padding: 72px 0; }
  .ca-head { margin-bottom: 40px; }
  .ca-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .ca-grid--2 { grid-template-columns: 1fr; }
  .ca-grid--3 { grid-template-columns: 1fr; }
  .ca-shots { grid-template-columns: 1fr; }
  .ca-feature-list { grid-template-columns: 1fr; }
  .ca-resilience__inner { flex-direction: column; text-align: center; gap: 22px; }
  .ca-resilience__text p { margin: 0 auto; }
  .ca-sectors { grid-template-columns: 1fr 1fr; }
  .ca-contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .ca-hero__cta { flex-direction: column; align-items: stretch; }
  .ca-hero__phone { justify-content: center; }
}

@media (max-width: 480px) {
  .ca-trust__grid { grid-template-columns: 1fr; }
  .ca-partners-grid { grid-template-columns: repeat(2, 1fr); }
  .ca-sectors { grid-template-columns: 1fr; }
  .ca-card--lg { padding: 28px 24px; }
  .ca-loop { width: 240px; height: 240px; }
}
