
/* NOVALYS V20 - RESPONSIVE HERO */
/* Desktop existant conserve */

/* Tablettes et petits ordinateurs */
@media (min-width:951px) and (max-width:1200px) {
  .nv18-hero .nv13-layout {
    gap:26px!important;
    grid-template-columns:
      minmax(0,1.1fr)
      minmax(0,.9fr)!important;
  }

  .nv18-hero .nv18-device {
    max-width:100%;
    transform:perspective(1700px)
      rotateY(-7deg)
      rotateZ(1deg)!important;
  }
}

/* Tablettes */
@media (max-width:950px) {
  .nv18-hero .nv13-layout {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:24px!important;
    width:100%;
    max-width:100%;
  }

  .nv18-hero .nv13-layout > * {
    min-width:0!important;
    max-width:100%;
  }

  .nv18-hero .nv18-device {
    width:min(88%,440px)!important;
    margin:22px auto 30px!important;
    transform:none!important;
    transform-origin:center!important;
  }

  .nv18-hero .nv18-device:hover {
    transform:none!important;
  }

  /* Supprimer les panneaux decoratifs superposes */
  .nv18-hero::before,
  .nv18-hero::after,
  .nv17-hero-stage::before,
  .nv17-hero-stage::after {
    display:none!important;
  }

  .nv18-hero h1 {
    font-size:clamp(2.6rem,7vw,4.3rem)!important;
    line-height:1.1!important;
    max-width:100%;
  }
}

/* Smartphones */
@media (max-width:600px) {
  .nv18-hero .nv13-layout {
    gap:14px!important;
  }

  .nv18-hero h1 {
    font-size:clamp(2.25rem,9vw,3.3rem)!important;
    line-height:1.13!important;
    letter-spacing:-.045em!important;
    overflow-wrap:break-word;
  }

  .nv18-hero .nv13-layout > :first-child {
    min-width:0;
    max-width:100%;
  }

  .nv18-hero .nv13-layout > :first-child a {
    max-width:100%;
    white-space:normal;
  }

  .nv18-hero .nv18-device {
    width:min(94%,380px)!important;
    max-width:100%!important;
    margin:20px auto 25px!important;
  }

  /* Base du portable proportionnelle */
  .nv18-hero .nv18-deck {
    width:102%;
    left:-1%;
    height:clamp(92px,30vw,124px);
    margin-bottom:clamp(-67px,-16vw,-50px);
  }

  .nv18-hero .nv18-lid {
    border-radius:10px 10px 4px 4px;
    padding:5px 5px 6px;
  }

  .nv18-screen-shell {
    width:100%;
    min-width:0;
    overflow:hidden;
  }

  .nv18-screen-shell > .nv13-screen {
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
  }

  .nv18-screen-shell .nv13-workspace {
    display:grid!important;
    grid-template-columns:54px minmax(0,1fr)!important;
    min-height:0!important;
    overflow:hidden!important;
  }

  .nv18-screen-shell .nv13-bar {
    height:24px!important;
    flex-basis:24px!important;
    padding:0 7px!important;
  }

  .nv18-screen-shell .nv13-domain {
    font-size:8px!important;
  }

  .nv18-screen-shell .nv13-status {
    font-size:7px!important;
    padding:3px 5px!important;
  }

  .nv18-screen-shell .nv13-nav {
    padding:7px 4px!important;
    gap:2px!important;
  }

  .nv18-screen-shell .nv13-monogram {
    width:20px!important;
    height:20px!important;
    font-size:11px!important;
    margin:0 0 5px 2px!important;
  }

  .nv18-screen-shell .nv13-tab {
    font-size:8px!important;
    padding:6px 4px!important;
    min-height:22px;
  }

  .nv18-screen-shell .nv13-pane {
    padding:9px 8px!important;
    overflow:hidden!important;
  }

  .nv18-screen-shell .nv13-eyebrow {
    font-size:7px!important;
    margin-bottom:4px!important;
  }

  .nv18-screen-shell .nv13-title {
    font-size:clamp(12px,3.7vw,16px)!important;
    line-height:1.12!important;
    margin-bottom:4px!important;
  }

  .nv18-screen-shell .nv13-desc {
    font-size:8px!important;
    line-height:1.3!important;
    margin-bottom:5px!important;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }

  .nv18-screen-shell .nv19-progress {
    margin-bottom:6px;
    gap:6px;
  }

  .nv18-screen-shell .nv19-progress-label {
    font-size:7px;
  }

  .nv18-screen-shell .nv19-bars {
    max-width:65px;
  }

  .nv18-screen-shell .nv13-minirow {
    gap:5px!important;
    margin-bottom:6px!important;
  }

  .nv18-screen-shell .nv13-tile {
    padding:6px!important;
    border-radius:6px!important;
  }

  .nv18-screen-shell .nv13-tile small {
    font-size:7px!important;
    margin-bottom:3px!important;
  }

  .nv18-screen-shell .nv13-tile strong {
    font-size:8px!important;
    line-height:1.15!important;
  }

  .nv18-screen-shell .nv13-footer {
    padding:5px!important;
    border-radius:6px!important;
    gap:4px;
  }

  .nv18-screen-shell .nv13-footer span {
    font-size:7px!important;
    line-height:1.2;
  }

  .nv18-screen-shell .nv13-footer a {
    font-size:7px!important;
    padding:5px 6px!important;
  }
}

/* Petits smartphones */
@media (max-width:380px) {
  .nv18-hero .nv18-device {
    width:min(96%,340px)!important;
  }

  .nv18-screen-shell .nv13-workspace {
    grid-template-columns:48px minmax(0,1fr)!important;
  }

  .nv18-screen-shell .nv13-nav {
    padding:6px 3px!important;
    gap:1px!important;
  }

  .nv18-screen-shell .nv13-tab {
    font-size:7px!important;
    min-height:19px;
    padding:4px 3px!important;
  }

  .nv18-screen-shell .nv13-pane {
    padding:7px!important;
  }

  .nv18-screen-shell .nv13-title {
    font-size:12px!important;
  }

  .nv18-screen-shell .nv13-desc {
    font-size:7.5px!important;
  }

  .nv18-screen-shell .nv19-progress {
    margin-bottom:4px;
  }

  .nv18-screen-shell .nv13-minirow {
    margin-bottom:4px!important;
  }

  .nv18-screen-shell .nv13-tile {
    padding:5px!important;
  }
}

/* Ecrans vraiment etroits */
@media (max-width:340px) {
  .nv18-screen-shell .nv13-desc,
  .nv18-screen-shell .nv19-progress {
    display:none!important;
  }
}

/* Respecter les preferences de mouvement */
@media (prefers-reduced-motion:reduce) {
  .nv18-device {
    transition:none!important;
  }
}
