:root{
  --bg:#f7f9fc;
  --surface:#ffffff;
  --surface-alt:#eff3f9;
  --border:#e1e7f0;
  --ink:#0f1e3d;
  --ink-muted:#5c6b85;
  --ink-dim:#616e89;
  --accent:#0ca8be;
  --accent-deep:#076b7d;
  --accent-soft:#e1f7fa;
  --shadow-sm:0 1px 2px rgba(16,24,64,.05);
  --shadow-md:0 10px 30px -8px rgba(16,30,64,.14);
  --shadow-lg:0 24px 60px -16px rgba(16,30,64,.22);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;background:var(--bg);color:var(--ink-muted);
  font-family:'IBM Plex Sans',-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  line-height:1.65;-webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none;}
::selection{background:var(--accent);color:#fff;}
.mono{font-family:'IBM Plex Mono',ui-monospace,"SF Mono","Cascadia Code","Roboto Mono",Menlo,Consolas,monospace;font-variant-numeric:tabular-nums;}
h1,h2,h3{color:var(--ink);margin:0;text-wrap:balance;font-weight:700;letter-spacing:-.015em;}
p{margin:0;}
:focus-visible{outline:2px solid var(--accent-deep);outline-offset:3px;border-radius:4px;}
@media (prefers-reduced-motion: reduce){ *{animation-duration:.01ms !important;transition-duration:.01ms !important;} html{scroll-behavior:auto;} }

.container{max-width:1160px;margin:0 auto;padding:0 2rem;}
section{padding:6rem 0;}

.eyebrow{
  display:inline-flex;align-items:center;gap:.6rem;
  font-family:'IBM Plex Mono',monospace;
  font-size:.74rem;font-weight:500;letter-spacing:.02em;color:var(--accent-deep);
  background:var(--surface);border:1px solid var(--border);
  padding:.5rem .9rem;border-radius:6px;margin-bottom:1.4rem;
}
.eyebrow::before{
  content:'';width:6px;height:6px;border-radius:50%;background:var(--accent);flex-shrink:0;
  box-shadow:0 0 0 3px var(--accent-soft);
}
.section-head{max-width:640px;margin-bottom:3.4rem;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}
.section-heading{font-size:clamp(1.8rem,3.6vw,2.5rem);font-weight:800;letter-spacing:-.02em;margin-bottom:.8rem;}
.section-sub{font-size:1.05rem;color:var(--ink-muted);}

.btn{
  display:inline-flex;align-items:center;gap:.5rem;padding:.85rem 1.6rem;
  font-size:.94rem;font-weight:600;border-radius:10px;transition:all .2s;cursor:pointer;
}
.btn-solid{background:var(--ink);color:#fff;box-shadow:var(--shadow-sm);}
.btn-solid:hover{background:var(--accent-deep);transform:translateY(-1px);box-shadow:var(--shadow-md);}
.btn-ghost{background:var(--surface);color:var(--ink);border:1px solid var(--border);}
.btn-ghost:hover{border-color:var(--ink);}

/* ================= NAV ================= */
.navbar{position:sticky;top:0;z-index:100;background:rgba(247,249,252,.85);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);}
.navbar .container{display:flex;align-items:center;justify-content:space-between;padding:.9rem 2rem;}
.brand{display:flex;align-items:center;gap:.7rem;}
.brand-mark{width:38px;height:38px;object-fit:contain;}
.brand-name{color:var(--ink);font-weight:800;font-size:1.2rem;letter-spacing:-.01em;}
.nav-links{list-style:none;display:flex;gap:2.2rem;align-items:center;margin:0;padding:0;}
.nav-links a:not(.btn){font-size:.9rem;color:var(--ink-muted);font-weight:500;transition:color .2s;}
.nav-links a:not(.btn):hover{color:var(--ink);}
.hamburger{display:none;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:44px;height:44px;background:none;border:0;cursor:pointer;padding:0;}
.hamburger span{width:20px;height:2px;background:var(--ink);border-radius:2px;transition:transform .25s,opacity .25s;}
.hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.hamburger.open span:nth-child(2){opacity:0;}
.hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* ================= BREADCRUMB ================= */
.breadcrumb{padding:1.2rem 2rem 0;font-size:.85rem;color:var(--ink-dim);}
.breadcrumb a{color:var(--ink-dim);}
.breadcrumb a:hover{color:var(--accent-deep);}
.breadcrumb span{margin:0 .4rem;}
.breadcrumb .current{color:var(--ink-muted);}

/* ================= HERO ================= */
.hero{padding:3.5rem 0 5rem;overflow:visible;}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:3rem;align-items:center;}
h1.hero-title{font-size:clamp(2.4rem,5vw,3.55rem);font-weight:800;letter-spacing:-.03em;line-height:1.08;margin-bottom:1.3rem;}
.hero-title .accent-word{
  background:linear-gradient(100deg,var(--accent),var(--accent-deep));
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.hero-sub{font-size:1.14rem;color:var(--ink-muted);max-width:46ch;margin-bottom:2.2rem;line-height:1.7;}
.hero-ctas{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:2.6rem;}
.hero-trust{display:flex;gap:1.8rem;flex-wrap:wrap;font-size:.86rem;color:var(--ink-dim);}
.hero-trust li{list-style:none;display:flex;align-items:center;gap:.45rem;}
.hero-trust svg{color:var(--accent-deep);flex-shrink:0;}
.cert-badges{display:flex;gap:1.4rem;list-style:none;margin-top:.4rem;flex-wrap:wrap;}
.cert-badges a{display:flex;align-items:center;gap:.6rem;text-decoration:none;}
.cert-badges img{width:56px;height:56px;border-radius:50%;flex-shrink:0;}
.cert-badges img.square{border-radius:8px;border:1px solid var(--border);}
.cert-badges span{display:flex;flex-direction:column;font-size:.82rem;font-weight:600;color:var(--ink);line-height:1.35;}
.cert-badges span em{font-style:normal;font-size:.74rem;font-weight:500;color:var(--ink-dim);}
.cert-badges a:hover span{color:var(--accent-deep);}
.hero-badges{margin-top:1.6rem;}

/* -- floating proof cards -- */
.proof-stack{position:relative;height:490px;}
.proof-card{
  position:absolute;background:var(--surface);border:1px solid var(--border);
  border-radius:16px;box-shadow:var(--shadow-lg);padding:1.4rem 1.6rem;
  display:flex;flex-direction:column;gap:.25rem;
}
.proof-card .num{font-size:1.9rem;font-weight:800;color:var(--ink);}
.proof-card .num .u{color:var(--accent-deep);}
.proof-card .lbl{font-size:.8rem;color:var(--ink-dim);}
.proof-1{top:0;left:8%;width:230px;transform:rotate(-3deg);}
.proof-2{top:195px;left:34%;width:210px;transform:rotate(2deg);z-index:2;}
.proof-3{top:355px;left:2%;width:200px;transform:rotate(-1.5deg);}
.proof-badge{
  position:absolute;top:60px;right:0;width:120px;height:120px;border-radius:50%;
  background:var(--accent-soft);display:flex;align-items:center;justify-content:center;
  flex-direction:column;box-shadow:var(--shadow-sm);
}
.proof-badge .num{font-size:1.7rem;font-weight:800;color:var(--accent-deep);}
.proof-badge .lbl{font-size:.68rem;color:var(--accent-deep);text-align:center;line-height:1.3;padding:0 .6rem;}

@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr;}
  .proof-stack{height:auto;margin-top:2rem;display:flex;flex-direction:column;gap:.9rem;}
  .proof-card,.proof-badge{position:static;width:100%;transform:none;}
  .proof-badge{border-radius:16px;height:auto;flex-direction:row;justify-content:flex-start;gap:.9rem;padding:1.2rem 1.6rem;}
  .proof-badge .lbl{text-align:left;padding:0;}
}

/* ================= SERVICES / CARDS ================= */
.services{background:var(--surface-alt);}
.cards-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.6rem;}
.svc-card{
  background:var(--surface);border:1px solid var(--border);border-radius:18px;
  padding:2.2rem;box-shadow:var(--shadow-sm);transition:box-shadow .25s, transform .25s;
}
.svc-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);}
.svc-icon{
  width:3rem;height:3rem;border-radius:12px;background:var(--accent-soft);color:var(--accent-deep);
  display:flex;align-items:center;justify-content:center;margin-bottom:1.3rem;
}
.svc-card h3{font-size:1.18rem;margin-bottom:.7rem;}
.svc-card p.desc{font-size:.94rem;color:var(--ink-muted);margin-bottom:1.3rem;line-height:1.7;}
.svc-list{list-style:none;margin:0;padding:0;font-size:.87rem;}
.svc-list li{display:flex;gap:.6rem;padding:.35rem 0;color:var(--ink-muted);}
.svc-list li::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--accent);margin-top:.55rem;flex-shrink:0;}
.svc-cta{font-size:.87rem;color:var(--accent-deep);font-weight:600;}
.svc-cta:hover{color:var(--ink);}

/* ================= RESULTATS ================= */
.results-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.6rem;}
.result-card{
  background:var(--surface);border:1px solid var(--border);border-radius:18px;
  padding:2.2rem;box-shadow:var(--shadow-sm);
}
.result-metric{font-size:2.3rem;font-weight:800;margin-bottom:.4rem;
  background:linear-gradient(100deg,var(--ink),var(--accent-deep));
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.result-card h3{font-size:1.05rem;margin-bottom:.6rem;}
.result-card p{font-size:.89rem;color:var(--ink-muted);margin-bottom:1.2rem;line-height:1.65;}
.result-tag{display:inline-block;font-size:.76rem;font-weight:600;color:var(--accent-deep);background:var(--accent-soft);padding:.35rem .75rem;border-radius:8px;}

/* ================= PROCESS ================= */
.stepper{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;position:relative;}
.stepper::before{
  content:'';position:absolute;top:1.7rem;left:calc(16.5% + 0.5rem);right:calc(16.5% + 0.5rem);
  height:2px;background:var(--border);
}
.step{position:relative;}
.step-num{
  width:3.4rem;height:3.4rem;border-radius:50%;background:var(--ink);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.1rem;
  margin-bottom:1.3rem;position:relative;z-index:1;
}
.step h3{font-size:1.1rem;margin-bottom:.6rem;}
.step p{font-size:.92rem;color:var(--ink-muted);line-height:1.7;}
@media (max-width:780px){ .stepper{grid-template-columns:1fr;} .stepper::before{display:none;} }

/* ================= WHY ================= */
.why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:2.2rem 2.4rem;}
.why-item{display:flex;gap:1.1rem;}
.why-icon{
  flex-shrink:0;width:2.8rem;height:2.8rem;border-radius:10px;background:var(--accent-soft);
  color:var(--accent-deep);display:flex;align-items:center;justify-content:center;
}
.why-item h3{font-size:1.02rem;margin-bottom:.4rem;}
.why-item p{font-size:.9rem;color:var(--ink-muted);line-height:1.65;}

/* ================= FAQ ================= */
.faq-list{display:flex;flex-direction:column;gap:1rem;max-width:760px;margin:0 auto;}
.faq-item{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:1.4rem 1.6rem;}
.faq-item summary{cursor:pointer;font-weight:700;color:var(--ink);list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:'+';font-size:1.4rem;color:var(--accent-deep);flex-shrink:0;line-height:1;}
.faq-item[open] summary::after{content:'−';}
.faq-item p{margin-top:.9rem;font-size:.94rem;line-height:1.7;color:var(--ink-muted);}

/* ================= CONTACT ================= */
.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.6rem;}
.contact-card{
  background:var(--surface);border:1px solid var(--border);border-radius:18px;
  padding:2.4rem;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:1rem;align-items:flex-start;
}
.contact-icon{width:3rem;height:3rem;border-radius:12px;background:var(--accent-soft);color:var(--accent-deep);display:flex;align-items:center;justify-content:center;}
.contact-card h3{font-size:1.12rem;}
.contact-card p{font-size:.92rem;color:var(--ink-muted);line-height:1.7;}
.contact-form{width:100%;display:flex;flex-direction:column;gap:.7rem;}
.form-field{
  width:100%;font:inherit;font-size:.92rem;color:var(--ink);background:var(--bg);
  border:1px solid var(--border);border-radius:8px;padding:.7rem .9rem;resize:vertical;
}
.form-field:focus-visible{outline:2px solid var(--accent-deep);outline-offset:1px;}
.contact-form .btn{align-self:flex-start;}
.form-consent{display:flex;align-items:flex-start;gap:.6rem;font-size:.8rem;color:var(--ink-dim);line-height:1.5;cursor:pointer;}
.form-consent input{margin-top:.2rem;flex-shrink:0;accent-color:var(--accent-deep);}
.form-consent a{color:var(--accent-deep);text-decoration:underline;}
.form-msg{font-size:.86rem;min-height:1.2em;}
.form-msg.ok{color:var(--accent-deep);}
.form-msg.err{color:#c0392b;}

/* ================= FOOTER ================= */
.footer{border-top:1px solid var(--border);padding:3.2rem 0 1.8rem;}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem;margin-bottom:2.2rem;}
.footer h4{color:var(--ink);font-size:.85rem;margin-bottom:.9rem;}
.footer p,.footer a{color:var(--ink-dim);font-size:.87rem;margin-bottom:.4rem;}
.footer a:hover{color:var(--accent-deep);}
.footer-bottom{border-top:1px solid var(--border);padding-top:1.6rem;font-size:.8rem;color:var(--ink-dim);display:flex;justify-content:space-between;flex-wrap:wrap;gap:.6rem;}

@media (max-width:860px){
  .nav-links{display:none;}
  .hamburger{display:flex;}
  section{padding:4rem 0;}
  .nav-links.mobile-open{
    display:flex;flex-direction:column;position:absolute;top:60px;left:0;right:0;
    background:var(--surface);border-bottom:1px solid var(--border);
    padding:1.4rem 2rem;gap:1.2rem;box-shadow:var(--shadow-lg);
  }
}

.skip-link{
  position:absolute;left:-9999px;top:0;background:var(--ink);color:#fff;
  padding:.75rem 1.25rem;font-weight:700;z-index:1000;border-radius:0 0 8px 0;
}
.skip-link:focus{left:0;}


/* ================= FORMATEUR (formation-ia-automatisation only) ================= */
/* ================= FORMATEUR ================= */
.formateur{display:grid;grid-template-columns:auto 1fr;gap:1.6rem;align-items:flex-start;background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:2.2rem;box-shadow:var(--shadow-sm);}
.formateur-icon{width:3.4rem;height:3.4rem;border-radius:50%;background:var(--accent-soft);color:var(--accent-deep);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.formateur h3{font-size:1.15rem;margin-bottom:.5rem;}
.formateur p{font-size:.94rem;line-height:1.7;color:var(--ink-muted);}
.formateur-badges{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem;}
.formateur-badges span{font-size:.78rem;font-weight:600;color:var(--accent-deep);background:var(--accent-soft);padding:.35rem .75rem;border-radius:8px;}
@media (max-width:860px){ .formateur{grid-template-columns:1fr;} }
