  /* ======== Palette et reset ======== */
  :root {
    --mqr-primary: #00cec9;
    --mqr-dark: #2d3436;
    --mqr-muted: #636e72;
    --mqr-bg-gradient: linear-gradient(120deg, #f0f8ff, #e8f5f9, #fff);
  }

  body {
    margin: O;
    padding: 0;
  /* background: var(--mqr-bg-gradient);*/
    font-family: 'Inter', sans-serif;
    color: var(--mqr-dark);
  }



  .hero {
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  /* padding-inline: 5vw;*/
    background: linear-gradient(to right, #00cec9, #0984e3);
    gap: 2rem;
    margin-top: -25px;
  }

  .hero-left {
    flex: 1 1 500px;
    padding-left: 12px;
  }

  .hero-left h1 {
    padding-top: 25px;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
    padding-right: 2px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  }

  .hero-left p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    padding: 2px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  }

  .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  .hero-right {
    flex: 1 1 200px;
    text-align: center;
  }

  .hero-img {
    width: 100%;
    height: auto;
    padding-top: 12px;
    object-fit: contain;
    animation: floatX 4s ease-in-out infinite;
  }

  @keyframes floatX {
    0% { transform: translateX(0); }
    50% { transform: translateX(10px); }
    100% { transform: translateX(0); }
  }

  /* Extra small devices */
  @media (max-width: 480px) {
    .hero {
      flex-direction: column;
      text-align: center;
      
      
    }

    .hero-left {
      margin-top: 1.4rem; 
      margin-bottom: 40px;
    }

    .hero-left h1 {
      
      font-size: 1.6rem;
    }

    .hero-right {

      /*flex: 1 1 400px;*/
      /*text-align: center;*/
      margin-top: -14rem;
      /*object-fit: contain;*/
      margin-bottom: 0;
    

    }

    .hero-img {
      width: 100%;
      height: auto;
      /*height: auto;
      padding-top: 2px;*/
      
    }

    .hero-buttons {
      justify-content: center;
    }

    .hero-buttons .btn {
      width: 90%;
      font-size: 0.9rem;
    }
  }

  /* Medium screens */
  @media (min-width: 768px) and (max-width: 1199px) {
    .hero {
      padding-inline: 3vw;
    }
  }

  /* Large screens */
  @media (min-width: 1200px) {
    .hero {
      /*max-width: 1200px;*/
      margin-inline: auto;
    }
  }

  /* Respect user preferences */
  @media (prefers-reduced-motion: reduce) {
    .hero-img {
      animation: none;
    }
  }

      
      
  .access-messageqr {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
  /* border-radius: 12px;
    padding: 2rem 1.5rem;
    max-width: 760px;
    margin: auto;
    color: #fefefe;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
  }

  /* Titre et sous-texte */
  .access-messageqr h2 {
    font-size: clamp(1.5rem, 4vw, 3rem);
    /*display: flex;*/
    padding-top: 23px;
    gap: 0.5rem;
    text-align: center;
  }
  .access-messageqr p {
    font-size: 1rem;
    opacity: 0.9;
    text-align: center;
  }

  /* Labels et champs */
  .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
  }
  .form-control {
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #333;
    transition: box-shadow 0.3s ease;
  }
  .form-control:focus {
    box-shadow: 0 0 0 3px #00cec9;
    outline: none;
  }

  /* Bouton stylé */
  button[type="submit"] {
    background: linear-gradient(90deg, #00cec9, #0984e3);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
  }
  button[type="submit"]:hover {
    background: linear-gradient(90deg, #0984e3, #00cec9);
  }

  /* Preview zone */
  .preview-zone {
    background: rgba(255,255,255,0.08);
    padding: 1rem;
    border-radius: 10px;
    color: #fff;
    box-shadow: inset 0 0 4px rgba(0,0,0,0.1);
  }
  .preview-zone.hidden {
    display: none;
  }
  .preview-zone:not(.hidden) {
    display: block;
  }

  /* Responsive tweaks */
  @media (max-width: 768px) {
    .access-messageqr {
      padding: 1.5rem 1rem;
    }

    button[type="submit"] {
      width: 100%;
      justify-content: center;
    }
  }
  