/* ============ 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; }
}

/* ---------- Logo officiel GeCo ---------- */
.brand-logo { width: 38px; height: 38px; border-radius: 9px; }
.foot-brand .brand-logo { background: #fff; }

/* ---------- Hub Workflow IA (concept Business Automation & AI System) ---------- */
.hub { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.hub-core { grid-column: 2 / span 2; background: radial-gradient(circle at 30% 25%, #35b6e8, #1893c9 70%); color: #fff; border-radius: 50%; width: 240px; height: 240px; margin: 10px auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 18px 45px rgba(24, 147, 201, .35); }
.hub-core .k { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.hub-core b { font-size: 1.45rem; margin: 4px 0; }
.hub-core span { font-size: .78rem; opacity: .9; }
.hub-cell { background: var(--navy); color: #fff; border-radius: 12px; padding: 13px 16px; text-align: center; }
.hub-cell .k { display: block; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: #8fd8f2; margin-bottom: 3px; }
.hub-cell b { font-size: .95rem; }
.hub-cell.ext { background: #fff; border: 1px solid var(--line); color: var(--navy); }
.hub-cell.ext .k { color: var(--blue); }
@media (max-width: 960px) { .hub { grid-template-columns: repeat(2, 1fr); } .hub-core { grid-column: 1 / span 2; } }

/* ---------- Pyramide de gestion (page concept) ---------- */
.pyr { max-width: 470px; margin: 0 auto; }
.pyr-banner { background: var(--blue); color: #fff; text-align: center; border-radius: 10px; padding: 11px; font-weight: 700; letter-spacing: .02em; }
.pyr-up { text-align: center; color: var(--blue); font-size: .8rem; font-weight: 700; letter-spacing: .3em; margin: 6px 0; }
.lvl { color: #fff; margin: 0 auto; text-align: center; padding: 16px 14px 13px; }
.lvl b { display: block; font-size: 1.02rem; }
.lvl small { display: block; font-size: .72rem; opacity: .92; margin-top: 2px; }
.lvl-3 { width: 52%; background: #1f7a55; clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); }
.lvl-2 { width: 76%; background: #2f9e77; clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.lvl-1 { width: 100%; background: #2c7cd1; clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%); border-radius: 0 0 8px 8px; }
.pyr-note { text-align: right; font-size: .74rem; color: var(--muted); margin: 3px 6%; }

/* ---------- Nav compacte : tout sur une ligne ---------- */
.nav-links { gap: 15px; }
.nav-links a { font-size: .87rem; white-space: nowrap; }
.nav-links .btn { padding: 10px 15px; font-size: .84rem; }

/* ---------- Burger dès 1080px : la nav à 9 entrées ne tient qu'en desktop large ---------- */
@media (max-width: 1080px) {
  .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; }
}

/* ---------- Hub : cellules informatives, sans étirement ---------- */
.hub { align-items: center; }
.hub-cell { align-self: center; }
.hub-cell p { font-size: .73rem; margin-top: 4px; color: #b9c6e6; line-height: 1.35; }
.hub-cell.ext p { color: var(--muted); }

/* ---------- Hero stats : grille équilibrée (6 items) ---------- */
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 34px; }
.hero-stats .stat span { display: block; max-width: 15rem; }
@media (max-width: 680px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }
