/* ============================================================
   PAGE IA POUR RESTAURANT — sectorielle (design v3)
   Réutilise au maximum les patterns de he-agence-ia-toulouse-v3.css
   (hero, trust-strip, section-light/sombre/noire, axes-grid/axis-card,
    data-grid/data-card, method-steps, qw-band, map-cta, about-cta…).
   N'ajoute ici qu'une variante : les .axis-card posées sur fond SOMBRE
   (les sections "là où l'IA n'a rien à faire" et "ce qui a du sens").
   Mêmes variables, mêmes codes visuels que la homepage.
   ============================================================ */

/* onglet de nav correspondant à 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}

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

/* ============================================================
   VARIANTE SOMBRE des axis-card (le pattern de base est clair)
   Utilisée dans "là où l'IA n'a rien à faire" et "ce qui a du sens".
   ============================================================ */
.axis-card.axis-dark{
  background:linear-gradient(180deg,var(--surface),var(--ink-700));
  border:1px solid var(--line);box-shadow:0 24px 50px -34px rgba(0,0,0,.7)}
.axis-card.axis-dark::after{background:linear-gradient(90deg,var(--accent),transparent)}
.axis-card.axis-dark:hover{border-color:var(--line-strong);box-shadow:0 40px 70px -34px rgba(0,0,0,.85)}
.axis-card.axis-dark .axis-ic{
  background:var(--grad-soft);border:1px solid var(--line-strong);color:var(--blue-300)}
.axis-card.axis-dark h3{color:var(--text)}
.axis-card.axis-dark > p{color:var(--text-dim)}
.axis-card.axis-dark li{color:var(--text-dim)}
.axis-card.axis-dark li i{color:var(--text-mute)}
.axis-card.axis-dark li b{color:var(--text)}

/* variante "ce qui reste humain / ce qui a du sens" : accent positif */
.axis-card.axis-dark.axis-keep::after{background:var(--grad-bright)}
.axis-card.axis-dark.axis-keep .axis-ic{color:var(--accent);border-color:rgba(56,189,248,.3)}
.axis-card.axis-dark.axis-keep li i{color:var(--accent)}

/* ============================================================
   AVANT / APRÈS dans les metier-card (section "l'IA en plus")
   Le 2e .mc-hand sert de ligne "Après" sans bordure haute.
   ============================================================ */
.metier-card .mc-hand{align-items:flex-start;line-height:1.45}
.metier-card .mc-hand i{margin-top:2px;flex:none}
.metier-card .mc-hand i.bi-arrow-down-circle{color:var(--light-mute)}
.metier-card .mc-hand i.bi-arrow-up-circle{color:var(--blue-600)}

/* ============================================================
   SECTION NOIRE — utiliser .nope comme coque pour axes-grid
   (le pattern .nope existe déjà ; on garde juste la grille d'axes)
   ============================================================ */
.nope .axes-grid{margin-top:8px}

/* === Héros personnalisé restaurant — accent chaud bistrot (pilote Hanz) === */
:root{ --accent:#F97316; }
.hero-metier #neural-canvas{ filter:hue-rotate(-150deg) saturate(1.1); }

.hero-metier .hero-eyebrow{ color:#FB923C; }
.hero-metier .grad-text{ background:linear-gradient(120deg,#FB923C,#EA580C); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-metier .btn-primary{ background:linear-gradient(120deg,#F97316,#EA580C); box-shadow:0 10px 34px -10px rgba(249,115,22,.55); }

/* === Schéma de flux restaurant (pilote Hanz) === */
.flux-restaurant{ width:100%; height:auto; }
.flux-restaurant text{ text-anchor:middle; font-family:Inter,system-ui,sans-serif; }
.flux-restaurant .flux-line{ stroke:rgba(251,146,60,.28); stroke-width:1.4; }
.flux-restaurant .flux-line.out{ stroke:rgba(234,88,12,.4); stroke-width:1.7; }
.flux-restaurant .p{ fill:#FDBA74; filter:drop-shadow(0 0 3px rgba(253,186,116,.8)); }
.flux-restaurant .p.out{ fill:#FB923C; }
.flux-restaurant .fnode circle{ fill:rgba(251,146,60,.12); stroke:rgba(251,146,60,.6); stroke-width:1.4; }
.flux-restaurant .fnode text{ fill:#fed7aa; font-size:13px; font-weight:600; }
.flux-restaurant .ia-core{ fill:#F97316; animation:restoPulse 2.8s ease-in-out infinite; transform-box:fill-box; transform-origin:center; }
.flux-restaurant .ia-label{ fill:#fff; font-size:16px; font-weight:800; }
.flux-restaurant .ia-sub{ fill:#fdba74; font-size:11px; letter-spacing:.04em; text-transform:uppercase; }
.flux-restaurant .vous{ fill:rgba(234,88,12,.18); stroke:#EA580C; stroke-width:1.7; }
.flux-restaurant .vous-label{ fill:#fff; font-size:14px; font-weight:700; }
.flux-restaurant .vous-sub{ fill:#fdba74; font-size:11px; }
@keyframes restoPulse{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.08); } }
@media (prefers-reduced-motion:reduce){ .flux-restaurant .ia-core{ animation:none; } }

.flux-restaurant .ev{ fill:#FDBA74; font-size:13px; font-weight:700; opacity:0; letter-spacing:.01em; }
.flux-restaurant .ev-cap{ fill:#c2410c; font-size:10px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; }

/* === Mini-schéma mid-page : la boucle "l'IA prépare -> vous validez" === */
.resto-loop-wrap{ max-width:600px; margin:6px auto 34px; }
.resto-loop{ width:100%; height:auto; }
.resto-loop text{ text-anchor:middle; font-family:Inter,system-ui,sans-serif; }
.resto-loop .rl-line{ stroke:rgba(234,88,12,.3); stroke-width:1.5; }
.resto-loop .rl-line.back{ stroke:rgba(234,88,12,.22); stroke-dasharray:3 4; }
.resto-loop .rp{ fill:#FB923C; filter:drop-shadow(0 0 3px rgba(251,146,60,.85)); }
.resto-loop .rp.out{ fill:#FDBA74; }
.resto-loop .rl-step rect{ fill:#fff; stroke:var(--light-line-strong); stroke-width:1.5; }
.resto-loop .rl-t{ fill:var(--light-text); font-size:13px; font-weight:700; }
.resto-loop .rl-s{ fill:var(--light-mute); font-size:11px; letter-spacing:.02em; }
.resto-loop .rl-core{ fill:#F97316; animation:restoLoopPulse 2.8s ease-in-out infinite; transform-box:fill-box; transform-origin:center; }
.resto-loop .rl-iat{ fill:#fff; font-size:14px; font-weight:800; }
.resto-loop .rl-ias{ fill:#ffedd5; font-size:11px; letter-spacing:.03em; }
.resto-loop .rl-you rect{ stroke:#EA580C; }
.resto-loop .rl-you .rl-t{ fill:#c2410c; }
.resto-loop .rl-back-t{ fill:#c2410c; font-size:11px; font-weight:600; letter-spacing:.09em; text-transform:uppercase; }
@keyframes restoLoopPulse{ 0%,100%{ transform:scale(1); } 50%{ transform:scale(1.07); } }
@media (prefers-reduced-motion:reduce){ .resto-loop .rl-core{ animation:none; } }
