/* ===========================================================================
   ZaZa — pages marketing (accueil / chauffeur / passager)
   Chargé globalement via App.razor. Deux mises en page : grands écrans (>=900px)
   et petits écrans (<900px). Couleurs de marque ZaZa (bleu → vert → jaune).
   =========================================================================== */
:root {
    --z-blue:  #0a4fc4;
    --z-cyan:  #1592c6;
    --z-green: #22a04a;
    --z-yellow:#ffc400;
    --z-yellow2:#ffd21a;
    --z-ink:   #0e2038;
    --z-grad:  linear-gradient(135deg, #0a4fc4 0%, #1592c6 32%, #24a24a 63%, #ffc400 120%);
    --z-grad-btn: linear-gradient(90deg, #0a4fc4, #22a04a 55%, #ffc400);
}

* { box-sizing: border-box; }

.mk {
    min-height: 100vh; width: 100%;
    background: var(--z-grad);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #fff; display: flex; flex-direction: column; align-items: center;
    padding: 22px 16px 40px;
}

/* ── Barre de navigation ── */
.mk-nav {
    width: 100%; max-width: 1080px; display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.mk-nav .brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.mk-nav .brand img { width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.22); }
.mk-nav .brand b { color: var(--z-yellow2); font-size: 26px; font-weight: 800; letter-spacing: 1px; }
.mk-nav a.link {
    color: #fff; text-decoration: none; font-weight: 600; font-size: 14px;
    padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
}
.mk-nav a.link.active, .mk-nav a.link:hover { background: rgba(255,255,255,.28); }

/* ── Conteneur principal ── */
.mk-wrap { width: 100%; max-width: 1080px; }

/* Grille héros : 2 colonnes sur grand écran, empilé sur petit écran */
.mk-hero {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: center;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
    border-radius: 26px; padding: 30px; backdrop-filter: blur(3px);
}
.mk-hero-text h1 {
    font-size: clamp(30px, 4.4vw, 50px); line-height: 1.04; font-weight: 800; margin: 6px 0 14px;
    text-shadow: 0 3px 16px rgba(0,0,0,.22);
}
.mk-hero-text h1 .y { color: var(--z-yellow2); }
.mk-kicker { display: inline-block; background: rgba(0,0,0,.2); color: #fff; font-weight: 700;
    font-size: 12px; letter-spacing: .5px; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.mk-lead { font-size: 16.5px; line-height: 1.55; color: #eef5ff; margin: 0 0 22px; max-width: 520px; }
.mk-lead b { color: #fff; }

/* Visuel latéral (image) */
.mk-visual { text-align: center; }
.mk-visual img {
    width: 100%; max-width: 420px; border-radius: 18px; display: block; margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

/* ── Cartes de choix (page d'accueil) ── */
.mk-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.mk-choice {
    background: #fff; color: var(--z-ink); border-radius: 22px; overflow: hidden; text-decoration: none;
    box-shadow: 0 18px 44px rgba(0,0,0,.28); display: flex; flex-direction: column;
    transition: transform .14s ease;
}
.mk-choice:hover { transform: translateY(-4px); }
.mk-choice .banner { height: 168px; background-size: cover; background-position: center; }
.mk-choice .body { padding: 18px 20px 22px; }
.mk-choice .body .t { font-size: 21px; font-weight: 800; }
.mk-choice .body .d { color: #5b6472; font-size: 14px; margin: 6px 0 14px; line-height: 1.45; }
.mk-choice .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--z-blue); }

/* ── Chips / caractéristiques ── */
.mk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.mk-chip { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
    color: #fff; font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 999px; }

.mk-features { display: grid; gap: 14px; margin: 4px 0 8px; }
.mk-feature { display: flex; gap: 13px; align-items: flex-start; }
.mk-feature .ic { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; display: flex;
    align-items: center; justify-content: center; font-size: 19px; background: rgba(255,255,255,.18); }
.mk-feature .tt { font-weight: 700; font-size: 15.5px; }
.mk-feature .dd { color: #e6eeff; font-size: 13.5px; line-height: 1.4; }

/* ── Carte QR ── */
.mk-qrcard { background: #fff; color: var(--z-ink); border-radius: 22px; padding: 24px;
    text-align: center; box-shadow: 0 22px 55px rgba(0,0,0,.34); }
.mk-qrcard .qrcard-hero { width: calc(100% + 48px); margin: -24px -24px 18px; height: 172px;
    object-fit: cover; object-position: center; display: block; border-radius: 22px 22px 0 0; }
/* Variante horizontale : écrits + bouton à gauche, QR à droite */
.mk-qrcard.row { display: flex; align-items: center; gap: 24px; text-align: left; }
.mk-qrcard.row .txt-side { flex: 1; min-width: 0; }
.mk-qrcard.row .qr-side { flex-shrink: 0; }
.mk-qrcard.row .badge { margin-bottom: 10px; }
.mk-qrcard.row .mk-qr-hint { margin: 0 0 16px; max-width: none; }
.mk-qrcard.row .mk-btn { width: auto; display: inline-flex; }
.mk-qrcard.row .mk-note { margin-top: 12px; }
@media (max-width: 640px) {
    .mk-qrcard.row { flex-direction: column-reverse; text-align: center; }
    .mk-qrcard.row .mk-qr-hint { margin-left: auto; margin-right: auto; }
    .mk-qrcard.row .mk-btn { width: 100%; }
}
.mk-qrcard .badge { display: inline-block; background: #eaf1ff; color: var(--z-blue); font-weight: 700;
    font-size: 12px; letter-spacing: .4px; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 15px; }
.mk-qr { background: #fff; padding: 8px; border: 1px solid #eef0f4; border-radius: 16px; line-height: 0; display: inline-block; }
.mk-qr img { width: 208px; height: 208px; display: block; }
.mk-qr-hint { color: #6b7280; font-size: 13.5px; margin: 14px auto 16px; line-height: 1.45; max-width: 250px; }
.mk-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
    padding: 14px 16px; border-radius: 13px; font-size: 15.5px; font-weight: 800; text-decoration: none;
    color: var(--z-ink); background: linear-gradient(90deg, #ffce1a, #ffc400);
    box-shadow: 0 8px 20px rgba(255,196,0,.4); }
.mk-btn:active { transform: scale(.97); }
.mk-btn.blue { color: #fff; background: linear-gradient(90deg, #0a4fc4, #1592c6); box-shadow: 0 8px 20px rgba(10,79,196,.4); }
.mk-note { color: #9aa1ac; font-size: 11.5px; margin-top: 12px; line-height: 1.5; }

/* ── Pied de page ── */
.mk-footer { width: 100%; max-width: 1080px; margin-top: 26px; text-align: center; color: #eef5ff; }
.mk-footer .contact { font-size: 14.5px; line-height: 1.9; }
.mk-footer .contact a { color: #fff; text-decoration: none; font-weight: 700; }
.mk-social { display: flex; gap: 8px; justify-content: center; margin-top: 10px; flex-wrap: wrap; }
.mk-social span { font-size: 12px; font-weight: 600; color: #fff; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.2); }
.mk-swagger { display: inline-block; margin-top: 14px; color: rgba(255,255,255,.72); font-size: 11px; text-decoration: none; }
.mk-back { color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; }

/* Bandeau image (haut de page) — recadré en strip */
.mk-banner { width: 100%; max-width: 1080px; border-radius: 22px; overflow: hidden; margin-bottom: 18px;
    box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.mk-banner img { width: 100%; height: 240px; object-fit: cover; object-position: center; display: block; }

.only-desktop { display: initial; }
.only-mobile  { display: none; }

/* =========================================================================
   FOND VIDÉO (page d'accueil)
   ========================================================================= */
.mk.has-video { position: relative; overflow: hidden; }
.mk-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.mk-video-ov { position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(135deg, rgba(10,79,196,.86) 0%, rgba(21,146,198,.80) 34%, rgba(34,160,74,.80) 66%, rgba(255,196,0,.80) 120%); }
.mk.has-video > nav, .mk.has-video > .mk-wrap, .mk.has-video > footer { position: relative; z-index: 2; }

/* =========================================================================
   ZONE SHOWCASE + MAQUETTE DE TÉLÉPHONE (CSS pur, sans texte "coming soon")
   ========================================================================= */
.mk-showcase { width: 100%; max-width: 1080px; display: flex; justify-content: center; margin: 4px 0 20px; }
.mk-phone {
    width: 264px; aspect-ratio: 300 / 610; background: #0d0f14; border-radius: 36px; padding: 11px;
    box-shadow: 0 30px 70px rgba(0,0,0,.42), inset 0 0 0 2px rgba(255,255,255,.08); position: relative; flex-shrink: 0;
}
.mk-phone::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    width: 92px; height: 20px; background: #0d0f14; border-radius: 0 0 14px 14px; z-index: 3; }
.mk-screen { background: #f4f6fa; border-radius: 27px; height: 100%; overflow: hidden; display: flex;
    flex-direction: column; padding: 26px 14px 14px; gap: 10px; }

/* Éléments communs écran */
.ph-hd { display: flex; align-items: center; gap: 8px; }
.ph-hd img { width: 26px; height: 26px; border-radius: 50%; background: #fff; }
.ph-hd .g { font-weight: 800; color: var(--z-ink); font-size: 14px; }
.ph-title { font-weight: 800; color: var(--z-ink); font-size: 16px; }
.ph-field { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid #e7ebf1;
    border-radius: 11px; padding: 10px 11px; font-size: 12px; color: #33404f; }
.ph-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.ph-dot.g { background: #22a04a; } .ph-dot.b { background: #0a4fc4; }
.ph-map { flex: 1; min-height: 78px; border-radius: 13px; position: relative; overflow: hidden;
    background:
      radial-gradient(circle at 30% 40%, rgba(34,160,74,.16), transparent 40%),
      linear-gradient(120deg, #e9eef5, #dfe7f0);
}
.ph-map::after { content: ""; position: absolute; left: 22%; top: 62%; width: 56%; height: 2px;
    background: repeating-linear-gradient(90deg, #0a4fc4 0 7px, transparent 7px 12px); transform: rotate(-18deg); }
.ph-pin { position: absolute; width: 12px; height: 12px; border-radius: 50%; border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,.25); }
.ph-cars { display: flex; gap: 6px; }
.ph-car { flex: 1; text-align: center; background: #fff; border: 1px solid #e7ebf1; border-radius: 10px;
    padding: 7px 2px; font-size: 10px; color: #5b6472; font-weight: 600; }
.ph-car .em { font-size: 15px; display: block; }
.ph-car.sel { border-color: #0a4fc4; box-shadow: 0 0 0 2px rgba(10,79,196,.15); color: var(--z-ink); }
.ph-cta { text-align: center; font-weight: 800; color: #fff; font-size: 13px; padding: 11px; border-radius: 12px;
    background: var(--z-grad-btn); }
/* Écran chauffeur */
.ph-status { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 11px;
    font-weight: 700; color: #0a7d33; background: #e4f7ea; padding: 5px 10px; border-radius: 999px; }
.ph-status .led { width: 8px; height: 8px; border-radius: 50%; background: #22a04a; }
.ph-offer { background: #fff; border: 1px solid #e7ebf1; border-radius: 14px; padding: 12px; display: flex;
    flex-direction: column; gap: 8px; box-shadow: 0 8px 20px rgba(0,0,0,.06); }
.ph-offer .top { display: flex; justify-content: space-between; align-items: center; }
.ph-offer .fare { font-weight: 800; color: var(--z-ink); font-size: 16px; }
.ph-offer .km { font-size: 10px; color: #8a93a0; }
.ph-actions { display: flex; gap: 7px; }
.ph-actions .btn { flex: 1; text-align: center; font-size: 12px; font-weight: 800; padding: 10px; border-radius: 11px; }
.ph-actions .refuse { background: #f1f3f7; color: #6b7280; }
.ph-actions .accept { background: var(--z-grad-btn); color: #fff; }

@media (max-width: 900px) {
    .mk-phone { width: 232px; }
}

/* =========================================================================
   PETITS ÉCRANS
   ========================================================================= */
@media (max-width: 900px) {
    .mk { padding: 16px 12px 32px; }
    .mk-hero { grid-template-columns: 1fr; padding: 22px; gap: 20px; text-align: center; }
    .mk-hero-text { order: 2; }
    .mk-visual { order: 1; }
    .mk-lead { margin-left: auto; margin-right: auto; }
    .mk-chips { justify-content: center; }
    .mk-feature { text-align: left; }
    .mk-choices { grid-template-columns: 1fr; }
    .mk-nav a.link { padding: 7px 11px; font-size: 13px; }
    .mk-banner img { height: 158px; }
    .only-desktop { display: none !important; }
    .only-mobile  { display: initial; }
}
