/* Pages d'atterrissage Lifemoz (DyafaGo, SalariaRH, MozEdge).
   Feuille commune ; chaque site règle --accent, --accent-soft et --ink dans son <html style>. */
:root {
    --bg: #ffffff;
    --surface: #f6f7f9;
    --line: #e4e7ec;
    --text: #1d2433;
    --muted: #5b6475;
    --accent: #2563eb;
    --accent-soft: #e8efff;
    --ink: #0f172a;
    --radius: 14px;
    --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; color: var(--ink); }
.brand .mark { width: 32px; height: 32px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; color: #fff; font-size: 15px; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; padding: 12px 20px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px -8px var(--accent); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* Héros */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; margin-bottom: 18px; }
h1 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 18px; color: var(--ink); }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.reassure { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.reassure span::before { content: "✓ "; color: var(--accent); font-weight: 700; }

/* Visuel du héros : carte d'interface stylisée */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .35); padding: 18px; }
.mock-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; font-size: 14px; }
.mock-row strong { display: block; color: var(--ink); }
.mock-row small { color: var(--muted); }
.pill { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 10px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.pill.ok { background: #e7f7ee; color: #15803d; }
.pill.wait { background: #fff4e5; color: #b45309; }

/* Sections */
section { padding: 72px 0; }
.alt { background: var(--surface); }
.section-head { max-width: 680px; margin: 0 0 40px; }
h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 12px; color: var(--ink); }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 14px 0 8px; font-size: 18px; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; }

/* Étapes */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 24px 24px 24px 72px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 24px; top: 22px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; }
.step h3 { margin: 0 0 6px; font-size: 17px; color: var(--ink); }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Liste à puces cochées */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* Appel à l'action final */
.cta { background: var(--ink); color: #fff; border-radius: 22px; padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { color: #fff; margin: 0 0 8px; }
.cta p { margin: 0; color: rgba(255, 255, 255, .75); max-width: 36em; }
@media (max-width: 640px) { .cta { padding: 32px 24px; } }

/* Pied de page */
footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Page simple (mentions légales) */
.page { padding: 56px 0 72px; max-width: 760px; }
.page h1 { font-size: 34px; }
.page h2 { font-size: 20px; margin-top: 32px; }
.page p, .page li { color: var(--muted); }
