/* Ajouts Masnasoft par-dessus la template Softec (la template n'est pas modifiée). */
.ms-brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.ms-wordmark { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 30px; letter-spacing: -.035em; }
.ms-wordmark span { font-weight: 400; }
.tpoffcanvas__logo .ms-brand, .tp-footer__logo .ms-brand { transform: scale(.9); transform-origin: left center; }
.tpoffcanvas__logo .ms-brand { transform-origin: center; }

/* Statut des démos et du formulaire */
.status { font-size: .95rem; color: #5F6168; }
.status.live { color: #15803d; font-weight: 600; }
.status.live::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #15803d; animation: ms-pulse 1.2s ease-in-out infinite; }
.status.error { color: #b91c1c; }
@keyframes ms-pulse { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .status.live::before { animation: none; } }
.ms-form-status { margin: 14px 0 0; min-height: 1.4em; text-align: center; }
.ms-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Cartes de démo */
.ms-agent-card { height: 100%; padding: 36px; background: #fff; border: 1px solid #E5E5E5; border-radius: 24px; box-shadow: 0 20px 50px rgba(8, 8, 41, .06); display: flex; flex-direction: column; }
.ms-agent-card h4 { font-size: 24px; font-weight: 700; margin: 0 0 10px; }
.ms-agent-card p { margin: 0; }
.ms-call { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: auto; padding-top: 28px; }
.call-btn { border: 0; cursor: pointer; }
.call-btn:disabled { opacity: .6; cursor: progress; }
.call-btn.hangup { background: #DC2626; color: #fff; }
.ms-note { font-size: .9rem; color: #5F6168; max-width: 70ch; margin-inline: auto; }

/* Étapes */
.ms-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 20px; }
.ms-steps li { counter-increment: s; position: relative; padding: 6px 0 6px 64px; font-size: 1.05rem; }
.ms-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #F7F9FB; border: 1px solid #E5E5E5; color: #600EE4; font-weight: 800; }
.ms-steps strong { color: #080829; }

/* Blocs de texte */
.ms-detail { height: 100%; padding: 32px; background: #fff; border: 1px solid #E5E5E5; border-radius: 20px; }
.ms-detail i { font-size: 40px; color: #600EE4; margin-bottom: 20px; display: block; }
.ms-detail h4 { font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.ms-detail p { margin: 0; }
.ms-lead { font-size: 1.25rem; color: #080829; margin-bottom: 18px; }
.tp-service-sm-icon i { font-size: 40px; color: #080829; }
@media (max-width: 575px) { .ms-wordmark { font-size: 26px; } }

/* Marque dans l'en-tête : plus compacte pour tenir dans la colonne du logo */
.header-bottom__logo .ms-brand { gap: 10px; }
.header-bottom__logo .ms-brand svg { width: 34px; height: 27px; }
.header-bottom__logo .ms-wordmark { font-size: 25px; }

/* Pages légales, consentement, mentions */
.ms-legal h2 { font-size: 26px; font-weight: 700; margin: 44px 0 14px; }
.ms-legal h3 { font-size: 19px; font-weight: 700; margin: 26px 0 10px; }
.ms-legal p, .ms-legal li { font-size: 17px; line-height: 1.7; }
.ms-legal ul { padding-left: 22px; margin: 0 0 18px; }
.ms-legal li { margin-bottom: 8px; }
.ms-legal a { color: #600EE4; text-decoration: underline; text-underline-offset: 3px; }
.ms-updated { color: #5F6168; font-size: .95rem; }
.ms-todo { background: #FFF3BF; color: #12232A; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.ms-legal-links { display: block; margin-top: 10px; }
.ms-legal-links a { margin: 0 10px; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ms-consent { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; background: #F7F9FB; border: 1px solid #E5E5E5; border-radius: 16px; cursor: pointer; }
.ms-consent input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: #600EE4; }
.ms-consent span { font-size: .98rem; line-height: 1.55; color: #080829; }
.ms-consent a { color: #600EE4; text-decoration: underline; }
.ms-consent.needed { border-color: #DC2626; background: #FEF2F2; }
.ms-form-notice { margin: 14px 0 0; font-size: .88rem; color: #5F6168; text-align: center; }
.ms-form-notice a { color: #600EE4; text-decoration: underline; }

/* Bloc "chaque demande arrive là où vous travaillez" */
.ms-crm-lead { font-size: 1.1rem; max-width: 52ch; margin-bottom: 26px; }
.ms-crm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ms-crm-list li { display: flex; gap: 16px; align-items: flex-start; font-size: 1rem; line-height: 1.6; }
.ms-crm-list i { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #F1ECFE; color: #600EE4; font-size: 20px; }
.ms-crm-list strong { color: #080829; }
.ms-flow { display: grid; gap: 10px; max-width: 520px; margin-inline: auto; }
.ms-flow-card { background: #fff; border: 1px solid #E5E5E5; border-radius: 22px; padding: 22px 24px; box-shadow: 0 20px 50px rgba(8, 8, 41, .07); }
.ms-flow-tag { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .02em; color: #600EE4; margin-bottom: 12px; }
.ms-flow-tag span { margin-left: auto; font-weight: 600; color: #5F6168; background: #F7F9FB; border: 1px solid #E5E5E5; border-radius: 999px; padding: 2px 10px; }
.ms-flow-msg p { margin: 0; font-size: 1.02rem; line-height: 1.55; color: #080829; background: #F1F6F8; border-radius: 16px; padding: 14px 16px; }
.ms-flow-arrow { display: flex; align-items: center; justify-content: center; gap: 10px; color: #600EE4; font-size: 22px; }
.ms-flow-arrow span { font-size: .85rem; color: #5F6168; }
.ms-flow-crm dl { margin: 0; display: grid; gap: 0; }
.ms-flow-crm dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid #EDF1F2; font-size: .98rem; }
.ms-flow-crm dl > div:first-child { border-top: 0; }
.ms-flow-crm dt { color: #5F6168; }
.ms-flow-crm dd { margin: 0; color: #080829; font-weight: 600; text-align: right; }
.ms-pill { display: inline-block; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #E6F1F4; color: #0F4C5C; }
.ms-pill-hot { background: #FDE7D6; color: #B4540F; }
.ms-flow-note { margin: 6px 4px 0; font-size: .85rem; color: #5F6168; text-align: center; }

/* Français : pas de majuscules à chaque mot sur les boutons */
.tp-btn, .tp-btn-white, .tp-btn-inner, .tp-btn-orange, .tp-btn-price { text-transform: none; }

/* Tarifs */
.ms-plan { position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid #E5E5E5; border-radius: 28px; padding: 40px 36px; box-shadow: 0 20px 50px rgba(8, 8, 41, .06); }
.ms-plan-featured { border: 2px solid #600EE4; box-shadow: 0 30px 70px rgba(96, 14, 228, .14); }
.ms-plan-badge { position: absolute; top: -14px; left: 36px; background: #600EE4; color: #fff; font-size: .8rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.ms-plan h3 { font-size: 28px; font-weight: 700; margin: 0 0 6px; }
.ms-plan-tag { margin: 0 0 22px; color: #5F6168; }
.ms-plan-price { display: flex; align-items: baseline; gap: 10px; }
.ms-plan-amount { font-size: 54px; font-weight: 800; line-height: 1; color: #080829; letter-spacing: -.02em; }
.ms-plan-per { color: #5F6168; font-weight: 600; }
.ms-plan-volume { margin: 14px 0 24px; padding-bottom: 24px; border-bottom: 1px solid #EDF1F2; font-weight: 600; color: #080829; }
.ms-plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.ms-plan li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.ms-plan li i { color: #600EE4; margin-top: 4px; }
.ms-plan-setup { margin: auto 0 22px; padding-top: 18px; border-top: 1px solid #EDF1F2; color: #5F6168; }
.ms-plan-setup strong { color: #080829; }
.ms-plan .tp-btn-blue-lg { align-self: flex-start; }
.ms-pricing-notes { background: #F7F9FB; border: 1px solid #E5E5E5; border-radius: 20px; padding: 24px 28px; }
.ms-pricing-notes p { margin: 0 0 10px; }
.ms-pricing-notes p:last-child { margin: 0; }
.ms-pricing-notes a { color: #600EE4; text-decoration: underline; }

/* Fondateur */
.ms-founder { display: flex; gap: 32px; align-items: center; background: #fff; border: 1px solid #E5E5E5; border-radius: 28px; padding: 32px; box-shadow: 0 20px 50px rgba(8, 8, 41, .06); }
.ms-founder img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; flex: none; background: #F7F9FB; }
.ms-founder h4 { font-size: 26px; font-weight: 700; margin: 0 0 2px; }
.ms-founder-role { margin: 0 0 12px; color: #600EE4; font-weight: 600; }
.ms-founder p { margin: 0 0 8px; }
.ms-founder a { color: #600EE4; text-decoration: underline; }
@media (max-width: 575px) { .ms-founder { flex-direction: column; text-align: center; padding: 28px 22px; } .ms-plan { padding: 34px 26px; } }
