/* ============================================================================
   responsive.css — overrides mobile/tablette
   Chargé EN DERNIER (après vitrine.css) pour gagner sur la cascade.
   Breakpoints : 1024px (tablette), 720px (mobile), 480px (petit mobile).
   ============================================================================ */


/* ── 1. HERO ───────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .landing-hero-data.with-live {
    grid-template-columns: 1fr;
  }
  .landing-hero-data.with-live .lhd-left h1 {
    font-size: 42px;
  }
  .landing-hero-data.with-live .live-counter {
    max-width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 720px) {
  .landing-hero-data.with-live .lhd-left h1 {
    font-size: 32px;
    line-height: 1.08;
  }
  .landing-hero-data.with-live .lhd-left h1 br { display: none; }
  .landing-hero-data.with-live .cta-row .btn { width: 100%; }
}

@media (max-width: 480px) {
  .landing-hero-data.with-live .lhd-left h1 {
    font-size: 28px;
  }
}


/* ── 2. TOPBAR ─────────────────────────────────────────────────────────────── */

@media (max-width: 720px) {
  .topbar {
    height: 52px;
    padding: 0 16px;
  }
  .topbar .brand-kicker { display: none; }
  .topbar .navlink.primary {
    font-size: 12px;
    padding: 7px 12px;
  }
}


/* ── 3. LANDING (wrapper) ──────────────────────────────────────────────────── */

@media (max-width: 720px) {
  .landing {
    padding: 28px 18px 48px;
    overflow-x: hidden;
  }
  .landing-inner { gap: 32px; }
}


/* ── 4. DATA-FLOW CONSTELLATION ───────────────────────────────────────────── */
/* La constellation absolument-positionnée ne marche pas en 375px de large.
   On masque le nuage et on ne garde que les labels de clusters en grille fluide. */

@media (max-width: 720px) {
  .dfs-stage {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 6px 18px 8px;
  }
  .dfs-stage .dfs-comment-wrap { display: none; }
  .dfs-stage .dfs-cluster {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    display: inline-flex;
  }
  .dfs-arrows { display: none !important; }
}


/* ── 5. USES CARDS ─────────────────────────────────────────────────────────── */

@media (max-width: 720px) {
  .dfs-uses {
    grid-template-columns: 1fr;
    padding: 0 18px;
    gap: 12px;
  }
  .landing-use-card.simple {
    padding: 18px;
    min-height: 0;
  }
}


/* ── 6. FOOTNOTE ───────────────────────────────────────────────────────────── */

@media (max-width: 720px) {
  .landing-footnote {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .lfn-item { padding-right: 0; }
}


/* ── 7. NOTIFY MODAL ───────────────────────────────────────────────────────── */

@media (max-width: 720px) {
  .notify-overlay { padding: 16px; }
  .notify-modal { padding: 28px 22px 24px; }
  .notify-input { font-size: 16px; }   /* empêche le zoom iOS au focus */
}


/* ── 8. HOVER-LESS (pointeurs tactiles) ───────────────────────────────────── */

@media (hover: none) {
  .landing-use-card.simple:hover,
  .landing-obj-card:hover {
    transform: none;
  }
}
