/* meloapp.ma — page d'attente. Polices hébergées ici (fonts/, licence OFL.txt) :
   aucune requête vers Google. Sous-ensembles : latin (Bricolage, Hanken), arabe + latin (Noto Kufi : ses espaces). */

/* Bricolage Grotesque — latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/bricolage-grotesque-latin-500-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Hanken Grotesk — latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/hanken-grotesk-latin-400-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Noto Kufi Arabic — arabic */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/noto-kufi-arabic-arabic-500.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* Noto Kufi Arabic — latin (les espaces entre les mots arabes) */
@font-face {
  font-family: 'Noto Kufi Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/noto-kufi-arabic-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Mise en page : plein écran chaleureux ; au centre le mot-symbole et la phrase en trois langues ; autour, les objets du foyer dessinés au trait, qui flottent doucement. Apparence claire unique, aux couleurs de MELO. */
:root {
  color-scheme: light;
  --papier: #F7F1E6; --creme: #FBF7EF; --encre: #1E2A24; --muet: #6E6A5E; --pin: #2F5D4B; --miel: #C9792A; --rose: #C25E4A; --ligne: #E6DCC8;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --display: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;
  --ar: 'Noto Kufi Arabic', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: radial-gradient(ellipse at 50% 42%, var(--creme) 0%, var(--papier) 62%); color: var(--encre); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow: hidden; }
.page { position: relative; min-height: 100%; display: grid; grid-template-rows: 1fr auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); padding-block: 32px 28px; }

.objs { position: absolute; inset: 0; pointer-events: none; }
.obj { position: absolute; width: var(--s); height: var(--s); animation: float var(--d) ease-in-out infinite alternate; opacity: .9; }
.obj svg { width: 100%; height: 100%; }
@keyframes float { from { transform: translateY(-6px) rotate(var(--r1)); } to { transform: translateY(8px) rotate(var(--r2)); } }

main { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; }
.mark { font-family: var(--display); font-weight: 700; font-size: clamp(72px, 18vw, 150px); letter-spacing: -.045em; line-height: .9; color: var(--pin); }
.mark b { color: var(--miel); font-weight: 700; }
.line { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 4.6vw, 32px); letter-spacing: -.01em; margin: 4px 0 0; text-wrap: balance; }
.alt { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; font-size: clamp(15px, 3.4vw, 19px); color: var(--muet); }
.alt span[lang="ar"] { font-family: var(--ar); }
.alt i, .soon i { width: 4px; height: 4px; border-radius: 99px; background: var(--miel); opacity: .6; }
.soon { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 12px; margin-top: 10px; padding: 9px 16px; border-radius: 99px; background: rgba(47,93,75,.08); font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--pin); font-weight: 600; }
.soon span[lang="ar"] { font-family: var(--ar); letter-spacing: 0; font-size: 14px; text-transform: none; }

footer { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; color: var(--muet); flex-wrap: wrap; }
footer a { color: var(--pin); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ligne); padding-bottom: 2px; }
footer a:hover { border-color: var(--pin); }
footer a:focus-visible { outline: 2px solid var(--miel); outline-offset: 3px; }
@media (max-width: 600px) { .obj.far { display: none; } }
@media (prefers-reduced-motion: reduce) { .obj { animation: none; } }
