/* exia Agent BI : feuille commune FR + EN (charte de /exia/) */
:root{
  --bg:#FFFFFF;
  --surface:#F0F6F5;
  --surface-2:#E3F2F1;
  --accent:#0E7C76;
  --accent-soft:#E3F2F1;
  --text:#3C3C3B;
  --muted:#6F6F6D;
  --border:#E2E2E1;
  --maxw:1180px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
}
body{margin:0; background:var(--bg); color:var(--text); font-family:'Inter',sans-serif; line-height:1.6; -webkit-font-smoothing:antialiased;}
h1,h2,h3{font-family:'Space Grotesk',sans-serif; line-height:1.15; margin:0;}
.eyebrow{font-family:'Inter',sans-serif; font-size:13px; letter-spacing:.08em; text-transform:uppercase; color:var(--accent); font-weight:600; margin:0;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 28px;}
@media (max-width:560px){ .wrap{padding:0 16px;} }
a{color:inherit;}
img{max-width:100%; display:block;}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{outline:2px solid var(--accent); outline-offset:3px;}

/* ---------- BANDEAU exia (comme exia FP&A) ---------- */
.exia-bar{background:#3C3C3B; color:#FFFFFF; font-size:13px; line-height:1.4;}
.exia-bar-inner{max-width:var(--maxw); margin:0 auto; padding:8px 28px; display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;}
.exia-bar-inner span{opacity:.85;}
.exia-bar a{color:#EC6B26; font-weight:600; text-decoration:none; white-space:nowrap;}
.exia-bar a:hover{text-decoration:underline;}
@media (max-width:600px){ .exia-bar-inner{padding:8px 16px; justify-content:center;} .exia-bar-inner span{display:none;} }

/* ---------- NAV ---------- */
header.site-nav{position:sticky; top:0; z-index:50; background:rgba(255,255,255,.85); backdrop-filter:blur(10px); border-bottom:1px solid var(--border);}
.nav-inner{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 28px; max-width:var(--maxw); margin:0 auto;}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--text);}
.brand-logo{height:34px; width:auto; display:block;}
.brand-product{font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:17px; padding-left:10px; border-left:1px solid var(--border); white-space:nowrap;}
nav.links{display:flex; gap:28px;}
nav.links a{text-decoration:none; color:var(--muted); font-size:14px; font-weight:500; transition:color .15s ease;}
nav.links a:hover{color:var(--text);}
.nav-right{display:flex; align-items:center; gap:16px;}
.lang-switch{font-family:'Inter',sans-serif; font-size:13px; font-weight:600; color:var(--muted); text-decoration:none; padding:6px 4px; border-bottom:1px solid transparent;}
.lang-switch:hover{color:var(--accent); border-color:var(--accent);}
.nav-cta{background:var(--accent); color:#FFFFFF; font-weight:600; font-size:14px; padding:10px 20px; border-radius:6px; text-decoration:none; white-space:nowrap;}
@media (max-width:960px){ nav.links{display:none;} }
@media (max-width:480px){ .brand-product{display:none;} .nav-cta{padding:9px 14px;} }

/* ---------- HERO ---------- */
.hero{padding:88px 0 72px; display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;}
@media (max-width:900px){ .hero{grid-template-columns:1fr; padding:52px 0 56px; gap:40px;} }
.hero > div{min-width:0;}
.hero h1{font-size:clamp(32px,4.4vw,52px); font-weight:700; letter-spacing:-.01em; margin-top:14px;}
.hero h1 em{font-style:normal; color:var(--accent);}
.hero p.lead{font-size:18px; color:var(--muted); max-width:540px; margin:22px 0 32px;}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap;}
.btn-primary{background:var(--accent); color:#FFFFFF; font-weight:600; font-size:15px; padding:14px 26px; border-radius:7px; text-decoration:none; display:inline-block; transition:transform .15s ease;}
.btn-primary:hover{transform:translateY(-1px);}
.btn-ghost{border:1px solid var(--border); color:var(--text); font-weight:600; font-size:15px; padding:14px 26px; border-radius:7px; text-decoration:none; display:inline-block; transition:border-color .15s ease, background .15s ease;}
.btn-ghost:hover{border-color:var(--accent); background:var(--surface);}

/* hero visual: question -> dashboard */
.ask{display:flex; flex-direction:column; gap:12px; min-width:0;}
.ask-bubble{align-self:flex-end; max-width:88%; background:var(--text); color:#FFFFFF; border-radius:16px 16px 4px 16px; padding:12px 18px; font-size:15px; box-shadow:0 10px 24px -16px rgba(60,60,59,.6); opacity:0; animation:fadeUp .5s ease .1s forwards;}
.ask-bubble small{display:block; font-family:'Inter',sans-serif; font-size:11px; color:rgba(255,255,255,.65); margin-bottom:2px;}
.dash{background:var(--bg); border:1px solid var(--border); border-radius:14px; padding:18px; box-shadow:0 18px 40px -24px rgba(60,60,59,.35); min-width:0; opacity:0; animation:fadeUp .6s ease .5s forwards;}
@keyframes fadeUp{ from{opacity:0; transform:translateY(10px);} to{opacity:1; transform:none;} }
.dash-head{display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-bottom:12px;}
.dash-title{display:flex; align-items:center; gap:10px; font-weight:600; font-size:14px;}
.titlebar{display:inline-flex; gap:5px;}
.titlebar span{width:8px; height:8px; border-radius:50%; background:var(--border);}
.chip{font-size:11px; color:var(--muted); background:var(--surface); border:1px solid var(--border); border-radius:999px; padding:3px 9px; white-space:nowrap;}
.insight{background:var(--accent-soft); border-left:3px solid var(--accent); border-radius:6px; padding:8px 12px; font-size:12px; margin-bottom:10px;}
.insight strong{color:var(--accent);}
.kpis{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px;}
.kpi{background:var(--surface); border:1px solid var(--border); border-radius:8px; padding:9px 10px; display:flex; flex-direction:column; gap:3px; min-width:0;}
.kpi-label{font-size:10.5px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.kpi-value{font-family:'Space Grotesk',sans-serif; font-size:18px; font-weight:700;}
.dash-row{display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:8px;}
.panel{border:1px solid var(--border); border-radius:8px; padding:10px; min-width:0;}
.panel-head{font-size:11px; font-weight:600; margin-bottom:8px;}
.hbars{display:flex; flex-direction:column; gap:9px;}
.hbar-row{display:grid; grid-template-columns:70px 1fr 34px; align-items:center; gap:6px; font-size:10.5px;}
.hbar-name{color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.hbar-track{background:var(--surface); border-radius:3px; height:11px; overflow:hidden;}
.hbar{display:block; height:100%; border-radius:3px; background:var(--accent); transform:scaleX(0); transform-origin:left; animation:growBar .6s ease forwards;}
@keyframes growBar{ to{transform:scaleX(1);} }
.hbar-val{font-family:'Inter',sans-serif; font-size:10px; text-align:right;}
.pareto{width:100%; height:auto; display:block;}
.pareto .bar{fill:var(--accent); opacity:.85;}
.pareto .line{fill:none; stroke:var(--text); stroke-width:1.6;}
.pareto .ref{stroke:var(--muted); stroke-dasharray:3 3; stroke-width:1;}
.pareto text{font-family:'Inter',sans-serif; font-size:8px; fill:var(--muted);}
.visual-caption{margin:12px 0 0; font-family:'Inter',sans-serif; font-size:12px; color:var(--muted);}
@media (max-width:560px){ .kpis{grid-template-columns:repeat(2,minmax(0,1fr));} .dash-row{grid-template-columns:1fr;} }

/* ---------- SECTIONS ---------- */
section{padding:88px 0;}
section.alt{background:var(--surface);}
@media (max-width:760px){ section{padding:64px 0;} }
.section-head{max-width:680px; margin:0 0 48px;}
.section-head h2{font-size:clamp(26px,3.2vw,36px); margin-top:10px;}
.section-head p{color:var(--muted); font-size:16px; margin:14px 0 0;}

/* how it works */
.workflow{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
@media (max-width:760px){ .workflow{grid-template-columns:1fr; gap:18px;} }
.wf-item{position:relative; background:#FFFFFF; border:1px solid var(--border); border-radius:16px; padding:30px 28px 32px; box-shadow:0 1px 3px rgba(20,20,20,.05); transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;}
.wf-item::before{content:''; position:absolute; left:0; right:0; top:0; height:4px; border-radius:16px 16px 0 0; background:var(--accent); transform:scaleX(.18); transform-origin:left; transition:transform .3s ease;}
.wf-item:hover{transform:translateY(-4px); border-color:rgba(14,124,118,.45); box-shadow:0 14px 30px -12px rgba(60,60,59,.25);}
.wf-item:hover::before{transform:scaleX(1);}
.wf-item:not(:last-child)::after{content:'→'; position:absolute; top:50%; right:-28px; width:28px; text-align:center; transform:translateY(-50%); color:var(--accent); font-size:20px; font-weight:700;}
@media (max-width:760px){ .wf-item:not(:last-child)::after{display:none;} }
.wf-top{display:flex; align-items:center; justify-content:space-between; margin-bottom:18px;}
.icon{width:52px; height:52px; border-radius:50%; background:var(--accent-soft); display:flex; align-items:center; justify-content:center; flex:none;}
.icon svg{width:24px; height:24px; stroke:var(--accent); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.wf-num{font-family:'Space Grotesk',sans-serif; font-size:44px; font-weight:700; line-height:1; color:rgba(14,124,118,.22);}
.wf-item h3{font-size:21px; margin:0 0 10px;}
.wf-item p{color:var(--muted); font-size:14.5px; margin:0;}

/* showcase */
.shots{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; align-items:start;}
.shots figure.shot{padding:10px;}
.shots .shot-pic{height:170px; object-fit:contain; object-position:center; background:#FFFFFF;}
.shots figure.shot figcaption{font-size:15px; margin-top:10px;}
@media (max-width:860px){ .shots{grid-template-columns:1fr; max-width:520px; margin:0 auto;} .shots .shot-pic{height:auto;} }
figure.shot{margin:0; background:#FFFFFF; border:1px solid var(--border); border-radius:14px; padding:14px; box-shadow:0 1px 3px rgba(20,20,20,.05); display:flex; flex-direction:column;}
.shot-img{flex:1; min-height:180px; border-radius:9px; border:1px dashed #C9C9C7; background:linear-gradient(135deg, var(--surface-2), var(--surface)); display:flex; align-items:center; justify-content:center; text-align:center; padding:16px; font-family:'Inter',sans-serif; font-size:12px; color:var(--muted);}
.shot-img img{width:100%; height:auto; border-radius:8px;}
a.shot-link{display:block; border-radius:9px; overflow:hidden; border:1px solid var(--border); transition:border-color .15s ease;}
a.shot-link:hover{border-color:var(--accent);}
.shot-pic{width:100%; height:auto; display:block;}
figure.shot figcaption{font-size:18px; line-height:1.5; color:var(--accent); font-weight:500; margin-top:16px;}
.subhead{font-size:20px; margin:56px 0 18px;}
.examples{display:grid; grid-template-columns:repeat(2,1fr); gap:22px;}
@media (max-width:900px){ .examples{grid-template-columns:1fr;} }
.example{background:#FFFFFF; border:1px solid var(--border); border-top:3px solid var(--accent); border-radius:14px; padding:24px;}
.example q{display:block; font-family:'Space Grotesk',sans-serif; font-size:17px; font-weight:600; line-height:1.4; quotes:'« ' ' »' '“' '”';}
.example p{color:var(--muted); font-size:14px; margin:12px 0 0;}

/* « D'autres phrases » : question tapée en direct */
.typer{max-width:880px; margin:0 auto;}
.no-js .typer{display:none;}
html:not(.no-js) .examples-static{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap;}
.typer-box{display:flex; align-items:center; gap:16px; background:#FFFFFF; border:1.5px solid var(--border); border-radius:18px; padding:22px 24px; min-height:122px; box-shadow:0 18px 40px -26px rgba(60,60,59,.4); transition:border-color .2s ease, box-shadow .2s ease;}
.typer-box.is-typing{border-color:rgba(14,124,118,.55); box-shadow:0 0 0 4px rgba(14,124,118,.10), 0 18px 40px -26px rgba(60,60,59,.4);}
.typer-icon{width:46px; height:46px; border-radius:50%; background:var(--accent-soft); display:flex; align-items:center; justify-content:center; flex:none;}
.typer-icon svg{width:22px; height:22px; stroke:var(--accent); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.typer-line{flex:1; min-width:0; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:clamp(20px,2.6vw,30px); line-height:1.3; color:var(--text); min-height:2.6em; display:flex; align-items:center; flex-wrap:wrap;}
.typer-text{white-space:pre-wrap;}
.typer-caret{display:inline-block; width:3px; height:1.05em; margin-left:3px; background:var(--accent); border-radius:2px; animation:caretBlink 1s steps(1) infinite;}
.typer-box.is-typing .typer-caret{animation:none;}
@keyframes caretBlink{ 50%{opacity:0;} }
.typer-send{width:46px; height:46px; border-radius:12px; flex:none; display:flex; align-items:center; justify-content:center; font-size:20px; font-weight:700; background:var(--surface-2); color:var(--muted); transition:background .2s ease, color .2s ease, transform .2s ease;}
.typer-box.is-sent .typer-send{background:var(--accent); color:#FFFFFF; transform:scale(1.08);}
.typer-result{display:flex; align-items:baseline; justify-content:center; gap:10px; flex-wrap:wrap; text-align:center; margin:22px 0 0; min-height:2em; font-size:17px; color:var(--text); opacity:0; transform:translateY(8px); transition:opacity .45s ease, transform .45s ease;}
.typer-result.is-visible{opacity:1; transform:none;}
.typer-result-label{font-family:'Inter',sans-serif; font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:#FFFFFF; background:var(--accent); border-radius:999px; padding:3px 10px;}
.typer-dots{display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin-top:22px;}
.typer-dot{font-family:'Inter',sans-serif; font-size:12px; font-weight:600; color:var(--muted); background:var(--bg); border:1px solid var(--border); border-radius:999px; padding:6px 14px; cursor:pointer; transition:color .15s ease, border-color .15s ease, background .15s ease;}
.typer-dot:hover{border-color:var(--accent); color:var(--text);}
.typer-dot.is-active{background:var(--accent); border-color:var(--accent); color:#FFFFFF;}
@media (max-width:560px){ .typer-box{padding:16px; gap:12px; min-height:110px;} .typer-icon{display:none;} .typer-send{width:40px; height:40px;} }

/* capabilities */
.feature-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
@media (max-width:900px){ .feature-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:600px){ .feature-grid{grid-template-columns:1fr;} }
/* Cartes qui tournent : recto icône + titre, verso sous-texte ; couleurs officielles en alternance (sarcelle, gris) */
.feature-card.flip{--face:#0E7C76; --back:#3C3C3B; perspective:1000px; border-radius:12px; cursor:pointer; outline:none;}
.feature-card.flip:nth-child(even){--face:#3C3C3B; --back:#0E7C76;}
.flip-inner{display:grid; min-height:190px; transition:transform .6s cubic-bezier(.2,.7,.2,1); transform-style:preserve-3d;}
.flip-face{grid-area:1/1; border-radius:12px; padding:28px 26px; display:flex; flex-direction:column; justify-content:center; backface-visibility:hidden; -webkit-backface-visibility:hidden; color:#FFFFFF; box-shadow:0 14px 30px -20px rgba(20,20,20,.55);}
.flip-front{background:var(--face); align-items:flex-start;}
.flip-back{background:var(--face); transform:rotateY(180deg);} /* même couleur que le recto */
.feature-card .icon{width:48px; height:48px; margin-bottom:18px; background:rgba(255,255,255,.16);}
.feature-card .icon svg{width:22px; height:22px; stroke:#FFFFFF;}
.feature-card h3{font-size:19px; color:#FFFFFF; margin:0;}
.feature-card p{color:#FFFFFF; font-size:18px; line-height:1.5; font-weight:500; margin:0;}
@media (hover:hover){ .feature-card.flip:hover .flip-inner{transform:rotateY(180deg);} }
.feature-card.flip.is-flipped .flip-inner{transform:rotateY(180deg);}
.feature-card.flip:focus-visible .flip-face{box-shadow:0 0 0 3px #FFFFFF, 0 0 0 5px var(--accent);}

/* comparison : colonnes séparées */
.compare{width:calc(100% + 32px); margin:0 -16px; border-collapse:separate; border-spacing:16px 0; font-size:14.5px;}
.compare th, .compare td{padding:20px 22px; vertical-align:top; text-align:left; border-bottom:1px solid var(--border); border-left:1px solid var(--border); border-right:1px solid var(--border); background:#FFFFFF;}
.compare thead th{font-family:'Inter',sans-serif; font-size:14px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); background:var(--surface); font-weight:600; border-top:1px solid var(--border); border-radius:14px 14px 0 0;}
.compare thead th.us{background:var(--text); color:#FFFFFF; border-color:var(--text);}
.compare thead th:first-child{background:var(--accent); color:#FFFFFF; border-color:var(--accent);}
.compare tbody tr:last-child > *{border-radius:0 0 14px 14px;}
.compare tbody th{font-family:'Space Grotesk',sans-serif; font-size:16px; width:20%; background:var(--surface);}
.compare .kw{display:flex; align-items:center; gap:12px;}
.compare .kw-icon{width:38px; height:38px; border-radius:50%; background:var(--accent-soft); display:flex; align-items:center; justify-content:center; flex:none;}
.compare .kw-icon svg{width:19px; height:19px; stroke:var(--accent); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.compare td{color:var(--muted); width:40%;}
.compare td.us{color:var(--text); background:#E3F2F1; border-left:1px solid rgba(14,124,118,.35); border-right:1px solid rgba(14,124,118,.35); border-bottom-color:rgba(14,124,118,.18);}
.compare tbody tr:last-child td.us{border-bottom-color:rgba(14,124,118,.35);}
.compare .lbl{display:none;}
@media (max-width:760px){
  .compare{width:100%; margin:0; border-spacing:0;}
  .compare, .compare tbody, .compare tr, .compare th, .compare td{display:block; width:100%;}
  .compare thead{display:none;}
  .compare tr{margin-bottom:16px; border:1px solid var(--border); border-radius:14px; overflow:hidden; background:#FFFFFF;}
  .compare tbody th, .compare td, .compare td.us, .compare tbody tr:last-child > *{border:none; border-radius:0;}
  .compare tbody th{padding:16px 18px;}
  .compare td{padding:12px 18px 14px; border-top:1px solid var(--border);}
  .compare td.us{border-top:1px solid rgba(14,124,118,.25);}
  .compare .lbl{display:block; font-family:'Inter',sans-serif; font-size:11px; text-transform:uppercase; letter-spacing:.05em; margin-bottom:4px; color:var(--muted);}
  .compare td.us .lbl{color:var(--accent);}
}
.trust{display:flex; justify-content:center; gap:14px 32px; flex-wrap:wrap; margin:32px 0 0; padding:0; list-style:none;}
.trust li{display:flex; align-items:center; gap:8px; font-size:14px; font-weight:500;}
.trust li::before{content:''; width:14px; height:14px; flex:none; background:url(bullet-sarcelle.svg) center/contain no-repeat;}

/* about */
.about{display:grid; grid-template-columns:auto 1fr; gap:32px; align-items:center; background:#FFFFFF; border:1px solid var(--border); border-radius:16px; padding:32px 36px;}
.about img{height:44px; width:auto;}
.about p{margin:8px 0 0; color:var(--muted);}
@media (max-width:640px){ .about{grid-template-columns:1fr; padding:26px 22px;} }

/* contact */
.contact-form{display:flex; flex-direction:column; gap:14px; text-align:left;}
.contact-form label{font-size:13px; color:var(--muted);}
.contact-form input[type=email], .contact-form input[type=text], .contact-form textarea{width:100%; margin-top:6px; padding:12px 14px; border-radius:7px; border:1px solid var(--border); background:var(--bg); color:var(--text); font-family:inherit; font-size:15px;}
.contact-form textarea{resize:vertical;}
.contact-form .consent{display:flex; gap:10px; align-items:flex-start; line-height:1.5;}
.contact-form .consent input{margin-top:3px; flex:none; accent-color:var(--accent);}
.contact-form .consent a{color:var(--accent);}
.contact-form .hp{position:absolute; left:-9999px; width:1px; height:1px; opacity:0;}
.contact-form button{border:none; cursor:pointer; margin-top:6px; font-family:inherit;}
.contact-status{font-size:13px; margin:0; min-height:18px; text-align:center;}
.contact-status.success{font-size:1.15rem; font-weight:600; line-height:1.45; color:var(--accent);}

/* ---------- FOOTER ---------- */
footer{border-top:1px solid var(--border); padding:56px 0 32px;}
.footer-grid{display:grid; grid-template-columns:2fr repeat(2,1fr); gap:40px; margin-bottom:44px;}
@media (max-width:760px){ .footer-grid{grid-template-columns:repeat(2,1fr);} .footer-grid > div:first-child{grid-column:1/-1;} }
.footer-col h4{font-family:'Inter',sans-serif; font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin:0 0 14px;}
.footer-contact{font-style:normal; margin-top:18px; display:flex; flex-direction:column; gap:6px; font-size:14px; color:var(--muted);}
.footer-contact a{color:var(--muted); text-decoration:none; display:inline-flex; align-items:center; gap:8px;}
.footer-contact a:hover{color:var(--accent);}
.footer-contact svg{width:15px; height:15px; flex:none; stroke:var(--accent); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.footer-col ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px;}
.footer-col a{color:var(--muted); text-decoration:none; font-size:14px;}
.footer-col a:hover{color:var(--accent);}
.footer-bottom{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; border-top:1px solid var(--border); padding-top:24px; color:var(--muted); font-size:13px;}
.footer-bottom a{color:inherit;}
.footer-bottom .acc{color:var(--accent); text-decoration:none;}

/* reveal-on-scroll */
.reveal{opacity:0; transform:translateY(16px); transition:opacity .5s ease, transform .5s ease;}
.reveal.in{opacity:1; transform:none;}
.no-js .reveal{opacity:1; transform:none;}

/* justified body copy */
.hero p.lead, .section-head p, .wf-item p, .feature-card p, .example p, figure.shot figcaption, .compare td, .about p, #contact .intro, .footer-grid p{text-align:justify; hyphens:auto; -webkit-hyphens:auto;}

/* Écran d'ordinateur : la question se pose dans le chat, puis le tableau de bord défile par sections (monitor.js) */
.monitor{max-width:920px; margin:8px auto 56px;}
.monitor-screen{position:relative; aspect-ratio:16/10; overflow:hidden; background:#FFFFFF; border:14px solid #2B2B2A; border-bottom-width:30px; border-radius:16px; box-shadow:0 30px 60px -30px rgba(20,20,20,.45); container-type:inline-size;}
.monitor-dash{position:absolute; inset:0; overflow:hidden; transition:opacity .6s ease;}
.monitor-dash img{display:block; width:100%; height:auto; will-change:transform;}
.monitor-neck{width:16%; height:46px; margin:0 auto; background:linear-gradient(#3A3A39,#4A4A49); clip-path:polygon(18% 0, 82% 0, 100% 100%, 0 100%);}
.monitor-base{width:34%; height:10px; margin:0 auto; background:#4A4A49; border-radius:6px 6px 3px 3px;}

.monitor-chat{position:absolute; inset:0; display:none; flex-direction:column; background:var(--surface); font-size:clamp(11px, 2.3cqi, 19px); transition:opacity .6s ease;}
.monitor.is-live .monitor-chat{display:flex;}
.monitor.is-live.show-dash .monitor-chat{opacity:0; pointer-events:none;}
.monitor.is-live:not(.show-dash) .monitor-dash{opacity:0;}
.mc-bar{display:flex; align-items:center; gap:.8em; padding:.7em 1em; background:#FFFFFF; border-bottom:1px solid var(--border); font-family:'Space Grotesk',sans-serif; font-weight:700; color:var(--text);}
.mc-dots{display:inline-flex; gap:.35em;}
.mc-dots i{width:.6em; height:.6em; border-radius:50%; background:var(--border);}
.mc-body{flex:1; display:flex; flex-direction:column; justify-content:flex-end; gap:.8em; padding:1.2em 1.4em; overflow:hidden;}
.mc-msg{max-width:78%; padding:.75em 1.05em; border-radius:1.1em; line-height:1.4; box-shadow:0 8px 20px -16px rgba(60,60,59,.6);}
.mc-bot{align-self:flex-start; background:#FFFFFF; border:1px solid var(--border); border-bottom-left-radius:.3em; color:var(--text);}
.mc-user{align-self:flex-end; background:var(--accent); color:#FFFFFF; border-bottom-right-radius:.3em; font-weight:500;}
.mc-user, .mc-thinking{display:none;}
.mc-msg.is-in{display:block; animation:fadeUp .4s ease both;}
.mc-thinking.is-in{display:inline-flex; align-items:center; gap:.5em; color:var(--muted);}
.mc-ellipsis{display:inline-flex; gap:.25em;}
.mc-ellipsis i{width:.42em; height:.42em; border-radius:50%; background:var(--accent); animation:mcDot 1s ease-in-out infinite;}
.mc-ellipsis i:nth-child(2){animation-delay:.15s;} .mc-ellipsis i:nth-child(3){animation-delay:.3s;}
@keyframes mcDot{0%,80%,100%{opacity:.25; transform:translateY(0);} 40%{opacity:1; transform:translateY(-.2em);}}
.mc-input{display:flex; align-items:center; gap:.8em; margin:0 1.4em 1.2em; padding:.6em .6em .6em 1.1em; background:#FFFFFF; border:1.5px solid var(--border); border-radius:1em; transition:border-color .2s ease, box-shadow .2s ease;}
.mc-input.is-typing{border-color:rgba(14,124,118,.55); box-shadow:0 0 0 .25em rgba(14,124,118,.10);}
.mc-field{flex:1; min-width:0; display:flex; align-items:center; color:var(--text); white-space:nowrap; overflow:hidden;}
.mc-caret{display:inline-block; width:2px; height:1.1em; margin-left:2px; background:var(--accent); animation:caretBlink 1s steps(1) infinite;}
.mc-ph{color:var(--muted); margin-left:.2em;}
.mc-input.has-text .mc-ph{display:none;}
.mc-send{width:2.2em; height:2.2em; flex:none; display:flex; align-items:center; justify-content:center; border-radius:.6em; font-weight:700; background:var(--surface-2); color:var(--muted); transition:background .2s ease, color .2s ease, transform .2s ease;}
.mc-input.has-text .mc-send{background:var(--accent); color:#FFFFFF;}
.mc-input.is-sent .mc-send{transform:scale(1.12);}
@media (max-width:600px){ .monitor-screen{border-width:8px; border-bottom-width:18px; border-radius:10px;} .monitor-neck{height:28px;} }
@media (prefers-reduced-motion: reduce){ .monitor-dash{overflow-y:auto;} }

/* Encart de connexion : lien « Connexion » du menu, ouvre une fenêtre ; les boutons mènent à l'écran de connexion de l'application */
.nav-login{display:inline-flex; align-items:center; gap:7px; color:var(--text); font-size:14px; font-weight:600; text-decoration:none; padding:9px 14px; border:1px solid var(--border); border-radius:6px; white-space:nowrap; transition:border-color .15s ease, color .15s ease;}
.nav-login svg{width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.nav-login:hover{border-color:var(--accent); color:var(--accent);}
@media (max-width:560px){ .nav-login span{display:none;} .nav-login{padding:9px 10px;} .nav-right{gap:10px;} }
.login-dialog{border:none; padding:0; background:transparent; max-width:calc(100vw - 32px); width:380px;}
.login-dialog::backdrop{background:rgba(30,30,29,.55); backdrop-filter:blur(2px);}
.login-dialog[open] .login-card{animation:fadeUp .3s ease;}
.login-card{position:relative; background:#FFFFFF; border:1px solid var(--border); border-radius:16px; padding:34px 32px 26px; box-shadow:0 30px 60px -30px rgba(20,20,20,.5);}
.login-card h2{font-size:26px; margin:0 0 14px; color:#1F1F1E;}
.login-text{color:var(--muted); font-size:14.5px; line-height:1.55; margin:0 0 22px;}
.login-primary{display:block; text-align:center; background:var(--text); color:#FFFFFF; font-weight:600; font-size:16px; padding:13px 18px; border-radius:8px; text-decoration:none; transition:background .15s ease;}
.login-primary:hover{background:#2B2B2A;}
.login-or{display:flex; align-items:center; gap:14px; margin:20px 0; color:var(--muted); font-size:13px;}
.login-or::before, .login-or::after{content:""; flex:1; height:1px; background:var(--border);}
.login-ms{display:flex; align-items:center; justify-content:center; gap:12px; border:1px solid #CFCFCD; border-radius:8px; padding:12px 18px; color:#1F1F1E; font-size:16px; font-weight:500; text-decoration:none; transition:border-color .15s ease, background .15s ease;}
.login-ms:hover{border-color:var(--accent); background:var(--surface);}
.ms-logo{width:20px; height:20px; flex:none;}
.login-note{color:var(--muted); font-size:12.5px; margin:18px 0 0; text-align:center;}
.login-close{position:absolute; top:12px; right:12px; width:34px; height:34px; border:none; background:transparent; color:var(--muted); font-size:24px; line-height:1; border-radius:50%; cursor:pointer;}
.login-close:hover{background:var(--surface); color:var(--text);}

/* capture du suivi des indicateurs, réduite et centrée */
figure.shot.shot-kpi{max-width:640px; margin:0 auto; padding:10px;}
figure.shot.shot-kpi figcaption{font-size:15px; margin-top:10px;}

/* les 3 captures réduites grossissent temporairement au survol (souris seulement) */
@media (hover:hover) and (pointer:fine){
  .shots figure.shot{position:relative; z-index:1; transition:transform .3s ease, box-shadow .3s ease; transition-delay:0s;}
  .shots figure.shot:nth-child(1){transform-origin:left center;}
  .shots figure.shot:nth-child(2){transform-origin:center center;}
  .shots figure.shot:nth-child(3){transform-origin:right center;}
  .shots figure.shot:hover{transform:scale(1.9); z-index:5; box-shadow:0 30px 60px -20px rgba(60,60,59,.45); transition-delay:.12s;}
  .shots a.shot-link{cursor:zoom-in;}
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion: reduce){
  .shots figure.shot{transition:none;}
}
