/* =====================================================================
   site.css — vitrine My Family UP
   ---------------------------------------------------------------------
   1. Les tokens attendus par base.css et forme.css (_commun), posés à
      partir de la charte du site : encre bleu nuit #0E1726, orange du
      logo #F89810, fonds blancs et bleu très pâle, titres en Figtree gras
      (RL Limo est réservée à mentalsense). Le site est CLAIR : le
      héros est une coque claire, pas la coque sombre des vitrines mentalsense.
      L'orange du logo ne se lit pas en texte sur blanc (2,2:1) : il sert de
      décor (--deco : filets, pastilles) et de fond du bouton principal, qui
      porte l'encre ; le texte d'accent prend un orange brûlé (--accent, 4,8:1).
   2. L'univers mentalsense Entreprise (.univers-ms) : la page
      /solutions/mentalsense et le bandeau de l'accueil prennent les couleurs
      du site Entreprise en redéfinissant les mêmes tokens.
   3. Les composants propres au site, puis ce qu'il garde du site d'origine :
      l'illustration du héros, l'animation d'ouverture, le bandeau cookies.

   La forme (en-tête, coques, typographie, boutons, cartes, mouvement)
   vient de forme.css : rien de tout cela ne se redéfinit ici.
   ===================================================================== */

:root {
    /* Contrat de base.css */
    --ink:         #0E1726;
    --ink-2:       #0A111D;
    --on-ink:      #FFFFFF;
    --on-ink-mid:  rgba(255, 255, 255, .82);
    --on-ink-dim:  rgba(255, 255, 255, .56);
    --accent:       #B45A00;                   /* orange brûlé : AA sur blanc */
    --accent-lift:  #FFB44A;                   /* sur fond sombre uniquement */
    --accent-deep:  #8F4600;
    --accent-soft:  #FDEFD6;
    --accent-line:  rgba(248, 152, 16, .36);
    --alt:         #16263F;                    /* bleu nuit éclairci */
    --alt-deep:    #101C30;
    --alt-lift:    #FFC566;
    --on-alt:      #FFFFFF;
    --on-alt-mid:  rgba(255, 255, 255, .86);
    --alt-line:    rgba(255, 255, 255, .2);
    --ground:      #F7F9FD;
    --paper:       #FFFFFF;
    --parchment:   #EEF3FB;
    --sunken:      #E4EAF3;
    --text:        #0E1726;
    --text-mid:    #475569;
    --text-muted:  #64748B;
    --line:        #E4EAF3;
    --line-strong: #94A3B8;
    --chrome:      rgba(255, 255, 255, .86);
    --chrome-line: rgba(14, 23, 38, .08);
    --chrome-blur: blur(14px) saturate(1.4);
    --danger:      #B91C1C;
    --danger-soft: #FEF2F2;
    --ok:          #0F8A63;
    --radius:     20px;
    --radius-sm:  12px;
    --radius-lg:  28px;
    --elev-1: 0 1px 2px rgba(14, 23, 38, .05), 0 4px 14px rgba(14, 23, 38, .06);
    --elev-2: 0 2px 4px rgba(14, 23, 38, .05), 0 14px 32px rgba(14, 23, 38, .10);
    --elev-3: 0 2px 6px rgba(14, 23, 38, .06), 0 16px 36px rgba(20, 40, 90, .14), 0 40px 80px -24px rgba(20, 40, 90, .30);
    --font-sans:  'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
    /* RL Limo est la typographie de mentalsense : My Family UP compose ses titres en Figtree,
       sa police d'origine, en gras. Le token garde son nom (contrat de forme.css). */
    --font-serif: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --hero-texture: url('../img/liquid.webp');

    /* Contrat de forme.css */
    --deco:          #F89810;                  /* l'orange du logo */
    --deco-soft:     #FDEFD6;
    --on-accent:     #FFFFFF;
    --on-ink-strong: #FFFFFF;
    --on-ink-muted:  #9FB0C7;
    --line-soft:     rgba(14, 23, 38, .07);
    --pale:          #CBD5E1;
    --ink-rgb:         14, 23, 38;
    --on-ink-rgb:      255, 255, 255;
    --accent-rgb:      180, 90, 0;
    --accent-lift-rgb: 255, 180, 74;
    --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9.5C38 5 78 4.2 112 6.3s63 2.7 85-1.6' fill='none' stroke='%23F89810' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke' opacity='.7'/%3E%3C/svg%3E");
    --plus:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23B45A00' d='M222 128a6 6 0 0 1-6 6h-82v82a6 6 0 0 1-12 0v-82H40a6 6 0 0 1 0-12h82V40a6 6 0 0 1 12 0v82h82a6 6 0 0 1 6 6Z'/%3E%3C/svg%3E");
    /* La texture source est ocre : on la fait tourner vers le bleu nuit. */
    --liquid-filter: hue-rotate(190deg) saturate(.55);
}

/* ── Titres : Figtree gras, sans empattement ─────────────────────────────
   La forme compose ses titres en maigre parce qu'elle les attend en RL Limo. Ici ils sont
   en Figtree : il leur faut de la graisse et un interlettrage serré. L'univers mentalsense
   (.univers-ms) est exclu : il garde RL Limo, la typographie de mentalsense. */
:is(.limo, .h1, .h2, .h2s, .h3, .card-serif, .card-n, .num-big, .fig, .doc h1, .doc h2, .post-t, .mnav-group summary):not(.univers-ms *) { font-weight: 750; letter-spacing: -.025em; }
.h1:not(.univers-ms *) { font-size: calc(var(--fs-h1) * .92); line-height: 1.06; letter-spacing: -.035em; }
.h2:not(.univers-ms *) { letter-spacing: -.03em; }
:is(.pull, .quote blockquote):not(.univers-ms *) { font-weight: 600; letter-spacing: -.01em; }
/* Le nom « mentalsense » s'écrit toujours avec son « sense » en RL Limo, où qu'il soit. */
.brand .limo { font-family: 'RL Limo', Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: 0; }

/* ── La marque dans la forme ────────────────────────────────────────── */
/* Bouton principal : l'orange du logo porte l'encre. */
.btn-primary { background: var(--deco); color: var(--ink); }
.btn-primary:hover { background: #FFAE3D; }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink:hover { background: var(--alt); }
/* Le logo My Family UP est haut (bulle au-dessus du mot) : il lui faut plus de hauteur qu'un logo en ligne. */
.pill-logo img { height: clamp(34px, 1.9rem + .6vw, 42px); }
.ftr-id img { height: 46px; }
.ftr-mail a { color: var(--on-ink); }
/* Le lien mentalsense de l'en-tête, aux couleurs de mentalsense Entreprise. */
.pill-ms { border-color: #EACCC3; background: #F8F2EF; color: #1C0F0A; }
.pill-ms:hover { background: #F6E4DE; }
.pill-ms .brand .limo { color: #A14836; }
@media (max-width: 1180px) { .pill-actions .pill-ms { display: none; } }

/* Le filigrane des blocs : la bulle de My Family UP. La volute de la forme commune est le
   signe de mentalsense ; elle ne reste que dans l'univers mentalsense Entreprise (.univers-ms). */
.forme {
    width: clamp(9rem, 17vw, 17rem); aspect-ratio: 121 / 138; opacity: .2;
    -webkit-mask-image: url('../img/bulle-mfu.svg'); mask-image: url('../img/bulle-mfu.svg');
}
.forme-tl { left: -2%; top: -18%; }
.forme-tr { right: -2%; top: -18%; transform: scaleX(-1); }
.forme-soft { opacity: .16; }
.univers-ms .forme {
    width: clamp(18rem, 36vw, 36rem); aspect-ratio: 300 / 180; opacity: .22;
    -webkit-mask-image: url('../img/forme.svg'); mask-image: url('../img/forme.svg');
}

/* ── Héros clair ─────────────────────────────────────────────────────── */
.hero-clair {
    background:
        radial-gradient(52rem 30rem at 92% -6%, rgba(248, 152, 16, .20), transparent 62%),
        radial-gradient(44rem 28rem at -6% 108%, rgba(251, 191, 36, .14), transparent 60%),
        var(--paper);
    box-shadow: inset 0 0 0 1px var(--line);
}
.hero-clair.hero-hub .hero-txt { max-width: 56rem; }

/* L'illustration du héros : l'assistant, repris du site d'origine. */
.chat { position: relative; max-width: 30rem; margin-inline: auto; }
.chat-card { position: relative; z-index: 2; padding: 1.4rem; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--elev-3); }
.chat-head { display: flex; align-items: center; gap: .7rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.chat-head b { font-size: .95rem; }
.chat-head small { margin-left: auto; color: var(--text-muted); font-weight: 600; font-size: .8125rem; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: #10B981; animation: chat-pulse 2s infinite; }
@keyframes chat-pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .45); } 70% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.chat-row { display: flex; gap: .65rem; margin-top: 1rem; align-items: flex-start; }
.chat-av { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: #fff; background: var(--ink); }
.chat-row-ia .chat-av { background: linear-gradient(135deg, #F89810, #FBBF24); color: var(--ink); }
.chat-bubble { padding: .65rem .9rem; border-radius: 14px; background: var(--ground); border: 1px solid var(--line); font-size: .9rem; line-height: 1.5; color: var(--text-mid); }
.chat-row-moi .chat-bubble { background: var(--paper); }
.chat-typing { display: inline-flex; gap: 4px; padding: .2rem 0; }
.chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--deco); opacity: .4; animation: chat-blink 1.4s infinite; }
.chat-typing i:nth-child(2) { animation-delay: .2s; }
.chat-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes chat-blink { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.chat-badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--elev-2); font-size: .85rem; font-weight: 700; line-height: 1.25; }
.chat-badge small { display: block; font-weight: 600; color: var(--text-muted); font-size: .72rem; }
.chat-badge .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); flex: none; }
.chat-badge-1 { top: -44px; right: -14px; animation: chat-flotte 6s ease-in-out infinite; }
.chat-badge-2 { bottom: -46px; left: -18px; animation: chat-flotte 6s ease-in-out infinite .8s; }
@keyframes chat-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ── Accueil ─────────────────────────────────────────────────────────── */
/* Chiffres : le premier (« Pionnier depuis ») porte son libellé au-dessus. */
.stat-inv { flex-direction: column-reverse; justify-content: flex-end; }
/* Les solutions : des cartes entières cliquables. */
.sol { display: flex; flex-direction: column; gap: .85rem; position: relative; text-decoration: none; color: inherit; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.sol:hover { transform: translateY(-4px); box-shadow: var(--elev-2); }
.sol .link-go { margin-top: auto; }
.sol .tag { position: absolute; top: 1.35rem; right: 1.35rem; }
.sol-ms { background: #F8F2EF; box-shadow: inset 0 0 0 1px #EACCC3, var(--elev-1); }
.sol-ms .icon-tile { background: #F6E4DE; color: #A14836; }
.sol-ms .link-go { color: #A14836; }
.sol-ms .ms-logo { height: 1.35rem; width: auto; align-self: flex-start; }
/* Visuel encadré d'une section en deux colonnes. */
.cadre { padding: 1rem; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--elev-2); max-width: 24.5rem; margin-inline: auto; }
.cadre img { border-radius: var(--radius); display: block; width: 100%; height: auto; }
/* Pour qui ? : les onglets portent un pictogramme. */
.tabs [role="tab"] { gap: .5rem; }
.seg { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--elev-1); max-width: 52rem; margin-inline: auto; display: flex; flex-direction: column; gap: 1rem; }
/* Reconnaissances : les logos des partenaires, sur fond blanc. */
.creds { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.25rem, 3vw, 2.75rem); padding: clamp(1.25rem, 1rem + 1vw, 2rem); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--elev-1); }
.creds img { height: clamp(3.5rem, 2.8rem + 1.8vw, 5rem); width: auto; max-width: 11rem; object-fit: contain; }
/* Contact : coordonnées à gauche, formulaire à droite. */
.poles { display: flex; flex-direction: column; gap: 1rem; }
.pole { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--paper); box-shadow: var(--elev-1); font-size: var(--fs-small); color: var(--text-mid); }
.pole b { display: block; color: var(--text); }
.pole a { color: var(--accent); font-weight: 600; }
.adresse { display: flex; gap: .65rem; align-items: flex-start; margin-top: 1.25rem; font-size: var(--fs-small); color: var(--text-mid); }
.adresse .ico { color: var(--accent); flex: none; margin-top: .15rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .field { display: flex; flex-direction: column; gap: .4rem; }
.form-note { display: flex; gap: .5rem; align-items: center; margin-top: 1rem; font-size: var(--fs-cap); color: var(--text-muted); }
.form-card .btn { width: 100%; margin-top: 1.1rem; height: 3.5rem; font-size: 1.0625rem; }
.form-ok { display: none; margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 12px; background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; font-size: var(--fs-small); font-weight: 600; text-align: center; }
.form-ok.show { display: block; }
.form-ok.erreur { background: var(--danger-soft); border-color: #FECACA; color: var(--danger); }
.hp-mfu { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
/* L'éditorial : cartes de publication. */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.post { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--paper); box-shadow: var(--elev-1); overflow: hidden; text-decoration: none; color: inherit; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.post:hover { transform: translateY(-4px); box-shadow: var(--elev-2); }
.post-img { display: block; aspect-ratio: 16 / 9; background: var(--parchment); overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-img-vide { background: linear-gradient(135deg, var(--accent-soft), var(--parchment)); }
.post-corps { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.25rem 1.35rem 1.4rem; flex: 1; }
.post:hover .post-img img { transform: scale(1.04); }
.post-img img { transition: transform .6s var(--ease); }
.post .cap { color: var(--text-muted); }
/* Filtres de l'éditorial : des liens, pas du script. */
.edito-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: var(--head-gap); }
.edito-tab { display: inline-flex; align-items: center; gap: .45rem; height: 2.75rem; padding: 0 1.2rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--text-mid); text-decoration: none; transition: border-color .2s, color .2s, background-color .2s; }
.edito-tab:hover { border-color: var(--deco); color: var(--accent); }
.edito-tab.active { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.edito-tab span { opacity: .6; font-weight: 500; }
.edito-empty { text-align: center; color: var(--text-mid); padding: 3rem 1rem; }
/* Un article. */
.article { width: var(--page); margin: calc(var(--hdr-zone) + clamp(2rem, 1rem + 3vw, 3.5rem)) auto var(--sec-y); }
.article-hero { max-width: 51rem; margin-inline: auto; }
.link-retour { margin-bottom: 1.2rem; }
.article-titre { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: .6rem .8rem; align-items: center; margin-top: 1rem; color: var(--text-muted); font-size: .9rem; font-weight: 600; }
.article-cover { margin: 1.8rem 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--elev-2); }
.article-cover img { width: 100%; height: auto; display: block; }
.article-body { max-width: 47.5rem; margin-inline: auto; }
.article-body p { color: var(--text-mid); margin-bottom: 1.15rem; line-height: 1.7; }
.article-body h2 { font-size: 1.5rem; font-weight: 750; letter-spacing: -.02em; margin: 2.2rem 0 1rem; }
.article-body h3 { font-size: 1.2rem; font-weight: 700; margin: 1.8rem 0 .7rem; }
.article-body h4 { font-size: 1.05rem; font-weight: 700; margin: 1.4rem 0 .5rem; }
.article-body img { border-radius: 14px; margin: 1.4rem 0; width: 100%; height: auto; }
.article-body figure { margin: 1.4rem 0; }
.article-body figcaption { font-size: .85rem; color: var(--text-muted); text-align: center; margin-top: .5rem; }
.article-body ul, .article-body ol { margin: 1rem 0 1.2rem 1.3rem; color: var(--text-mid); display: grid; gap: .5rem; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote { margin: 1.4rem 0; padding: 1rem 1.3rem; border-left: 4px solid var(--deco); border-radius: 0 12px 12px 0; background: var(--parchment); font-style: italic; color: var(--text); }
.article-body iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; margin: 1.4rem 0; }
.tag { text-decoration: none; }
.post-t { font-family: var(--font-serif); font-size: clamp(1.2rem, 1.05rem + .4vw, 1.4rem); line-height: 1.2; color: var(--text); }
.post .link-go { margin-top: auto; padding-top: .35rem; }
.centre { display: flex; justify-content: center; margin-top: var(--head-gap); }

/* ── Pages intérieures ───────────────────────────────────────────────────
   Les pages transposées du site d'origine (tools/mfu-convert.py) gardent leurs pictogrammes
   au trait et, pour quelques blocs propres à une page, leur balisage : leurs styles sont ici. */
/* Les anciennes variables, pour les styles en ligne gardés dans ces blocs. */
:root { --primary: var(--deco); --primary-700: #D67D08; --primary-100: var(--accent-soft); --cyan: #FBBF24; --accent-600: #DA6310;
        --bg: var(--paper); --bg-soft: var(--ground); --bg-soft-2: var(--parchment); --ink-soft: var(--text-mid); --ink-faint: var(--text-muted);
        --shadow-sm: var(--elev-1); --shadow: var(--elev-2); --shadow-lg: var(--elev-3); --ms: #A14836; --ms-2: #D4853A; --ms-cream: #F8F2EF; }
/* Pictogrammes au trait du site d'origine : affinés pour s'accorder au reste. */
svg[stroke="currentColor"] { stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:where(main) svg:where([stroke="currentColor"]) { width: 1.25em; height: 1.25em; }   /* taille par défaut : jamais un pictogramme géant */
.icon-tile svg { width: 24px; height: 24px; }
.form-note svg { width: 16px; height: 16px; }
.stack .chips { justify-content: flex-start; }
.grid + .creds, .grid + .qualiopi-card, .split + .creds { margin-top: var(--gap); }
.wrap > .form-card { max-width: 48rem; margin-inline: auto; }
.wrap > .media, .wrap > .video-embed, .wrap > .browser-frame { max-width: 60rem; margin-inline: auto; }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.chip svg { width: 16px; height: 16px; color: var(--accent); }
.checks svg { width: 20px; height: 20px; color: var(--accent); margin-top: .1rem; }
.link-go svg { width: 18px; height: 18px; }
.texte { color: var(--text-mid); }
.centre-txt { text-align: center; }
p.centre-txt.texte { margin-top: 1rem; font-size: var(--fs-cap); }
/* Deux blocs qui se suivent sans titre entre eux : un espace de titre ; deux volets : un espace de section. */
.wrap > :not(.head-center):not(.head-stack) + :is(.grid, .split, .stats4, .shots, .testi-grid, .price-wrap, .media, .video-embed, .prose, .form-card, .pdf-frame, .head-center) { margin-top: var(--head-gap); }
.wrap > .split + .split { margin-top: var(--sec-y); }
.stack > .stats4, .stack > .qualiopi-card { margin-top: .5rem; }
.wrap > .hero-cta, .stack > .hero-cta { margin-top: 1.25rem; }
.wrap > .hero-cta { justify-content: center; }
.wrap > .chips { margin-top: var(--gap); }
.stats4.stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats4.stats-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step-num { width: 3rem; height: 3rem; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--deco); color: var(--ink); font-weight: 800; font-size: 1.125rem; }
.card b { color: var(--accent); }
.media { border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); box-shadow: var(--elev-2); }
.media img { width: 100%; height: auto; display: block; }
/* Héros : texte centré (éditorial, livre blanc), visuel simple, pastille de l'illustration. */
.hero-centre .hero-txt { align-items: center; text-align: center; margin-inline: auto; }
.hero-centre .hero-txt .lead { max-width: 46rem; }
.hero-visuel { position: relative; max-width: 34rem; margin-inline: auto; }
.chat-badge-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent); }
.chat-badge-ic svg { width: 20px; height: 20px; }
/* Dans une illustration, un bouton est une réponse proposée : il passe à la ligne plutôt que de déborder. */
.chat-card .btn { width: 100%; height: auto; min-height: 2.75rem; padding: .6rem 1rem; white-space: normal; line-height: 1.3; text-align: center; }
.chat-card .btn + .btn { margin-top: .5rem; }
.hero-txt .chips { margin-top: .25rem; }
/* Texte long (mentions légales, programmes). */
.prose { max-width: 47.5rem; }
.wrap > .prose { margin-inline: auto; }
.prose p { color: var(--text-mid); margin-bottom: 1.1rem; }
.prose h2 { font-size: 1.6rem; font-weight: 750; letter-spacing: -.02em; margin: 2.4rem 0 1rem; }
.prose h3 { font-size: 1.2rem; font-weight: 700; margin: 1.6rem 0 .6rem; }
.prose a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose ul:not(.checks) { margin: 1rem 0 1rem 1.2rem; list-style: disc; color: var(--text-mid); }
.prose .checks { margin: 1rem 0; }
/* Citation (expertise). */
.quote-card { position: relative; padding: clamp(1.5rem, 1rem + 2vw, 2.2rem); border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--paper), var(--ground)); box-shadow: var(--elev-2); }
.quote-card .q { width: 40px; height: 40px; color: var(--deco); opacity: .4; margin-bottom: .6rem; }
.quote-card p { font-size: 1.25rem; font-weight: 650; line-height: 1.45; color: var(--text); }
.quote-by { margin-top: 1.4rem; }
.quote-by b { display: block; }
.quote-by span { color: var(--text-muted); font-size: .9rem; }
/* Vidéos, captures d'écran, témoignages (RegardePsy, SAFE). */
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--elev-3); background: #000; }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.browser-frame { border-radius: 14px; overflow: hidden; background: var(--paper); box-shadow: var(--elev-2); border: 1px solid var(--line); }
.browser-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .8rem; background: var(--ground); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D9E0EC; display: block; }
.browser-frame img { width: 100%; height: auto; display: block; }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.qualiopi-card { display: flex; gap: 1.1rem; align-items: center; padding: 1.1rem 1.3rem; border-radius: var(--radius); background: var(--paper); box-shadow: var(--elev-1); }
.qualiopi-card img { height: 56px; width: auto; flex: none; }
.qualiopi-card b { display: block; font-size: .98rem; color: var(--text); }
.qualiopi-card span { color: var(--text-mid); font-size: .88rem; }
.testi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.testi { padding: 1.4rem; border-radius: var(--radius); background: var(--paper); box-shadow: var(--elev-1); }
.testi p { color: var(--text-mid); font-size: .92rem; font-style: italic; }
.testi .who { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; }
.testi .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #F89810, #FBBF24); color: var(--ink); font-weight: 800; font-size: .85rem; }
.testi .who b { font-size: .9rem; color: var(--text); }
.stars { color: var(--deco); font-size: .9rem; letter-spacing: 2px; }
/* Livre blanc. */
.pdf-frame { width: 100%; height: min(80vh, 1000px); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--elev-2); background: var(--ground); }
.pdf-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-bottom: 1.8rem; }
/* CAP AEPE : arguments, tarif, bandeau d'inscription. */
.lp-args { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.4rem; margin-top: .5rem; }
.lp-arg { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; font-weight: 600; color: var(--text-mid); }
.lp-arg svg { width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }
.price-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--gap-lg); align-items: center; }
.price-card { padding: clamp(2rem, 4vw, 2.8rem); border-radius: var(--radius-lg); background: linear-gradient(150deg, #F89810, #F4761B); color: var(--ink); box-shadow: var(--elev-2); text-align: center; }
.price-card .kicker { color: var(--ink); text-transform: uppercase; letter-spacing: .09em; font-weight: 800; font-size: .82rem; }
.price-card .amount { font-size: clamp(3.4rem, 9vw, 5rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; margin: 1rem 0 .6rem; }
.price-card .hours { font-weight: 600; }
.price-card .pay { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(14, 23, 38, .25); font-size: .92rem; font-weight: 600; display: grid; gap: .5rem; }
.price-card .pay span { display: flex; gap: .5rem; align-items: center; justify-content: center; }
.price-card .pay svg { width: 18px; height: 18px; }
.price-card .btn { margin-top: 1.25rem; }
.lp-cta-bar { display: none; }
.lp-appel { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; }
.lp-band { background: linear-gradient(180deg, var(--accent-soft), var(--paper)); padding-block: clamp(2.2rem, 4vw, 3rem); margin-block: 0 var(--sec-y); }
.lp-band .qualiopi-card { max-width: 40rem; margin: 1.4rem auto 0; }
.pill-landing .pill-actions { display: flex; }
.ftr-landing .ftr-bottom { margin-top: 0; padding-top: 0; border-top: 0; }
.tag-new { background: var(--deco); color: var(--ink); }

/* ── L'univers mentalsense Entreprise ───────────────────────────────────
   Les mêmes tokens, aux valeurs du site entreprise.mentalsense.fr : tout ce
   qui est posé dans .univers-ms prend ses couleurs. */
.univers-ms {
    --ink: #1C0F0A; --ink-2: #241811; --on-ink: #F8F2EF; --on-ink-mid: #DCCFC8; --on-ink-dim: rgba(248, 242, 239, .42);
    --accent: #A14836; --accent-lift: #E8A48F; --accent-deep: #8A3B2C; --accent-soft: #F6E4DE; --accent-line: #EACCC3;
    --alt: #A14836; --alt-deep: #8A3B2C; --alt-lift: #E8A48F; --on-alt: #FFFCFA; --on-alt-mid: #F8ECE7; --alt-line: rgba(255, 252, 250, .22);
    --ground: #F8F2EF; --paper: #FFFCFA; --parchment: #EEE4DF; --sunken: #EEE4DF;
    --text: #1C0F0A; --text-mid: #5A4A43; --text-muted: #71605A; --line: #E3D8D2; --line-strong: #8F817B;
    --deco: #D4853A; --deco-soft: #F7E7D5; --on-accent: #FFFCFA; --on-ink-strong: #FFFCFA; --on-ink-muted: #B9A89F;
    --line-soft: #EDE3DE; --pale: #D8C9C1; --ink-rgb: 28, 15, 10; --on-ink-rgb: 248, 242, 239; --accent-rgb: 161, 72, 54; --accent-lift-rgb: 232, 164, 143;
    --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9.5C38 5 78 4.2 112 6.3s63 2.7 85-1.6' fill='none' stroke='%23D4853A' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke' opacity='.6'/%3E%3C/svg%3E");
    --liquid-filter: none;
    --font-serif: 'RL Limo', Georgia, 'Times New Roman', serif;
}
/* La page entière (pas le bandeau de l'accueil, qui est une coque sombre) prend le fond d'Entreprise. */
main > div.univers-ms {
    color: var(--text);
    background: var(--ground);
    padding-bottom: .1px;          /* garde la marge basse de la dernière coque dans le fond d'Entreprise */
}
.univers-ms .btn-primary { background: var(--accent); color: var(--on-accent); }
.univers-ms .btn-primary:hover { background: var(--accent-deep); }
.univers-ms :is(.on-ink, .liquid, .coque-ink) .btn-primary { background: var(--accent); color: var(--on-accent); }
.ms-logo { display: block; height: clamp(1.5rem, 1.2rem + .8vw, 2rem); width: auto; align-self: flex-start; }
.head-center .ms-logo { align-self: center; }
.univers-ms .hero-c .crumbs ol { color: var(--on-ink-muted); }
.univers-ms .coque-ink .chip { background: rgba(var(--on-ink-rgb), .08); border-color: rgba(var(--on-ink-rgb), .16); color: var(--on-ink-strong); }
.univers-ms .coque-ink .chip .ico { color: var(--deco); }
.univers-ms .coque-ink .prix .lead { color: var(--on-ink-mid); max-width: 34rem; }
.univers-ms .coque-ink .prix-montant { color: var(--deco); }
.univers-ms .coque-ink .prix-montant .small { color: var(--on-ink-mid); font-family: var(--font-sans); }
.univers-ms .card .kicker { color: var(--accent); }
/* Le bandeau mentalsense de l'accueil : une coque à l'encre d'Entreprise. */
.ms-bande .split { align-items: center; }
.ms-bande .stack { gap: 1.25rem; }
.ms-piliers { display: flex; flex-direction: column; gap: .75rem; }
.ms-pilier { padding: 1.1rem 1.3rem; border-radius: var(--radius); background: rgba(var(--on-ink-rgb), .07); border: 1px solid rgba(var(--on-ink-rgb), .12); }
.ms-pilier b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 1.3rem; color: var(--on-ink-strong); }
.ms-pilier span { font-size: var(--fs-small); color: var(--on-ink-mid); }
/* La page mentalsense : héros sombre d'Entreprise, tableau de bord illustré. */
.tdb { padding: 1.4rem; border-radius: var(--radius-lg); background: var(--paper); color: var(--text); box-shadow: var(--elev-3); display: flex; flex-direction: column; gap: 1rem; max-width: 27rem; margin-inline: auto; }
.tdb-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.tdb-tete b { color: var(--text); font-size: .95rem; }
.tdb-tete small { color: var(--text-muted); font-size: .78rem; font-weight: 600; }
.tdb-ligne { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; align-items: center; font-size: .9rem; color: var(--text-mid); }
.tdb-ligne b { color: var(--text); font-family: var(--font-serif); font-weight: 400; font-size: 1.35rem; }
.tdb-barre { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--parchment); overflow: hidden; }
.tdb-barre i { display: block; height: 100%; border-radius: 6px; background: var(--deco); }
.tdb-pied { display: flex; gap: .6rem; align-items: center; padding: .8rem 1rem; border-radius: 14px; background: var(--accent-soft); font-size: .84rem; color: var(--text-mid); }
.tdb-pied b { color: var(--accent-deep); }
.tdb-pied .ico { color: var(--accent); flex: none; }
.prix { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.prix-montant { font-family: var(--font-serif); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.1; color: var(--accent); white-space: nowrap; }

/* ── Animation d'ouverture (reprise du site d'origine) ───────────────── */
.intro-done #mfu-intro { display: none !important; }
html.intro-active, html.intro-active body { overflow: hidden; }
#mfu-intro { position: fixed; inset: 0; z-index: 9999; overflow: hidden; display: grid; place-items: center; background: radial-gradient(125% 125% at 50% 32%, #ffffff 0%, #FFF6E6 52%, #FFE9C7 100%); transition: opacity .6s ease; }
#mfu-intro.hide { opacity: 0; pointer-events: none; }
#mfu-intro-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-center { position: relative; z-index: 2; text-align: center; padding: 1.5rem; }
.intro-logo { height: clamp(64px, 11vw, 124px); width: auto; margin: 0 auto; display: block; filter: drop-shadow(0 14px 34px rgba(216, 125, 8, .22)); opacity: 0; transform: scale(.86); will-change: transform, opacity; }
#mfu-intro.in .intro-logo { animation: introLogoIn 1s cubic-bezier(.2, .85, .25, 1) .2s forwards; }
#mfu-intro.ending .intro-logo { opacity: 0 !important; transform: scale(.97); transition: opacity .55s ease, transform .55s ease; }
.intro-tagline { margin: 1.7rem auto 0; max-width: 22ch; color: var(--ink); font-weight: 800; font-size: clamp(1.25rem, 3.4vw, 2.4rem); line-height: 1.18; letter-spacing: -.02em; opacity: 0; transform: translateY(20px); }
.intro-tagline span { color: var(--deco); }
#mfu-intro.in .intro-tagline { animation: introTagIn 1s cubic-bezier(.2, .8, .2, 1) .9s forwards; }
#mfu-intro.ending .intro-tagline { opacity: 0 !important; transform: translateY(-12px); transition: .45s ease; }
.intro-skip { position: absolute; bottom: 1.4rem; right: 1.6rem; z-index: 3; background: rgba(14, 23, 38, .05); color: var(--text-mid); border: 1px solid var(--line); padding: .5rem 1rem; border-radius: 100px; font: inherit; font-weight: 600; font-size: .85rem; cursor: pointer; transition: .2s; }
.intro-skip:hover { background: rgba(14, 23, 38, .1); color: var(--ink); }
@keyframes introLogoIn { to { opacity: 1; transform: scale(1); } }
@keyframes introTagIn { to { opacity: 1; transform: none; } }

/* ── Bandeau cookies (repris du site d'origine) ──────────────────────── */
.cookie-banner { position: fixed; left: 1.1rem; bottom: 1.1rem; z-index: 300; width: min(380px, calc(100vw - 2.2rem)); display: flex; gap: .85rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--elev-3); transform: translateY(24px); opacity: 0; transition: opacity .4s, transform .4s; }
.cookie-banner.show { transform: none; opacity: 1; }
.cookie-ic { font-size: 1.5rem; line-height: 1; flex: none; }
.cookie-main strong { display: block; font-size: .96rem; }
.cookie-main p { font-size: .84rem; color: var(--text-mid); margin: .25rem 0 0; line-height: 1.5; }
.cookie-main p a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: .5rem; margin-top: .9rem; }
.cookie-actions button { flex: 1; font: inherit; font-weight: 700; font-size: .85rem; padding: .55rem .7rem; border-radius: 10px; cursor: pointer; border: 1px solid var(--line); transition: .18s; }
.cookie-refuse { background: var(--paper); color: var(--ink); }
.cookie-refuse:hover { border-color: var(--text-mid); }
.cookie-accept { background: var(--deco); color: var(--ink); border-color: var(--deco); }
.cookie-accept:hover { background: #FFAE3D; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
    .testi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .price-wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
    /* CAP AEPE : le bouton d'inscription reste sous le pouce. */
    .lp-cta-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .7rem clamp(1.1rem, 4vw, 2rem); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
    .lp-cta-bar .btn { width: 100%; justify-content: center; }
    body.landing { padding-bottom: 84px; }
}
@media (max-width: 720px) {
    .stats4.stats-3, .stats4.stats-2, .shots, .lp-args, .testi-grid { grid-template-columns: minmax(0, 1fr); }
    .posts, .form-grid { grid-template-columns: minmax(0, 1fr); }
    .cookie-banner { left: .7rem; right: .7rem; bottom: .7rem; }
    .chat-badge { position: static; margin-top: .75rem; animation: none; }
}
@media (prefers-reduced-motion: reduce) {
    #mfu-intro { display: none !important; }
    .cookie-banner { transition: opacity .2s; transform: none; }
    .pulse-dot, .chat-typing i, .chat-badge { animation: none; }
}
