/* ============================================================
   AI Boost — styles de mise en page (header, hero, sections, footer)
   ============================================================ */

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: hsl(0 0% 100% / 0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid hsl(var(--border));
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 1.25rem; }
/* Logo complet, agrandi (contient déjà le mot « AI Boost ») */
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 52px; width: auto; display: block; }
.site-header.scrolled .nav-logo img { height: 46px; }
.nav-logo img { transition: height .3s ease; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.nav-links a { font-weight: 500; font-size: .95rem; letter-spacing: .01em; color: hsl(var(--secondary)); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: hsl(var(--primary)); }
/* Soulignement animé des liens (desktop) */
@media (min-width: 901px) {
  .nav-links > li > a { position: relative; padding-bottom: 4px; }
  .nav-links > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--gradient-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
  .nav-links > li > a:hover::after, .nav-links > li > a.active::after { transform: scaleX(1); }
}
.nav-right { display: flex; align-items: center; gap: 1.25rem; }
.site-header.scrolled { box-shadow: 0 4px 24px hsl(213 39% 9% / .07); }
.lang-switch { display: flex; gap: .25rem; font-size: .8rem; font-weight: 600; }
.lang-switch a { padding: .2rem .5rem; border-radius: .4rem; color: hsl(var(--muted-foreground)); }
.lang-switch a.active { background: hsl(var(--accent)); color: hsl(var(--primary)); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: hsl(var(--secondary)); margin: 5px 0; }

@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 80px 0 auto 0; flex-direction: column; background: #fff; padding: 1.25rem; gap: 1rem; border-bottom: 1px solid hsl(var(--border)); box-shadow: var(--shadow); display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  /* Resserre le header sur petits écrans pour éviter tout débordement horizontal */
  .nav { gap: .6rem; }
  .nav-right { gap: .55rem; }
}

/* ---------- Menu déroulant "Solutions" ---------- */
.nav-links .has-sub { position: relative; }
.nav-sub-toggle { display: inline-flex; align-items: center; gap: .3rem; cursor: pointer; }
.nav-sub-toggle .caret { font-size: .65rem; transition: transform .2s; }
.subnav { list-style: none; margin: 0; }
@media (min-width: 901px) {
  .subnav {
    position: absolute; top: calc(100% + 10px); left: -.6rem; min-width: 210px;
    background: #fff; border: 1px solid hsl(var(--border)); border-radius: .75rem;
    box-shadow: var(--shadow-lg); padding: .4rem; display: none; z-index: 60;
  }
  .subnav::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
  .has-sub:hover .subnav, .has-sub:focus-within .subnav { display: block; }
  .has-sub:hover .nav-sub-toggle .caret { transform: rotate(180deg); }
  .subnav li a { display: block; padding: .5rem .7rem; border-radius: .5rem; white-space: nowrap; font-size: .92rem; font-weight: 500; }
  .subnav li a:hover, .subnav li a.active { background: hsl(var(--accent)); color: hsl(var(--primary)); }
}
@media (max-width: 900px) {
  .subnav { display: block; padding: .35rem 0 .2rem .9rem; margin-top: .4rem; border-left: 2px solid hsl(var(--border)); }
  .subnav li { margin: .35rem 0; }
  .subnav li a { font-size: .92rem; color: hsl(var(--muted-foreground)); }
  .nav-sub-toggle .caret { display: none; }
}

/* ---------- Hero ---------- */
.hero { background: var(--gradient-hero); color: #fff; padding: 5.5rem 0 5rem; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -120px; background: radial-gradient(circle, hsl(199 100% 57% / .35), transparent 70%); }
.hero-inner { position: relative; z-index: 1; max-width: 780px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
.hero .subtitle { font-size: 1.2rem; color: hsl(210 40% 90%); margin-bottom: 1rem; }
.hero .desc { color: hsl(210 30% 82%); margin-bottom: 2rem; max-width: 620px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .btn-outline { border-color: #fff; color: #fff; }
.hero .btn-outline:hover { background: #fff; color: hsl(var(--secondary)); }
.hero-badges { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; opacity: .9; font-size: .85rem; color: hsl(210 30% 82%); }
.hero-badges img { height: 26px; background: #fff; border-radius: 6px; padding: 3px 6px; }

/* Bandeau de stats */
.stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2.5rem; }
.stat { }
.stat .val { font-family: var(--font-heading); font-weight: 700; font-size: 2rem; color: #fff; }
.stat .lbl { font-size: .85rem; color: hsl(210 30% 82%); }

/* ---------- Titres de section ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .eyebrow { color: hsl(var(--primary)); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: .5rem 0; }
.section-head p { color: hsl(var(--muted-foreground)); font-size: 1.05rem; }

/* Icône ronde */
.icon-badge { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: hsl(var(--accent)); color: hsl(var(--primary)); margin-bottom: 1rem; }
.icon-badge.step { background: var(--gradient-primary); color: #fff; }
.icon-badge svg { width: 26px; height: 26px; }

/* Étapes numérotées */
.step-num { font-family: var(--font-heading); font-weight: 700; color: hsl(var(--primary) / .3); font-size: 2.5rem; line-height: 1; }
.muted-list { list-style: none; margin-top: .75rem; }
.muted-list li { position: relative; padding-left: 1.5rem; margin-bottom: .4rem; color: hsl(var(--muted-foreground)); }
.muted-list li::before { content: "✓"; position: absolute; left: 0; color: hsl(var(--primary)); font-weight: 700; }

/* Cartes service */
.service-card { display: flex; flex-direction: column; position: relative; }
.service-card .ribbon { position: absolute; top: -12px; right: 1.25rem; }
.service-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.service-card .short { color: hsl(var(--muted-foreground)); margin-bottom: 1rem; }
.service-card .btn { margin-top: auto; align-self: flex-start; }

/* Section sombre / CTA final */
.section-dark { background: var(--gradient-hero); color: #fff; }
.section-dark h2 { color: #fff; }
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.cta-grid .promises { list-style: none; }
.cta-grid .promises li { padding: .5rem 0 .5rem 1.8rem; position: relative; color: hsl(210 30% 88%); }
.cta-grid .promises li::before { content: "✓"; position: absolute; left: 0; color: hsl(var(--primary)); font-weight: 700; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }

/* Formulaire */
.form-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-lg); color: hsl(var(--foreground)); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .7rem .9rem; border: 1px solid hsl(var(--border)); border-radius: .6rem;
  font: inherit; background: #fff; color: hsl(var(--foreground));
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid hsl(var(--ring) / .4); border-color: hsl(var(--primary)); }
.hp { position: absolute; left: -9999px; }
.alert { padding: .9rem 1rem; border-radius: .6rem; margin-bottom: 1rem; }
.alert-success { background: hsl(150 60% 95%); color: hsl(150 60% 25%); border: 1px solid hsl(150 50% 80%); }
.alert-error { background: hsl(0 84% 96%); color: hsl(0 63% 40%); border: 1px solid hsl(0 70% 85%); }

/* Blog */
.post-card { overflow: hidden; padding: 0; }
.post-card img { width: 100%; height: 180px; object-fit: cover; }
.post-card .body { padding: 1.5rem; }
.post-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.post-meta { color: hsl(var(--muted-foreground)); font-size: .8rem; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: 1.6rem 0 .6rem; } .prose p { margin-bottom: 1rem; } .prose ul { margin: 0 0 1rem 1.25rem; }

/* ---------- Footer ---------- */
.site-footer { background: hsl(var(--secondary)); color: hsl(210 30% 82%); padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.site-footer a { color: hsl(210 30% 82%); }
.site-footer a:hover { color: hsl(var(--primary)); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .5rem; font-size: .9rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.1rem; }
.socials a { width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: hsl(0 0% 100% / .1); color: #fff; transition: transform .2s ease, background .2s ease; }
.socials a:hover { transform: translateY(-3px); }
.socials a[aria-label="Facebook"]:hover { background: #1877f2; }
.socials a[aria-label="LinkedIn"]:hover { background: #0a66c2; }
.socials a[aria-label="WhatsApp"]:hover { background: #25d366; }
.socials svg { width: 20px; height: 20px; }

.footer-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 16px; margin-bottom: 1rem; box-shadow: 0 4px 14px hsl(0 0% 0% / .3); }
.footer-logo img { height: 70px; width: auto; display: block; }
.footer-news input { width: 100%; padding: .6rem .8rem; border-radius: .5rem; border: 0; margin-bottom: .5rem; }
.footer-bottom { border-top: 1px solid hsl(var(--secondary-foreground) / .15); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .82rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Premium & animations
   ============================================================ */
.gradient-text {
  background: linear-gradient(100deg, hsl(199 100% 45%), hsl(213 72% 20%));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Apparition au défilement (uniquement si JS actif → contenu visible sinon) */
.js [data-reveal], .js .section-head, .js .card, .js .testimonial, .js .plan {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--d, 0ms);
}
.is-visible { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .section-head, .card, .testimonial, .plan { opacity: 1; transform: none; transition: none; }
}

/* Bandeau partenaires */
.partners { padding: 2.5rem 0; border-bottom: 1px solid hsl(var(--border)); background: #fff; }
.partners-title { text-align: center; color: hsl(var(--muted-foreground)); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.25rem; font-weight: 600; }
.partners-logos { display: flex; gap: 2.5rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.partners-logos img { height: 44px; width: auto; opacity: .85; filter: grayscale(1); transition: all .25s; border-radius: 8px; }
.partners-logos img:hover { opacity: 1; filter: none; }

/* Témoignages */
.testimonial { display: flex; flex-direction: column; }
.testimonial .stars { color: #f5b301; letter-spacing: 2px; margin-bottom: .75rem; }
.testimonial blockquote { font-size: 1.02rem; color: hsl(var(--foreground)); margin-bottom: 1.25rem; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: .75rem; }
.testimonial .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--gradient-primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; font-size: .85rem; flex-shrink: 0; }

/* Tarifs */
.pricing .plan { display: flex; flex-direction: column; position: relative; }
.plan .plan-price { font-family: var(--font-heading); font-weight: 800; font-size: 1.9rem; color: hsl(var(--secondary)); margin-top: .5rem; }
.plan-feat { flex: 1; }
.plan-hl { border: 2px solid hsl(var(--primary)); box-shadow: var(--shadow-lg); }

/* FAQ accordéon */
.faq-wrap { max-width: 820px; }
.faq-item { background: #fff; border: 1px solid hsl(var(--border)); border-radius: var(--radius); margin-bottom: .75rem; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; font-family: var(--font-heading); font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: hsl(var(--primary)); transition: transform .2s; }
.faq-plus::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-plus::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 1.25rem 1.1rem; color: hsl(var(--muted-foreground)); }

/* Comparatif offres */
.compare-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.compare-head h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.currency-switch { display: inline-flex; border: 1px solid hsl(var(--border)); border-radius: 999px; overflow: hidden; background: #fff; }
.currency-switch button { border: 0; background: transparent; padding: .5rem 1rem; font: inherit; font-weight: 600; font-size: .85rem; cursor: pointer; color: hsl(var(--muted-foreground)); }
.currency-switch button.active { background: var(--gradient-primary); color: #fff; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid hsl(var(--border)); }
table.compare { width: 100%; border-collapse: collapse; background: #fff; min-width: 720px; }
table.compare th, table.compare td { text-align: left; padding: 1rem; border-bottom: 1px solid hsl(var(--border)); font-size: .92rem; vertical-align: middle; }
table.compare thead th { background: hsl(var(--muted)); font-family: var(--font-heading); font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: hsl(var(--secondary)); }
table.compare tbody tr:hover { background: hsl(var(--accent) / .35); }
table.compare .price { color: hsl(var(--secondary)); font-size: 1.05rem; }

/* Fiche offre (page détail) */
.offer-facts { display: flex; flex-direction: column; gap: .75rem; }
.offer-facts > div { display: flex; flex-direction: column; padding-bottom: .75rem; border-bottom: 1px solid hsl(var(--border)); }
.offer-facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.offer-facts span { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; }
.offer-facts strong { font-size: 1rem; color: hsl(var(--secondary)); }

/* Cartes agents */
.agent-card { display: flex; flex-direction: column; }

/* Grilles 2 colonnes responsives (offre détail, contact, à-propos) */
.split-2, .split-main { display: grid; gap: 2.5rem; }
.split-2 { grid-template-columns: 1fr 1fr; align-items: start; }
.split-main { grid-template-columns: 1.6fr 1fr; align-items: start; }
.split-2.va-center { align-items: center; }
@media (max-width: 900px) {
  .split-2, .split-main { grid-template-columns: 1fr; gap: 1.75rem; }
}
/* Le CTA de l'en-tête ne doit pas passer sur 2 lignes */
.nav-right .btn { white-space: nowrap; }

/* Bouton "formation" : dans l'en-tête sur desktop, dans le menu déroulant sur mobile */
.nav-cta-mobile { display: none; }
@media (max-width: 900px) {
  .nav-cta-training { display: none; }
  .nav-cta-mobile { display: block; }
}

/* Équipe */
.team-card { text-align: center; }
.team-avatar { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--gradient-primary); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.skills { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.skill-tag { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); font-size: .78rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; }

/* ============================================================
   Direction artistique : visuels & animations
   ============================================================ */

/* Header : ombre + compactage au défilement */
.site-header { transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px hsl(213 39% 9% / .08); }
.site-header.scrolled .nav { height: 62px; }
.nav { transition: height .3s ease; }

/* Halos animés en fond de TOUS les hero */
.hero { position: relative; isolation: isolate; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px);
  z-index: -1; pointer-events: none;
}
.hero::before { width: 460px; height: 460px; background: hsl(199 100% 55% / .45); top: -160px; right: -80px; animation: floaty 10s ease-in-out infinite; }
.hero::after  { width: 380px; height: 380px; background: hsl(213 90% 45% / .5); bottom: -180px; left: -100px; animation: floaty 13s ease-in-out infinite reverse; }

/* Léger motif de points sur les sections claires */
.section.dotted { background-image: radial-gradient(hsl(213 39% 9% / .05) 1px, transparent 1px); background-size: 22px 22px; }

/* Hero deux colonnes (accueil) + visuel animé */
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center; }
.hero-visual { position: relative; height: 440px; }
.orb-glow { position: absolute; inset: 8%; background: radial-gradient(circle, hsl(199 100% 62% / .6), transparent 62%); filter: blur(34px); animation: pulse 6s ease-in-out infinite; }
.orb-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.orb { width: 320px; height: 320px; animation: spin 30s linear infinite; }
.orb .ring { fill: none; stroke: hsl(199 100% 75% / .45); }
.orb .node { fill: #fff; }
.orb .link { stroke: hsl(199 100% 80% / .35); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: .55rem;
  background: hsl(213 60% 20% / .55); backdrop-filter: blur(10px);
  border: 1px solid hsl(0 0% 100% / .22); border-radius: 14px;
  padding: .65rem .95rem; color: #fff; font-size: .85rem; font-weight: 600;
  box-shadow: 0 12px 34px hsl(213 72% 4% / .45);
}
.float-card .fc-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--gradient-primary); display: inline-flex; align-items: center; justify-content: center; }
.float-card .fc-ic svg { width: 17px; height: 17px; color: #fff; }
.float-card small { display: block; font-weight: 500; color: hsl(210 30% 80%); font-size: .72rem; }
.fc1 { top: 4%; left: -3%; animation: floaty 6s ease-in-out infinite; }
.fc2 { bottom: 16%; right: -5%; animation: floaty 7.5s ease-in-out infinite .6s; }
.fc3 { bottom: 2%; left: 10%; animation: floaty 9s ease-in-out infinite 1.1s; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { display: none; } }

/* Keyframes */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes spin   { to { transform: rotate(360deg); } }
@keyframes pulse  { 0%,100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes gshift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Titre en dégradé animé */
.gradient-text { background-size: 220% auto; animation: gshift 7s ease infinite; }

/* Cartes : liseré + halo au survol */
.card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { border-color: hsl(var(--primary) / .5); box-shadow: 0 20px 48px hsl(199 100% 40% / .16); }
.icon-badge { transition: transform .25s ease; }
.card:hover .icon-badge { transform: scale(1.08) rotate(-4deg); }

/* Boutons : reflet au survol */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, hsl(0 0% 100% / .4), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-primary:hover::after { left: 140%; }

/* Apparition affinée (translation + léger zoom) */
.js [data-reveal], .js .section-head, .js .card, .js .testimonial, .js .plan {
  transform: translateY(28px) scale(.985);
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .orb, .orb-glow, .float-card, .gradient-text { animation: none !important; }
}

/* Widget chatbot : halo pulsant pour attirer l'attention */
#chatbase-bubble-button {
  animation: cb-pulse 1.9s ease-out infinite !important;
  border: 3px solid hsl(199 100% 68%) !important;
}
@keyframes cb-pulse {
  0%   { box-shadow: 0 8px 24px hsl(213 39% 9% / .4), 0 0 0 0 hsl(199 100% 55% / .85), 0 0 0 0 hsl(199 100% 55% / .5); }
  70%  { box-shadow: 0 8px 24px hsl(213 39% 9% / .4), 0 0 0 20px hsl(199 100% 55% / 0), 0 0 0 34px hsl(199 100% 55% / 0); }
  100% { box-shadow: 0 8px 24px hsl(213 39% 9% / .4), 0 0 0 0 hsl(199 100% 55% / 0), 0 0 0 0 hsl(199 100% 55% / 0); }
}
@media (prefers-reduced-motion: reduce) {
  #chatbase-bubble-button { animation: none !important; box-shadow: 0 8px 22px hsl(213 39% 9% / .35), 0 0 0 3px hsl(199 100% 55% / .5) !important; }
}

/* Pop-up d'invitation au chat */
.chat-nudge {
  position: fixed; right: 22px; bottom: 96px; z-index: 2147483000;
  max-width: 260px; background: #fff; color: hsl(var(--secondary));
  border: 1px solid hsl(var(--border)); border-radius: 16px;
  padding: .9rem 2.1rem .9rem 1rem; box-shadow: 0 16px 44px hsl(213 39% 9% / .25);
  font-family: var(--font-body); font-size: .9rem; line-height: 1.45;
  opacity: 0; transform: translateY(14px) scale(.95); pointer-events: none;
  transition: opacity .4s ease, transform .4s ease; cursor: pointer;
}
.chat-nudge.show { opacity: 1; transform: none; pointer-events: auto; }
.chat-nudge strong { color: hsl(var(--primary)); }
.chat-nudge .cn-close {
  position: absolute; top: 6px; right: 9px; border: 0; background: transparent;
  font-size: 1.15rem; line-height: 1; cursor: pointer; color: hsl(var(--muted-foreground));
}
.chat-nudge .cn-close:hover { color: hsl(var(--secondary)); }
.chat-nudge::after {
  content: ""; position: absolute; bottom: -7px; right: 24px; width: 14px; height: 14px;
  background: #fff; border-right: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border));
  transform: rotate(45deg);
}
.chat-nudge.show { animation: nudge-bob 2.8s ease-in-out .8s infinite; }
@keyframes nudge-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 560px) { .chat-nudge { display: none; } }
@media (prefers-reduced-motion: reduce) { .chat-nudge.show { animation: none; } }

/* ===== Produits / plateformes SaaS ===== */
.products-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:1.75rem}
.product-card{background:#fff;border:1px solid hsl(var(--border));border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 4px 20px rgba(15,39,64,.06);transition:transform .25s,box-shadow .25s}
.product-card:hover{transform:translateY(-4px);box-shadow:0 14px 36px rgba(15,39,64,.13)}
.product-shot{position:relative;display:block;aspect-ratio:16/9;background:linear-gradient(135deg,hsl(213 40% 96%),hsl(199 100% 95%));overflow:hidden}
.product-shot img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block;transition:transform .4s}
.product-card:hover .product-shot img{transform:scale(1.04)}
.product-shot-fallback{display:flex;align-items:center;justify-content:center;height:100%;font-family:Poppins,sans-serif;font-weight:700;font-size:1.4rem;color:hsl(var(--primary))}
.product-badge{position:absolute;top:.8rem;right:.8rem;display:inline-flex;align-items:center;gap:.4rem;background:rgba(16,185,129,.95);color:#fff;font-size:.72rem;font-weight:700;padding:.28rem .65rem;border-radius:999px;backdrop-filter:blur(4px)}
.product-badge .dot{width:7px;height:7px;border-radius:50%;background:#fff;box-shadow:0 0 0 0 rgba(255,255,255,.7);animation:prodpulse 1.8s infinite}
@keyframes prodpulse{0%{box-shadow:0 0 0 0 rgba(255,255,255,.7)}70%{box-shadow:0 0 0 6px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}
.product-body{padding:1.4rem 1.5rem 1.6rem;display:flex;flex-direction:column;flex:1}
.product-body h2,.product-body h3{font-family:Poppins,sans-serif;margin:0 0 .5rem}
.product-desc{color:hsl(var(--muted-foreground));margin-bottom:1rem}
.product-body .btn{margin-top:auto;align-self:flex-start}
@media (max-width:640px){.products-grid{grid-template-columns:1fr}}

/* ---------- Réalisations / Portfolio ---------- */
.reali-cat-head{display:flex;align-items:center;gap:.7rem;margin:0 0 1.4rem;padding-bottom:.8rem;border-bottom:2px solid hsl(var(--border))}
.reali-cat-head h2{font-size:1.35rem;margin:0}
.reali-cat-icon{font-size:1.5rem;line-height:1}
.reali-cat-count{margin-left:.2rem;display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 .5rem;font-size:.82rem;font-weight:700;color:hsl(var(--primary));background:hsl(var(--accent));border-radius:999px}
.reali-card .product-shot{cursor:default}
.reali-card a.product-shot{cursor:pointer}
.reali-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin:.2rem 0 1.1rem}
.reali-tag{font-size:.72rem;font-weight:600;letter-spacing:.01em;color:hsl(var(--secondary));background:hsl(var(--muted));border:1px solid hsl(var(--border));padding:.24rem .6rem;border-radius:999px}
.product-badge.is-private{background:rgba(217,119,6,.95)}
.btn-sm{padding:.5rem .9rem;font-size:.9rem}

/* ---------- Carrières / Nous rejoindre ---------- */
.jobs-list{display:flex;flex-direction:column;gap:1rem;max-width:840px;margin:0 auto}
.job-card{display:flex;align-items:center;gap:1.5rem;justify-content:space-between;background:#fff;border:1px solid hsl(var(--border));border-radius:16px;padding:1.5rem 1.75rem;box-shadow:0 4px 18px rgba(15,39,64,.06);transition:transform .2s,box-shadow .2s,border-color .2s}
.job-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(15,39,64,.12);border-color:hsl(var(--primary) / .4)}
.job-card-main{flex:1}
.job-dept{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:hsl(var(--primary));background:hsl(var(--accent));padding:.2rem .6rem;border-radius:999px;margin-bottom:.5rem}
.job-card h3{font-size:1.2rem;margin:.1rem 0 .35rem}
.job-short{color:hsl(var(--muted-foreground));font-size:.95rem;margin-bottom:.7rem}
.job-meta{display:flex;flex-wrap:wrap;gap:1rem;font-size:.85rem;color:hsl(var(--secondary));font-weight:500}
.job-meta-hero{margin-top:1rem;color:hsl(210 30% 82%)}
.job-cta{flex-shrink:0;font-weight:600;color:hsl(var(--primary));white-space:nowrap}
.job-back{display:inline-block;color:hsl(210 30% 85%);font-size:.9rem;font-weight:500}
.job-back:hover{color:#fff}
.job-detail{max-width:760px;margin:0 auto}
.job-lead{font-size:1.15rem;line-height:1.7;color:hsl(var(--foreground));font-weight:500;margin-bottom:2rem}
.job-block{margin-bottom:2rem}
.job-block h2{font-size:1.3rem;margin-bottom:.9rem}
.job-block p{color:hsl(var(--muted-foreground));line-height:1.75;margin-bottom:.8rem}
.job-ul{list-style:none;display:flex;flex-direction:column;gap:.6rem}
.job-ul li{position:relative;padding-left:1.6rem;color:hsl(var(--muted-foreground));line-height:1.6}
.job-ul li::before{content:"";position:absolute;left:0;top:.55em;width:7px;height:7px;border-radius:50%;background:hsl(var(--primary))}
.job-ul-check li::before{content:"✓";top:0;left:0;width:auto;height:auto;background:none;color:hsl(152 60% 42%);font-weight:800}
.job-form{background:#fff;border:1px solid hsl(var(--border));border-radius:18px;padding:2rem;box-shadow:var(--shadow-lg)}
.job-form input[type=file]{padding:.6rem;background:hsl(var(--muted));cursor:pointer}
.field-hint{display:block;font-size:.78rem;color:hsl(var(--muted-foreground));margin-top:.35rem}
.form-error{background:hsl(0 80% 96%);border:1px solid hsl(0 70% 85%);color:hsl(0 65% 42%);padding:.8rem 1rem;border-radius:10px;margin-bottom:1.2rem;font-size:.9rem}
.job-success{background:#fff;border:1px solid hsl(var(--border));border-left:4px solid hsl(152 60% 42%);border-radius:14px;padding:2rem;box-shadow:0 6px 22px rgba(15,39,64,.07)}
.job-success h3{margin-bottom:.6rem}
.job-success p{color:hsl(var(--muted-foreground))}
@media (max-width:640px){.job-card{flex-direction:column;align-items:flex-start;gap:1rem}.job-form{padding:1.4rem}}

/* Accroche « Solutions par secteur » (accueil) */
.sectors-band{background:linear-gradient(135deg,hsl(213 45% 97%),hsl(199 100% 96%))}
.sectors-cta{display:grid;grid-template-columns:1.4fr 1fr;gap:2.5rem;align-items:center;background:#fff;border:1px solid hsl(var(--border));border-radius:22px;padding:2.4rem 2.6rem;box-shadow:0 10px 34px rgba(15,39,64,.08)}
.sectors-cta h2{margin:.35rem 0 .6rem}
.sectors-cta-txt p{color:hsl(var(--muted-foreground));max-width:46ch}
.sectors-cta-tags{display:flex;flex-wrap:wrap;gap:.7rem;justify-content:center}
.sector-chip{width:60px;height:60px;display:flex;align-items:center;justify-content:center;font-size:1.7rem;background:linear-gradient(135deg,hsl(213 40% 96%),hsl(199 100% 94%));border:1px solid hsl(var(--border));border-radius:16px;box-shadow:0 4px 14px rgba(15,39,64,.06);transition:transform .25s}
.sector-chip:hover{transform:translateY(-4px) rotate(-4deg)}
@media (max-width:820px){.sectors-cta{grid-template-columns:1fr;padding:2rem 1.6rem;gap:1.6rem}.sectors-cta-tags{order:-1}.sectors-cta-txt p{max-width:none}}

/* Pop-up Livre blanc (lead-gen) */
.wp-navlink{font-weight:600}
.wp-overlay{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:1rem;background:hsl(213 72% 12% / .6);backdrop-filter:blur(4px)}
.wp-overlay.show{display:flex;animation:wpfade .25s ease}
@keyframes wpfade{from{opacity:0}to{opacity:1}}
.wp-modal{position:relative;background:#fff;border-radius:18px;max-width:760px;width:100%;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.35);max-height:94vh;overflow-y:auto}
.wp-close{position:absolute;top:12px;right:14px;z-index:2;background:hsl(210 20% 96%);border:0;width:36px;height:36px;border-radius:50%;cursor:pointer;font-size:18px;line-height:1;color:hsl(213 40% 30%)}
.wp-close:hover{background:hsl(210 20% 90%)}
.wp-body{display:grid;grid-template-columns:1fr 1fr}
.wp-left{background:var(--gradient-hero);color:#fff;padding:2rem 1.8rem}
.wp-left .wp-badge{display:inline-block;background:hsl(0 0% 100% / .15);padding:.3rem .7rem;border-radius:999px;font-size:.78rem;font-weight:600;margin-bottom:1rem}
.wp-left h3{font-family:var(--font-heading);font-size:1.4rem;font-weight:700;color:#fff;margin:0 0 .6rem;line-height:1.2}
.wp-left p{color:hsl(210 30% 88%);font-size:.92rem;margin:0}
.wp-left ul{list-style:none;padding:0;margin:1rem 0 0}
.wp-left li{position:relative;padding-left:1.5rem;margin-bottom:.5rem;font-size:.9rem;color:hsl(210 30% 92%)}
.wp-left li::before{content:"✓";position:absolute;left:0;color:hsl(199 100% 65%);font-weight:700}
.wp-right{padding:1.7rem 1.7rem}
.wp-field{margin-bottom:.65rem}
.wp-field label{display:block;font-size:.78rem;font-weight:600;color:hsl(213 30% 35%);margin-bottom:.25rem}
.wp-field input{width:100%;padding:.6rem .7rem;border:1px solid hsl(var(--border));border-radius:.55rem;font:inherit;background:#fff}
.wp-field input:focus{outline:2px solid hsl(199 100% 57% / .4);border-color:hsl(var(--primary))}
.wp-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.wp-submit{width:100%;justify-content:center;margin-top:.4rem}
.wp-note{font-size:.75rem;color:hsl(var(--muted-foreground));margin:.6rem 0 0;text-align:center}
.wp-success{text-align:center;padding:1.5rem .5rem}
.wp-success .wp-check{width:56px;height:56px;border-radius:50%;background:hsl(150 60% 92%);color:hsl(150 60% 30%);font-size:1.8rem;display:flex;align-items:center;justify-content:center;margin:0 auto 1rem}
.wp-success h4{font-family:var(--font-heading);margin:0 0 .4rem}
.wp-success p{color:hsl(var(--muted-foreground));font-size:.9rem;margin-bottom:1rem}
@media (max-width:640px){.wp-body{grid-template-columns:1fr}.wp-left{display:none}}

/* Catalogue 50 systèmes IA */
.sys-toolbar{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;align-items:center;margin-bottom:1.6rem}
.sys-chips{display:flex;flex-wrap:wrap;gap:.5rem}
.sys-chip{background:#fff;border:1px solid hsl(var(--border));color:hsl(var(--secondary));padding:.45rem .85rem;border-radius:999px;cursor:pointer;font:inherit;font-size:.85rem;font-weight:600;transition:.15s;display:inline-flex;align-items:center;gap:.4rem}
.sys-chip:hover{border-color:hsl(var(--primary));color:hsl(var(--primary))}
.sys-chip.active{background:var(--gradient-primary);color:#fff;border-color:transparent}
.sys-chip .c{font-size:.72rem;opacity:.7}
.sys-search input{min-width:min(280px,60vw);padding:.55rem .9rem;border:1px solid hsl(var(--border));border-radius:999px;font:inherit;background:#fff}
.sys-search input:focus{outline:2px solid hsl(199 100% 57% / .4);border-color:hsl(var(--primary))}
.sys-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}
.sys-card{text-align:left;background:#fff;border:1px solid hsl(var(--border));border-radius:var(--radius);padding:1.25rem 1.3rem;cursor:pointer;font:inherit;color:inherit;display:flex;flex-direction:column;gap:.5rem;transition:transform .15s,box-shadow .15s,border-color .15s}
.sys-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);border-color:hsl(199 100% 57% / .5)}
.sys-cat{font-size:.72rem;font-weight:700;color:hsl(var(--primary));text-transform:uppercase;letter-spacing:.03em}
.sys-card h3{font-family:var(--font-heading);font-size:1.05rem;margin:0;line-height:1.25}
.sys-card p{color:hsl(var(--muted-foreground));font-size:.9rem;margin:0;flex:1}
.sys-more{font-size:.82rem;font-weight:600;color:hsl(var(--primary));margin-top:.2rem}
.sys-empty{text-align:center;color:hsl(var(--muted-foreground));padding:2rem}
.sys-modal{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:1rem;background:hsl(213 72% 12% / .6);backdrop-filter:blur(4px)}
.sys-modal.show{display:flex;animation:wpfade .2s ease}
.sys-dialog{position:relative;background:#fff;border-radius:18px;max-width:560px;width:100%;padding:2rem 1.9rem;box-shadow:0 30px 80px rgba(0,0,0,.35);max-height:92vh;overflow-y:auto}
.sys-close{position:absolute;top:12px;right:14px;background:hsl(210 20% 96%);border:0;width:36px;height:36px;border-radius:50%;cursor:pointer;font-size:18px;color:hsl(213 40% 30%)}
.sys-dialog .sys-cat{font-size:.74rem}
.sys-dialog h3{font-family:var(--font-heading);font-size:1.5rem;margin:.4rem 0 .8rem;line-height:1.2}
.sys-dialog .sys-d{color:hsl(var(--foreground));font-size:1rem;margin:0 0 1rem}
.sys-block{margin:0 0 1.1rem}
.sys-block h4{font-family:var(--font-heading);font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;color:hsl(var(--primary));margin:0 0 .4rem}
.sys-block p{margin:0;color:hsl(var(--foreground));font-size:.95rem}
.sys-benefs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.4rem}
.sys-benefs li{position:relative;padding-left:1.5rem;color:hsl(var(--foreground));font-size:.93rem}
.sys-benefs li::before{content:"✓";position:absolute;left:0;color:hsl(var(--primary));font-weight:700}
.sys-ex{background:hsl(199 100% 97%);border:1px solid hsl(199 100% 88%);border-radius:.7rem;padding:.8rem .95rem;margin:0 0 1.1rem}
.sys-ex-label{display:block;font-family:var(--font-heading);font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:hsl(var(--primary));margin-bottom:.3rem}
.sys-ex p{margin:0;color:hsl(var(--foreground));font-size:.93rem;font-style:italic}
.sys-pour{color:hsl(var(--muted-foreground));font-size:.92rem;margin:0 0 1rem}
.sys-devis{background:hsl(var(--accent));color:hsl(213 72% 22%);border-radius:.7rem;padding:.7rem .9rem;font-size:.88rem;margin-bottom:1.3rem}
.sys-cta{width:100%;justify-content:center}
@media(max-width:640px){.sys-toolbar{flex-direction:column;align-items:stretch}.sys-search input{width:100%}}
