 :root {
  --ink: #111827; --muted: #697386; --navy: #0b1220; --blue: #2daaff;
  --lime: #c7f36b; --paper: #f7f8fb; --line: #e6e9f0;
  --font: "DM Sans", sans-serif; --display: "Manrope", sans-serif;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; background: #fff; }
a { color: inherit; text-decoration: none; }
.container { width: min(1000px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1100; height: 82px; display: flex; align-items: center; background: #fff; border-bottom: 1px solid #edf0f5; }
.nav { position: relative; width: min(1000px, calc(100% - 48px)); justify-content: space-between; }
.menu-toggle { width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.menu-toggle span { display: block; width: 19px; height: 2px; border-radius: 2px; background: var(--ink); }
.site-menu { position: absolute; top: calc(100% + 12px); right: 0; width: 220px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px #1118271a; }
.site-menu:not([hidden]) { display: flex; flex-direction: column; }
.site-menu a { padding: 12px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.site-menu a:hover { background: #f2f8ff; color: #2daaff; }
.nav { display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 25px var(--display); letter-spacing: -1.4px; }
.brand-dot { color: var(--blue); }
.brand-mark { width: 27px; height: 27px; display: grid; grid-template-columns: repeat(2,1fr); gap: 3px; transform: rotate(-7deg); }
.brand-mark span { background: var(--blue); border-radius: 3px; }
.brand-mark span:nth-child(2) { opacity: .68; transform: translateY(3px); }
.brand-mark span:nth-child(3) { opacity: .82; transform: translateX(2px); }
.brand-mark span:nth-child(4) { background: var(--lime); }
.main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 157px; padding-bottom: 85px; }
.intro { margin-bottom: 28px; }
.eyebrow { color: #788297; font-size: 10px; font-weight: 700; letter-spacing: 1.8px; margin: 0 0 13px; }
h1 { font: 800 clamp(30px, 4vw, 42px)/1.2 var(--display); letter-spacing: -1.8px; margin: 0; }
.solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.solution-card { min-height: 170px; display: flex; align-items: center; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: 15px; background: white; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.solution-card:hover { transform: translateY(-3px); border-color: #d6dcf5; box-shadow: 0 14px 30px #1b2c5410; }
.solution-symbol { flex: 0 0 51px; width: 51px; height: 51px; display: grid; place-items: center; border-radius: 14px; font: 800 25px var(--display); }
.skill-symbol { color: white; background: var(--blue); }
.saas-symbol { color: #4d6c1c; background: #e9f9c7; font-size: 30px; }
.solution-info { flex: 1; min-width: 0; }
.solution-info h2 { font: 800 22px var(--display); letter-spacing: -.6px; margin: 0 0 7px; }
.solution-info p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }
.arrow { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 10px; background: #f0f2ff; color: var(--blue); font-size: 19px; }
.saas-card .arrow { background: #eff8df; color: #5e831d; }
.footer { background: var(--navy); color: white; }
.footer-inner { min-height: 190px; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 30px; row-gap: 20px; padding-top: 28px; padding-bottom: 24px; }
.footer-brand { color: white; font-size: 22px; }
.footer-brand .brand-mark { width: 23px; height: 23px; }
.footer-copy p { color: #aeb8ca; font-size: 12px; margin: 12px 0 0; }
.whatsapp-link { display: inline-flex; align-items: center; gap: 10px; padding: 13px 15px; border: 1px solid #344154; border-radius: 11px; color: white; font-size: 12px; transition: background .2s, border-color .2s; }
.whatsapp-link:hover { background: #14243a; border-color: #4c657d; }
.whatsapp-link svg { width: 22px; height: 22px; fill: #55d889; flex: 0 0 auto; }
.whatsapp-link strong { font-size: 12px; font-weight: 700; }
.whatsapp-arrow { color: var(--lime); font-size: 17px; margin-left: 3px; }
.copyright { grid-column: 1 / -1; border-top: 1px solid #263145; padding-top: 18px; color: #778398; font-size: 10px; }
@media (max-width: 650px) {
  .container { width: calc(100% - 36px); }
  .site-header { height: 72px; }\n  .nav { width: calc(100% - 36px); }
  .main { padding-top: 132px; padding-bottom: 65px; justify-content: flex-start; }
  h1 { font-size: 33px; letter-spacing: -1.4px; }
  .solution-grid { grid-template-columns: 1fr; gap: 12px; }
  .solution-card { min-height: 132px; padding: 20px 18px; gap: 14px; }
  .solution-info h2 { font-size: 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; padding-top: 30px; }
  .whatsapp-link { justify-self: start; flex-wrap: wrap; }
  .copyright { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }

/* Logos des espaces */
.solution-symbol { overflow: hidden; }
.solution-symbol img { display: block; width: 100%; height: 100%; object-fit: contain; }
.skill-symbol, .saas-symbol { background: transparent; border-radius: 0; }
.skill-symbol img, .saas-symbol img { border-radius: 0; }

/* Bouton WhatsApp flottant avec onde animée */
.whatsapp-link {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  width: 62px;
  height: 62px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 5px 18px #0003;
}
.whatsapp-link::before, .whatsapp-link::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid #25d366;
  border-radius: 50%;
  animation: whatsapp-wave 2s ease-out infinite;
  pointer-events: none;
}
.whatsapp-link::after { animation-delay: 1s; }
.whatsapp-link:hover { background: #1fbd5b; border-color: transparent; }
.whatsapp-link svg { width: 31px; height: 31px; fill: #fff; }
.whatsapp-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes whatsapp-wave {
  0% { transform: scale(.85); opacity: .8; }
  100% { transform: scale(1.55); opacity: 0; }
}
@media (max-width: 650px) {
  .whatsapp-link { right: 18px; bottom: 18px; width: 58px; height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-link::before, .whatsapp-link::after { animation: none; }
}

/* Couleurs distinctes des cartes SkillUp et SaaS */
.skill-card {
  background: #0b1220;
  border-color: #0b1220;
  color: #fff;
}
.skill-card:hover {
  border-color: #18263d;
  box-shadow: 0 14px 30px #0b122033;
}
.skill-card .solution-info p { color: #d4dbea; }
.skill-card .skill-word { color: #fff; }
.skill-card .up-word { color: #2daaff; }
.saas-card .up-word { color: #2daaff; }
.skill-card .arrow { background: #ffffff1c; color: #fff; }
.saas-card {
  background: #218653;
  border-color: #218653;
  color: #fff;
}
.saas-card:hover {
  border-color: #176c42;
  box-shadow: 0 14px 30px #176c4233;
}
.saas-card .solution-info p { color: #e8fff0; }
.saas-card .arrow { background: #ffffff2b; color: #fff; }


/* Arrière-plan animé : particules connectées */
body { position: relative; isolation: isolate; }
.particle-background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.main, .footer { position: relative; }
.site-header { z-index: 1100; }
.main { z-index: 1; }
.footer { z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .particle-background { display: none; }
}
