/**
 * Inwi Money — page de maintenance (maquette 1440 × 900).
 * Desktop: jaune ~52% (748.8) | blanc ~48% (691.2), full-bleed.
 * Illustration: 691.2 × 460.8.
 */
:root {
  --wm-yellow: #fdc502;
  --wm-panel-bg: var(--wm-yellow);
  --wm-purple: #671f5a;
  --wm-separator: #ad2184;
  --wm-gray-800: #1f2937;
  --wm-gray-600: #4b5563;
  --wm-bg-white: #ffffff;
  --wm-yellow-ratio: 52%;
  --wm-white-ratio: 48%;
  --wm-hero-width: 691.2px;
  --wm-hero-height: 460.8px;
  --wm-logo-width: 253.8461456298828px;
  --wm-logo-height: 44px;
  --wm-title-width: 356px;
  --wm-title-height: 172px;
  --wm-message-width: 356px;
  --wm-message-height: 85px;
  --wm-hint-width: 253px;
  --wm-hint-height: 21px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: Omnes, "Omnes", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.45;
  background: var(--wm-bg-white);
}

.page-maintenance {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

.page-maintenance__layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.page-maintenance__panel--visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  padding: 1.5rem 1.25rem 2.25rem;
  background: var(--wm-panel-bg);
  border-bottom-left-radius: 2.75rem;
  border-bottom-right-radius: 2.75rem;
}

.page-maintenance__logo--mobile {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.page-maintenance__logo--desktop {
  display: none;
}

.page-maintenance__logo img {
  display: block;
  width: 170px;
  height: auto;
}

.page-maintenance__hero {
  display: block;
  width: 100%;
  max-width: 22.5rem;
}

.page-maintenance__hero img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.page-maintenance__panel--content {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1.5rem 2.75rem;
  background: var(--wm-bg-white);
}

.page-maintenance__panel-inner {
  width: 100%;
  max-width: 22.5rem;
  text-align: center;
}

.page-maintenance__title {
  margin: 0;
  font-family: Omnes, "Omnes", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.64px;
  color: var(--wm-purple);
}

.page-maintenance__message {
  margin: 0;
  padding-top: 28px;
  font-family: Omnes, "Omnes", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--wm-gray-800);
}

.page-maintenance__separator {
  display: block;
  width: 2.75rem;
  height: 4px;
  margin: 1.5rem auto;
  border: 0;
  background: var(--wm-separator);
  border-radius: 2px;
}

.page-maintenance__hint {
  margin: 0;
  font-family: Omnes, "Omnes", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0.14px;
  color: var(--wm-gray-600);
}

@media (min-width: 1024px) {
  .page-maintenance {
    background: var(--wm-panel-bg);
  }

  .page-maintenance__layout {
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .page-maintenance__panel--content {
    order: 1;
    flex: 1 1 var(--wm-yellow-ratio);
    width: var(--wm-yellow-ratio);
    min-width: 0;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0 0 clamp(48px, 5.55vw, 80px);
    background: var(--wm-panel-bg);
  }

  .page-maintenance__panel-inner {
    width: var(--wm-title-width);
    max-width: var(--wm-title-width);
    text-align: left;
  }

  .page-maintenance__logo--mobile {
    display: none;
  }

  .page-maintenance__logo--desktop {
    display: block;
    margin: 0 0 40px;
  }

  .page-maintenance__logo--desktop img {
    width: var(--wm-logo-width);
    height: var(--wm-logo-height);
    object-fit: contain;
  }

  .page-maintenance__title {
    width: var(--wm-title-width);
    height: var(--wm-title-height);
    font-size: 52px;
    line-height: 57.2px;
    letter-spacing: -1.04px;
    color: var(--wm-purple);
  }

  .page-maintenance__message {
    width: var(--wm-message-width);
    max-width: 400px;
    height: var(--wm-message-height);
    padding-top: 28px;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    color: var(--wm-gray-800);
  }

  .page-maintenance__separator {
    width: 40px;
    height: 3px;
    margin: 24px 0;
  }

  .page-maintenance__hint {
    width: var(--wm-hint-width);
    height: var(--wm-hint-height);
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0.14px;
    color: var(--wm-gray-600);
  }

  .page-maintenance__panel--visual {
    order: 2;
    flex: 0 0 var(--wm-white-ratio);
    width: var(--wm-white-ratio);
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
    justify-content: center;
    background: var(--wm-bg-white);
    border-radius: 0;
  }

  .page-maintenance__hero {
    flex: 0 0 auto;
    width: min(100%, var(--wm-hero-width));
    max-width: var(--wm-hero-width);
  }

  .page-maintenance__hero img {
    width: 100%;
    max-width: var(--wm-hero-width);
    height: auto;
    aspect-ratio: 691.2 / 460.8;
    object-fit: contain;
  }
}

[dir="rtl"] .page-maintenance__panel-inner {
  text-align: right;
}

[dir="rtl"] .page-maintenance__separator {
  margin-right: 0;
  margin-left: auto;
}

@media (min-width: 1024px) {
  [dir="rtl"] .page-maintenance__panel-inner {
    text-align: right;
  }

  [dir="rtl"] .page-maintenance__separator {
    margin-left: 0;
  }
}
