/* Police personnalisée */
@font-face {
  font-family: 'Dongle';
  src: url('Dongle-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Reset strict */
* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;       /* 🔒 pas de scroll */
  background: transparent;
  font-family: 'Dongle', Arial, sans-serif;
}

/* Bandeau cliquable */
.bandeau {
  display: flex;
  align-items: center;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  margin: 8px;
  padding: 8px 16px;
  background: #0b4f6c;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  border-radius: 16px;
}

/* Capture app */
.visuel {
  height: calc(100% + 16px);
  width: 80vh;
  flex-shrink: 0;
  
  margin-left: -8px;
  background-image: url('images/app.png');
  background-size: 290% auto;
  background-position: left top;
  background-repeat: no-repeat;
}

.visuel-img {
  width: 25vw;
  height: auto;
  max-height: 90%;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 12px;
}

/* Contenu central */
.contenu {
  flex: 1;
  text-align: center;
  padding: 0 12px;
  overflow: hidden;
}

.contenu h1 {
    font-size: 21vh;
    font-weight: normal;
  margin: 0;
  line-height:  0.7;
}

.contenu h2 {
   font-size: 21vh;
  margin: 4px 0 6px;
  font-weight: normal;
  line-height: 0.7;
}

.contenu h3 {
  font-size: 18vh;
  margin: 4px 0 6px;
  font-weight: normal;
  line-height: 0.7;
}

/* Boutons stores */
.stores {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.stores img {
  height: 20vh;
  width: auto;
}

/* QR Code */
.qr {
  height: 100%;
  display: flex;
  align-items: center;
}

.qr img {
  height: 80vh;
  max-height: 100%;
  width: auto;
}

#img_googleplay {
 margin-right: 5vw;
}


/* Masquer QR si hauteur > 30% de la largeur (aspect-ratio < 10/3) */
@media (max-aspect-ratio: 10/3) {
  .qr {
    display: none;
  }

  .contenu h1 {
    font-size: 25vh;
  }

   .contenu h2 {
    font-size: 20vh;
  }

  
   .contenu h3 {
    font-size: 14vh;
  }
}

/* Masquer visuel si hauteur > 60% de la largeur (aspect-ratio < 5/3) */
@media (max-aspect-ratio: 10/5) {
  .visuel {
    display: none;
  }

  
  .contenu h1 {
    font-size: 25vh;
  }

   .contenu h2 {
    font-size: 20vh;
  }

  
   .contenu h3 {
    font-size: 14vh;
  }


}



/* 📱 Mobile / iframe basse */
@media (max-width: 600px), (max-height: 100px) {
  .qr {
    display: none;
  }

  .contenu h1 {
    font-size: 17vh;
  }

   .contenu h2 {
    font-size: 14vh;
  }

  
   .contenu h3 {
    font-size: 12vh;
  }

 .stores img {
    height: auto;
    width: 35vw;
    
}

.bandeau
{
  height: 200px;
}


}




/* Très petite hauteur */
@media (max-height: 120px) {
  .visuel {
    display: none;
  }

  .contenu h2 {
    display: none;
  }
}
