@media (max-device-width: 520px)
    and (orientation: portrait) 
    and (hover: none) 
    and (pointer: coarse){

/* ============================= */
  /* LAYOUT GLOBAL — PORTRAIT      */
  /* ============================= */
  .layout {
    padding-left: 4vw;
    padding-right: 4vw;
    padding-top: 6vh;
  }

  /* ============================= */
  /* HEADER : LOGO — PORTRAIT      */
  /* ============================= */
  .logo-slot {
    position: absolute;
    top: 4vh;
    left: 4vw;
    width: 45vmin;
    height: 30vmin;
    z-index: 9999;
  }

  .lang-container {
    position: absolute;
    top: 4vh;
    right: 4vw;
    z-index: 9999;
  }

  /* ============================= */
  /* HERO — PORTRAIT               */
  /* ============================= */
  .hero-title {
    margin-top: 22vh; /* sous logo + languages */
    font-size: 4vmin;
    text-align: center;
  }

  /* ============================= */
  /* BOUTON UC — PORTRAIT          */
  /* ============================= */
  .button-menu {
    margin-top: 4vh;
    text-align: center;
  }

  #btn_uc {
    font-size: 3.2vmin;
  }

  /* ============================= */
  /* UC BLOCK — PORTRAIT           */
  /* ============================= */
  
  /* Neutralisation complète du global */
  
  .layout{
    padding-left: 2vw !important;
    padding-right: 2vw !important;
  }

  .uc-block {
    position: relative !important;
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;
    overflow: hidden !important;      /* garde les angles arrondis */
    border-radius: 2vmin !important;
    margin-top: 6vh !important;
    border-radius: 2vmin 2vmin 0 0 !important; /* arrondi haut seulement */
    overflow: hidden !important;
    padding-bottom: 3vh; /* empêche le texte de dépasser */
    box-shadow: 0 1vmin 2vmin rgba(0,0,0,0.15);
  }

  .uc-image {
    position: relative !important;    /* supprime l'absolu du global */
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1.05 !important;    /* ratio de ton illustration */
    background-size: 100% 100% !important; /* remplit toute la hauteur */
    background-repeat: no-repeat !important;
    background-position: center !important;
  }

  .uc-text {
    position: relative !important;
    margin-top: 2vh !important;
    max-height: none !important;
    overflow: visible !important;
  }

}