/* ════════════════════════════════════════════════════════════════
   PAGE SOLUTIONS — Grille des autres produits SensioHealth
   ════════════════════════════════════════════════════════════════ */
.solutions-grid-section { padding: 60px 5%; max-width: 1400px; margin: 0 auto; }
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 32px; }
.sol-card { background: #fff; border: 1px solid #ececec; border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden; }
.sol-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(15,23,42,.12); border-color: var(--sol-color, #ccc); }
.sol-card--current { border-color: var(--sol-color); background: linear-gradient(180deg, rgba(232,93,37,.04), #fff 60%); }
.sol-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.sol-card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sol-color, #111); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.sol-card__badge { padding: 4px 10px; background: var(--sol-color); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.sol-card h3 { font-size: 22px; font-weight: 600; margin: 0; color: #111; letter-spacing: -0.01em; }
.sol-card em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--sol-color, #666); letter-spacing: .02em; }
.sol-card p { color: #5a5a5a; font-size: 14px; line-height: 1.6; margin: 6px 0 4px; }
.sol-card__feats { list-style: none; padding: 0; margin: 4px 0 14px; display: flex; flex-direction: column; gap: 6px; }
.sol-card__feats li { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #444; }
.sol-card__feats li i { color: #16a34a; font-size: 11px; }
.sol-card__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--sol-color, #111); padding: 10px 0; text-decoration: none; }
.sol-card__cta:hover { gap: 10px; }

/* ════════════════════════════════════════════════════════════════
   CHATBOT WIDGET (aivt) — palette orange AIVT
   ════════════════════════════════════════════════════════════════ */
#aivtcbBtn { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #e85d25, #c44818); color: #fff; border: 0; cursor: pointer; box-shadow: 0 10px 32px rgba(232,93,37,.4); z-index: 9999; display: flex; align-items: center; justify-content: center; font-size: 24px; transition: transform .2s, box-shadow .2s; }
#aivtcbBtn:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 40px rgba(232,93,37,.5); }
#aivtcbBtn.is-open i::before { content: "\f00d"; }
#aivtcbBtn .aivtcb-pulse { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #e85d25; opacity: 0; animation: aivtcbPulse 2.2s infinite; }
@keyframes aivtcbPulse { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.25); opacity: 0; } }

#aivtcbPanel { position: fixed; bottom: 100px; right: 24px; width: min(420px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 130px)); background: #fff; border: 1px solid #ececec; border-radius: 20px; box-shadow: 0 30px 80px rgba(15,23,42,.25); z-index: 9998; display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(20px); transition: opacity .25s, transform .25s; }
#aivtcbPanel.is-open { opacity: 1; transform: translateY(0); }

.aivtcb__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, #e85d25, #c44818); color: #fff; flex-shrink: 0; }
.aivtcb__head-avatar { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.aivtcb__head-text { flex: 1; min-width: 0; }
.aivtcb__head-text strong { display: block; font-size: 15px; font-weight: 700; }
.aivtcb__head-text span { font-size: 11px; opacity: .9; display: inline-flex; align-items: center; gap: 5px; }
.aivtcb__head-text span i { font-size: 6px; color: #4ade80; }
.aivtcb__head-btn { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.15); color: #fff; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.aivtcb__head-btn:hover { background: rgba(255,255,255,.25); }
#aivtcbClose { font-size: 22px; line-height: 1; }

.aivtcb__msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-height: 0; background: #f9f9f6; }
.aivtcb__msg { display: flex; gap: 10px; align-items: flex-end; max-width: 100%; }
.aivtcb__msg--user { flex-direction: row-reverse; }
.aivtcb__av { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; color: #fff; }
.aivtcb__av.bot { background: linear-gradient(135deg, #e85d25, #c44818); }
.aivtcb__av.user { background: linear-gradient(135deg, #111, #333); font-size: 11px; }
.aivtcb__bubble-wrap { display: flex; flex-direction: column; max-width: calc(100% - 44px); min-width: 0; gap: 4px; }
.aivtcb__msg--user .aivtcb__bubble-wrap { align-items: flex-end; }
.aivtcb__bubble { padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; max-width: 100%; word-break: break-word; }
.aivtcb__msg--bot .aivtcb__bubble { background: #fff; color: #111; border-bottom-left-radius: 4px; border: 1px solid #ececec; }
.aivtcb__msg--user .aivtcb__bubble { background: linear-gradient(135deg, #e85d25, #c44818); color: #fff; border-bottom-right-radius: 4px; }
.aivtcb__bubble a { color: #e85d25; font-weight: 600; }
.aivtcb__msg--user .aivtcb__bubble a { color: #fff; text-decoration: underline; }
.aivtcb__src { font-size: 10px; padding: 2px 8px; border-radius: 999px; align-self: flex-start; }
.aivtcb__src--faq { background: #dcfce7; color: #166534; }
.aivtcb__src--ia { background: #ffe4d6; color: #c44818; }
.aivtcb__ts { font-size: 10px; color: #999; }
.aivtcb__typing { display: inline-flex; gap: 5px; align-items: center; }
.aivtcb__typing span { width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; animation: aivtcbBounce 1.2s infinite; }
.aivtcb__typing span:nth-child(2) { animation-delay: .15s; }
.aivtcb__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes aivtcbBounce { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-6px); opacity: 1; } }

.aivtcb__chips { padding: 8px 12px; display: flex; flex-direction: column; gap: 6px; max-height: 200px; overflow-y: auto; border-top: 1px solid #ececec; background: #fff; flex-shrink: 0; }
.aivtcb__chip-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 4px 0; }
.aivtcb__chip-row small { font-size: 11px; color: #999; font-weight: 600; }
.aivtcb__chip { border: 1.5px solid #ececec; background: #fff; color: #555; padding: 6px 12px; border-radius: 999px; cursor: pointer; font-size: 12px; font-weight: 500; transition: all .15s; font-family: inherit; }
.aivtcb__chip:hover { border-color: #e85d25; color: #e85d25; background: #fff7f3; }
.aivtcb__chip--q { border-color: transparent; background: #fff7f3; color: #c44818; text-align: left; font-size: 12px; border-radius: 10px; padding: 8px 12px; width: 100%; }
.aivtcb__chip--q:hover { background: #ffe4d6; }
.aivtcb__back { background: none; border: 0; cursor: pointer; color: #e85d25; font-size: 12px; font-weight: 600; padding: 2px 0; display: inline-flex; gap: 4px; align-items: center; }

.aivtcb__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #ececec; background: #fff; flex-shrink: 0; }
.aivtcb__form input { flex: 1; border: 1.5px solid #ececec; border-radius: 999px; padding: 10px 14px; font-size: 13px; outline: none; transition: border-color .15s; font-family: inherit; }
.aivtcb__form input:focus { border-color: #e85d25; }
.aivtcb__form button { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #e85d25, #c44818); color: #fff; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; transition: transform .15s; }
.aivtcb__form button:hover { transform: scale(1.08); }
.aivtcb__form button:disabled { opacity: .5; cursor: not-allowed; }

.aivtcb__foot { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px 12px; font-size: 11px; color: #999; gap: 8px; background: #fff; border-top: 1px solid #ececec; flex-shrink: 0; flex-wrap: wrap; }
.aivtcb__contact { display: inline-flex; gap: 5px; align-items: center; padding: 5px 10px; border: 1px solid #ececec; border-radius: 999px; color: #e85d25; font-weight: 600; font-size: 11px; text-decoration: none; }
.aivtcb__contact:hover { background: #fff7f3; }

@media (max-width: 500px) {
  #aivtcbBtn { bottom: 16px; right: 16px; width: 54px; height: 54px; font-size: 22px; }
  #aivtcbPanel { bottom: 80px; right: 8px; left: 8px; width: auto; max-height: calc(100vh - 100px); }
}
