/* =====================================================================
   CœurInfoTech — site vitrine et espace client
   Palette issue du logo : cyan #00a3e0 → bleu profond #0d47a1, marine #0b1f3a
   ===================================================================== */
:root {
  --s-navy: #0b1f3a;
  --s-navy-2: #10294d;
  --s-blue: #0d47a1;
  --s-blue-2: #1565c0;
  --s-cyan: #00a3e0;
  --s-ink: #0f1d33;
  --s-text: #42526b;
  --s-muted: #6b7a90;
  --s-line: #e4eaf3;
  --s-bg: #ffffff;
  --s-soft: #f4f7fc;
  --s-soft-2: #eaf2fd;
  --s-success: #12805c;
  --s-radius: 18px;
  --s-radius-sm: 12px;
  --s-shadow: 0 1px 2px rgba(15, 29, 51, .04), 0 8px 24px rgba(15, 29, 51, .06);
  --s-shadow-lg: 0 2px 4px rgba(15, 29, 51, .04), 0 24px 48px rgba(13, 71, 161, .12);
  --s-grad: linear-gradient(135deg, var(--s-cyan) 0%, var(--s-blue) 100%);
  --s-head: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bs-primary: #0d47a1;
  --bs-primary-rgb: 13, 71, 161;
  --bs-link-color: #0d47a1;
  --bs-link-color-rgb: 13, 71, 161;
  --bs-link-hover-color: #00a3e0;
}

body.site { color: var(--s-text); background: var(--s-bg); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.site h1, .site h2, .site h3, .site h4, .site h5 { font-family: var(--s-head); color: var(--s-ink); letter-spacing: -.02em; }
.site a { text-decoration: none; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }
:focus-visible { outline: 3px solid rgba(0, 163, 224, .55); outline-offset: 2px; }

/* ---------- Boutons ---------- */
.btn-site-primary, .btn-site-ghost, .btn-site-light, .btn-site-outline {
  font-weight: 600; border-radius: 999px; padding: .62rem 1.3rem; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-site-primary { background: var(--s-grad); color: #fff; border: 0; box-shadow: 0 6px 18px rgba(13, 71, 161, .25); }
.btn-site-primary:hover, .btn-site-primary:focus { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(13, 71, 161, .32); }
.btn-site-ghost { color: var(--s-ink); background: transparent; border: 1px solid var(--s-line); }
.btn-site-ghost:hover { border-color: var(--s-blue); color: var(--s-blue); }
.btn-site-light { background: #fff; color: var(--s-blue); border: 0; }
.btn-site-light:hover { color: var(--s-navy); transform: translateY(-1px); }
.btn-site-outline { color: #fff; border: 1px solid rgba(255, 255, 255, .45); background: transparent; }
.btn-site-outline:hover { color: #fff; background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-lg-site { padding: .85rem 1.7rem; font-size: 1.02rem; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--s-line); box-shadow: 0 6px 24px rgba(15, 29, 51, .06); }
.site-header .navbar { padding: .85rem 0; }
.site-brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--s-head); font-weight: 800; font-size: 1.18rem; color: var(--s-ink); }
.site-brand img { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; }
.site-brand-mark { width: 40px; height: 40px; border-radius: 11px; background: var(--s-grad); color: #fff; display: grid; place-items: center; }
.site-brand-light { color: #fff; }
.site-header .nav-link { color: var(--s-text); font-weight: 500; padding: .5rem .95rem !important; border-radius: 999px; }
.site-header .nav-link:hover { color: var(--s-blue); }
.site-header .nav-link.active { color: var(--s-blue); background: var(--s-soft-2); }
.navbar-toggler { border: 0; font-size: 1.6rem; color: var(--s-ink); padding: .25rem .5rem; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) {
  .site-header .navbar-collapse { padding: 1rem 0 .5rem; }
  .site-nav-cta { flex-direction: column; align-items: stretch !important; margin-top: .75rem; }
}
.site-flash { padding-top: 1rem; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-soft { background: var(--s-soft); }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--s-blue); margin-bottom: .9rem; }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--s-grad); border-radius: 2px; }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.55rem); font-weight: 800; line-height: 1.18; margin-bottom: 1rem; }
.section-lead { font-size: 1.08rem; color: var(--s-muted); max-width: 640px; }
.section-head { margin-bottom: 3.2rem; }
.section-head.text-center .section-lead { margin-inline: auto; }

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 104px; background:
  radial-gradient(900px 520px at 88% 8%, rgba(0, 163, 224, .16), transparent 60%),
  radial-gradient(700px 480px at 0% 100%, rgba(13, 71, 161, .10), transparent 60%), var(--s-bg); }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(13, 71, 161, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 71, 161, .05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%); }
.hero .container { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .95rem .4rem .45rem; border-radius: 999px; background: #fff; border: 1px solid var(--s-line); box-shadow: var(--s-shadow); font-size: .86rem; font-weight: 600; color: var(--s-ink); margin-bottom: 1.5rem; }
.hero-badge i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--s-grad); color: #fff; font-size: .8rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; margin-bottom: 1.3rem; }
.hero h1 .grad { background: var(--s-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.15rem; color: var(--s-muted); max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: .9rem; color: var(--s-muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust i { color: var(--s-success); }

/* Visuel du héros : tableau de bord stylisé */
.hero-visual { position: relative; max-width: 520px; margin-left: auto; }
.hv-card { background: #fff; border: 1px solid var(--s-line); border-radius: 22px; box-shadow: var(--s-shadow-lg); padding: 1.4rem; }
.hv-main { position: relative; z-index: 2; }
.hv-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.hv-dots { display: flex; gap: 6px; }
.hv-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--s-line); }
.hv-dots span:first-child { background: #ff6b6b; } .hv-dots span:nth-child(2) { background: #ffc94d; } .hv-dots span:nth-child(3) { background: #3ccf91; }
.hv-pill { font-size: .75rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; background: #e7f7f0; color: var(--s-success); }
.hv-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin-bottom: 1.1rem; }
.hv-metric { background: var(--s-soft); border-radius: 12px; padding: .75rem; }
.hv-metric small { display: block; font-size: .7rem; color: var(--s-muted); text-transform: uppercase; letter-spacing: .05em; }
.hv-metric strong { font-family: var(--s-head); font-size: 1.1rem; color: var(--s-ink); }
.hv-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: .6rem .4rem 0; border-radius: 12px; background: linear-gradient(180deg, transparent, var(--s-soft)); }
.hv-bars span { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--s-grad); opacity: .9; transform-origin: bottom; animation: grow 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.hv-bars span:nth-child(even) { opacity: .55; }
@keyframes grow { from { transform: scaleY(.1); } to { transform: scaleY(1); } }
.hv-float { position: absolute; z-index: 3; background: #fff; border: 1px solid var(--s-line); border-radius: 16px; box-shadow: var(--s-shadow-lg); padding: .8rem 1rem; display: flex; align-items: center; gap: .7rem; font-size: .85rem; animation: float 6s ease-in-out infinite; }
.hv-float strong { display: block; color: var(--s-ink); font-size: .9rem; }
.hv-float .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }
.hv-float-1 { left: -42px; bottom: 34px; }
.hv-float-2 { right: -26px; top: -22px; animation-delay: -3s; }
.ic-green { background: #e7f7f0; color: var(--s-success); }
.ic-blue { background: var(--s-soft-2); color: var(--s-blue); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 991.98px) { .hero-visual { margin: 3.5rem auto 0; } .hv-float-1 { left: -8px; } .hv-float-2 { right: -8px; } }
@media (max-width: 575.98px) { .hv-float { display: none; } .hero { padding: 56px 0 72px; } .section { padding: 72px 0; } }

/* ---------- Bandeau chiffres ---------- */
.stats-band { margin-top: -48px; position: relative; z-index: 2; }
.stats-card { background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); box-shadow: var(--s-shadow); padding: 1.8rem 1rem; }
.stat { text-align: center; padding: .4rem 1rem; }
.stat + .stat { border-left: 1px solid var(--s-line); }
.stat strong { display: block; font-family: var(--s-head); font-weight: 800; font-size: 2rem; background: var(--s-grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.2; }
.stat span { font-size: .9rem; color: var(--s-muted); }
@media (max-width: 767.98px) { .stat + .stat { border-left: 0; } }

/* ---------- Cartes de services ---------- */
.service-card { position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 1.9rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; color: var(--s-text); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--s-shadow-lg); border-color: transparent; color: var(--s-text); }
.service-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: var(--s-blue); background: var(--s-soft-2); margin-bottom: 1.3rem; transition: background .2s, color .2s; }
.service-card:hover .service-icon { background: var(--s-grad); color: #fff; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .55rem; }
.service-card p { color: var(--s-muted); margin-bottom: 1.2rem; }
.service-link { margin-top: auto; font-weight: 600; color: var(--s-blue); display: inline-flex; align-items: center; gap: .35rem; }
.service-link i { transition: transform .2s; }
.service-card:hover .service-link i { transform: translateX(4px); }

/* ---------- Atouts / étapes ---------- */
.feature { display: flex; gap: 1rem; }
.feature-ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 13px; display: grid; place-items: center; background: var(--s-grad); color: #fff; font-size: 1.15rem; box-shadow: 0 8px 18px rgba(13, 71, 161, .2); }
.feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .25rem; }
.feature p { color: var(--s-muted); margin: 0; font-size: .95rem; }
.about-visual { position: relative; border-radius: 24px; padding: 2.4rem; background: linear-gradient(160deg, var(--s-navy) 0%, var(--s-blue) 100%); color: #d8e6ff; overflow: hidden; }
.about-visual::before { content: ''; position: absolute; width: 340px; height: 340px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 163, 224, .5), transparent 70%); }
.about-visual > * { position: relative; }
.about-visual h3 { color: #fff; font-size: 1.4rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: .65rem; padding: .4rem 0; }
.check-list i { color: var(--s-cyan); margin-top: .15rem; }
.about-visual .check-list i { color: #7fd8ff; }
.steps { counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 1.7rem; height: 100%; }
.step-num { font-family: var(--s-head); font-weight: 800; font-size: .85rem; color: var(--s-blue); background: var(--s-soft-2); border-radius: 999px; padding: .25rem .75rem; display: inline-block; margin-bottom: 1rem; }
.step h3 { font-size: 1.08rem; font-weight: 700; }
.step p { color: var(--s-muted); margin: 0; font-size: .95rem; }

/* ---------- Tarifs ---------- */
.price-card { position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--s-line); border-radius: 22px; padding: 2rem; transition: transform .2s, box-shadow .2s; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--s-shadow-lg); }
.price-card.featured { background: linear-gradient(170deg, var(--s-navy) 0%, #0d3577 100%); border: 0; color: #c9d8f0; box-shadow: var(--s-shadow-lg); }
.price-card.featured h3, .price-card.featured .price strong { color: #fff; }
.price-ribbon { position: absolute; top: 1.4rem; right: 1.4rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .3rem .7rem; border-radius: 999px; background: var(--s-grad); color: #fff; }
.price-type { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--s-cyan); }
.price-card h3 { font-size: 1.3rem; font-weight: 800; margin: .35rem 0 .4rem; }
.price-card .accroche { font-size: .93rem; color: var(--s-muted); min-height: 2.8em; }
.price-card.featured .accroche { color: #a9bddc; }
.price { margin: 1.1rem 0 1.4rem; display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; }
.price strong { font-family: var(--s-head); font-size: 2.5rem; font-weight: 800; color: var(--s-ink); letter-spacing: -.03em; line-height: 1; }
.price span { font-size: .95rem; color: var(--s-muted); }
.price-card.featured .price span { color: #a9bddc; }
.price-card .check-list { margin-bottom: 1.8rem; font-size: .95rem; }
.price-card .btn { margin-top: auto; }
.price-card.featured .check-list i { color: #7fd8ff; }

/* ---------- Témoignages ---------- */
.quote-card { height: 100%; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 1.8rem; display: flex; flex-direction: column; }
.quote-stars { color: #f5a623; margin-bottom: .9rem; letter-spacing: 2px; }
.quote-card blockquote { font-size: 1rem; color: var(--s-ink); margin-bottom: 1.4rem; flex: 1; }
.quote-author { display: flex; align-items: center; gap: .75rem; }
.quote-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--s-grad); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote-author strong { display: block; color: var(--s-ink); font-size: .95rem; }
.quote-author small { color: var(--s-muted); }

/* ---------- Bandeau d'appel à l'action ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 3.5rem; background: linear-gradient(120deg, var(--s-navy) 0%, var(--s-blue) 60%, var(--s-cyan) 130%); color: #d4e3fb; }
.cta-band::after { content: ''; position: absolute; width: 420px; height: 420px; right: -140px; bottom: -220px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
@media (max-width: 575.98px) { .cta-band { padding: 2.2rem 1.5rem; } }

/* ---------- En-tête de page interne ---------- */
.page-hero { padding: 72px 0 56px; background: radial-gradient(700px 360px at 85% 0%, rgba(0, 163, 224, .14), transparent 60%), var(--s-soft); border-bottom: 1px solid var(--s-line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; margin-bottom: .8rem; }
.page-hero p { font-size: 1.1rem; color: var(--s-muted); max-width: 680px; margin: 0; }
.breadcrumb-site { font-size: .88rem; margin-bottom: 1rem; color: var(--s-muted); }
.breadcrumb-site a { color: var(--s-muted); }
.breadcrumb-site a:hover { color: var(--s-blue); }

/* ---------- Contenu détaillé ---------- */
.prose { font-size: 1.05rem; }
.prose p { margin-bottom: 1.1rem; }
.side-card { background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 1.6rem; box-shadow: var(--s-shadow); }
.side-card h3 { font-size: 1.05rem; font-weight: 700; }
.mini-link { display: flex; align-items: center; gap: .7rem; padding: .65rem .7rem; margin: 0 -.7rem; border-radius: 10px; color: var(--s-text); }
.mini-link:hover { background: var(--s-soft); color: var(--s-blue); }
.mini-link i { color: var(--s-blue); }

/* ---------- Contact ---------- */
.contact-card { background: #fff; border: 1px solid var(--s-line); border-radius: 22px; padding: 2.2rem; box-shadow: var(--s-shadow); }
.contact-info { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--s-line); }
.contact-info:last-child { border-bottom: 0; }
.contact-info i { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--s-soft-2); color: var(--s-blue); font-size: 1.1rem; }
.contact-info strong { display: block; color: var(--s-ink); }
.site .form-label { font-weight: 600; color: var(--s-ink); font-size: .9rem; }
.site .form-control, .site .form-select { border-radius: 12px; padding: .7rem .95rem; border-color: #d9e1ec; }
.site .form-control:focus, .site .form-select:focus { border-color: var(--s-cyan); box-shadow: 0 0 0 .22rem rgba(0, 163, 224, .15); }
.site .form-label.required::after { content: ' *'; color: #d63939; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--s-navy); color: #9fb2cf; padding: 80px 0 0; margin-top: 0; }
.footer-text { color: #9fb2cf; max-width: 340px; }
.footer-title { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a, .footer-contact a { color: #9fb2cf; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .8rem; }
.footer-contact i { color: var(--s-cyan); margin-top: .15rem; }
.footer-social { display: flex; gap: .55rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s; }
.footer-social a:hover { background: var(--s-cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 56px; padding: 1.5rem 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .87rem; }
.footer-bottom a { color: #9fb2cf; }
.footer-bottom a:hover { color: #fff; }
.whatsapp-fab { position: fixed; right: 22px; bottom: 22px; z-index: 1040; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 1.6rem; box-shadow: 0 10px 24px rgba(37, 211, 102, .35); transition: transform .2s; }
.whatsapp-fab:hover { color: #fff; transform: scale(1.06); }

/* ---------- Animation d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hv-float, .hv-bars span { animation: none; }
}

/* =====================================================================
   ESPACE CLIENT
   ===================================================================== */
.client-shell { background: var(--s-soft); min-height: calc(100vh - 70px); padding: 2rem 0 4rem; }
.client-nav { background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: .8rem; position: sticky; top: 92px; }
.client-id { display: flex; align-items: center; gap: .75rem; padding: .6rem .6rem 1rem; margin-bottom: .5rem; border-bottom: 1px solid var(--s-line); }
.client-avatar { width: 44px; height: 44px; border-radius: 13px; background: var(--s-grad); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.client-id strong { display: block; color: var(--s-ink); font-size: .93rem; line-height: 1.3; }
.client-id small { color: var(--s-muted); font-size: .78rem; }
.client-nav a, .client-nav button { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .65rem .8rem; border-radius: 11px; color: var(--s-text); font-weight: 500; background: none; border: 0; text-align: left; }
.client-nav a:hover, .client-nav button:hover { background: var(--s-soft); color: var(--s-blue); }
.client-nav a.active { background: var(--s-soft-2); color: var(--s-blue); font-weight: 600; }
.client-nav i { font-size: 1.05rem; }
@media (max-width: 991.98px) {
  .client-nav { position: static; display: flex; overflow-x: auto; gap: .25rem; padding: .5rem; }
  .client-nav .client-id, .client-nav hr { display: none; }
  .client-nav a, .client-nav button { white-space: nowrap; width: auto; }
}
.c-title { font-size: 1.55rem; font-weight: 800; margin-bottom: .2rem; }
.c-sub { color: var(--s-muted); margin-bottom: 1.6rem; }
.c-card { background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); box-shadow: 0 1px 2px rgba(15, 29, 51, .03); }
.c-card-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--s-line); }
.c-card-head h2 { font-size: 1.02rem; font-weight: 700; margin: 0; }
.c-card-body { padding: 1.4rem; }
.c-kpi { background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 1.3rem; height: 100%; display: flex; gap: 1rem; align-items: center; }
.c-kpi .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0; }
.c-kpi small { color: var(--s-muted); display: block; font-size: .82rem; }
.c-kpi strong { font-family: var(--s-head); font-size: 1.35rem; color: var(--s-ink); line-height: 1.25; }
.ic-amber { background: #fff4e0; color: #b86e00; }
.c-table { margin: 0; }
.c-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--s-muted); font-weight: 600; background: var(--s-soft); border-bottom: 1px solid var(--s-line); padding: .75rem 1rem; white-space: nowrap; }
.c-table td { padding: .9rem 1rem; vertical-align: middle; border-color: var(--s-line); }
.c-table tr:last-child td { border-bottom: 0; }
.money { font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-empty { text-align: center; padding: 3rem 1rem; color: var(--s-muted); }
.c-empty i { font-size: 2.4rem; display: block; margin-bottom: .6rem; color: #b8c6da; }

/* Choix du moyen de paiement */
.pay-option { position: relative; display: block; cursor: pointer; }
.pay-option input { position: absolute; opacity: 0; }
.pay-option .box { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border: 2px solid var(--s-line); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.pay-option .box i { font-size: 1.5rem; color: var(--s-blue); }
.pay-option .box strong { display: block; color: var(--s-ink); }
.pay-option .box small { color: var(--s-muted); }
.pay-option input:checked + .box { border-color: var(--s-cyan); box-shadow: 0 0 0 4px rgba(0, 163, 224, .12); }
.pay-option input:focus-visible + .box { outline: 3px solid rgba(0, 163, 224, .55); }
.op-chip { position: relative; cursor: pointer; }
.op-chip input { position: absolute; opacity: 0; }
.op-chip span { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border: 2px solid var(--s-line); border-radius: 999px; font-weight: 600; color: var(--s-ink); background: #fff; }
.op-chip span::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--op, #999); }
.op-chip input:checked + span { border-color: var(--s-cyan); background: var(--s-soft-2); }
.op-MPESA { --op: #e2231a; } .op-ORANGE { --op: #ff7900; } .op-AIRTEL { --op: #ed1c24; }
.summary-line { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px dashed var(--s-line); }
.summary-line:last-child { border-bottom: 0; }
.summary-total { font-family: var(--s-head); font-size: 1.6rem; font-weight: 800; color: var(--s-ink); }
.status-hero { text-align: center; padding: 2.5rem 1.5rem; }
.status-hero .big { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.2rem; font-size: 2.3rem; }
.big-success { background: #e7f7f0; color: var(--s-success); }
.big-danger { background: #fdecec; color: #c62828; }
.big-wait { background: #fff4e0; color: #b86e00; }
.sim-banner { background: repeating-linear-gradient(45deg, #fff4e0, #fff4e0 12px, #ffecc7 12px, #ffecc7 24px); border: 1px solid #f3d28e; border-radius: 14px; padding: 1rem 1.2rem; color: #7a4a00; }

/* Authentification client */
.auth-shell { min-height: calc(100vh - 70px); display: grid; place-items: center; padding: 3rem 1rem; background: radial-gradient(800px 400px at 90% 0%, rgba(0, 163, 224, .14), transparent 60%), var(--s-soft); }
.auth-panel { width: 100%; max-width: 480px; background: #fff; border: 1px solid var(--s-line); border-radius: 24px; box-shadow: var(--s-shadow-lg); padding: 2.4rem; }
.auth-panel.wide { max-width: 720px; }
.auth-panel h1 { font-size: 1.6rem; font-weight: 800; }
.seg { display: inline-flex; padding: 4px; background: var(--s-soft); border-radius: 999px; gap: 4px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-block; padding: .45rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--s-muted); }
.seg input:checked + span { background: #fff; color: var(--s-blue); box-shadow: var(--s-shadow); }
