/* ==========================================================
   Page dédiée Cyan Sensor — styles propres à la page (.cyp-)
   S'appuie sur /styles.css (tokens + .app-band, .phone,
   .store-badge, .app-chip définis pour la section accueil).
   ========================================================== */

/* ---- Nav ---- */
.cyp-nav-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cyp-nav-name img { width: 30px; height: 30px; border-radius: 8px; }
.cyp-nav-sep { color: var(--ink-4); font-weight: 400; margin: 0 2px; }
.cyp-nav-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
@media (max-width: 720px) {
  .cyp-nav-right .cyp-nav-back { display: none; }
  .cyp-nav-name .cyp-nav-app-label { display: none; }
}
@media (max-width: 560px) {
  .cyp-nav-name { display: none; }
  .cyp-nav-right { gap: 10px; }
}

/* ---- Hero (clair, sur le fond topo du site) ---- */
.cyp-hero {
  padding: calc(var(--section-py) * 0.75) 0 calc(var(--section-py) * 0.9);
  background: transparent;
  border-top: 0;
}
.cyp-hero h1 {
  font-size: clamp(34px, 4.2vw, 58px);
  max-width: 20ch;
}
.cyp-hero h1 .accent {
  background: linear-gradient(92deg, var(--brand), #2bb3a3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cyp-hero-sub {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  max-width: 54ch;
}

/* ---- Grille de fonctionnalités ---- */
.cyp-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .cyp-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cyp-features { grid-template-columns: 1fr; } }
.cyp-feature { display: flex; flex-direction: column; gap: 10px; }
.cyp-feature-ico {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  margin-bottom: 4px;
}
.cyp-feature h3 { font-size: 18px; }
.cyp-feature p { font-size: 14.5px; color: var(--ink-3); line-height: 1.6; }

/* ---- Visite guidée (rangées alternées) ---- */
.cyp-tour { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 110px); }
.cyp-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.cyp-row--rev .cyp-row-media { order: 2; }
@media (max-width: 860px) {
  .cyp-row { grid-template-columns: 1fr; gap: 30px; }
  .cyp-row--rev .cyp-row-media { order: 0; }
}
.cyp-row-media { display: flex; justify-content: center; }
.app-shot--tour { width: min(268px, 70vw); }
.cyp-row-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}
.cyp-row h3 { font-size: clamp(24px, 2.2vw, 32px); margin-top: 12px; }
.cyp-row-desc { margin-top: 14px; font-size: 16px; color: var(--ink-2); max-width: 50ch; }
.cyp-points { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cyp-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.cyp-points .chk {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in oklab, var(--aq-good) 16%, transparent);
  color: #1a8055;
}

/* ---- Capteurs compatibles (2 cartes larges) ---- */
.cyp-sensors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 640px) { .cyp-sensors { grid-template-columns: 1fr; } }
.cyp-sensor-media { aspect-ratio: 16 / 9; }
.cyp-sensor {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.cyp-sensor:hover {
  text-decoration: none;
  border-color: color-mix(in oklab, var(--brand) 40%, var(--line));
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.cyp-sensor-media { overflow: hidden; background: var(--surface-2); }
.cyp-sensor-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.cyp-sensor:hover .cyp-sensor-media img { transform: scale(1.04); }
.cyp-sensor-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 3px; }
.cyp-sensor-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
}
.cyp-sensor-d { font-size: 13px; color: var(--ink-3); }
.cyp-sensor-arr {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.cyp-sensor-arr .arr { transition: transform 0.16s ease; }
.cyp-sensor:hover .cyp-sensor-arr .arr { transform: translateX(4px); }

/* ---- CTA final (clair) ---- */
.cyp-cta {
  text-align: center;
  padding: calc(var(--section-py) * 0.9) 0;
}
.cyp-cta h2 { font-size: clamp(30px, 3.4vw, 48px); max-width: none; margin: 0 auto; }
.cyp-cta p { color: var(--ink-2); max-width: 46ch; margin: 16px auto 0; }
.cyp-cta .store-badges { justify-content: center; margin-top: 34px; }
.cyp-cta-note {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-4);
}
.cyp-cta .app-icon-big {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  margin: 0 auto 26px;
  display: block;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

/* ---- Footer ---- */
.cyp-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.cyp-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
}
.cyp-footer a { color: var(--ink-3); }
.cyp-footer a:hover { color: var(--brand-strong); }
.cyp-footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
