/* MétierPro — page d'accueil de la plateforme */
:root {
  --ink: #0f172a; --mu: #5b647a; --ln: #e6e8ef; --bg: #ffffff; --soft: #f5f6fb;
  --p: #4f46e5; --p2: #06b6d4; --r: 18px;
  --f: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--f); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16.5px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
.ic { width: 1.1em; height: 1.1em; vertical-align: -.17em; flex: none; }
.lp-wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.lp-narrow { max-width: 820px; }

/* Boutons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .9em 1.4em; border-radius: 12px; font-weight: 700; font-size: .97rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, box-shadow .2s, background .2s; }
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-primary { background: linear-gradient(135deg, var(--p), #6d28d9); color: #fff; box-shadow: 0 10px 30px rgba(79, 70, 229, .35); }
.lp-btn-dark { background: var(--ink); color: #fff; }
.lp-btn-ghost { border-color: #cfd3df; background: #fff; }
.lp-btn-block { width: 100%; }

/* En-tête */
.lp-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(15, 23, 42, .06); }
.lp-hdr { display: flex; align-items: center; gap: 24px; height: 70px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; text-decoration: none; letter-spacing: -.02em; }
.lp-logo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, var(--p), var(--p2)); }
.lp-nav { display: flex; gap: 4px; margin-left: auto; }
.lp-nav a { padding: 8px 12px; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: .94rem; color: #334155; }
.lp-nav a:hover { background: var(--soft); }
.lp-hdr-cta { padding: .7em 1.1em; font-size: .9rem; }
.lp-burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.lp-burger .ic { width: 26px; height: 26px; }

/* Hero */
.lp-hero { position: relative; overflow: hidden; background: radial-gradient(900px 520px at 85% -10%, rgba(99, 102, 241, .22), transparent 70%), radial-gradient(700px 500px at -10% 110%, rgba(6, 182, 212, .18), transparent 70%), #fff; }
.lp-hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding: clamp(56px, 8vw, 104px) 0 clamp(60px, 8vw, 110px); }
.lp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 99px; background: #eef2ff; color: #4338ca; font-weight: 700; font-size: .85rem; margin-bottom: 20px; }
.lp-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; }
.lp-hero h1 span { color: var(--p2); }
.lp-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--p), var(--p2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { font-size: 1.12rem; color: var(--mu); max-width: 600px; }
.lp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 24px; }
.lp-proof { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px 22px; flex-wrap: wrap; font-weight: 600; font-size: .93rem; color: #334155; }
.lp-proof li { display: inline-flex; align-items: center; gap: 7px; }
.lp-proof .ic { color: #16a34a; }
.lp-hero-vis { position: relative; height: 470px; }
.mock { position: absolute; width: 330px; border-radius: 16px; overflow: hidden; background: var(--bg); box-shadow: 0 30px 70px rgba(15, 23, 42, .22); border: 1px solid rgba(15, 23, 42, .08); }
.mock-0 { top: 0; left: 0; transform: rotate(-4deg); z-index: 1; }
.mock-1 { top: 70px; right: 0; transform: rotate(3deg); z-index: 3; }
.mock-2 { bottom: 0; left: 60px; transform: rotate(-1deg); z-index: 2; }
.mock-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: #f1f3f7; font-size: 11px; color: #64748b; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e2e5ec; }
.mock-bar i:nth-child(1) { background: #f87171; } .mock-bar i:nth-child(2) { background: #fbbf24; } .mock-bar i:nth-child(3) { background: #34d399; }
.mock-bar span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-hero { padding: 22px 20px; display: grid; gap: 6px; justify-items: start; }
.mock-hero.dark { background: radial-gradient(300px 160px at 80% 0%, color-mix(in srgb, var(--p) 60%, transparent), transparent 70%), var(--dk); color: #fff; }
.mock-hero.light { background: linear-gradient(180deg, color-mix(in srgb, var(--p) 10%, var(--bg)), var(--bg)); }
.mock-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--p); color: var(--on); }
.mock-hero b { font-size: 1.05rem; letter-spacing: -.01em; }
.mock-hero small { opacity: .78; font-size: .78rem; }
.mock-btn { margin-top: 4px; padding: 6px 12px; border-radius: 8px; background: var(--p); color: var(--on); font-weight: 700; font-size: .75rem; }
.mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 16px 18px; }
.mock-tiles span { height: 54px; border-radius: 9px; background: color-mix(in srgb, var(--p) 18%, var(--bg)); }
.mock-tiles span:nth-child(2) { background: color-mix(in srgb, var(--a) 30%, var(--bg)); }
.mock-badge { position: absolute; right: 30px; bottom: 30px; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #0f172a; color: #fff; box-shadow: 0 20px 40px rgba(15, 23, 42, .3); }
.mock-badge .ic { width: 28px; height: 28px; padding: 6px; border-radius: 8px; background: linear-gradient(135deg, var(--p), var(--p2)); }
.mock-badge b { display: block; font-size: .9rem; }
.mock-badge small { font-size: .75rem; opacity: .75; }

/* Sections */
.lp-sec { padding: clamp(64px, 8vw, 104px) 0; }
.lp-alt { background: var(--soft); }
.lp-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.lp-head h2, .lp-contact h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
.lp-head p { color: var(--mu); font-size: 1.07rem; }
.lp-kick { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--p); margin-bottom: 10px; }
.lp-group { font-size: 1.05rem; margin: 34px 0 14px; color: #334155; }

/* Métiers */
.lp-trades { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 14px; }
.lp-trade { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--ln); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.lp-trade:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 23, 42, .12); }
.lt-top { display: flex; justify-content: space-between; align-items: center; padding: 16px; background: radial-gradient(160px 90px at 85% 0%, color-mix(in srgb, var(--p) 70%, transparent), transparent 75%), var(--dk); }
.lt-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--p); color: var(--on); }
.lt-ic .ic { width: 22px; height: 22px; }
.lt-sw { display: flex; gap: 4px; }
.lt-sw i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); background: var(--p); }
.lt-sw i:last-child { background: var(--a); }
.lt-body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.lt-body b { font-size: 1rem; }
.lt-body small { color: var(--mu); font-size: .85rem; line-height: 1.45; }
.lt-go { margin-top: 6px; font-weight: 700; font-size: .85rem; color: var(--p); display: inline-flex; align-items: center; gap: 4px; }

/* Fonctionnalités */
.lp-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lp-feat { background: #fff; border: 1px solid var(--ln); border-radius: var(--r); padding: 26px; }
.lp-feat > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #eef2ff; color: var(--p); margin-bottom: 14px; }
.lp-feat > span .ic { width: 24px; height: 24px; }
.lp-feat h3 { font-size: 1.12rem; }
.lp-feat p { color: var(--mu); margin: 0; font-size: .95rem; }
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.lp-steps div { position: relative; padding: 22px 22px 22px 78px; border-radius: var(--r); background: #0f172a; color: #e2e8f0; }
.lp-steps b { position: absolute; left: 22px; top: 22px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; font-size: 1.1rem; }
.lp-steps h3 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.lp-steps p { margin: 0; font-size: .92rem; color: #94a3b8; }

/* Tarifs */
.lp-toggle { display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 34px; padding: 5px; border-radius: 14px; background: var(--soft); border: 1px solid var(--ln); }
.lp-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.lp-toggle span { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 10px; font-weight: 700; cursor: pointer; color: #475569; }
.lp-toggle em { font-style: normal; font-size: .75rem; padding: 2px 7px; border-radius: 99px; background: #dcfce7; color: #15803d; }
.lp-toggle input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(15, 23, 42, .1); }
.lp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.lp-plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--ln); }
.lp-plan.hl { border: 2px solid var(--p); box-shadow: 0 30px 70px rgba(79, 70, 229, .18); }
.lp-ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 99px; background: linear-gradient(135deg, var(--p), #6d28d9); color: #fff; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.lp-plan h3 { font-size: 1.4rem; margin-bottom: 4px; }
.lp-plan-tag { color: var(--mu); font-size: .93rem; min-height: 3em; }
.lp-price { display: none; margin: 8px 0 18px; }
.lp-price b { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.lp-price sup { font-size: 1.3rem; margin-left: 2px; vertical-align: 1.2rem; }
.lp-price span { color: var(--mu); font-weight: 600; margin-left: 6px; }
.lp-price small { display: block; margin-top: 8px; color: var(--mu); font-size: .85rem; }
.lp-price-cta { display: none; margin-bottom: 22px; }
.lp-plans[data-cycle="mensuel"] [data-c="mensuel"], .lp-plans[data-cycle="annuel"] [data-c="annuel"], .lp-plans[data-cycle="avie"] [data-c="avie"] { display: block; }
.lp-plans[data-cycle] .lp-price-cta[data-c] { display: none; }
.lp-plans[data-cycle="mensuel"] .lp-price-cta[data-c="mensuel"], .lp-plans[data-cycle="annuel"] .lp-price-cta[data-c="annuel"], .lp-plans[data-cycle="avie"] .lp-price-cta[data-c="avie"] { display: flex; }
.lp-plan ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 9px; font-size: .93rem; }
.lp-plan li { display: flex; gap: 9px; align-items: flex-start; }
.lp-plan li .ic { color: #16a34a; margin-top: 3px; }
.lp-setup { margin: auto 0 0; padding-top: 14px; border-top: 1px dashed var(--ln); font-size: .85rem; color: var(--mu); }
.lp-setup span { white-space: nowrap; }
.lp-note { display: flex; justify-content: center; align-items: center; gap: 8px; text-align: center; color: var(--mu); font-size: .92rem; margin: 22px 0 0; }
.lp-compare { margin-top: 50px; overflow-x: auto; border-radius: var(--r); border: 1px solid var(--ln); }
.lp-compare table { width: 100%; border-collapse: collapse; min-width: 620px; }
.lp-compare th { padding: 16px; background: var(--soft); font-size: .95rem; text-align: center; }
.lp-compare th:first-child { text-align: left; }
.lp-compare td { padding: 13px 16px; border-top: 1px solid var(--ln); text-align: center; font-size: .93rem; }
.lp-compare td:first-child { text-align: left; font-weight: 600; color: #334155; }
.lp-compare .y { color: #16a34a; }
.lp-compare .n { color: #cbd5e1; }

/* FAQ */
.lp-faq { border-radius: 14px; background: #fff; border: 1px solid var(--ln); margin-bottom: 12px; }
.lp-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .ic { transition: transform .2s; color: var(--p); }
.lp-faq[open] summary .ic { transform: rotate(180deg); }
.lp-faq p { padding: 0 22px 18px; margin: 0; color: var(--mu); }

/* Contact */
.lp-contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.lp-contact p { color: var(--mu); }
.lp-clist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; font-weight: 600; }
.lp-clist li { display: flex; align-items: center; gap: 10px; }
.lp-clist .ic { color: var(--p); }
.lp-clist a { text-decoration: none; }
.lp-form { padding: 30px; border-radius: 22px; background: #fff; border: 1px solid var(--ln); box-shadow: 0 24px 60px rgba(15, 23, 42, .08); }
.lp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-fields label { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; color: #334155; }
.lp-fields .full { grid-column: 1 / -1; }
.lp-form input, .lp-form select, .lp-form textarea { font: inherit; font-size: .95rem; width: 100%; padding: .75em .9em; border-radius: 11px; border: 1px solid #d5d9e3; background: #fff; color: var(--ink); }
.lp-form input:focus, .lp-form select:focus, .lp-form textarea:focus { outline: none; border-color: var(--p); box-shadow: 0 0 0 3px rgba(79, 70, 229, .16); }
.lp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lp-consent { display: flex; gap: 9px; align-items: flex-start; font-size: .82rem; color: var(--mu); margin: 16px 0; }
.lp-consent input { width: auto; margin-top: 3px; accent-color: var(--p); }
.lp-alert { display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; font-size: .93rem; }
.lp-alert.ok { background: #dcfce7; color: #14532d; }
.lp-alert.err { background: #fee2e2; color: #7f1d1d; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Pied */
.lp-footer { padding: 30px 0; border-top: 1px solid var(--ln); font-size: .9rem; color: var(--mu); }
.lp-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.lp-foot a { color: inherit; }
.lp-legal h1 { font-size: 2.2rem; }
.lp-legal h2 { font-size: 1.25rem; margin-top: 1.6em; }

@media (max-width: 1000px) {
  .lp-hero-in, .lp-contact { grid-template-columns: 1fr; }
  .lp-hero-vis { height: 430px; max-width: 520px; width: 100%; margin: 0 auto; }
  .lp-feats, .lp-steps { grid-template-columns: 1fr 1fr; }
  .lp-plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .lp-nav { position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; padding: 10px 20px 20px; background: #fff; border-bottom: 1px solid var(--ln); box-shadow: 0 20px 40px rgba(15, 23, 42, .12); display: none; }
  .lp-open .lp-nav { display: flex; }
  .lp-burger { display: block; margin-left: auto; }
  .lp-hdr-cta { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .lp-feats, .lp-steps, .lp-fields { grid-template-columns: 1fr; }
  .mock { width: 250px; }
  .mock-1 { top: 90px; }
  .lp-hero-vis { height: 400px; }
  .lp-toggle span { padding: 9px 12px; }
}

/* Version bêta */
.beta-ribbon { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 7px 16px; background: #fef3c7; color: #92400e; font: 600 13px/1.35 system-ui, -apple-system, sans-serif; text-align: center; border-bottom: 1px solid #fde68a; }
.beta-ribbon svg { width: 15px; height: 15px; flex: none; }
