/* GesComptoir — page de présentation publique. Aucun style en ligne (CSP) ; polices du système ; aucune ressource externe. */
:root {
  --navy: #0f2f55; --navy-2: #153b68; --blue: #3b7ddd; --teal: #4aa3c7; --orange: #e8943a; --wa: #1faa59;
  --text: #14202e; --muted: #536478; --line: #d9e2ec; --bg: #ffffff; --alt: #eef3f8;
  --ok: #0f9d58; --bad: #e03131; --radius: 16px; --shadow: 0 18px 50px rgba(15, 47, 85, .16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0; color: var(--navy); }
.lp-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.lp-narrow { width: min(820px, 100% - 32px); }

/* ---- Boutons ---- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .6rem 1.2rem; border-radius: 12px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; font-family: inherit; }
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn:focus-visible, .lp-lang:focus-visible, summary:focus-visible, .lp-wa-float:focus-visible { outline: 3px solid #9db7ff; outline-offset: 2px; }
.lp-btn-main { background: linear-gradient(135deg, var(--orange), #f2b04b); color: #1b2430; box-shadow: 0 8px 20px rgba(232, 148, 58, .35); }
.lp-btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(31, 170, 89, .3); }
.lp-btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.lp-btn-ghost:hover { background: var(--alt); }
.lp-btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.lp-btn-big { min-height: 56px; padding: .8rem 1.6rem; font-size: 1.05rem; }
.lp-ico { width: 22px; height: 22px; fill: currentColor; }
.lp-lang { min-height: 44px; padding: .4rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 700; cursor: pointer; font-family: inherit; }

/* ---- En-tête ---- */
.lp-top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.lp-top-in { display: flex; align-items: center; gap: 1rem; min-height: 68px; flex-wrap: wrap; padding-block: .4rem; }
.lp-logo { font-size: 1.45rem; font-weight: 800; text-decoration: none; background: linear-gradient(90deg, var(--blue), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-nav { display: flex; gap: .25rem; flex: 1; justify-content: center; }
.lp-nav a { padding: .5rem .8rem; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.lp-nav a:hover { background: var(--alt); }
.lp-top-actions { display: flex; gap: .5rem; align-items: center; margin-inline-start: auto; }
.lp-top-actions form { margin: 0; }

/* ---- Héros ---- */
.lp-hero { background: radial-gradient(900px 500px at 85% 0%, rgba(74, 163, 199, .28), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(232, 148, 58, .15), transparent 60%), linear-gradient(180deg, #eaf1fa, #fff); padding: 56px 0 72px; overflow: hidden; }
.lp-hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center; }
.lp-kicker { display: inline-block; margin: 0 0 1rem; padding: .3rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy-2); font-weight: 700; font-size: .9rem; }
.lp-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.02em; }
.lp-lead { font-size: 1.15rem; color: var(--muted); margin: 1.2rem 0 1.6rem; max-width: 56ch; }
.lp-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.lp-cta-center { justify-content: center; margin-top: 2rem; }
.lp-note { margin: 1rem 0 0; color: var(--muted); font-size: .95rem; }
.lp-checks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .45rem; }
.lp-checks li { padding-inline-start: 1.9rem; position: relative; font-weight: 600; color: var(--navy-2); }
.lp-checks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--ok); color: #fff; font-size: .85rem; display: grid; place-items: center; line-height: 1; margin-top: .2rem; }
.lp-hero-visual { position: relative; padding-bottom: 40px; }
.lp-phone-hero { position: absolute; inset-inline-end: -10px; bottom: 0; width: 34%; margin: 0; }

/* ---- Cadres d'écran ---- */
.lp-browser { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.lp-browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #e9eef5; border-bottom: 1px solid var(--line); }
.lp-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c4cdd9; display: block; }
.lp-browser-bar i:nth-child(1) { background: #ff6b6b; } .lp-browser-bar i:nth-child(2) { background: #ffc94d; } .lp-browser-bar i:nth-child(3) { background: #4cd07d; }
.lp-browser-bar span { margin-inline-start: 10px; font-size: .78rem; color: var(--muted); background: #fff; padding: .1rem .8rem; border-radius: 999px; }
.lp-phone { margin: 0; background: #0b1623; border-radius: 30px; padding: 9px; box-shadow: var(--shadow); border: 2px solid #26364d; }
.lp-phone img { border-radius: 22px; width: 100%; }
.lp-phone figcaption { text-align: center; color: #cfe0f5; font-weight: 600; padding: .7rem 0 .3rem; font-size: .95rem; }

/* ---- Bandeau chiffres ---- */
.lp-strip { background: var(--navy); color: #fff; }
.lp-strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.6rem; text-align: center; }
.lp-strip strong { display: block; font-size: 1.9rem; color: #f2b04b; }
.lp-strip span { color: #cfe0f5; font-size: .95rem; }

/* ---- Sections ---- */
.lp-sec { padding: 84px 0; }
.lp-alt { background: var(--alt); }
.lp-sec h2, .lp-final h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); text-align: center; letter-spacing: -.01em; }
.lp-sub { text-align: center; color: var(--muted); max-width: 70ch; margin: .8rem auto 2.6rem; font-size: 1.1rem; }
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.lp-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 6px 20px rgba(15, 47, 85, .06); transition: transform .2s, box-shadow .2s; }
.lp-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(15, 47, 85, .12); }
.lp-card h3 { font-size: 1.2rem; margin: .6rem 0 .5rem; }
.lp-card p { margin: 0; color: var(--muted); font-size: .98rem; }
.lp-emoji { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #e3eefc, #dff3f8); font-size: 1.6rem; }

/* ---- Avant / Après ---- */
.lp-versus { display: grid; grid-template-columns: 190px 1fr 1fr; gap: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.lp-versus > div { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; }
.lp-vs-head { font-weight: 800; font-size: 1.1rem; align-items: center !important; }
.lp-vs-head.lp-vs-before { background: #fdeaea; color: #8f1d1d; }
.lp-vs-head.lp-vs-after { background: #e6f6ee; color: #0b6b3c; }
.lp-vs-thing { font-weight: 800; color: var(--navy); background: #f7f9fc; }
.lp-vs-before { background: #fffafa; color: #5b3a3a; }
.lp-vs-after { background: #fafffc; color: #1c3a2c; font-weight: 600; }
.lp-x, .lp-v { flex: 0 0 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .8rem; font-weight: 800; margin-top: .1rem; }
.lp-x { background: var(--bad); } .lp-v { background: var(--ok); }

/* ---- Aperçu ---- */
.lp-feature { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2.5rem; align-items: center; margin-top: 4rem; }
.lp-feature:first-of-type { margin-top: 0; }
.lp-flip { grid-template-columns: 1.6fr 1fr; }
.lp-flip .lp-feature-text { order: 2; }
.lp-feature h3 { font-size: 1.6rem; margin-bottom: .7rem; }
.lp-feature p { color: var(--muted); margin: 0 0 1rem; }
.lp-feature ul { margin: 0; padding-inline-start: 1.2rem; color: var(--navy-2); font-weight: 600; display: grid; gap: .35rem; }
.lp-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---- Mobile ---- */
.lp-dark { background: radial-gradient(900px 500px at 50% 0%, #1c4778, transparent 70%), var(--navy); }
.lp-dark h2 { color: #fff; } .lp-dark .lp-sub { color: #cfe0f5; }
.lp-phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; align-items: start; }
.lp-phones .lp-phone:nth-child(even) { margin-top: 2.2rem; }

/* ---- Étapes ---- */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
.lp-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; text-align: center; }
.lp-step b { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto .8rem; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; font-size: 1.4rem; }
.lp-step h3 { font-size: 1.2rem; margin-bottom: .4rem; } .lp-step p { margin: 0; color: var(--muted); }

/* ---- FAQ ---- */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-top: .8rem; padding: 0 1.2rem; }
summary { cursor: pointer; font-weight: 700; padding: 1rem 0; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; min-height: 48px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; color: var(--blue); }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 1rem; color: var(--muted); }
.lp-alt h2 { margin-bottom: 1.4rem; }

/* ---- Appel final et pied de page ---- */
.lp-final { background: linear-gradient(135deg, var(--navy), var(--navy-2) 60%, #1d5c8a); color: #fff; text-align: center; padding: 76px 0; }
.lp-final h2 { color: #fff; } .lp-final p { color: #cfe0f5; margin: .8rem 0 0; font-size: 1.1rem; }
.lp-foot { background: #0a2140; color: #cfe0f5; padding: 28px 0 90px; font-size: .95rem; }
.lp-foot a { color: #fff; }
.lp-foot-in { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.lp-wa-float { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
.lp-wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ---- Adaptation ---- */
@media (max-width: 980px) {
  .lp-nav { display: none; }
  .lp-hero-in { grid-template-columns: 1fr; }
  .lp-hero-visual { max-width: 640px; margin-inline: auto; }
  .lp-grid, .lp-steps { grid-template-columns: 1fr 1fr; }
  .lp-feature, .lp-flip { grid-template-columns: 1fr; gap: 1.4rem; }
  .lp-flip .lp-feature-text { order: 0; }
  .lp-phones { grid-template-columns: repeat(2, 1fr); max-width: 520px; margin-inline: auto; }
  .lp-phones .lp-phone:nth-child(even) { margin-top: 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .lp-sec { padding: 56px 0; }
  .lp-hero { padding: 32px 0 48px; }
  .lp-top-actions .lp-btn-ghost { display: none; }
  .lp-strip-in { grid-template-columns: 1fr 1fr; }
  .lp-grid, .lp-steps, .lp-duo { grid-template-columns: 1fr; }
  .lp-cta .lp-btn { width: 100%; }
  .lp-phone-hero { width: 30%; inset-inline-end: -4px; }
  /* Avant / Après : une carte par ligne, avant puis après */
  .lp-versus { grid-template-columns: 1fr; }
  .lp-vs-head { display: none !important; }
  .lp-vs-thing { background: var(--navy); color: #fff; border-bottom: 0 !important; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .lp-btn, .lp-card { transition: none; } }
