/* pillar.css — shared styles for the 4 "Fonctionnalités" pillar pages.
   Builds on styles.css + features-page.css (reuses .page-hero, .feat-row, .feat-bullets). */

/* hero CTA (the features page hero has no buttons; pillar heroes do) */
.page-hero .hero-cta{display:flex;gap:12px;margin-top:32px;justify-content:center;flex-wrap:wrap}
.page-hero .badge{margin-bottom:0}

/* ---------- screenshot frame (mirrors the .mock browser-chrome look) ---------- */
.shot{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow-lg);
  overflow:hidden;transition:transform .25s ease,box-shadow .25s ease}
.feat-row-visual:hover .shot{transform:translateY(-6px)}
.shot-bar{height:34px;background:#f3f5fa;border-bottom:1px solid var(--line);
  display:flex;align-items:center;gap:7px;padding:0 13px}
.shot-bar .dot{width:9px;height:9px;border-radius:50%;background:#d3d9e6}
.shot-bar .u{margin-left:10px;font-size:11px;color:#94a3b8;font-weight:600;background:#fff;
  border:1px solid var(--line);border-radius:6px;padding:2px 12px;max-width:62%;overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap}
.shot img{width:100%;height:auto;display:block;max-height:480px;object-fit:cover;object-position:top center}

/* secondary screenshot stacked under the main one */
.shot.sub{margin-top:16px}
.shot.sub img{max-height:300px}

/* side-by-side pair (e.g. facture Avec / Sans TVA) */
.shot-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.shot-cap{display:flex;flex-direction:column;gap:9px}
.shot-cap .lbl{display:inline-flex;align-items:center;gap:6px;align-self:flex-start;
  font-size:12px;font-weight:700;padding:4px 11px;border-radius:7px;
  background:rgba(60,80,224,.1);color:var(--primary)}
.shot-cap .lbl.alt{background:#f3f5fa;color:var(--muted)}
.shot-cap .shot img{max-height:360px}

/* highlight callout used inside some text columns (e.g. the IA example) */
.pill-quote{margin-top:20px;border-left:3px solid var(--primary);background:var(--bg-alt);
  border-radius:0 12px 12px 0;padding:14px 18px}
.pill-quote .q{font-size:14.5px;color:var(--ink);font-weight:600}
.pill-quote .a{font-size:14px;color:var(--muted);margin-top:5px}
.pill-quote .a b{color:#16a34a;font-weight:800}

/* ---------- WhatsApp phone mockup (ia.html) ---------- */
.wa-phone{width:300px;max-width:100%;margin:0 auto;background:#0b141a;border-radius:34px;
  padding:11px;box-shadow:var(--shadow-lg);border:1px solid #0f1729}
.wa-screen{background:#0b141a;border-radius:24px;overflow:hidden;display:flex;flex-direction:column}
.wa-head{display:flex;align-items:center;gap:10px;background:#075e54;color:#fff;padding:14px 14px 12px}
.wa-back{font-size:18px;line-height:1;opacity:.9}
.wa-av{width:38px;height:38px;border-radius:50%;background:#25d366;color:#fff;font-weight:800;
  font-size:16px;display:grid;place-items:center;flex:none}
.wa-meta{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.wa-meta .nm{font-size:14.5px;font-weight:700}
.wa-meta .st{font-size:11px;color:rgba(255,255,255,.8)}
.wa-icons{margin-left:auto;display:flex;gap:14px;opacity:.85;font-size:15px}
.wa-body{background:#0b141a;background-image:
  radial-gradient(rgba(255,255,255,.035) 1px,transparent 1.4px);background-size:18px 18px;
  padding:16px 12px;display:flex;flex-direction:column;gap:9px;min-height:380px}
.wa-day{align-self:center;background:#1f2c33;color:#8fa3ad;font-size:10.5px;font-weight:600;
  padding:4px 11px;border-radius:8px;margin-bottom:4px}
.wa-msg{max-width:82%;padding:7px 10px 5px;border-radius:9px;font-size:12.8px;line-height:1.42;
  position:relative;box-shadow:0 1px 1px rgba(0,0,0,.15)}
.wa-msg .t{display:block;font-size:9.5px;text-align:right;margin-top:3px;opacity:.55}
.wa-msg.me{align-self:flex-end;background:#005c4b;color:#e9fce6;border-top-right-radius:2px}
.wa-msg.them{align-self:flex-start;background:#202c33;color:#e9edef;border-top-left-radius:2px}
.wa-msg.me .t::after{content:' ✓✓';color:#53bdeb}
.wa-bar{display:flex;align-items:center;gap:9px;padding:9px 12px;background:#0b141a}
.wa-input{flex:1;background:#202c33;color:#8fa3ad;border-radius:20px;padding:9px 14px;font-size:12px}
.wa-mic{width:38px;height:38px;border-radius:50%;background:#25d366;color:#fff;display:grid;place-items:center;flex:none}
.wa-mic svg{width:18px;height:18px}

@media(max-width:840px){
  .shot-pair{grid-template-columns:1fr}
}
