:root {
    --ink: #0f172a;
    --muted: #64748b;
    --brand: #4278e2;
    --brand-2: #2f5cc2;
}

* { box-sizing: border-box; }

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: linear-gradient(135deg, #f8fbff, #eef4ff 30%, #f7f7ff);
}

/* ====== Layout ====== */
.wrap {
    display: grid;
    grid-template-columns: minmax(380px, 520px) 1fr;
    min-height: 100vh;
}

/* Left column */
.left {
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 56px 32px;
}

.logo { margin-bottom: 6px; }
.logo img { width: 88px; height: 88px; border-radius: 50%; object-fit: contain; }

h1 { margin: 0; font-size: 40px; }
.grad { background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.tagline {
    margin: 0;
    max-width: 460px;
    color: #334155;
    line-height: 1.6;
    text-align: center;
}

.stores { width: 100%; max-width: 420px; display: grid; gap: 14px; }
.store {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    height: 56px; border-radius: 16px; text-decoration: none; color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    font-weight: 700; box-shadow: 0 18px 40px rgba(66, 120, 226, 0.35);
    transition: transform .15s ease, box-shadow .2s ease;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 24px 48px rgba(66,120,226,.45); }
.store img { width: 22px; height: 22px; filter: invert(1); }

.faq-bottom { color: #6b7280; font-size: 13px; margin-top: 6px; }
.faq-bottom a { color: #1d4ed8; text-decoration: underline; }

/* Right column */
.right {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0b1220, #1a1f2e);
    display: flex;
    flex-direction: column;
    padding: 48px 24px;
}
.pattern { position: absolute; inset: 0; opacity: .25; pointer-events: none; z-index: 1;
    background:
            radial-gradient(transparent 30%, rgba(255,255,255,.05) 31%),
            repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 2px, transparent 2px 10px);
}
.glow-bg { position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background:
            radial-gradient(circle at 30% 30%, rgba(66,120,226,.25), transparent 60%),
            radial-gradient(circle at 70% 70%, rgba(47,92,194,.2), transparent 60%);
}
.right-inner { position: relative; z-index: 2; display: grid; place-items: center; gap: 36px; height: 100%; }

.catchphrase {
    color: #fff; text-align: center; font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; line-height: 1.4;
}
.catchphrase .accent { background: linear-gradient(135deg, #60a5fa, #3b82f6); -webkit-background-clip: text; background-clip: text; color: transparent; }

.phones { display: flex; gap: 20px; align-items: flex-end; justify-content: center; }
.phone { width: 240px; aspect-ratio: 9/19; border-radius: 28px; padding: 10px; background: linear-gradient(180deg, #0e0e12, #0b0b0e);
    box-shadow: 0 35px 80px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08); position: relative; overflow: hidden; transform: rotate(var(--r,0deg)) translateY(var(--y,0)); }
.phone::before { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
    width: 36%; height: 18px; border-radius: 0 0 14px 14px; background: #000; }
.screen { position: absolute; inset: 12px; border-radius: 26px; overflow: hidden; background: #111; }
.screen img { width: 100%; height: 100%; object-fit: contain; display: block; }
.p1 { --r: -6deg; --y: 10px; z-index: 1; }
.p2 { --r: 0deg;  --y: 0; z-index: 2; transform: scale(1.1); }
.p3 { --r: 6deg;  --y: 10px; z-index: 1; }

.social-inline { position: absolute; bottom: 20px; right: 24px; display: flex; gap: 10px; z-index: 3; }
.social-inline a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 999px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); transition: background .2s; }
.social-inline a:hover { background: rgba(255,255,255,.25); }
.social-inline img, .lang-btn img { width: 18px; height: 18px; filter: invert(1); opacity: .85; }

/* ====== Language dropdown (button + menu) ====== */
.lang-switch { position: fixed; top: 16px; right: 16px; z-index: 4000; font-family: inherit; }

/* Button styled like social icons */
.lang-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 999px;
    background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.15); cursor: pointer; transition: background .2s; }
.lang-btn:hover { background: rgba(255,255,255,.25); }
.lang-btn:focus-visible { outline: 3px solid rgba(66,120,226,.35); outline-offset: 3px; }
.lang-btn img { width: 25px; height: 25px; }

/* Dropdown */
.lang-menu { position: absolute; right: 0; margin-top: 8px; display: none; min-width: 220px;
    background: rgba(255,255,255,.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 16px 40px rgba(15,23,42,.12); padding: 6px; }
.lang-menu.open { display: block; }

.lang-option {
    width: 100%;
    display: flex;                /* garantit le layout aussi pour <a> */
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: transparent;
    text-align: left;
    font: inherit;
    text-decoration: none;        /* liens sans soulignement */
    color: inherit;               /* hérite de la couleur */
}
.lang-option:hover { background: #f8fafc; }
.lang-option[aria-current="true"] {
    background: #f1f5ff;
    pointer-events: none;         /* évite le clic sur la langue déjà sélectionnée */
}

.lang-col { display: flex; flex-direction: column; line-height: 1.25; }
.lang-label { font-weight: 700; font-size: 14px; color: #0f172a; }
.lang-hint { font-size: 12px; color: #64748b; margin-top: 2px; }

/* Mobile: hide right column for a clean simple hero */
@media (max-width: 1024px) {
    .wrap { grid-template-columns: 1fr; }
    .right { display: none; }
    .lang-btn { background: #fff; border: 1px solid #e5e7eb; }
}
@media (max-width: 900px) {
    .hide-m, .site-footer a {
        display: none;
    }
    .lang-btn img { filter: none; }
}

/* Footer */
.site-footer { text-align: center; font-size: 13px; color: #6b7280; padding: 20px; border-top: 1px solid #e5e7eb; background: #fff; }
.site-footer a { color: #4278e2; text-decoration: none; margin: 0 6px; }
.site-footer a:hover { text-decoration: underline; }