@charset "UTF-8";
/* ----------------------------------------
   Placeholders partagés — une seule définition par pattern visuel
   (bouton pilule, panneau, icône ronde), à @extend partout où le
   pattern est réutilisé plutôt que de redupliquer border-radius/etc.
   Nécessite _variables.scss (radius) chargé avant.
---------------------------------------- */
.page-menu .menu-col .menu-list li button, #page-home .device-cta {
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.popup-card {
  background: #fff;
  border-radius: 4px;
}

.popup-card .popup-close, .page-menu .menu-col .menu-icon, #page-home .device-cta .plus-badge {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-panel .btn-solid {
  display: inline-block;
  border: 1px solid #6022A6;
  border-radius: 8px;
  background: #6022A6;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background .3s, border-color .3s;
}
.download-panel .btn-solid:hover {
  background: #512286;
  border-color: #512286;
}
.download-panel .btn-solid:focus {
  background: #6022A6;
  border-color: #6022A6;
  outline: 2px solid #6022A6;
  outline-offset: 2px;
}
.download-panel .btn-solid:active {
  background: #472271;
  border-color: #472271;
}

/* ------------------ FONTS -----------------------*/
@font-face {
  font-family: "SourceSansPro";
  font-weight: 200;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/SourceSansPro-Light.ttf") format("truetype");
}
@font-face {
  font-family: "SourceSansPro";
  font-weight: 200;
  font-style: italic;
  font-display: swap;
  src: url("../fonts/SourceSansPro-LightItalic.ttf") format("truetype");
}
@font-face {
  font-family: "SourceSansPro";
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/SourceSansPro-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "SourceSansPro";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/SourceSansPro-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "SourceSansPro";
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  src: url("../fonts/SourceSansPro-SemiBoldItalic.ttf") format("truetype");
}
@font-face {
  font-family: "SourceSansPro";
  font-weight: bold;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/SourceSansPro-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "SourceSansPro";
  font-weight: bold;
  font-style: italic;
  font-display: swap;
  src: url("../fonts/SourceSansPro-BoldItalic.ttf") format("truetype");
}
@font-face {
  font-family: "SourceSansPro";
  font-weight: 900;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/SourceSansPro-Black.ttf") format("truetype");
}
/* ------------------ BASE / LAYOUT -----------------------*/
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  box-sizing: border-box;
}

/* les navigateurs appliquent leur font système aux form controls, pas d'héritage par défaut */
button, input, select, textarea {
  font-family: inherit;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #222222;
  font-family: "SourceSansPro", Arial, sans-serif;
  color: #222222;
}

#app {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1920px;
  height: 1080px;
  transform-origin: 0 0;
  background: #fff;
  overflow: hidden;
}

/* Top navbar (purple, GE HealthCare) */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #6022A6;
  display: none; /* affichée uniquement sur home via JS/HTML, sinon logo intégré aux pages contenu */
  align-items: center;
  padding: 0 30px;
  z-index: 50;
}
.navbar__brand {
  color: #fff;
  font-weight: 600;
  font-size: 1.5rem;
}

#content-page {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Titres — valeurs par défaut communes ; chaque page ne surcharge plus que
   ce qui diffère vraiment (taille, couleur, position). */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  color: #222222;
}

p {
  margin-top: 0;
}

.footnote {
  position: absolute;
  left: 30px;
  bottom: 22px;
  font-size: 0.8rem;
  color: #8D8D8D;
  max-width: 900px;
}

/* bouton retour home (carré arrondi violet + icône maison) */
.btn-home {
  position: absolute;
  top: 22px;
  left: 30px;
  width: 53px;
  height: 53px;
  border-radius: 6px;
  background: #6022A6;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 40;
  transition: background 0.2s;
}
.btn-home img {
  width: 24px;
  height: 24px;
}
.btn-home:hover {
  background: #512286;
}

.logo-ge-page {
  position: absolute;
  left: 30px;
  bottom: 20px;
  height: 80px;
}

/* ------------------ HOME -----------------------*/
#app[data-section=home] .navbar {
  display: flex;
}

#page-home {
  position: relative;
  width: 100%;
  height: 100%;
}
#page-home .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#page-home .home-heading {
  position: absolute;
  top: 100px;
  left: 40px;
  z-index: 10;
}
#page-home .home-heading h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 6px;
}
#page-home .home-heading h2 {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  font-size: 2.5rem;
}
#page-home .device-cta {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #6022A6;
  color: #fff;
  padding: 10px 28px 10px 10px;
  font-size: 1.5rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: background .2s;
}
#page-home .device-cta .plus-badge {
  width: 40px;
  height: 40px;
  min-width: 30px;
  background: #fff;
}
#page-home .device-cta .plus-badge img {
  width: 20px;
  height: 20px;
}
#page-home .device-cta:hover {
  background: #512286;
}
#page-home #cta-ecosystem {
  top: 354px;
  left: 667px;
}
#page-home #cta-interface {
  top: 629px;
  left: 1400px;
}
#page-home .home-footnote {
  position: absolute;
  left: 30px;
  bottom: 30px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 900px;
}

/* ------------------ ECOSYSTEM / INTERFACE (pages menu) -----------------------*/
.page-menu {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  padding-top: 0;
}
.page-menu h1.page-title {
  position: absolute;
  top: 97px;
  left: 30px;
  font-size: 2.4rem;
}
.page-menu .page-line {
  position: absolute;
  top: 347px;
  width: 100%;
  right: 0;
  height: 10px;
  background: #6022A6;
}
.page-menu .page-hero-img {
  position: absolute;
  left: 0;
  top: 250px;
  width: 855px;
  max-width: none;
}
.page-menu .menu-col {
  position: absolute;
  top: 240px;
  width: 253px;
  text-align: center;
}
.page-menu .menu-col .menu-icon {
  width: 107px;
  height: 107px;
  background: #6022A6;
  margin: 0 auto 50px auto;
}
.page-menu .menu-col .menu-icon img, .page-menu .menu-col .menu-icon svg {
  width: 56px;
  height: 56px;
}
.page-menu .menu-col .menu-label {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.page-menu .menu-col .menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 0;
}
.page-menu .menu-col .menu-list li button {
  width: 100%;
  background: #E9E9EC;
  color: #222222;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 400;
  text-align: left;
}
.page-menu .menu-col .menu-list li button:hover {
  background: #6022A6;
  color: #fff;
}
.page-menu .menu-col .menu-list li button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Positions spécifiques Ecosystem */
#page-ecosystem #col-prescan {
  left: 949px;
}
#page-ecosystem #col-scan {
  left: 1268px;
}
#page-ecosystem #col-postscan {
  left: 1587px;
}

/* Positions spécifiques Interface */
#page-interface .page-hero-img {
  left: 123px;
  top: 267px;
  width: 812px;
}
#page-interface #col-workflows {
  left: 1145px;
}
#page-interface #col-automation {
  left: 1464px;
}

/* ------------------ POPUP -----------------------*/
.popup-overlay {
  display: none;
}
.popup-overlay:not([hidden]) {
  display: block;
}
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(34, 34, 34, 0.55);
  z-index: 200;
}

.popup-card {
  position: absolute;
  top: 149px;
  left: 264px;
  width: 1393px;
  min-height: 784px;
  padding: 50px 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.popup-card .popup-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 50px;
  height: 50px;
  background: #222222;
  border: none;
  cursor: pointer;
}
.popup-card .popup-close img {
  width: 18px;
  height: 18px;
}
.popup-card .popup-close:hover {
  background: #6022A6;
}
.popup-card h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
}
.popup-card .popup-body {
  display: flex;
  align-items: center;
  gap: 40px;
}
.popup-card .popup-body .popup-text {
  flex: 1 1 45%;
  max-width: 45%;
}
.popup-card .popup-body .popup-text p {
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.popup-card .popup-body .popup-text .popup-intro {
  font-size: 1.6rem;
  margin-bottom: 2rem;
}
.popup-card .popup-body .popup-text .popup-benefits-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.popup-card .popup-body .popup-text ul {
  margin: 0;
  padding-left: 1rem;
}
.popup-card .popup-body .popup-text ul li {
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 8px;
}
.popup-card .popup-body .popup-text .popup-note {
  font-size: 0.9rem;
  margin-top: 3rem;
}
.popup-card .popup-body .popup-media {
  flex: 1 1 55%;
  max-width: 55%;
}
.popup-card .popup-body .popup-media .media-frame {
  width: 100%;
  overflow: hidden;
}
.popup-card .popup-body .popup-media .media-frame img, .popup-card .popup-body .popup-media .media-frame video {
  width: 100%;
  display: block;
}
.popup-card .popup-body .popup-media .media-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 10px;
  background: #F4F1F8;
  border: 1.5px dashed #D4D4D4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8D8D8D;
  font-size: 0.9rem;
  gap: 8px;
  text-align: center;
  padding: 20px;
}
.popup-card .popup-body .popup-media .media-placeholder svg {
  width: 36px;
  height: 36px;
  opacity: 0.5;
}
.popup-card .popup-pending {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6022A6;
  background: #F4F1F8;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}

#app[data-section=interface] .page-menu .menu-col {
  top: 300px;
}

#popup_icometrix .popup-body .popup-media .media-frame img {
  max-height: 650px;
  -o-object-fit: contain;
     object-fit: contain;
}

#popup_patient-communication .popup-body .popup-media .media-frame img {
  max-width: 300px;
  height: auto;
  margin: 0 auto;
}

#popup_sonic-dl .media-frame,
#popup_wholebody .media-frame {
  margin-bottom: 1rem;
}

/* ------------------ DOWNLOAD (composant réutilisable) -----------------------*/
/* Repris de _download.scss sur Ascend, réécrit sans Bootstrap : le spinner,
   la barre de progression sont en CSS pur. Le déclencheur n'a pas d'animation, juste
   un show/hide selon la disponibilité du service worker.
   Utilise les tokens de _variables.scss et les placeholders de _mixins.scss
   (%btn-solid) — aucune valeur de radius/couleur redéfinie ici en dur. */
@keyframes spin-grow {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
.download-trigger {
  position: absolute;
  bottom: 90px;
  right: -2px;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: #fff;
  color: #6022A6;
  border: 1px solid #6022A6;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  cursor: pointer;
  transition: all .3s ease;
}
.download-trigger svg {
  width: 22px;
  height: 22px;
}
.download-trigger.is-visible {
  display: flex;
}
.download-trigger.is-installed {
  color: #19BB7C;
  border-color: #19BB7C;
  cursor: default;
}
.download-trigger:hover {
  background: #F4F1F8;
}

.download-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.download-overlay.is-open:not([hidden]) {
  display: flex;
}

.download-panel {
  width: 100%;
  max-width: 700px;
  text-align: center;
}
.download-panel h2 {
  font-size: 1.6rem;
  margin-bottom: 32px;
}
.download-panel .download-step {
  display: none;
}
.download-panel .download-step.is-active {
  display: block;
}

/* Spinner CSS pur (remplace .spinner-grow de Bootstrap) */
.spinner-custom {
  width: 48px;
  height: 48px;
  margin: 0 auto 28px auto;
  border-radius: 50%;
  background: #6022A6;
  animation: spin-grow 1s ease-in-out infinite;
}

/* Barre de progression CSS pure (remplace .progress/.progress-bar de Bootstrap) */
.progress-track {
  max-width: 700px;
  height: 40px;
  margin: 0 auto;
  background: #E4E4E4;
  border-radius: 8px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  min-width: 40px;
  background: #45B2C5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  transition: width .3s ease;
}

.download-check {
  width: 64px;
  margin: 0 auto 20px auto;
}
.download-check svg {
  width: 100%;
  height: auto;
  display: block;
}

.download-panel .btn-solid {
  font-size: 1.2rem;
  padding: 10px 40px;
}
#popup_wholebody .media-frame {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
