/* MiralDrive public website (landing-page/v2). Logical properties only, so the same file serves LTR (fr/en) and RTL (ar). */
:root {
    --green: #1e8750;
    --green-dark: #166a3f;
    --ink: #00211d;
    --surface-deep: #0b3a30;
    --bg-soft: #f3f8f5;
    --tint: #e6f3ec;
    --tint-text: #14613a;
    --border: #e3ece8;
    --muted: #4f5f5c;
    --muted-2: #3a4845;
    --on-dark: #b9ccc6;
    --on-dark-2: #dde8e4;
    --yellow: #ffc107;
    --error: #b42318;
    --warn-bg: #fff4d6;
    --warn-text: #7a5300;
    --radius-card: 20px;
    --radius-band: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.mx { margin: 0; background: #fff; color: var(--ink); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.mx a { color: var(--ink); text-decoration: none; }
.mx a:hover { color: var(--green); }
.mx img { max-width: 100%; }
.mx h1, .mx h2, .mx h3, .mx p, .mx figure, .mx blockquote, .mx ol, .mx ul { margin: 0; padding: 0; }
.mx ol, .mx ul { list-style: none; }
.mx :focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
.mx-skip { position: absolute; inset-inline-start: -9999px; top: 0; background: var(--ink); color: #fff !important; padding: 10px 16px; z-index: 100; }
.mx-skip:focus { inset-inline-start: 8px; }

.mx-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.mx-section { padding-block: 96px; }
.mx-section--soft { background: var(--bg-soft); }
.mx-section--bordered { border-block-start: 1px solid var(--border); }
.mx-stack { display: flex; flex-direction: column; }
.mx-gap-12 { gap: 12px; } .mx-gap-16 { gap: 16px; } .mx-gap-24 { gap: 24px; } .mx-gap-48 { gap: 48px; }
.mx-eyebrow { font-size: 14px; font-weight: 700; color: var(--green); }
.mx-h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.mx-h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; max-inline-size: 640px; }
.mx-h2--sm { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.mx-lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-inline-size: 540px; }
.mx-text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.mx-pill-tag { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--muted-2); }

/* Toggle bar */
.mx-topbar { background: var(--ink); }
.mx-topbar .mx-wrap { padding-block: 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.mx-seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-deep); }
.mx-seg a { padding: 8px 18px; border-radius: 999px; color: var(--on-dark-2); font-size: 14px; font-weight: 600; }
.mx-seg a:hover { color: #fff; }
.mx-seg a[aria-current='page'] { background: #fff; color: var(--ink); font-weight: 700; }
.mx-topbar__link { font-size: 13px; font-weight: 600; color: var(--on-dark-2) !important; }
.mx-topbar__link:hover { color: #fff !important; }

/* Header */
.mx-header { border-block-end: 1px solid var(--border); background: #fff; }
.mx-header .mx-wrap { padding-block: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.mx-brand { display: flex; align-items: center; gap: 10px; }
.mx-brand img { height: 36px; width: auto; display: block; }
.mx-badge-business { font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 5px 9px; border-radius: 6px; background: var(--tint); color: var(--tint-text); }
.mx-nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; font-weight: 500; }
.mx-nav a[aria-current='page'] { font-weight: 700; }
.mx-header__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.mx-btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-size: 15px; font-weight: 700; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-align: center; }
.mx-btn--dark { background: var(--ink); color: #fff !important; }
.mx-btn--dark:hover { background: var(--surface-deep); }
.mx-btn--green { background: var(--green); color: #fff !important; padding: 16px 26px; font-size: 16px; }
.mx-btn--green:hover { background: var(--green-dark); }
.mx-btn--ghost { border-color: var(--ink); background: transparent; }
.mx-btn--white { background: #fff; color: var(--ink) !important; }
.mx-btn--link { font-weight: 600; padding-inline: 16px; }

/* Store badges */
.mx-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.mx-store { display: flex; flex-direction: column; padding: 12px 22px; border-radius: 14px; background: var(--ink); color: #fff !important; min-inline-size: 160px; }
.mx-store span:first-child { font-size: 12px; color: var(--on-dark); }
.mx-store span:last-child { font-size: 17px; font-weight: 700; }
.mx-store:hover { background: var(--surface-deep); }

/* Hero */
.mx-hero { background: var(--bg-soft); }
.mx-hero--dark { background: var(--ink); color: #fff; }
.mx-hero .mx-wrap { padding-block: 72px 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.mx-hero--dark .mx-wrap { padding-block: 80px 96px; }
.mx-hero__text { flex: 1 1 440px; min-inline-size: 0; display: flex; flex-direction: column; gap: 24px; }
.mx-hero__visual { flex: 1 1 440px; min-inline-size: 0; position: relative; block-size: 520px; border-radius: var(--radius-band); overflow: hidden; background: #e9f1ed; }
.mx-hero__visual > svg, .mx-hero__visual > img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.mx-eta { position: absolute; inset-inline: 24px; inset-block-end: 24px; background: #fff; border-radius: 18px; padding: 18px 20px; display: flex; align-items: center; gap: 16px; box-shadow: 0 12px 32px rgba(0, 33, 29, .12); }
.mx-eta__icon { inline-size: 48px; block-size: 48px; border-radius: 50%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mx-eta__text { flex: 1; min-inline-size: 0; display: flex; flex-direction: column; gap: 2px; }
.mx-eta__text strong { font-size: 15px; } .mx-eta__text span { font-size: 13px; color: var(--muted); }
.mx-eta__badge { font-size: 15px; font-weight: 700; padding: 8px 12px; border-radius: 10px; background: var(--tint); color: var(--tint-text); }
.mx-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.mx-chips strong { color: var(--ink); font-weight: 600; }
.mx-chip { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border); }
.mx-hero__card { flex: 1 1 380px; min-inline-size: 0; max-inline-size: 460px; background: #fff; color: var(--ink); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.mx-hero__card .mx-store { min-inline-size: 0; padding: 14px 20px; border-radius: 14px; }
.mx-hero__card .mx-store--green { background: var(--green); }
.mx-hero__card .mx-store--green span:first-child { color: #ddf1e6; }

/* Cards and grids */
.mx-grid { display: grid; gap: 20px; }
.mx-grid--240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mx-grid--260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.mx-grid--300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.mx-grid--320 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; }
.mx-card { border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.mx-card h3, .mx-feature h3 { font-size: 19px; font-weight: 700; }
.mx-feature { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 16px; background: var(--bg-soft); }
.mx-feature > svg { flex-shrink: 0; }
.mx-feature strong { font-size: 16px; font-weight: 700; display: block; margin-block-end: 4px; }
.mx-feature p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.mx-step { display: flex; flex-direction: column; gap: 12px; }
.mx-step__n { inline-size: 40px; block-size: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mx-step h3 { font-size: 20px; font-weight: 700; }
.mx-steps-row { display: flex; gap: 16px; align-items: flex-start; }
.mx-steps-row h3 { font-size: 17px; font-weight: 700; margin-block-end: 4px; }
.mx-check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.mx-check svg { flex-shrink: 0; }
.mx-check--card { padding: 18px 20px; border-radius: 16px; background: var(--bg-soft); }

/* Categories */
.mx-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.mx-filter { border: 1px solid var(--border); background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 999px; cursor: pointer; }
.mx-filter[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
.mx-cat { text-align: start; font: inherit; color: inherit; background: #fff; cursor: pointer; border: 2px solid var(--border); border-radius: var(--radius-card); padding: 27px; display: flex; flex-direction: column; gap: 14px; }
.mx-cat[aria-pressed='true'] { border-color: var(--green); box-shadow: 0 10px 28px rgba(0, 33, 29, .1); }
.mx-cat[hidden] { display: none; }
.mx-cat__img { block-size: 120px; inline-size: 100%; border-radius: 14px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mx-cat__img img { block-size: 100%; inline-size: 100%; object-fit: contain; }
.mx-cat__row { display: flex; inline-size: 100%; align-items: center; justify-content: space-between; }
.mx-tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--tint-text); }
.mx-cat__selected { font-size: 13px; font-weight: 700; color: var(--tint-text); visibility: hidden; }
.mx-cat[aria-pressed='true'] .mx-cat__selected { visibility: visible; }
.mx-cat__name { font-size: 20px; font-weight: 700; }

/* Bands */
.mx-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.mx-band { border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.mx-band--dark { background: var(--ink); color: #fff; }
.mx-band--dark p { color: var(--on-dark); }
.mx-band--tint { background: var(--tint); }
.mx-band h2 { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.mx-band p { font-size: 16px; line-height: 1.6; color: var(--muted-2); }
.mx-cta { padding: 0 24px 96px; }
.mx-cta__box { max-inline-size: 1200px; margin-inline: auto; border-radius: var(--radius-band); padding: 56px 48px; background: var(--green); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.mx-cta__box p { font-size: 17px; line-height: 1.6; color: #ddf1e6; }
.mx-cta__box .mx-store { min-inline-size: 160px; }
.mx-cta__box > div:first-child { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }

/* Stats, testimonials */
.mx-stat { padding: 24px; border-radius: 18px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.mx-stat strong { font-size: 32px; font-weight: 800; color: var(--green); }
.mx-stat span { font-size: 14px; color: var(--muted); }
.mx-quote { padding: 28px; border-radius: 20px; background: var(--bg-soft); display: flex; flex-direction: column; gap: 16px; }
.mx-stars { font-size: 16px; color: #b7791f; letter-spacing: 2px; }
.mx-quote figcaption { display: flex; align-items: center; gap: 12px; }
.mx-avatar { inline-size: 40px; block-size: 40px; border-radius: 50%; background: #d7e4d2; object-fit: cover; }
.mx-quote figcaption strong { display: block; font-size: 15px; } .mx-quote figcaption span { font-size: 13px; color: var(--muted); }

/* Business preview */
.mx-preview { flex: 1 1 460px; min-inline-size: 0; background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 16px 40px rgba(0, 33, 29, .08); overflow: hidden; }
.mx-preview__bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-block-end: 1px solid var(--border); font-size: 14px; font-weight: 700; }
.mx-preview__bar span { font-size: 12px; font-weight: 400; color: var(--muted); }
.mx-preview__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 20px; }
.mx-kpi { padding: 14px; border-radius: 14px; background: var(--bg-soft); display: flex; flex-direction: column; gap: 4px; }
.mx-kpi span { font-size: 12px; color: var(--muted); } .mx-kpi strong { font-size: 18px; font-weight: 800; }
.mx-preview__list { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.mx-preview__list > strong { font-size: 13px; }
.mx-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; font-size: 13px; }
.mx-row small { display: block; color: var(--muted); font-size: 13px; } .mx-row b { font-weight: 600; display: block; }
.mx-status { padding: 4px 10px; border-radius: 999px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.mx-status--ok { background: var(--tint); color: var(--tint-text); }
.mx-status--warn { background: var(--warn-bg); color: var(--warn-text); }
.mx-status--no { background: #fde8e6; color: var(--error); }
.mx-status--neutral { background: var(--bg-soft); color: var(--muted-2); }

/* Business request form */
.mx-demand { padding: 0 24px 96px; }
.mx-demand__box { max-inline-size: 1200px; margin-inline: auto; border-radius: var(--radius-band); padding: 56px 48px; background: var(--ink); color: #fff; display: flex; flex-wrap: wrap; gap: 48px; }
.mx-demand__intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.mx-demand__intro p { font-size: 17px; line-height: 1.6; color: var(--on-dark); }
.mx-demand__panel { flex: 1 1 460px; min-inline-size: 0; background: #fff; color: var(--ink); border-radius: 20px; padding: 28px; }
.mx-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.mx-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted-2); }
.mx-field--full { grid-column: 1 / -1; }
.mx-input { font: inherit; font-size: 15px; font-weight: 400; padding: 14px 16px; border-radius: 12px; border: 1px solid #b9ccc6; color: var(--ink); background: #fff; inline-size: 100%; min-inline-size: 0; }
.mx-input[aria-invalid='true'] { border-color: var(--error); }
.mx-input-group { display: flex; gap: 8px; }
.mx-prefix { font-size: 15px; font-weight: 600; padding: 14px 12px; border-radius: 12px; background: var(--bg-soft); border: 1px solid #b9ccc6; }
.mx-mini-btn { font: inherit; font-size: 13px; font-weight: 600; padding: 0 14px; border-radius: 12px; border: 1px solid #b9ccc6; background: #fff; color: var(--ink); cursor: pointer; }
.mx-error { font-size: 12px; font-weight: 500; color: var(--error); }
.mx-locate { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--border); }
.mx-locate[data-invalid='true'] { border-color: var(--error); }
.mx-locate div { display: flex; flex-direction: column; gap: 2px; font-size: 13px; } .mx-locate strong { font-weight: 600; color: var(--muted-2); } .mx-locate span { color: var(--muted); }
.mx-submit { grid-column: 1 / -1; border: 0; border-radius: 12px; padding: 16px; font: inherit; font-size: 16px; font-weight: 700; background: var(--green); color: #fff; cursor: pointer; }
.mx-submit:disabled { opacity: .7; cursor: progress; }
.mx-linkbtn { font: inherit; font-size: 13px; font-weight: 700; color: var(--tint-text); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.mx-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.mx-hp { position: absolute; inset-inline-start: -9999px; inline-size: 1px; block-size: 1px; overflow: hidden; }
.mx-alert { grid-column: 1 / -1; padding: 12px 14px; border-radius: 12px; background: #fde8e6; color: var(--error); font-size: 14px; }
.mx-status-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.mx-status-head small { display: block; font-size: 13px; color: var(--muted); } .mx-status-head strong { font-size: 20px; font-weight: 800; }
.mx-timeline { display: flex; flex-direction: column; gap: 14px; margin-block: 20px; }
.mx-timeline li { display: flex; gap: 14px; align-items: flex-start; }
.mx-dot { inline-size: 28px; block-size: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; background: var(--border); color: var(--muted); }
.mx-dot[data-state='done'] { background: var(--green); color: #fff; }
.mx-dot[data-state='current'] { background: var(--warn-bg); color: var(--warn-text); }
.mx-dot[data-state='declined'] { background: #fde8e6; color: var(--error); }
.mx-timeline strong { display: block; font-size: 15px; } .mx-timeline span { font-size: 13px; color: var(--muted); }
.mx-summary { padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); font-size: 13px; line-height: 1.6; color: var(--muted-2); margin-block-end: 16px; }
.mx-summary span { display: block; }
.mx-panel-btn { display: block; inline-size: 100%; text-align: center; border: 0; border-radius: 12px; padding: 16px; font: inherit; font-size: 16px; font-weight: 700; color: #fff !important; cursor: pointer; }
.mx-panel-btn--green { background: var(--green); } .mx-panel-btn--dark { background: var(--ink); }
.mx-lookup { display: grid; gap: 16px; }

/* Content pages */
.mx-page { padding-block: 72px; }
.mx-page h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -0.02em; margin-block-end: 24px; }
.mx-prose { max-inline-size: 820px; font-size: 16px; line-height: 1.8; color: var(--muted-2); }
.mx-prose h2, .mx-prose h3 { margin-block: 24px 8px; color: var(--ink); }
.mx-prose ul { list-style: disc; padding-inline-start: 24px; } .mx-prose ol { list-style: decimal; padding-inline-start: 24px; }
.mx-prose a { color: var(--green); text-decoration: underline; }
.mx-contact { display: grid; gap: 16px; max-inline-size: 560px; }
.mx-contact div { padding: 18px 20px; border-radius: 16px; background: var(--bg-soft); }
.mx-contact small { display: block; color: var(--muted); font-size: 13px; }

/* Footer */
.mx-footer { background: var(--ink); color: #fff; }
.mx-footer .mx-wrap { padding-block: 56px 32px; display: flex; flex-direction: column; gap: 40px; }
.mx-footer__cols { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.mx-footer__brand { flex: 1 1 240px; display: flex; flex-direction: column; gap: 12px; max-inline-size: 320px; }
.mx-footer__brand img { height: 34px; width: auto; align-self: flex-start; }
.mx-footer__brand p { font-size: 14px; line-height: 1.7; color: var(--on-dark); }
.mx-footer__social { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; font-weight: 600; }
.mx-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.mx-footer__col strong { font-weight: 700; }
.mx-footer a { color: var(--on-dark-2); } .mx-footer a:hover { color: #fff; }
.mx-footer__bottom { border-block-start: 1px solid #1c3f38; padding-block-start: 24px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13px; color: var(--on-dark); }
.mx-footer__lang { display: flex; gap: 16px; }
.mx-footer__lang a[aria-current='true'] { font-weight: 700; color: #fff; }

@media (max-width: 640px) {
    .mx-section { padding-block: 64px; }
    .mx-wrap { padding-inline: 16px; }
    .mx-cta, .mx-demand { padding-inline: 16px; }
    .mx-cta__box, .mx-demand__box { padding: 32px 22px; }
    .mx-hero .mx-wrap { padding-block: 48px 56px; gap: 40px; }
    .mx-hero__visual { block-size: 420px; }
    .mx-nav { gap: 18px; }
    .mx-band { padding: 28px; }
    .mx-demand__panel { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
