/* ============ GecoSoft — feuille de style commune ============ */
:root {
  --navy: #0d1b3e;
  --navy-2: #122552;
  --blue: #2456e6;
  --blue-dark: #1a41b8;
  --blue-light: #e8eefc;
  --ink: #1c2436;
  --muted: #5c6474;
  --line: #e3e8f2;
  --bg: #f6f8fc;
  --white: #ffffff;
  --green: #16a34a;
  --amber: #b45309;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 27, 62, .08);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), #4f7cff); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--ink); font-size: .95rem; font-weight: 500; }
.nav-links a.active { color: var(--blue); font-weight: 600; }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: all .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(36, 86, 230, .3); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: none; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #1b3a8f 100%); color: #fff; padding: 84px 0 72px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(79,124,255,.25), transparent 65%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.3rem); line-height: 1.12; margin: 22px 0 18px; font-weight: 800; }
.hero h1 .accent { color: #7ea2ff; }
.hero p.lead { font-size: 1.1rem; color: #c4cfe8; max-width: 34rem; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 1.55rem; font-weight: 800; }
.hero-stats .stat span { font-size: .85rem; color: #9fb0d8; }

/* Carte mockup dans le hero */
.mock { background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 30px 60px rgba(0,0,0,.35); padding: 22px; }
.mock h4 { font-size: .95rem; margin-bottom: 4px; }
.mock .sub { font-size: .75rem; color: var(--muted); margin-bottom: 14px; }
.mock .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; font-size: .85rem; background: var(--bg); }
.mock .row .ok { color: var(--green); font-weight: 700; }
.mock .foot { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin-top: 12px; }
.mock .live { color: var(--green); font-weight: 600; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
section.alt { background: var(--bg); }
.kicker { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--blue-light); color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
h2.title { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
h2.title .accent { color: var(--blue); }
p.intro { color: var(--muted); max-width: 44rem; font-size: 1.03rem; margin-bottom: 40px; }
.center { text-align: center; }
.center p.intro { margin-left: auto; margin-right: auto; }

/* ---------- Grilles de cartes ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 2px 8px rgba(13,27,62,.04); transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .icon { width: 44px; height: 44px; border-radius: 11px; background: var(--blue-light); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.card h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 8px; }
.card p { font-size: .92rem; color: var(--muted); }
.card .tag { display: inline-block; margin-top: 14px; font-size: .78rem; font-weight: 700; color: var(--blue); }
a.card { display: block; color: inherit; }
a.card:hover { text-decoration: none; }

/* ---------- Listes à puces "check" ---------- */
.checks { list-style: none; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 11px; font-size: .96rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 6px; background: #e7f6ec; color: var(--green); font-size: .8rem; font-weight: 800; display: grid; place-items: center; }
.checks li b { color: var(--navy); }

/* ---------- Bloc produit (2 colonnes) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.panel { background: linear-gradient(150deg, var(--navy), #1b3a8f); color: #fff; border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.panel h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #9fb0d8; margin-bottom: 18px; }
.panel .checks li::before { background: rgba(255,255,255,.12); color: #4ade80; }
.panel .checks li { color: #dbe4f8; }
.panel .checks li b { color: #fff; }

/* ---------- Bande sombre CTA ---------- */
.cta-band { background: linear-gradient(140deg, var(--navy) 0%, var(--navy-2) 60%, #1b3a8f 100%); color: #fff; text-align: center; padding: 84px 24px; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.cta-band p { color: #b9c6e6; max-width: 38rem; margin: 0 auto 30px; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Tableaux ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
table.spec th, table.spec td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); }
table.spec th { background: var(--bg); color: var(--navy); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
table.spec tr:last-child td { border-bottom: none; }
table.spec td b { color: var(--navy); }

/* ---------- Pills (journaux, intégrations) ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 8px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--navy); }
.pill b { color: var(--blue); margin-right: 6px; }

/* ---------- Page produit : en-tête ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #1b3a8f 100%); color: #fff; padding: 70px 0 58px; }
.page-hero .badge { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.15; margin-bottom: 14px; }
.page-hero p { color: #c4cfe8; max-width: 40rem; font-size: 1.06rem; }
.page-hero .hero-ctas { margin-top: 28px; }
.crumbs { font-size: .82rem; color: #9fb0d8; margin-bottom: 18px; }
.crumbs a { color: #c4cfe8; }

/* ---------- Étapes numérotées ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before { counter-increment: step; content: counter(step); width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--muted); }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: #b9c6e6; padding: 56px 0 30px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
footer h5 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
footer ul { list-style: none; }
footer li { margin-bottom: 9px; }
footer a { color: #b9c6e6; }
footer a:hover { color: #fff; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: #8291b8; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 18px 24px; border-bottom: 1px solid var(--line); gap: 16px; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  section { padding: 56px 0; }
}
