/* atlas.css — CRM REP, mode Atlas : thème « Signal chantier » (comme le site de REP) + Atlas partout.
   Chargé après app.css : redéfinit les couleurs et habille tous les écrans existants. */

:root {
  --bg: #06070b;
  --panel: rgba(255, 255, 255, .035);
  --panel-2: rgba(255, 255, 255, .065);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #f4f6fb;
  --muted: #a1a9bb;
  --faint: #6f7689;
  --red: #e31d1d;
  --red-2: #ff4b4b;
  --red-bg: rgba(227, 29, 29, .15);
  --signal: #ffc21a;
  --radius: 16px;
  --side: 244px;
  --ax-niv: 0;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: Unbounded, "Plus Jakarta Sans", system-ui, sans-serif;
}
html, body { font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
body {
  background:
    radial-gradient(1100px 700px at 100% -10%, rgba(227, 29, 29, .13), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(255, 194, 26, .06), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
h1 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; font-size: 24px; }
h2 { font-weight: 700; letter-spacing: -.01em; }
::selection { background: rgba(227, 29, 29, .5); }

/* Écrans existants : verre, rayons plus doux, relief */
.card, .kpi, .col, .eq, .gantt { background: var(--panel); border-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.card, .kpi { box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 50px -30px rgba(0, 0, 0, .8); }
.kpi { transition: transform .25s var(--ease), border-color .25s; }
.kpi:hover { transform: translateY(-2px); border-color: var(--line-2); }
.btn { border-radius: 999px; padding: 7px 15px; background: var(--panel-2); border-color: var(--line-2); transition: all .2s var(--ease); }
.btn.primary { background: linear-gradient(180deg, #f03030, #c71616); border-color: transparent; box-shadow: 0 8px 22px -10px rgba(227, 29, 29, .9); }
.btn.primary:hover { filter: brightness(1.08); background: linear-gradient(180deg, #f03030, #c71616); }
input.in, select.in, textarea.in { background: rgba(0, 0, 0, .35); border-radius: 12px; border-color: var(--line-2); }
input.in:focus, select.in:focus, textarea.in:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 29, 29, .18); }
.deal { background: rgba(255, 255, 255, .04); border-radius: 12px; }
.modal { background: #0d0f16; border-radius: 20px; box-shadow: 0 40px 100px rgba(0, 0, 0, .7); }
.modal-bg { backdrop-filter: blur(6px); }
.t tbody tr.link:hover td { background: rgba(255, 255, 255, .04); }

.side { background: rgba(8, 9, 14, .78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-right-color: var(--line); }
.nav a { border-radius: 12px; padding: 10px 12px; transition: background .2s, color .2s; }
.nav a.on { background: linear-gradient(90deg, rgba(227, 29, 29, .22), rgba(227, 29, 29, .04)); box-shadow: inset 2px 0 0 var(--red); }
.nav a[href="#/"] { font-weight: 700; color: #fff; }
.nav a[href="#/"] svg { color: var(--signal); }
.mobilebar { background: rgba(6, 7, 11, .85); }
.tabbar { background: rgba(8, 9, 14, .92); backdrop-filter: blur(16px); }
.tabbar a[href="#/"] svg { color: var(--signal); }

/* ---------- Atlas : orbe (portrait vivant) ---------- */
.ax-orbe { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: conic-gradient(from 0deg, var(--red), var(--signal), var(--red)); padding: 2px; }
.ax-orbe img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #10131c; border: 2px solid #0b0d14; }
.ax-orbe::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(227, 29, 29, .55);
  transform: scale(calc(1 + var(--ax-niv) * .22)); opacity: calc(.25 + var(--ax-niv)); transition: transform .08s linear; }
.ax-orbe.sm { width: 38px; height: 38px; }
body.ax-ecoute .ax-orbe::after { border-color: var(--signal); animation: ax-pouls 1.2s ease-out infinite; }
@keyframes ax-pouls { from { transform: scale(1); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }

/* Bouton d'Atlas en bas à droite */
.ax-dock { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(14, 16, 24, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  color: #fff; cursor: pointer; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8), 0 0 40px -10px rgba(227, 29, 29, .55); transition: transform .25s var(--ease), opacity .25s; }
.ax-dock:hover { transform: translateY(-2px); }
.ax-dock-t { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.ax-dock-t b { font-family: var(--display); font-size: 14px; }
.ax-dock-t small { color: var(--faint); font-size: 11px; }
body.ax-ouvert .ax-dock { opacity: 0; pointer-events: none; transform: scale(.9); }

/* ---------- Panneau d'Atlas ---------- */
.ax-panneau { position: fixed; top: 12px; right: 12px; bottom: 12px; width: min(460px, calc(100vw - 24px)); z-index: 45; display: flex; flex-direction: column;
  background: rgba(10, 12, 19, .9); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .7), 0 30px 90px -40px rgba(227, 29, 29, .7);
  transform: translateX(calc(100% + 24px)); transition: transform .4s var(--ease); }
.ax-panneau.on { transform: none; }
@media (min-width: 1280px) { body.ax-ouvert .shell { padding-right: 484px; } body.ax-ouvert .shell .main { transition: padding .3s; } }
.ax-tete { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(227, 29, 29, .16), transparent 70%); }
.ax-tete-t { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.ax-tete-t b { font-family: var(--display); font-size: 15px; }
.ax-tete-t small { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.ax-tete-t small i, .ax-kicker i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; display: inline-block; }
.ax-tete .iconbtn { font-size: 16px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; }
.ax-tete .iconbtn svg { width: 18px; height: 18px; }
#axVoix.on { background: rgba(255, 194, 26, .16); color: var(--signal); }

/* Panneau = agent vivant du site : Atlas en grand, Appeler / Écrire, sous-titres */
.ax-p-hero { position: relative; height: 270px; flex: none; overflow: hidden; background: #0b0d14; }
.ax-p-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: filter .3s; }
.ax-p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 19, 0) 40%, rgba(10, 12, 19, .95)); pointer-events: none; }
body.ax-parle .ax-p-hero video { filter: brightness(1.08) saturate(1.1); }
.ax-p-hero { box-shadow: inset 0 0 0 calc(var(--ax-niv) * 3px) rgba(227, 29, 29, .8); }
.ax-p-top { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; display: flex; gap: 8px; align-items: center; }
.ax-p-top span { flex: 1; }
.ax-p-top button { border: 0; cursor: pointer; padding: 7px 11px; border-radius: 999px; background: rgba(10, 12, 19, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-weight: 700; font-size: 12.5px; }
.ax-p-top button:hover { background: rgba(10, 12, 19, .85); }
.ax-p-id { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 2; }
.ax-p-id b { display: block; font-family: var(--display); font-size: 26px; letter-spacing: -.01em; }
.ax-p-id span { font-size: 12.5px; color: #9ff0d0; display: flex; align-items: center; gap: 6px; }
.ax-p-id i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; display: inline-block; }
.ax-p-sous { position: absolute; left: 14px; right: 14px; bottom: 70px; z-index: 2; padding: 9px 12px; border-radius: 14px; background: rgba(10, 12, 19, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 13px; line-height: 1.4; color: #fff; max-height: 92px; overflow: hidden; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; pointer-events: none; }
.ax-p-sous.on { opacity: 1; transform: none; }
.ax-p-acts { display: flex; gap: 8px; padding: 12px 14px 4px; }
.ax-p-acts button { flex: 1; border: 0; cursor: pointer; padding: 12px 10px; border-radius: 14px; font-weight: 800; font-size: 14px; }
.ax-p-appel { background: linear-gradient(90deg, #e31d1d, #ff4a3d); color: #fff; box-shadow: 0 10px 30px rgba(227, 29, 29, .35); }
.ax-p-ecrire { background: rgba(255, 255, 255, .07); color: #fff; border: 1px solid rgba(255, 255, 255, .16) !important; }
.ax-p-appelv { display: none; flex-direction: column; align-items: center; gap: 14px; padding: 18px 18px 22px; text-align: center; }
.ax-panneau.appel .ax-p-appelv { display: flex; }
.ax-panneau.appel .ax-p-acts, .ax-panneau.appel .ax-fil, .ax-panneau.appel .ax-saisie, .ax-panneau.appel .ax-p-sous { display: none; }
.ax-panneau.appel .ax-p-hero { height: min(430px, 52vh); }
.ax-p-st { font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.ax-p-st.l { color: #34d399; } .ax-p-st.s { color: var(--signal); } .ax-p-st.t { color: #a5b4fc; }
.ax-p-onde { display: flex; gap: 4px; height: 30px; align-items: center; }
.ax-p-onde i { width: 5px; border-radius: 3px; background: var(--red); height: calc(6px + var(--ax-niv) * 24px); transition: height .08s; }
.ax-p-onde i:nth-child(2n) { height: calc(6px + var(--ax-niv) * 16px); } .ax-p-onde i:nth-child(3n) { height: calc(6px + var(--ax-niv) * 28px); }
body.ax-ecoute .ax-p-onde i { background: #34d399; animation: ax-onde 1s ease-in-out infinite; }
body.ax-ecoute .ax-p-onde i:nth-child(2n) { animation-delay: .2s; } body.ax-ecoute .ax-p-onde i:nth-child(3n) { animation-delay: .4s; }
@keyframes ax-onde { 50% { height: 22px; } }
.ax-p-tr { width: 100%; min-height: 48px; max-height: 140px; overflow: auto; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); color: #d6dbe7; font-size: 13.5px; }
.ax-p-racc { border: 0; cursor: pointer; padding: 13px 26px; border-radius: 999px; background: #ef4444; color: #fff; font-weight: 800; box-shadow: 0 12px 30px rgba(239, 68, 68, .35); }

.ax-fil { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.ax-msg { display: flex; gap: 8px; max-width: 100%; animation: ax-entre .35s var(--ease); }
@keyframes ax-entre { from { opacity: 0; transform: translateY(6px); } }
.ax-msg.moi { align-self: flex-end; max-width: 85%; background: linear-gradient(180deg, #e52424, #b91414); color: #fff; padding: 9px 13px; border-radius: 16px 16px 4px 16px; white-space: pre-wrap; }
.ax-mini { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; margin-top: 2px; border: 1px solid rgba(255, 255, 255, .15); }
.ax-bulle { min-width: 0; flex: 1; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); padding: 10px 13px; border-radius: 4px 16px 16px 16px; font-size: 13.5px; line-height: 1.5; }
.ax-bulle p { margin: 0 0 6px; } .ax-bulle p:last-child { margin-bottom: 0; }
.ax-bulle ul { margin: 4px 0 8px; padding-left: 18px; } .ax-bulle li { margin: 2px 0; }
.ax-msg.err .ax-bulle { border-color: rgba(227, 29, 29, .5); }
.ax-lien { color: var(--signal); text-decoration: underline; text-decoration-color: rgba(255, 194, 26, .4); text-underline-offset: 2px; font-weight: 600; }
.ax-pense { color: var(--muted); display: flex; align-items: center; gap: 4px; }
.ax-pense span { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); animation: ax-point 1s infinite; }
.ax-pense span:nth-child(2) { animation-delay: .15s; } .ax-pense span:nth-child(3) { animation-delay: .3s; margin-right: 6px; }
@keyframes ax-point { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.ax-vide { text-align: center; padding: 26px 8px; color: var(--muted); }
.ax-vide img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; border: 3px solid rgba(227, 29, 29, .6); box-shadow: 0 0 40px -6px rgba(227, 29, 29, .7); }
.ax-vide b { color: #fff; }
.ax-chips { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 12px; }
.ax-chips button { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; cursor: pointer; transition: all .2s; }
.ax-chips button:hover { border-color: var(--signal); color: var(--signal); }

/* Cartes d'action (proposées par Atlas, confirmées par l'équipe) */
.ax-carte { margin-top: 10px; border: 1px solid rgba(255, 194, 26, .35); background: linear-gradient(180deg, rgba(255, 194, 26, .08), rgba(255, 194, 26, .02)); border-radius: 14px; padding: 11px 12px; }
.ax-carte.ok { border-color: rgba(52, 211, 153, .45); background: rgba(52, 211, 153, .06); }
.ax-carte-h { display: flex; gap: 10px; align-items: center; }
.ax-carte-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(255, 194, 26, .16); color: var(--signal); font-weight: 800; flex: none; }
.ax-carte-t { display: flex; flex-direction: column; font-weight: 700; line-height: 1.25; }
.ax-carte-t small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--signal); font-weight: 700; }
.ax-carte-d { color: var(--muted); margin-top: 6px; font-size: 13px; }
.ax-carte-p { margin-top: 6px; font-size: 12.5px; color: #d6dbe7; display: grid; gap: 2px; }
.ax-carte-acts { display: flex; gap: 8px; margin-top: 10px; }
.ax-fait { margin-top: 8px; font-weight: 700; color: #34d399; font-size: 13px; }

.ax-saisie { display: flex; align-items: center; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.ax-saisie input { flex: 1; min-width: 0; background: rgba(0, 0, 0, .4); border: 1px solid var(--line-2); border-radius: 999px; padding: 11px 16px; outline: none; color: #fff; }
.ax-saisie input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 29, 29, .18); }
.ax-micro, .ax-go { width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; flex: none; transition: transform .2s var(--ease), background .2s; }
.ax-micro { background: rgba(255, 255, 255, .08); color: #fff; }
.ax-micro svg, .ax-go svg { width: 20px; height: 20px; }
body.ax-ecoute .ax-micro { background: var(--signal); color: #111; animation: ax-micro 1s ease-in-out infinite; }
@keyframes ax-micro { 50% { transform: scale(1.08); } }
.ax-go { background: linear-gradient(180deg, #f03030, #c71616); color: #fff; }
.ax-go:hover { transform: scale(1.05); }
.ax-go:disabled { opacity: .5; }

/* ---------- Accueil : Atlas en grand ---------- */
.ax-hero { position: relative; border-radius: 26px; overflow: hidden; min-height: 470px; display: flex; align-items: flex-end; margin: -4px 0 26px;
  border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 40px 100px -40px rgba(227, 29, 29, .55); isolation: isolate; }
.ax-hero-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; z-index: -2; }
.ax-hero-voile { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6, 7, 11, .96) 0%, rgba(6, 7, 11, .82) 38%, rgba(6, 7, 11, .15) 70%, transparent),
              linear-gradient(0deg, rgba(6, 7, 11, .9), transparent 45%); }
.ax-hero-txt { padding: 34px 36px 30px; max-width: 660px; }
.ax-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #d9dfec;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(8px); }
.ax-titre { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.02; margin: 16px 0 14px; letter-spacing: -.035em; }
.ax-titre span { background: linear-gradient(90deg, #fff, var(--signal) 55%, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ax-brief { font-size: 15.5px; line-height: 1.6; color: #dfe4ef; margin: 0 0 18px; min-height: 50px; max-width: 600px; }
.ax-shimmer { display: block; height: 13px; border-radius: 7px; margin: 6px 0 10px; width: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); background-size: 200% 100%; animation: ax-sh 1.4s infinite; }
.ax-shimmer.court { width: 62%; }
@keyframes ax-sh { to { background-position: -200% 0; } }
.ax-hero-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.ax-btn-blanc { background: #fff; color: #0b0d14; border-color: #fff; font-weight: 700; }
.ax-btn-blanc:hover { background: #fff; filter: brightness(.94); }
.ax-btn-verre { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); backdrop-filter: blur(8px); font-weight: 600; }
body.ax-parle #axEcouterBrief { background: var(--signal); border-color: var(--signal); }
.ax-demande { display: flex; gap: 8px; align-items: center; background: rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 5px 5px 5px 18px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); max-width: 620px; transition: border-color .2s, box-shadow .2s; }
.ax-demande:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 29, 29, .2); }
.ax-demande input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font-size: 15px; padding: 9px 0; }
.ax-hero .ax-chips { justify-content: flex-start; }
.ax-hero .ax-chips button { background: rgba(0, 0, 0, .35); backdrop-filter: blur(6px); }

.ax-sec { margin-bottom: 28px; }
.ax-sec-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.ax-sec-h h2 { font-family: var(--display); font-size: 17px; margin: 0; }
.ax-missions { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.ax-mission { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 12px;
  overflow: hidden; transition: transform .25s var(--ease), border-color .25s; animation: ax-entre .45s var(--ease) both; }
.ax-mission:hover { transform: translateY(-2px); border-color: var(--line-2); }
.ax-mission::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c, var(--line-2)); box-shadow: 0 0 24px var(--c, transparent); }
.ax-mission.rouge { --c: var(--red); } .ax-mission.jaune { --c: var(--signal); } .ax-mission.bleu { --c: #5b8cff; }
.ax-m-h { display: flex; gap: 11px; align-items: flex-start; }
.ax-m-h > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ax-m-h b { font-size: 14px; line-height: 1.3; }
.ax-m-h small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ax-m-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; font-weight: 800;
  background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); }
.ax-m-mt { font-weight: 800; font-size: 15px; }
.ax-m-acts { display: flex; gap: 8px; margin-top: auto; }
.ax-btn-atlas { background: linear-gradient(90deg, rgba(227, 29, 29, .22), rgba(255, 194, 26, .12)); border-color: rgba(227, 29, 29, .45); font-weight: 700; padding-left: 4px; }
.ax-btn-atlas img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.ax-btn-atlas:hover { border-color: var(--signal); }
.ax-zen { background: linear-gradient(90deg, rgba(52, 211, 153, .1), transparent); border: 1px solid rgba(52, 211, 153, .3); border-radius: 18px; padding: 18px; color: #c9f5e2; }

.ax-pouls { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ax-kpi { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; transition: transform .25s var(--ease), border-color .25s; }
.ax-kpi:hover { transform: translateY(-2px); border-color: var(--line-2); }
.ax-kpi small { color: var(--muted); font-size: 12px; font-weight: 600; }
.ax-kpi b { font-family: var(--display); font-size: 24px; letter-spacing: -.03em; }
.ax-kpi b em { font-style: normal; color: var(--faint); font-size: 15px; }
.ax-kpi span { color: var(--faint); font-size: 12px; }
.ax-kpi.chaud { border-color: rgba(227, 29, 29, .45); background: linear-gradient(180deg, rgba(227, 29, 29, .12), rgba(227, 29, 29, .02)); }
.ax-kpi.chaud b { color: #ff6b6b; }
.ax-kpi.tiede b { color: var(--signal); }

@media (max-width: 1100px) { .ax-pouls { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .ax-hero { min-height: 560px; border-radius: 20px; margin: 0 0 20px; }
  .ax-hero-v { object-position: 78% 20%; }
  .ax-hero-voile { background: linear-gradient(0deg, rgba(6, 7, 11, .98) 30%, rgba(6, 7, 11, .55) 62%, rgba(6, 7, 11, .1)); }
  .ax-hero-txt { padding: 22px 18px 20px; }
  .ax-pouls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ax-missions { grid-template-columns: 1fr; }
  .ax-dock { right: 14px; bottom: calc(74px + env(safe-area-inset-bottom)); padding: 4px; }
  .ax-dock-t { display: none; }
  .ax-panneau { top: 0; right: 0; bottom: 0; width: 100vw; border-radius: 0; border: 0; }
  .ax-p-hero { height: 30vh; }
  .ax-panneau.appel .ax-p-hero { height: 52vh; }
  .ax-saisie { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .ax-saisie input { font-size: 16px; }
  .ax-demande input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ax-hero-v { display: none; } .ax-hero { background: url(/atlas/nacelle.jpg) 70% 30% / cover; } * { animation: none !important; } }
@media print { .ax-dock, .ax-panneau { display: none !important; } }

/* Accueil sans vidéo (2026-10-16) : fond REP à la place de la vidéo d'Atlas dans sa nacelle */
.ax-hero { background: radial-gradient(70% 90% at 85% 20%, rgba(227, 29, 29, .35), transparent 60%), radial-gradient(60% 80% at 100% 100%, rgba(255, 194, 26, .12), transparent 60%), #0b0d14; }
/* Gros rond d'Atlas en bas à droite, copie du rond des ébauches de zenitech.dev (anneau néon, vidéo vivante, « en ligne ») */
.ax-dock.ax-rond { padding: 0; background: none; border: 0; box-shadow: none; flex-direction: column; gap: 8px; border-radius: 0; animation: ax-rond-in .6s cubic-bezier(.2, .8, .2, 1) .3s backwards; }
.ax-dock.ax-rond:hover { transform: translateY(-4px); }
.ax-rond-o { position: relative; width: var(--ax-rs, 150px); height: var(--ax-rs, 150px); display: block; transition: width .4s, height .4s; }
.ax-rond-ring { position: absolute; inset: -8px; border-radius: 50%; background: conic-gradient(from 0deg, #3CE1FF, #2E7FFF, #FF28D2, #FFD746, #3CE1FF); animation: ax-rond-spin 6s linear infinite; filter: saturate(1.2); }
.ax-rond-ring::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #070A12; }
.ax-rond-glow { position: absolute; inset: -24px; border-radius: 50%; background: radial-gradient(closest-side, rgba(60, 225, 255, .45), rgba(255, 40, 210, .18) 60%, transparent); animation: ax-rond-breathe 3.2s ease-in-out infinite; }
.ax-rond-ping { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(60, 225, 255, .6); animation: ax-rond-ping 2.8s cubic-bezier(0, 0, .2, 1) infinite; }
.ax-rond-o video { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 18%; background: #0A0F1A; box-shadow: 0 20px 60px rgba(0, 0, 0, .55); transform: scale(calc(1 + var(--ax-niv) * .04)); }
.ax-rond-on { position: absolute; right: 6%; bottom: 6%; width: 16px; height: 16px; border-radius: 50%; background: #34D399; border: 3px solid #070A12; box-shadow: 0 0 12px #34D399; }
.ax-rond-pill { display: flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(7, 10, 18, .88); color: #EDF2FA; border: 1px solid rgba(60, 225, 255, .45); box-shadow: 0 10px 30px rgba(0, 0, 0, .4); white-space: nowrap; font-size: 12.5px; font-weight: 600; }
.ax-rond-pill b { color: #fff; }
.ax-rond-pill i { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 8px #34D399; animation: ax-rond-blink 1.6s infinite; }
@keyframes ax-rond-in { from { opacity: 0; transform: translateY(30px) scale(.8); } }
@keyframes ax-rond-spin { to { transform: rotate(360deg); } }
@keyframes ax-rond-breathe { 0%, 100% { opacity: .65; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes ax-rond-ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.3); opacity: 0; } }
@keyframes ax-rond-blink { 50% { opacity: .35; } }
@media (max-width: 760px) { .ax-dock.ax-rond { padding: 0; } .ax-rond-o { --ax-rs: 92px; } .ax-rond-pill { font-size: 11px; padding: 4px 9px; } }
@media print { .ax-dock.ax-rond { display: none !important; } }

/* Atlas en grand à côté de « Bon matin », comme sur un site (2026-10-16) */
.ax-hero-atlas { position: absolute; right: clamp(40px, 11vw, 220px); top: 50%; transform: translateY(-50%); width: clamp(220px, 24vw, 330px); aspect-ratio: 1; border: 0; padding: 0; background: none; cursor: pointer; z-index: 1; transition: transform .3s; }
.ax-hero-atlas:hover { transform: translateY(calc(-50% - 4px)); }
.ax-hero-atlas video { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 18%; background: #0A0F1A; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transform: scale(calc(1 + var(--ax-niv) * .03)); }
.ax-ha-ring { position: absolute; inset: -10px; border-radius: 50%; background: conic-gradient(from 0deg, #3CE1FF, #2E7FFF, #FF28D2, #FFD746, #3CE1FF); animation: ax-rond-spin 6s linear infinite; filter: saturate(1.2); }
.ax-ha-ring::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #070A12; }
.ax-ha-glow { position: absolute; inset: -40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(60, 225, 255, .4), rgba(255, 40, 210, .16) 60%, transparent); animation: ax-rond-breathe 3.2s ease-in-out infinite; }
.ax-ha-tag { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; background: rgba(7, 10, 18, .9); color: #EDF2FA; border: 1px solid rgba(60, 225, 255, .45); white-space: nowrap; font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.ax-ha-tag b { color: #fff; }
.ax-ha-tag i { width: 8px; height: 8px; border-radius: 50%; background: #34D399; box-shadow: 0 0 8px #34D399; animation: ax-rond-blink 1.6s infinite; }
@media (max-width: 1100px) { .ax-hero-atlas { width: 200px; right: 24px; } }
@media (max-width: 760px) { .ax-hero { flex-direction: column; align-items: stretch; } .ax-hero-atlas { position: relative; right: auto; top: auto; transform: none; width: 170px; margin: 26px auto 0; } .ax-hero-atlas:hover { transform: translateY(-4px); } }
