/* BILI DRC - CSS commun a toutes les pages du site (module Site web de Dolibarr) */
.bodywebsite{
  --navy:#16346a; --navy-2:#0f264f; --steel:#8fa3c0; --ice:#eef3f9; --line:#d9e1ec;
  --text:#1b2433; --muted:#5b6880; --accent:#1f8fb8; --ok:#1e7d4f; --err:#b42318;
  margin:0; font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif; color:var(--text);
  background:#fff; line-height:1.6; -webkit-font-smoothing:antialiased;
}
.bodywebsite *{box-sizing:border-box}
html{scroll-behavior:smooth}
.bodywebsite h1,.bodywebsite h2,.bodywebsite h3,.bodywebsite h4{font-family:Manrope,Inter,sans-serif;line-height:1.2;color:var(--navy-2);margin:0;padding:0}
.bodywebsite p,.bodywebsite ul{margin:0;padding:0}
.bodywebsite a{color:inherit}
.bodywebsite .wrap{max-width:1160px;margin:0 auto;padding:0 20px}
.bodywebsite .eyebrow{font-size:.78rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}
.bodywebsite section{padding:88px 0}
.bodywebsite .section-head{max-width:680px;margin-bottom:44px}
.bodywebsite .section-head h2{font-size:clamp(1.7rem,3vw,2.3rem);margin:10px 0 14px}
.bodywebsite .section-head p{color:var(--muted)}
.bodywebsite .alt{background:var(--ice)}

/* Boutons */
.bodywebsite .btn{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;border-radius:8px;font-weight:600;font-size:.95rem;text-decoration:none;border:1px solid transparent;cursor:pointer;transition:.15s;font-family:inherit;line-height:1.2}
.bodywebsite .btn-primary{background:var(--navy);color:#fff}
.bodywebsite .btn-primary:hover{background:var(--navy-2)}
.bodywebsite .btn-light{background:#fff;color:var(--navy)}
.bodywebsite .btn-ghost{border-color:rgba(255,255,255,.45);color:#fff}
.bodywebsite .btn-ghost:hover{background:rgba(255,255,255,.1)}
.bodywebsite .btn-outline{border-color:var(--line);color:var(--navy);background:#fff;padding:9px 16px;font-size:.88rem}
.bodywebsite .btn-outline:hover{border-color:var(--navy)}

/* En-tete */
.bodywebsite .site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.95);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.bodywebsite .nav{display:flex;align-items:center;justify-content:space-between;height:72px;position:relative}
.bodywebsite .brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.bodywebsite .brand img{height:46px;width:auto}
.bodywebsite .brand span{font-family:Manrope,sans-serif;font-weight:800;color:var(--navy);font-size:1.05rem;letter-spacing:.02em}
.bodywebsite .nav ul{display:flex;gap:28px;list-style:none}
.bodywebsite .nav ul a{text-decoration:none;font-size:.93rem;font-weight:500;color:var(--muted)}
.bodywebsite .nav ul a:hover,.bodywebsite .nav ul a.active{color:var(--navy)}
.bodywebsite .nav ul a.active{font-weight:600}
.bodywebsite .menu-toggle{display:none;background:none;border:0;font-size:1.6rem;color:var(--navy);cursor:pointer}

/* Hero */
.bodywebsite .hero{background:linear-gradient(135deg,var(--navy-2) 0%,var(--navy) 60%,#24508f 100%);color:#fff;padding:110px 0 96px;position:relative;overflow:hidden}
.bodywebsite .hero::after{content:"";position:absolute;right:-120px;top:-80px;width:520px;height:520px;border:1px solid rgba(255,255,255,.12);border-radius:50%;box-shadow:0 0 0 70px rgba(255,255,255,.03),0 0 0 140px rgba(255,255,255,.02)}
.bodywebsite .hero .wrap{position:relative;z-index:1}
.bodywebsite .hero h1{color:#fff;font-size:clamp(2rem,4.6vw,3.3rem);max-width:820px;margin:14px 0 20px}
.bodywebsite .hero p{max-width:640px;font-size:1.1rem;color:#d3ddec}
.bodywebsite .hero .eyebrow{color:#9fd3ea}
.bodywebsite .hero-cta{display:flex;flex-wrap:wrap;gap:14px;margin-top:34px}
.bodywebsite .hero-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:64px;padding-top:32px;border-top:1px solid rgba(255,255,255,.15)}
.bodywebsite .hero-stats strong{display:block;font-family:Manrope,sans-serif;font-size:1.05rem;color:#fff}
.bodywebsite .hero-stats span{font-size:.88rem;color:#b9c7dc}
.bodywebsite .page-hero{padding:72px 0 60px}
.bodywebsite .page-hero h1{font-size:clamp(1.8rem,3.6vw,2.6rem)}

/* Grilles et cartes */
.bodywebsite .grid{display:grid;gap:22px}
.bodywebsite .g3{grid-template-columns:repeat(3,1fr)}
.bodywebsite .g4{grid-template-columns:repeat(4,1fr)}
.bodywebsite .g2{grid-template-columns:repeat(2,1fr)}
.bodywebsite .card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px;transition:.2s;display:flex;flex-direction:column}
.bodywebsite .card:hover{border-color:var(--steel);box-shadow:0 12px 30px -18px rgba(22,52,106,.35);transform:translateY(-2px)}
.bodywebsite .icon{width:48px;height:48px;border-radius:12px;background:var(--ice);display:grid;place-items:center;margin-bottom:18px;flex:none}
.bodywebsite .icon svg{width:26px;height:26px;stroke:var(--navy);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bodywebsite .card h3{font-size:1.15rem;margin-bottom:10px}
.bodywebsite .card p{color:var(--muted);font-size:.95rem}
.bodywebsite .card ul{list-style:none;margin:16px 0 0;display:grid;gap:7px}
.bodywebsite .card li{font-size:.9rem;padding-left:18px;position:relative}
.bodywebsite .card li::before{content:"";position:absolute;left:0;top:.6em;width:7px;height:7px;border-radius:2px;background:var(--accent);transform:rotate(45deg)}
.bodywebsite .card .more{margin-top:auto;padding-top:18px;font-size:.9rem;font-weight:600;color:var(--navy);text-decoration:none}
.bodywebsite .card .more:hover{text-decoration:underline}
.bodywebsite .count{display:inline-block;font-size:.78rem;font-weight:600;color:var(--accent);background:var(--ice);border-radius:999px;padding:2px 10px;margin-bottom:10px}

/* Catalogue */
.bodywebsite .tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px}
.bodywebsite .tab{padding:9px 18px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:.9rem;font-weight:500;color:var(--muted);text-decoration:none}
.bodywebsite .tab:hover{border-color:var(--navy);color:var(--navy)}
.bodywebsite .tab.active{background:var(--navy);border-color:var(--navy);color:#fff}
.bodywebsite .cat-intro{color:var(--muted);margin-bottom:22px;max-width:760px}
.bodywebsite .search{width:100%;max-width:420px;margin-bottom:22px}
.bodywebsite .products{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.bodywebsite .product{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:6px}
.bodywebsite .product b{color:var(--navy-2);font-size:.98rem}
.bodywebsite .product small{color:var(--muted);font-size:.85rem;line-height:1.5}
.bodywebsite .product .btn-outline{margin-top:auto;align-self:flex-start}
.bodywebsite .product .sp{flex:1}
.bodywebsite .note{margin-top:26px;color:var(--muted);font-size:.92rem}
.bodywebsite .empty{color:var(--muted);padding:30px;border:1px dashed var(--line);border-radius:12px;text-align:center;background:#fff}

/* Secteurs */
.bodywebsite .sectors{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.bodywebsite .sector{border-radius:14px;padding:26px 22px;background:linear-gradient(160deg,var(--navy) 0%,var(--navy-2) 100%);color:#fff}
.bodywebsite .sector h3{color:#fff;font-size:1.02rem;margin:12px 0 8px}
.bodywebsite .sector p{font-size:.86rem;color:#c3cfe2}
.bodywebsite .sector .num{font-family:Manrope,sans-serif;font-weight:800;color:#9fd3ea;font-size:.85rem}

/* Formations */
.bodywebsite .training{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;display:flex;flex-direction:column;gap:8px}
.bodywebsite .training .code{font-size:.75rem;font-weight:700;letter-spacing:.08em;color:var(--accent);text-transform:uppercase}
.bodywebsite .training h3{font-size:1.05rem}
.bodywebsite .training .dur{font-size:.85rem;color:var(--muted)}
.bodywebsite .training .btn-outline{margin-top:auto;align-self:flex-start}

/* Bandeau d'appel */
.bodywebsite .cta-band{background:var(--navy);color:#fff;border-radius:18px;padding:44px;display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between}
.bodywebsite .cta-band h2{color:#fff;font-size:1.6rem}
.bodywebsite .cta-band p{color:#c3cfe2;margin-top:6px}

/* Contact */
.bodywebsite .contact{display:grid;grid-template-columns:1fr 1.2fr;gap:40px;align-items:start}
.bodywebsite .info{display:grid;gap:18px}
.bodywebsite .info-item{display:flex;gap:14px;align-items:flex-start}
.bodywebsite .info-item .icon{margin:0}
.bodywebsite .info-item b{display:block;color:var(--navy-2)}
.bodywebsite .info-item a,.bodywebsite .info-item span{color:var(--muted);text-decoration:none;font-size:.95rem}
.bodywebsite form.quote{background:#fff;border:1px solid var(--line);border-radius:16px;padding:32px;display:grid;gap:16px}
.bodywebsite .row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.bodywebsite label{font-size:.85rem;font-weight:600;color:var(--navy-2);display:grid;gap:6px}
.bodywebsite input,.bodywebsite select,.bodywebsite textarea{font:inherit;font-size:.95rem;padding:11px 13px;border:1px solid var(--line);border-radius:8px;background:#fbfcfe;color:var(--text);width:100%}
.bodywebsite input:focus,.bodywebsite select:focus,.bodywebsite textarea:focus{outline:2px solid rgba(31,143,184,.35);border-color:var(--accent)}
.bodywebsite textarea{min-height:130px;resize:vertical}
.bodywebsite .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.bodywebsite .alert{padding:14px 18px;border-radius:10px;font-size:.95rem}
.bodywebsite .alert-ok{background:#e8f5ee;color:var(--ok);border:1px solid #b7dfc8}
.bodywebsite .alert-err{background:#fdecea;color:var(--err);border:1px solid #f5c2bd}
.bodywebsite .req{color:var(--err)}

/* Pied de page */
.bodywebsite footer{background:var(--navy-2);color:#b9c7dc;padding:48px 0 28px;font-size:.88rem}
.bodywebsite .foot{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:30px}
.bodywebsite footer h4{color:#fff;margin-bottom:12px;font-size:.95rem}
.bodywebsite footer a{text-decoration:none}
.bodywebsite footer a:hover{color:#fff}
.bodywebsite .legal{margin-top:36px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:.8rem}

@media (max-width:980px){
  .bodywebsite .g3,.bodywebsite .g4{grid-template-columns:repeat(2,1fr)}
  .bodywebsite .sectors{grid-template-columns:repeat(2,1fr)}
  .bodywebsite .contact{grid-template-columns:1fr}
  .bodywebsite .hero-stats{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:760px){
  .bodywebsite section{padding:60px 0}
  .bodywebsite .wrap{padding:0 16px}
  .bodywebsite .nav ul{display:none;position:absolute;top:72px;left:-16px;right:-16px;flex-direction:column;gap:0;background:#fff;border-bottom:1px solid var(--line)}
  .bodywebsite .nav ul.open{display:flex}
  .bodywebsite .nav ul a{display:block;padding:14px 20px}
  .bodywebsite .nav .btn-primary{display:none}
  .bodywebsite .menu-toggle{display:block}
  .bodywebsite .g2,.bodywebsite .g3,.bodywebsite .g4,.bodywebsite .sectors,.bodywebsite .row,.bodywebsite .foot{grid-template-columns:1fr}
  .bodywebsite .hero{padding:72px 0 64px}
  .bodywebsite .cta-band{padding:30px}
  .bodywebsite form.quote{padding:22px}
}

/* Espace client et commande */
.bodywebsite .badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#fff;color:var(--navy);font-size:.75rem;font-weight:700;margin-left:4px}
.bodywebsite .mb{margin-bottom:22px}
.bodywebsite .mt{margin-top:18px}
.bodywebsite .mt2{margin-top:36px}
.bodywebsite .h2s{font-size:1.25rem;margin-bottom:14px}
.bodywebsite .muted{color:var(--muted)}
.bodywebsite .small{font-size:.85rem}
.bodywebsite form.inline{display:inline}
.bodywebsite .account-bar{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 24px;margin-bottom:32px}
.bodywebsite .account-bar .actions{display:flex;flex-wrap:wrap;gap:10px}
.bodywebsite .table-wrap{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:12px}
.bodywebsite .tbl{width:100%;border-collapse:collapse;font-size:.92rem}
.bodywebsite .tbl th{text-align:left;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);background:var(--ice);padding:12px 14px}
.bodywebsite .tbl td{padding:12px 14px;border-top:1px solid var(--line);vertical-align:middle}
.bodywebsite .tbl .w-qty{width:130px}
.bodywebsite .tbl .w-del{width:110px}
.bodywebsite .tbl input.qty{width:110px;padding:8px 10px}
.bodywebsite .chk{display:inline-flex;flex-direction:row;align-items:center;gap:6px;font-weight:500;color:var(--muted)}
.bodywebsite .chk input{width:auto}
.bodywebsite .status{display:inline-block;padding:3px 10px;border-radius:999px;font-size:.8rem;font-weight:600;background:var(--ice);color:var(--navy)}
.bodywebsite .status.st1,.bodywebsite .status.st2{background:#e6f1fb;color:#1f5f99}
.bodywebsite .status.st3{background:#e8f5ee;color:var(--ok)}
.bodywebsite .status.st-1{background:#fdecea;color:var(--err)}
.bodywebsite .auth-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:24px;align-items:start}
.bodywebsite form.narrow{max-width:520px}
.bodywebsite form.order{display:block}
.bodywebsite .sugg{display:grid;gap:10px;margin:14px 0 12px}
.bodywebsite .sugg-row{display:grid;grid-template-columns:2fr 1fr;gap:10px}
.bodywebsite .order-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.bodywebsite .small-band{margin-top:30px;padding:30px}
.bodywebsite .small-band h2{font-size:1.3rem}
@media (max-width:760px){
  .bodywebsite .auth-grid,.bodywebsite .sugg-row{grid-template-columns:1fr}
  .bodywebsite .nav .btn-primary{display:inline-flex;padding:9px 12px;font-size:.85rem}
  .bodywebsite .brand span{display:none}
}

