/* Site mobile (demandes uniquement, en portrait).
   Appliqué aux écrans de moins de 640 px de large, et à TOUT téléphone quelle
   que soit sa largeur (js/device.js force cette feuille : media="all"). */
html, body {
  overflow: auto;
  height: auto;
}

.page {
  display: none;
}

.mobile-home {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 28px 20px 40px;
  gap: 26px;
  background: radial-gradient(ellipse at 75% 0%, rgba(0,112,255,.18), transparent 45%), #030507;
  color: var(--white, #f4f7fb);
  font-family: var(--font-body, 'DM Sans', sans-serif);
}

.mobile-home .brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-brand {
  color: #f4f7fb;
  font: 700 48px/0.9 'DM Sans', sans-serif;
  letter-spacing: -1px;
  margin: 0;
}

.mobile-brand span,
.mobile-box-title span {
  color: #145cff;
}

.mobile-language-switcher {
  display: flex;
  gap: 6px;
}

.mobile-language-switcher button {
  background: #07131d;
  border: 1px solid #387a90;
  border-radius: 3px;
  color: #d8dee5;
  cursor: pointer;
  font: 700 12px 'DM Sans', sans-serif;
  min-width: 36px;
  padding: 6px 8px;
}

.mobile-language-switcher button[aria-pressed="true"] {
  background: #145cff;
  color: #fff;
}

.mobile-home .tagline {
  color: #e80055;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: -18px;
}

.mobile-home .pitch {
  font-size: 16px;
  color: #d8dee5;
  margin: 0;
}

.mobile-home .mobile-box-title {
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: 42px;
  font-weight: 600;
  line-height: .95;
  margin: 0;
}

.mobile-home .mobile-box-logo {
  display: block;
  width: 190px;
  height: 190px;
  margin: 4px 0 0;
}

.mobile-home .mobile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-home .mobile-actions .button {
  width: 100%;
  font-size: 18px;
  min-height: 60px;
}

.mobile-home .mobile-actions .button:first-child {
  grid-column: 1 / -1;
}

.mobile-home .mobile-nav-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-home .mobile-nav-actions .button {
  background: #07131d;
  border: 1px solid #244354;
  color: #d8dee5;
  min-height: 42px;
  padding: 8px;
}

#download-status {
  position: static;
  margin-top: 12px;
  max-width: none;
}

/* Téléphone tenu en paysage : tout est masqué (y compris les fenêtres
   ouvertes), seul le message « tournez votre téléphone » reste visible
   (.kl-rotate est masqué par défaut dans index.html). */
html.kl-phone.kl-landscape body > *:not(.kl-rotate) {
  display: none !important;
}

html.kl-phone.kl-landscape .kl-rotate {
  align-items: center;
  background: #030507;
  color: #f4f7fb;
  display: flex;
  flex-direction: column;
  font: 600 20px/1.35 'DM Sans', sans-serif;
  gap: 18px;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  text-align: center;
  z-index: 2147483647;
}

.kl-rotate-icon {
  font-size: 54px;
  line-height: 1;
}
