/* ============================================================
   PAGE SECTORIELLE — IA POUR NÉGOCE / GROSSISTE B2B (design v3)
   Gabarit identique à ia-pour-garage-automobile : mêmes classes
   (hero-sector, mir/keep/apport/front/sens, fil d'Ariane).
   Styles génériques partagés ; la différenciation secteur se fait
   via les icônes du HTML. Aucune couleur en dur propre au secteur.
   ============================================================ */

/* onglet de nav de la page courante (sans ouvrir le panneau) */
.mega-here > .mega-trigger{color:var(--text)}
.mega-here > .mega-trigger::after{content:"";position:absolute;left:14px;right:14px;bottom:3px;height:2px;border-radius:2px;
  background:var(--accent);opacity:.75}
.mega-here{position:relative}

/* ============================================================
   FIL D'ARIANE — sobre, au-dessus du héros
   ============================================================ */
.he-breadcrumb{position:relative;z-index:2;padding:90px 0 0}
.he-breadcrumb .bc-list{display:flex;gap:.5rem;align-items:center;list-style:none;padding:0;margin:0;
  font-family:var(--font-mono);font-size:.78rem}
.he-breadcrumb a{color:var(--blue-300);transition:color .2s}
.he-breadcrumb a:hover{color:var(--accent)}
.he-breadcrumb .bc-sep{color:var(--text-mute)}
.he-breadcrumb .bc-current{color:var(--text-dim)}
@media(max-width:1080px){.he-breadcrumb{padding-top:84px}}

/* ============================================================
   HÉRO sectoriel : un peu plus court que la home
   ============================================================ */
.hero-sector{min-height:auto;padding:34px 0 96px}
.hero-in-sector{align-items:center}
.hero-sector h1{font-size:clamp(2.3rem,5.4vw,4.2rem)}
.hero-sector p.lede{margin-top:26px}

/* ============================================================
   LE QUOTIDIEN — section claire : 4 cartes miroir
   (variante de .mir-card : on garde le hover/filet, on ajoute
    une icône en tête)
   ============================================================ */
.quotidien .mir-grid{grid-template-columns:repeat(4,1fr)}
.quotidien .mir-card{padding:32px 28px}
.mir-ic{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;font-size:1.3rem;margin-bottom:18px}
.mir-ic-blue{background:rgba(37,99,235,.12);border:1px solid var(--light-line-strong);color:var(--blue-600)}
.mir-ic-amber{background:rgba(245,158,11,.14);border:1px solid rgba(245,158,11,.28);color:#d97706}
.quotidien .mir-card h3{font-size:1.18rem;margin:0 0 12px}
.quotidien .mir-card p{font-size:.95rem}
@media(max-width:980px){.quotidien .mir-grid{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.quotidien .mir-grid{grid-template-columns:1fr}}

/* ============================================================
   OUTILS EXISTANTS — section sombre
   ============================================================ */
.outils{background:radial-gradient(64% 60% at 22% 0%, rgba(37,99,235,.09),transparent 60%)}

/* grille "à garder" : 4 cartes sombres */
.keep-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:30px}
.keep-card{position:relative;border-radius:var(--radius);padding:28px 24px;overflow:hidden;
  background:linear-gradient(180deg,var(--surface),var(--ink-700));border:1px solid var(--line);
  transition:transform .45s var(--ease),border-color .45s,box-shadow .45s}
.keep-card::before{content:"";position:absolute;left:0;top:0;height:3px;width:100%;background:var(--grad-bright);transform:scaleX(0);transform-origin:left;transition:transform .55s var(--ease)}
.keep-card:hover{transform:translateY(-6px);border-color:var(--line-strong);box-shadow:0 36px 64px -34px rgba(0,0,0,.7)}
.keep-card:hover::before{transform:scaleX(1)}
.keep-ico{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;font-size:1.25rem;margin-bottom:16px;
  background:var(--grad-soft);border:1px solid var(--line-strong);color:var(--blue-300)}
.keep-card h3{font-size:1.1rem;margin-bottom:10px}
.keep-card p{color:var(--text-dim);font-size:.9rem;margin-bottom:16px}
.keep-badge{display:inline-block;flex:none;font-family:var(--font-mono);font-size:.72rem;letter-spacing:.02em;
  padding:.3rem .8rem;border-radius:999px;white-space:nowrap;
  background:rgba(13,148,136,.16);color:#5eead4;border:1px solid rgba(13,148,136,.3)}
@media(max-width:980px){.keep-grid{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.keep-grid{grid-template-columns:1fr}}

/* ============================================================
   CE QUE L'IA APPORTE — section claire : grille de cartes
   avec un bloc "avant / après"
   ============================================================ */
.apport-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.ap-card{position:relative;display:flex;flex-direction:column;border-radius:var(--radius);padding:30px 28px;overflow:hidden;
  background:var(--light-surface);border:1px solid var(--light-line);box-shadow:0 18px 40px -30px rgba(15,27,45,.4);
  transition:transform .5s var(--ease),border-color .5s,box-shadow .5s}
.ap-card::before{content:"";position:absolute;left:0;top:0;height:3px;width:100%;background:var(--grad-bright);transform:scaleX(0);transform-origin:left;transition:transform .55s var(--ease)}
.ap-card.ap-amber::before{background:linear-gradient(90deg,#f59e0b,#d97706)}
.ap-card:hover{transform:translateY(-6px);border-color:var(--light-line-strong);box-shadow:0 36px 64px -34px rgba(15,27,45,.26)}
.ap-card:hover::before{transform:scaleX(1)}
.ap-ic{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;font-size:1.25rem;margin-bottom:18px;
  background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(29,78,216,.08));border:1px solid var(--light-line-strong);color:var(--blue-600)}
.ap-ic-amber{background:linear-gradient(135deg,#fffbeb,#fef3c7);border-color:#fde68a;color:#d97706}
.ap-card h3{font-size:1.16rem;margin-bottom:10px;color:var(--light-text)}
.ap-card > p{color:var(--light-dim);font-size:.94rem}
.ap-ba{border-top:1px solid var(--light-line);padding-top:16px;margin-top:18px;display:grid;gap:10px}
.ap-ba p{display:flex;align-items:flex-start;gap:.6rem;font-size:.88rem;color:var(--light-dim);margin:0;line-height:1.45}
.ap-ba i{margin-top:.15rem;flex:none}
.ap-ba .ba-down i{color:#dc2626}
.ap-ba .ba-up i{color:#0d9488}
.ap-ba b{color:var(--light-text);font-weight:600}
@media(max-width:920px){.apport-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.apport-grid{grid-template-columns:1fr}}

.apport-foot{position:relative;text-align:center;max-width:840px;margin:3rem auto 0;color:var(--light-dim);font-size:1.02rem}
.apport-foot i{color:var(--blue-600)}
.apport-foot b{color:var(--light-text);font-weight:600}

/* ============================================================
   LE TEMPS LIBÉRÉ — section sombre : 3 axes "à vous"
   (variante de .front-card, toutes mises en avant "front-you")
   ============================================================ */
.frontiere{background:radial-gradient(60% 70% at 78% 0%,rgba(29,78,216,.08),transparent 60%)}
.front-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.front-grid-3{grid-template-columns:repeat(3,1fr)}
.front-card{position:relative;border-radius:var(--radius);padding:38px 34px;overflow:hidden;
  background:linear-gradient(180deg,var(--surface),var(--ink-700));border:1px solid var(--line-strong);
  transition:transform .5s var(--ease),border-color .5s,box-shadow .5s}
.front-card:hover{transform:translateY(-6px);box-shadow:0 36px 64px -34px rgba(0,0,0,.7)}
.front-you{border-color:rgba(56,189,248,.3);box-shadow:inset 0 0 60px -30px rgba(56,189,248,.4)}
.front-ic{width:54px;height:54px;border-radius:14px;display:grid;place-items:center;font-size:1.5rem;margin-bottom:22px;
  background:var(--grad-soft);border:1px solid var(--line-strong);color:var(--blue-300)}
.front-you .front-ic{background:var(--grad-bright);color:#fff;box-shadow:0 0 26px -6px rgba(56,189,248,.6)}
.front-card h3{font-size:1.3rem;margin-bottom:14px}
.front-card > p{color:var(--text-dim);font-size:.96rem;line-height:1.6}
@media(max-width:920px){.front-grid-3{grid-template-columns:1fr}}
@media(max-width:880px){.front-grid{grid-template-columns:1fr}}

.front-foot{font-family:var(--font-display);font-size:clamp(1.05rem,2vw,1.4rem);font-weight:500;line-height:1.42;
  max-width:840px;margin:44px auto 0;text-align:center;color:var(--text-dim)}
.front-foot b{color:var(--text);font-weight:600}

/* ============================================================
   CE QU'ON NE PROMET PAS — section noire : 4 cartes
   ============================================================ */
.sens-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.sens-grid-4{grid-template-columns:repeat(4,1fr)}
.sens-card{position:relative;border-radius:var(--radius);padding:32px 28px;overflow:hidden;
  background:linear-gradient(180deg,rgba(14,26,46,.7),rgba(8,16,31,.5));border:1px solid var(--line-strong);
  transition:transform .5s var(--ease),border-color .5s,box-shadow .5s}
.sens-card:hover{transform:translateY(-5px);box-shadow:0 36px 64px -34px rgba(0,0,0,.8)}
.sens-no{border-color:rgba(220,38,38,.22)}
.sens-ic{width:48px;height:48px;border-radius:13px;display:grid;place-items:center;font-size:1.3rem;margin-bottom:18px}
.sens-ic-no{background:rgba(220,38,38,.12);border:1px solid rgba(220,38,38,.28);color:#f87171}
.sens-card h3{font-size:1.18rem;margin-bottom:12px}
.sens-card > p{color:var(--text-dim);font-size:.94rem;line-height:1.6}
@media(max-width:980px){.sens-grid-4{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.sens-grid-4{grid-template-columns:1fr}.sens-grid{grid-template-columns:1fr}}

/* === Héros personnalisé négoce / grossiste B2B — accent indigo (pilote Hanz) === */
:root{ --accent:#4F46E5; }

.hero-sector .hero-eyebrow{ color:#818CF8; }
.hero-sector .grad-text{ background:linear-gradient(120deg,#818CF8,#4F46E5); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-sector .btn-primary{ background:linear-gradient(120deg,#6366F1,#4F46E5); box-shadow:0 10px 34px -10px rgba(79,70,229,.55); }


/* === Schéma de flux négoce / grossiste B2B (pilote Hanz) === */
.flux-negoce-b2b{ width:100%; height:auto; }
.flux-negoce-b2b text{ text-anchor:middle; font-family:Inter,system-ui,sans-serif; }
.flux-negoce-b2b .flux-line{ stroke:rgba(129,140,248,.28); stroke-width:1.4; }
.flux-negoce-b2b .flux-line.out{ stroke:rgba(79,70,229,.4); stroke-width:1.7; }
.flux-negoce-b2b .p{ fill:#A5B4FC; filter:drop-shadow(0 0 3px rgba(165,180,252,.8)); }
.flux-negoce-b2b .p.out{ fill:#818CF8; }
.flux-negoce-b2b .fnode circle{ fill:rgba(129,140,248,.12); stroke:rgba(129,140,248,.6); stroke-width:1.6; }
.flux-negoce-b2b .fnode text{ fill:#c7d2fe; font-size:13px; font-weight:600; }
.flux-negoce-b2b .ia-core{ fill:#4F46E5; animation:iaPulseNeg 2.8s ease-in-out infinite; transform-box:fill-box; transform-origin:center; }
.flux-negoce-b2b .ia-label{ fill:#fff; font-size:17px; font-weight:800; }
.flux-negoce-b2b .ia-sub{ fill:#a5b4fc; font-size:11px; letter-spacing:.04em; text-transform:uppercase; }
.flux-negoce-b2b .vous{ fill:rgba(79,70,229,.18); stroke:#4F46E5; stroke-width:1.7; }
.flux-negoce-b2b .vous-label{ fill:#fff; font-size:14px; font-weight:700; }
.flux-negoce-b2b .vous-sub{ fill:#a5b4fc; font-size:11px; }
@keyframes iaPulseNeg{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.08); } }
@media (prefers-reduced-motion:reduce){ .flux-negoce-b2b .ia-core{ animation:none; } }

/* ticker des temps forts B2B (défilé dans le héros) */
.flux-negoce-b2b .ev{ fill:#A5B4FC; font-size:13px; font-weight:700; opacity:0; letter-spacing:.01em; }
.flux-negoce-b2b .ev-cap{ fill:#4338ca; font-size:10px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; }

/* ============================================================
   MINI-SCHÉMA MID-PAGE — la fiche produit (section #apport-ia)
   illustre la 1re carte : tarif fournisseur -> l'IA met en forme
   -> vous validez -> publié au catalogue. Couleurs natives (indigo).
   ============================================================ */
.neg-fiche-flux{ margin:0 auto 8px; max-width:820px; padding:26px 24px 18px;
  background:linear-gradient(135deg,#f7f8ff,#eef0ff);
  border:1px solid #d9ddff; border-radius:var(--radius);
  box-shadow:0 18px 40px -30px rgba(49,46,129,.4); }
.neg-fiche-cap{ display:flex; align-items:center; justify-content:center; gap:.5rem;
  text-align:center; font-family:var(--font-mono); font-size:.82rem; color:#4338ca; margin-bottom:6px; }
.neg-fiche-cap i{ color:#4f46e5; }
.neg-fiche-cap b{ color:#312e81; font-weight:700; }
.neg-flux{ width:100%; height:auto; display:block; }
.neg-flux text{ text-anchor:middle; font-family:Inter,system-ui,sans-serif; }
.neg-flux .neg-line{ stroke:rgba(99,102,241,.32); stroke-width:1.5; stroke-dasharray:4 5; }
.neg-flux .neg-line.out{ stroke:rgba(79,70,229,.5); stroke-width:1.7; }
.neg-flux .neg-p{ fill:#6366f1; filter:drop-shadow(0 0 3px rgba(99,102,241,.7)); }
.neg-flux .neg-p.out{ fill:#4f46e5; }
.neg-flux .neg-src{ fill:rgba(99,102,241,.1); stroke:rgba(99,102,241,.55); stroke-width:1.5; }
.neg-flux .neg-you{ fill:rgba(79,70,229,.12); stroke:#4f46e5; stroke-width:1.7; }
.neg-flux .neg-pub{ fill:rgba(13,148,136,.12); stroke:#0d9488; stroke-width:1.6; }
.neg-flux .neg-core{ fill:#4f46e5; animation:negMidPulse 2.8s ease-in-out infinite;
  transform-box:fill-box; transform-origin:center; }
.neg-flux .neg-core-t{ fill:#fff; font-size:16px; font-weight:800; }
.neg-flux .neg-lbl{ fill:#312e81; font-size:13px; font-weight:700; }
.neg-flux .neg-sub{ fill:#4f46e5; font-size:11px; }
.neg-flux .neg-glyph{ stroke:#4f46e5; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; fill:none; }
.neg-flux .neg-check{ stroke:#4338ca; }
.neg-flux .neg-pub-g{ stroke:#0d9488; }
@keyframes negMidPulse{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.07); } }
@media (prefers-reduced-motion:reduce){ .neg-flux .neg-core{ animation:none; } }
@media(max-width:620px){ .neg-fiche-flux{ padding:20px 14px 12px; } }
