@media (max-width: 760px) {
  main {
    display: flex;
    flex-direction: column;
    background: #fff;
  }

  .live-ribbon {
    order: 1;
    width: calc(100% - 24px);
    margin: 96px 12px 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    border-radius: 18px;
  }

  .live-label {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .live-label strong {
    margin-left: auto;
    font-size: 21px;
  }

  .live-next,
  .live-meta,
  .live-screen,
  .rental-live {
    width: 100%;
  }

  .live-next strong {
    font-size: 17px;
    line-height: 1.4;
  }

  .live-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .live-meta span,
  .live-screen,
  .rental-live {
    text-align: center;
  }

  /* Correctif 21/09/2026 : « margin: auto » (site.css) dans un conteneur flex en colonne supprime l'étirement ; la
     section prenait la largeur de son contenu (rail « Nos solutions » : 1 320 px sur un écran de 390 px) et tout ce
     qui dépassait était masqué. On force l'étirement sur la largeur de l'écran. */
  main > * { min-width: 0; max-width: 100%; }
  main > .section { align-self: stretch; width: 100%; margin-left: 0; margin-right: 0; }

  .hero { order: 2; height: 520px; min-height: 520px; }
  .trust-strip { order: 3; }
  #services { order: 4; }
  #departs { order: 5; }
  #experience { order: 6; }
  #contact { order: 7; }

  .hero-content {
    padding: 74px 20px 24px;
  }

  h1 {
    margin: 12px 0 14px;
    font-size: clamp(35px, 10vw, 48px);
  }

  .hero-content > p { font-size: 15px; line-height: 1.45; }
  .hero-actions { margin-top: 16px; gap: 8px; }
  .hero-actions .btn { padding: 10px 13px; font-size: 12px; }
  .hero-proof { margin-top: 14px; gap: 9px; font-size: 11px; }
  .slide-dots { bottom: 16px; }
  .trust-strip { margin: 12px; grid-template-columns: 1fr; }
  .trust-strip div { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px; }
  .trust-strip div:last-child { border-bottom: 0; }
  .topbar { height: 78px; padding: 0 16px; }
  .topbar { background: #073f3e; }
  .brand strong { font-size: 13px; }
  .nav-toggle { display: block; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 78px; left: 12px; right: 12px; padding: 18px; flex-direction: column; align-items: stretch; background: #073f3e; border-radius: 16px; }
  .form-row { grid-template-columns: 1fr; }
  dialog { padding: 26px 18px; }
}

.dialog-fallback-open {
  position: fixed;
  inset: 12px;
  z-index: 1000;
  display: block;
  max-height: calc(100vh - 24px);
  margin: auto;
  overflow: auto;
}

body.dialog-open { overflow: hidden; }

/* ============================================================
   TÉLÉPHONE EN PAYSAGE (21/09/2026) — écran large mais très bas (≈ 390 px de haut).
   Avant : le menu « ordinateur » (6 liens + 2 boutons) dépassait de l'écran ; « Réserver » était coupé, le nom de la
   marque s'écrasait sur 4 lignes et la page s'élargissait à 857 px. On reprend le menu à icône ☰ du portrait.
   ============================================================ */
@media (orientation: landscape) and (max-height: 520px) and (pointer: coarse) {
  .topbar { height: 64px; padding: 0 max(16px, env(safe-area-inset-left, 0px)); background: #073f3e; justify-content: flex-start; }
  .topbar .brand { margin-right: auto; min-width: 0; }
  .brand img { width: 38px; height: 38px; }
  .brand strong, .brand small { white-space: nowrap; }
  .brand strong { font-size: 13px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav { display: none; }
  .nav.open {
    display: flex; position: absolute; top: 64px; right: 12px; left: auto;
    width: min(340px, calc(100% - 24px)); max-height: calc(100vh - 76px); overflow-y: auto;
    padding: 14px; flex-direction: column; align-items: stretch; gap: 10px;
    background: #073f3e; border-radius: 16px; box-shadow: 0 16px 40px #0006; z-index: 30;
  }
  .nav.open .btn { justify-content: center; }
  .nav.open .btn-primary { background: var(--mint); color: #063d3b; }
  .hero { height: auto; min-height: 0; }
  .hero-content { padding: 92px max(24px, 6vw) 56px; }
  .hero-content h1 { font-size: clamp(30px, 5.4vw, 44px); margin: 12px 0 12px; }
  .hero-content > p { font-size: 15px; line-height: 1.45; }
  .hero-actions { margin-top: 16px; gap: 8px; flex-wrap: wrap; }
  .hero-actions .btn { padding: 10px 14px; font-size: 13px; }
  .hero-proof { margin-top: 14px; gap: 8px 18px; font-size: 12px; }
  .slide-dots { bottom: 16px; }
}
