
/* Mentora — charte v2 = celle du produit (portal.mentoragroupe.com : menthe #75CABE, indigo #271C51, dégradé molécule sur les boutons pilule, Montserrat, blanc).
   Structure inspirée de Khanmigo / MagicSchool ; les couleurs sont 100 % Mentora. Le one-page mentoragroupe.com n'est PAS une référence. */
:root {
  --indigo: #271C51; --indigo-2: #34335F; --violet: #405474; --violet-deep: #271C51; --violet-soft: #5D939C; /* "violet" = slate du logo, ton d'action secondaire */
  --mint: #75CABE; --mint-deep: #3FA596; --mint-ink: #1F7A6D; --teal: #5D939C;
  --amber: #FFB547; --amber-ink: #A8651A; --coral: #FF7A59;
  --ink: #1E1A3C; --ink-soft: #5B5878; --line: #E6E3F2;
  --bg: #FFFFFF; --bg-soft: #F5F7F9; --mint-mist: #EAF7F4; --lavender-mist: #EEF1F5; --amber-mist: #FFF4E2;
  --r-lg: 24px; --r-md: 16px; --r-pill: 999px;
  --font-title: 'Montserrat', 'Segoe UI', Arial, sans-serif; --font-body: 'Figtree', 'Segoe UI', Arial, sans-serif;
  --shadow: 0 6px 20px rgba(39,28,81,.06); --shadow-hover: 0 20px 44px rgba(39,28,81,.14);
  --max: 1180px; --gutter: 24px;
  --grad-brand: linear-gradient(135deg, #271C51 0%, #34335F 50%, #405474 100%);
  --grad-cta: linear-gradient(158deg, #75CABE 12%, #6EBBB5 22%, #5D939C 41%, #405474 72%, #271C51 100%); /* bouton du produit */
  --grad-mol: linear-gradient(55deg, #75CABE 0%, #6EBBB5 13%, #5D939C 38%, #405474 72%, #271C51 100%);
  --grad-text: linear-gradient(90deg, #3FA596, #271C51);
  --campaign: #1E4FD6; --campaign-deep: #163BA6; /* bleu des campagnes Instagram @mentora.maroc (relevé visuel, à confirmer) */
}
[dir="rtl"] { --font-title: 'Tajawal', 'Montserrat', sans-serif; --font-body: 'Tajawal', 'Figtree', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 1.04rem; overflow-x: hidden; }
[dir="rtl"] body, [dir="rtl"] { font-size: 1.1rem; }
img, svg { max-width: 100%; height: auto; display: block; }
.ic { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -0.2em; }
.btn .arrow { width: 18px; height: 18px; }
.burger svg { width: 22px; height: 22px; }
.card .more svg { width: 16px; height: 16px; }
a { color: var(--mint-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--indigo); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; background: var(--indigo); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); z-index: 100; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 800; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--indigo); }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; font-weight: 800; line-height: 1.3; }
p { margin: 0 0 1em; }
.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 58ch; line-height: 1.6; }
.kicker { font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--mint-ink); margin-bottom: 12px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-title); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
[dir="rtl"] .kicker { letter-spacing: 0; font-size: .95rem; }
.on-dark .kicker { color: var(--mint); }
.accent { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
mark.todo { background: var(--amber-mist); color: var(--amber-ink); padding: 0 .3em; border-radius: 4px; border-bottom: 2px dashed var(--amber); font-weight: 500; }
.on-dark mark.todo { background: rgba(255,181,71,.2); color: var(--amber); }

/* Boutons : voir « Boutons v3 » en fin de fichier */
[dir="rtl"] .arrow { transform: scaleX(-1); }

/* Header (blanc, collant) */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); color: var(--indigo); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(39,28,81,.08); }
.nav-inner { display: flex; align-items: center; gap: 24px; padding: 12px var(--gutter); }
.logo { display: inline-flex; color: var(--indigo); }
.logo svg { height: 34px; width: auto; }
.nav-links { flex: 1; display: flex; gap: 4px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { white-space: nowrap; color: var(--ink-soft); text-decoration: none; font-size: .93rem; font-weight: 600; padding: 8px 12px; border-radius: var(--r-pill); }
.nav-links a:hover { color: var(--indigo); background: var(--bg-soft); }
.nav-links a[aria-current="page"] { color: var(--indigo); background: var(--mint-mist); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-pill); overflow: hidden; font-size: .78rem; font-weight: 700; }
.lang a { color: var(--ink-soft); padding: 6px 10px; text-decoration: none; }
.lang a[aria-current] { background: var(--indigo); color: #fff; }
.burger { display: none; background: none; border: 1px solid var(--line); color: var(--indigo); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; }
.mobile-nav { display: none; }
@media (max-width: 1000px) {
  .nav-links, .nav-right .btn, .nav-right .lang { display: none; }
  .burger { display: grid; place-items: center; }
  .mobile-nav { display: none; position: fixed; inset: 0; background: #fff; color: var(--indigo); z-index: 60; padding: 24px; flex-direction: column; gap: 4px; overflow: auto; }
  .mobile-nav.open { display: flex; }
  .mobile-nav a.link { color: var(--indigo); text-decoration: none; font-size: 1.4rem; font-family: var(--font-title); font-weight: 700; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mobile-nav .close { align-self: flex-end; background: none; border: 1px solid var(--line); color: var(--indigo); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; font-size: 1.2rem; }
  .mobile-nav .lang { display: inline-flex; align-self: flex-start; margin-top: 16px; }
  .mobile-nav .btn { margin-top: 16px; }
}

/* Fonds */
.on-dark { background: var(--grad-brand); color: #fff; position: relative; overflow: hidden; }
.on-dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 500px at 90% 0%, rgba(117,202,190,.18), transparent 60%), radial-gradient(600px 460px at 0% 100%, rgba(140,127,240,.25), transparent 60%); }
.on-dark p { color: rgba(255,255,255,.8); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark a { color: var(--mint); }
.on-light { background: var(--bg); }
.on-cream { background: var(--bg-soft); }
.mol-bg { position: absolute; width: 46vw; max-width: 620px; min-width: 320px; opacity: .10; inset-inline-end: -8vw; top: -6vw; pointer-events: none; animation: spin 240s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
section { padding: 88px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* Hero — clair, halos menthe / lavande, molécule en décor */
.hero { padding: 72px 0 80px; min-height: 78vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero { background: radial-gradient(900px 600px at 8% 10%, var(--mint-mist), transparent 60%), radial-gradient(800px 600px at 95% 90%, var(--lavender-mist), transparent 60%), #fff; color: var(--ink); }
.hero::before { display: none; }
.hero h1 { color: var(--indigo); }
.hero p, .hero .lead { color: var(--ink-soft); }
.hero .kicker { color: var(--mint-ink); }
.hero .mol-bg { opacity: .18; width: 38vw; inset-inline-end: -5vw; top: 6%; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 14px 6px 7px; font-weight: 700; font-size: .8rem; color: var(--indigo); margin-bottom: 22px; background: #fff; box-shadow: var(--shadow); font-family: var(--font-title); }
[dir="rtl"] .eyebrow { padding: 6px 7px 6px 14px; }
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--grad-mol); }
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 28px; font-size: 1.2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.reassure { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; font-size: .92rem; color: var(--ink-soft); font-weight: 500; }
.reassure span { display: inline-flex; align-items: center; gap: 6px; }
.reassure svg { width: 18px; height: 18px; color: var(--mint-deep); }
.stores { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.stores--center { justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; border-radius: 12px; padding: 7px 16px 7px 12px; color: #fff; background: #111; border: 1px solid #111; text-decoration: none; font-size: 1rem; line-height: 1.15; font-weight: 700; font-family: var(--font-title); transition: transform .15s, box-shadow .15s; }
.store:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.store small { display: block; font-size: .64rem; font-weight: 500; color: rgba(255,255,255,.78); font-family: var(--font-body); letter-spacing: .02em; }
.store svg { width: 24px; height: 24px; flex: none; color: #fff; }
.on-dark .store { background: #0b0b14; border-color: rgba(255,255,255,.28); }

/* Chat Mento — carte produit */
.mento-chat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: 0 30px 70px rgba(39,28,81,.16); position: relative; }
.mento-chat .head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.mento-chat .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--mint-mist); display: grid; place-items: center; padding: 6px; }
.mento-chat .name { font-weight: 700; font-size: .95rem; color: var(--indigo); font-family: var(--font-title); }
.mento-chat .status { font-size: .78rem; color: var(--mint-ink); display: flex; align-items: center; gap: 6px; font-weight: 600; }
.mento-chat .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint-deep); }
.bubbles { display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 88%; padding: 11px 15px; border-radius: 18px; font-size: .95rem; line-height: 1.5; opacity: 0; transform: translateY(8px); animation: rise .5s ease forwards; }
.bubble.me { align-self: flex-end; background: var(--indigo); color: #fff; border-end-end-radius: 6px; }
.bubble.mento { align-self: flex-start; background: var(--mint-mist); color: var(--ink); border: 1px solid #CDEBE4; border-end-start-radius: 6px; }
.bubble:nth-child(1) { animation-delay: .3s; } .bubble:nth-child(2) { animation-delay: 1.3s; } .bubble:nth-child(3) { animation-delay: 2.5s; } .bubble:nth-child(4) { animation-delay: 3.4s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.typing { display: inline-flex; gap: 4px; padding: 10px 14px; align-self: flex-start; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint-deep); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100% { opacity: .3; } 40% { opacity: 1; } }
.progress { margin-top: 18px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; }
.progress .ttl { display: flex; justify-content: space-between; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); margin-bottom: 12px; font-family: var(--font-title); }
[dir="rtl"] .progress .ttl { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.bar { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; margin-bottom: 8px; font-size: .9rem; color: var(--ink); font-weight: 500; }
.bar .num { font-family: var(--font-title); font-weight: 800; color: var(--indigo); }
.bar .track { grid-column: 1 / -1; height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.bar .fill { height: 100%; background: linear-gradient(90deg, #75CABE, #405474); border-radius: 4px; width: 0; transition: width 1.2s ease .6s; }
.in-view .bar .fill { width: var(--w); }
.progress .msg { font-size: .88rem; color: var(--mint-ink); margin: 10px 0 0; font-weight: 600; }
.mock-light .progress { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.mock-light .bar { color: #fff; } .mock-light .bar .num { color: var(--mint); } .mock-light .bar .track { background: rgba(255,255,255,.15); } .mock-light .progress .ttl { color: rgba(255,255,255,.7); } .mock-light .progress .msg { color: var(--mint); }

/* Page hero (pages intérieures) — clair */
.page-hero { padding: 60px 0 64px; position: relative; overflow: hidden; }
.page-hero { background: radial-gradient(800px 500px at 10% 0%, var(--mint-mist), transparent 60%), radial-gradient(700px 500px at 100% 100%, var(--lavender-mist), transparent 60%), #fff; color: var(--ink); }
.page-hero::before { display: none; }
.page-hero h1 { color: var(--indigo); } .page-hero p { color: var(--ink-soft); } .page-hero .kicker { color: var(--mint-ink); }
.page-hero .mol-bg { opacity: .12; width: 32vw; top: 0; }
.page-hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.page-hero h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.page-hero .aud-badge { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--indigo); margin-bottom: 16px; box-shadow: var(--shadow); font-family: var(--font-title); }
[dir="rtl"] .page-hero .aud-badge { padding: 5px 5px 5px 14px; }
.page-hero .aud-badge i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.page-hero .aud-badge svg { width: 16px; height: 16px; }

/* Cartes dans les heros clairs (page_hero side="cards") — spécificité > .on-dark .card */
.page-hero .card { background: #fff; border-color: var(--line); box-shadow: var(--shadow-hover); backdrop-filter: none; }
.page-hero .card h3 { color: var(--indigo); }
.page-hero .card p { color: var(--ink-soft); }
.page-hero .ico { background: var(--mint-mist); color: var(--mint-ink); border: none; }

/* Cartes */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s, border-color .18s; position: relative; display: flex; flex-direction: column; gap: 10px; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.card .more { margin-top: auto; padding-top: 10px; font-weight: 700; text-decoration: none; font-size: .95rem; display: inline-flex; gap: 6px; align-items: center; color: var(--indigo); font-family: var(--font-title); }
.ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--mint-mist); color: var(--mint-ink); flex: none; }
.ico svg { width: 26px; height: 26px; }
.on-dark .card { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); box-shadow: none; }
.on-dark .card:hover { border-color: rgba(117,202,190,.6); }
.on-dark .card p { color: rgba(255,255,255,.78); }
.on-dark .ico { background: rgba(255,255,255,.1); color: var(--mint); }
.card.aud { border-top: 5px solid var(--aud); }
.card.aud .ico { background: var(--aud-bg); color: var(--aud-ink); }
.aud-eleve { --aud: #75CABE; --aud-ink: #1F7A6D; --aud-bg: #EAF7F4; } .aud-parent { --aud: #FFB547; --aud-ink: #A8651A; --aud-bg: #FFF4E2; } .aud-prof { --aud: #5D939C; --aud-ink: #3B6E76; --aud-bg: #EAF1F2; } .aud-ecole { --aud: #271C51; --aud-ink: #271C51; --aud-bg: #ECEAF3; }
.checks { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 7px; font-size: .95rem; }
.checks li { display: flex; gap: 8px; align-items: flex-start; }
.checks svg { width: 18px; height: 18px; color: var(--mint-deep); flex: none; margin-top: 4px; }
.on-dark .checks svg { color: var(--mint); }

/* En bref */
.brief { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; }
.brief dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: .95rem; align-content: start; background: #fff; border-radius: var(--r-md); padding: 20px; border: 1px solid var(--line); }
.brief dt { font-weight: 700; color: var(--indigo); white-space: nowrap; }
.brief dd { margin: 0; color: var(--ink-soft); }
.brief .updated { font-size: .8rem; color: var(--ink-soft); margin-top: 12px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 18px; text-align: center; box-shadow: var(--shadow); }
.stat .num { font-family: var(--font-title); font-weight: 800; font-size: 2.7rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; display: inline-block; }
.stat .lab { font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin-top: 10px; line-height: 1.5; }
.stats-note { font-size: .82rem; color: var(--ink-soft); margin-top: 14px; text-align: center; }

/* Tabs fonctionnalités */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.tab { border: 1px solid var(--line); background: #fff; color: var(--ink-soft); border-radius: var(--r-pill); padding: 9px 18px; font-weight: 700; font-size: .9rem; cursor: pointer; min-height: 42px; font-family: var(--font-title); }
.tab[aria-selected="true"] { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.features .card[hidden] { display: none; }
.feature-tag { position: absolute; top: 18px; inset-inline-end: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--aud); }
.features .card .ico { background: var(--aud-bg); color: var(--aud-ink); }

/* Étapes */
.steps-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 18px; position: relative; }
.step .n { width: 44px; height: 44px; border-radius: 14px; background: var(--indigo); color: var(--mint); font-family: var(--font-title); font-weight: 800; font-size: 1.1rem; display: grid; place-items: center; }
.step + .step::before { content: ""; position: absolute; inset-inline-start: 21px; top: -22px; height: 22px; border-inline-start: 2px dashed var(--mint); }
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.loop { margin-top: 10px; font-weight: 600; color: var(--mint-ink); }
.mock-light { background: var(--grad-brand); border-radius: var(--r-lg); padding: 24px; color: #fff; box-shadow: var(--shadow-hover); }
.mock-light .progress { margin: 0; }

/* Citation */
.quote { font-family: var(--font-title); font-weight: 700; font-size: clamp(1.15rem, 2.1vw, 1.5rem); line-height: 1.45; margin: 44px auto 0; max-width: 820px; text-align: center; position: relative; padding: 0 20px; letter-spacing: -.01em; }
.quote::before { content: "“"; color: var(--mint); font-size: 3rem; position: absolute; inset-inline-start: -8px; top: -20px; }
.quote cite { display: block; font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: .85rem; color: rgba(255,255,255,.7); margin-top: 14px; }
.text-quote { text-align: start; margin: 30px 0 0; color: var(--indigo); padding-inline-start: 24px; }
.text-quote cite { color: var(--ink-soft); }

/* Journée type */
.day { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.day li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 20px; box-shadow: var(--shadow); }
.day .t { font-family: var(--font-title); font-weight: 800; color: var(--mint-ink); font-size: 1rem; font-variant-numeric: tabular-nums; }
.day p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.day strong { display: block; color: var(--indigo); }

/* Texte riche / réponses */
.prose { max-width: 760px; }
.prose h2 { margin-top: 0; }
.answer { background: var(--mint-mist); border-inline-start: 4px solid var(--mint-deep); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 18px 22px; margin: 0 0 20px; font-size: 1.05rem; color: var(--ink); }
[dir="rtl"] .answer { border-radius: var(--r-md) 0 0 var(--r-md); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.not { background: var(--lavender-mist); border-radius: var(--r-lg); padding: 28px 32px; }
.not ul { margin: 0; padding-inline-start: 20px; }
.not li { margin-bottom: 10px; }

/* Témoignages */
.testi { font-style: italic; }
.testi .who { display: flex; align-items: center; gap: 10px; font-style: normal; font-weight: 700; font-size: .9rem; margin-top: auto; color: var(--indigo); }
.testi .who i { width: 12px; height: 12px; border-radius: 50%; background: var(--aud); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 22px; }
.faq details[open] { border-color: var(--violet-soft); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-family: var(--font-title); font-size: 1rem; color: var(--indigo); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--mint-deep); border-bottom: 2px solid var(--mint-deep); transform: rotate(45deg); transition: transform .2s; flex: none; margin-inline-end: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .a { padding: 0 0 20px; color: var(--ink-soft); }
.faq .a p { margin: 0 0 .6em; }

/* CTA final */
.final .wrap { text-align: center; position: relative; }
.final h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.final .lead { margin: 0 auto 30px; }
.final .cta-row { justify-content: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); }
.form fieldset { border: none; padding: 0; margin: 0 0 18px; }
.form legend { font-weight: 700; margin-bottom: 8px; color: var(--indigo); font-family: var(--font-title); }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { border: 1px solid var(--line); border-radius: var(--r-pill); padding: 8px 16px; cursor: pointer; font-size: .92rem; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; min-height: 42px; }
.radios label:has(:checked) { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--indigo); }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); min-height: 48px; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--mint-deep); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(117,202,190,.3); }
.field textarea { min-height: 120px; resize: vertical; }
.field.err input, .field.err textarea { border-color: var(--coral); }
.field .error { color: #C4472A; font-size: .85rem; display: none; }
.field.err .error { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin-bottom: 12px; }
.consent.err { color: #C4472A; }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--indigo); }
.legal { font-size: .8rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; }
.contact-side .card { margin-bottom: 16px; }
.contact-side a { font-weight: 700; text-decoration: none; }
.form .ok { display: none; background: var(--mint-mist); border: 1px solid var(--mint); border-radius: var(--r-md); padding: 20px; }
.form.sent .ok { display: block; } .form.sent form { display: none; }
.cond[hidden] { display: none; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--indigo); }
.socials svg { width: 18px; height: 18px; }

/* Pays */
.countries { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.country { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: #fff; border-radius: var(--r-pill); padding: 10px 20px; font-weight: 700; font-size: .95rem; color: var(--indigo); box-shadow: var(--shadow); }
.country .ic { color: var(--mint-deep); width: 20px; height: 20px; }

/* Footer */
.site-footer { background: var(--indigo); color: rgba(255,255,255,.78); padding: 64px 0 32px; font-size: .93rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-family: var(--font-title); font-weight: 700; font-size: .92rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { margin-bottom: 14px; color: #fff; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .8rem; }
.site-footer .socials a { border-color: rgba(255,255,255,.2); color: #fff; }
.flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; font-size: .85rem; font-weight: 600; color: var(--mint); }

/* Mobile sticky bar */
.sticky-bar { display: none; }
@media (max-width: 760px) {
  .sticky-bar { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 6px; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); padding: 8px; z-index: 45; backdrop-filter: blur(8px); }
  .sticky-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--indigo); text-decoration: none; font-size: .85rem; font-weight: 700; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); font-family: var(--font-title); }
  .sticky-bar a.main { background: linear-gradient(90deg, #4FB3A5, #271C51); border-color: transparent; color: #fff; }
  .sticky-bar svg { width: 18px; height: 18px; }
  body { padding-bottom: 68px; }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .35s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mol-bg, .typing i { animation: none; }
  .bubble { animation: none; opacity: 1; transform: none; }
  .bar .fill { transition: none; width: var(--w); }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .stats { grid-template-columns: repeat(2, 1fr); } .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero { padding: 48px 0 56px; min-height: auto; }
  .hero .wrap, .page-hero .wrap, .steps-wrap, .two-col, .contact-grid, .brief { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .brief dl { grid-template-columns: 1fr; gap: 2px 0; } .brief dt { margin-top: 8px; }
  .mol-bg { display: none; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .grid-2, .grid-3, .grid-4, .stats { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .day li { grid-template-columns: 1fr; gap: 4px; }
  .btn { width: 100%; }
  .cta-row { flex-direction: column; align-items: stretch; }
}


/* ===== v2 : mascotte Mento ===== */
.avatar { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; padding: 0; box-shadow: 0 2px 8px rgba(39,28,81,.1); flex: none; }
.avatar svg { width: 42px; height: 42px; }
.mento-chat { position: relative; }
.mento-peek { position: absolute; top: -62px; inset-inline-end: 10px; width: 108px; z-index: 2; pointer-events: none; }
.mento-peek svg { width: 100%; height: auto; }
.mento-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; margin-bottom: 36px; }
.mento-stage { display: grid; place-items: center; }
.mento-stage svg { width: min(100%, 320px); height: auto; }
.mento-intro .note { font-size: .92rem; color: var(--ink-soft); }
.mento-face-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; box-shadow: var(--shadow); }
.mento-face-card .mf svg { width: 96px; height: 96px; }
.mento-face-card figcaption { color: var(--ink-soft); font-size: .95rem; }
.mento-face-card strong { display: block; font-family: var(--font-title); color: var(--indigo); font-size: 1.05rem; margin-bottom: 4px; }
.mento-sm { width: 84px; height: 84px; flex: none; }

/* ===== v2 : captures de l'app ===== */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 22px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.shot { margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; }
.phone img { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 30px rgba(39,28,81,.18)); }
.phone--raw img { border-radius: 26px; border: 7px solid #1E1A3C; filter: none; box-shadow: 0 18px 30px rgba(39,28,81,.18); }
.shot figcaption { font-size: .92rem; color: var(--ink-soft); }
.shot figcaption strong, .web-shot figcaption strong { display: block; color: var(--indigo); font-family: var(--font-title); font-size: 1rem; margin-bottom: 2px; }
.phone--hero { margin: 0 auto; max-width: 300px; }
.web-shot { margin: 36px 0 0; display: grid; gap: 14px; }
.browser { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-hover); background: #fff; }
.browser .bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #F2F3F7; border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--ink-soft); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #D8D6E6; }
.browser .bar span { margin-inline-start: 10px; background: #fff; border-radius: 999px; padding: 3px 12px; }
.browser img { width: 100%; height: auto; display: block; }
.shots-note { font-size: .82rem; color: var(--ink-soft); text-align: center; margin-top: 12px; }

/* ===== v2 : « Ça te parle ? » (codes des campagnes Instagram) ===== */
.moments-sec { background: #fff; }
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.moment { background: var(--campaign); color: #fff; border-radius: var(--r-lg); padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; min-height: 210px; position: relative; overflow: hidden; }
.moment::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.07); inset-inline-end: -40px; bottom: -50px; }
.moment .m-hook { font-family: var(--font-title); font-weight: 800; font-size: 1.35rem; line-height: 1.2; margin: 0; letter-spacing: -.01em; }
.moment .m-hook[dir="rtl"] { font-family: 'Tajawal', var(--font-title); font-size: 1.55rem; line-height: 1.35; letter-spacing: 0; }
.moment .m-body { margin: 0; color: rgba(255,255,255,.9); font-size: .98rem; }
.moment .m-tag { margin-top: auto; align-self: flex-start; background: #fff; color: var(--campaign-deep); font-weight: 700; font-size: .78rem; border-radius: 999px; padding: 4px 12px; font-family: var(--font-title); position: relative; z-index: 1; }
.moment--note { background: #fff; color: var(--campaign-deep); border: 2px solid var(--campaign); }
.moment--note .m-hook { color: var(--campaign-deep); font-size: 2rem; }
.moment--note .m-body { color: var(--ink-soft); }
.moment--note .m-tag { background: var(--campaign); color: #fff; }
.moment--note::after { background: rgba(30,79,214,.06); }
.moment--deep { background: var(--campaign-deep); }
.moments-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; background: #EEF3FF; border-radius: var(--r-lg); padding: 18px 22px; }
.moments-cta p { margin: 0; font-weight: 600; color: var(--indigo); flex: 1; min-width: 220px; }
.moments-cta .stores { margin-top: 0; }

/* ===== v2 : avec / sans ===== */
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.cmp { border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--line); }
.cmp h3 { font-size: 1.4rem; margin: 8px 0 2px; }
.cmp-sub { color: var(--ink-soft); margin-bottom: 14px; }
.cmp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cmp li { display: flex; gap: 10px; align-items: flex-start; }
.cmp li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.cmp-tag { display: inline-block; font-family: var(--font-title); font-weight: 700; font-size: .78rem; border-radius: 999px; padding: 4px 12px; }
.cmp--without { background: #F4F4F7; }
.cmp--without .cmp-tag { background: #E2E2EA; color: #5B5878; }
.cmp--without li svg { color: #9D99B3; }
.cmp--without h3 { color: #5B5878; }
.cmp--with { background: linear-gradient(145deg, #EAF7F4, #fff 60%); border-color: #CDEBE4; box-shadow: var(--shadow); }
.cmp--with .cmp-tag { background: linear-gradient(90deg, #3E9C90, #271C51); color: #fff; }
.cmp--with li svg { color: var(--mint-deep); }

/* ===== v2 : presse ===== */
.press-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.press-chip { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-family: var(--font-title); color: var(--indigo); text-decoration: none; background: #fff; font-size: .92rem; }
.press-chip:hover { border-color: var(--indigo); color: var(--indigo); }
.press-quote { margin: 0; background: var(--bg-soft); border-radius: var(--r-lg); padding: 24px 26px; border-inline-start: 4px solid var(--mint-deep); }
.press-quote blockquote { margin: 0 0 12px; font-size: 1.04rem; color: var(--ink); }
.press-quote figcaption { font-size: .85rem; color: var(--ink-soft); }

/* ===== v2 : séries, tarifs, avis ===== */
.serie-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.serie-name { font-family: 'Tajawal', var(--font-title); font-weight: 800; font-size: 1.35rem; color: var(--indigo); }
.serie-where { font-size: .75rem; font-weight: 700; color: var(--mint-ink); text-transform: uppercase; letter-spacing: .05em; }
.plans { align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; position: relative; box-shadow: var(--shadow); }
.plan h3 { margin: 0; font-size: 1.25rem; }
.plan .price { margin: 0; color: var(--ink-soft); }
.plan .price strong { font-family: var(--font-title); font-size: 2.2rem; color: var(--indigo); letter-spacing: -.02em; }
.plan--pop { border: 2px solid var(--mint-deep); }
.plan-pop { position: absolute; top: -12px; inset-inline-start: 22px; background: linear-gradient(90deg, #3E9C90, #271C51); color: #fff; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: 4px 12px; font-family: var(--font-title); }
.testi blockquote { margin: 0; font-style: italic; color: var(--ink); }
.stars { color: #E89A10; letter-spacing: 2px; font-size: 1.05rem; }
.testi .who span { display: flex; flex-direction: column; }
.testi .who small { font-weight: 500; color: var(--ink-soft); font-size: .8rem; }
.testi-sum { background: var(--grad-brand); color: #fff; border: 0; justify-content: center; }
.testi-sum .big { font-family: var(--font-title); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.testi-sum p { color: rgba(255,255,255,.85); }
.testi-sum .more { color: var(--mint); }

@media (max-width: 960px) { .moments { grid-template-columns: 1fr 1fr; } .mento-intro { grid-template-columns: 1fr; } .mento-peek { width: 84px; top: -48px; inset-inline-end: 6px; } }
@media (max-width: 640px) { .moments, .cmp-grid { grid-template-columns: 1fr; } .shots { grid-auto-columns: 72%; } .mento-face-card { grid-template-columns: 72px 1fr; } .mento-face-card .mf svg { width: 72px; height: 72px; } }

/* ===== v3 : Mento 3D (bras, mains, pieds) ===== */
.mento-peek { top: -92px; width: 124px; }
.mento-stage svg.mento-star { width: min(100%, 340px); }
.mento-face-card .mf svg.mento-star { width: 104px; height: 104px; }
@media (max-width: 960px) { .mento-peek { width: 90px; top: -66px; } }

/* ===== v4 : Mento qui parle (bulle synchronisée avec la bouche, cf. main.js) ===== */
.mento-talk { display: grid; justify-items: center; }
.mento-say { position: relative; margin: 0 0 4px; width: min(100%, 370px); display: flex; align-items: center; justify-content: center; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 15px 20px; box-shadow: 0 14px 34px rgba(39,28,81,.1); color: var(--indigo); font-family: var(--font-title); font-weight: 600; font-size: 1rem; line-height: 1.45; }
.mento-say::after { content: ""; position: absolute; bottom: -8px; left: calc(50% - 8px); width: 15px; height: 15px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.mento-say .say-box { display: grid; width: 100%; }
.mento-say .say-box > span { grid-area: 1 / 1; align-self: center; }
.mento-say .sz, .mento-say .rest { visibility: hidden; }
.mento-say .caret { border-inline-start: 2px solid var(--mint-deep); margin-inline-end: -2px; opacity: 0; }
.mento-say.is-typing .caret { opacity: 1; animation: mento-caret .8s steps(1) infinite; }
.mento-pause { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 8px 14px; min-height: 40px; border: 1px solid var(--line); border-radius: var(--r-pill); background: #fff; color: var(--ink-soft); font: 600 .82rem/1 var(--font-title); cursor: pointer; }
.mento-pause:hover { color: var(--indigo); border-color: var(--mint); }
.mento-pause i { width: 10px; height: 11px; border-inline: 3px solid currentColor; box-sizing: border-box; }
.mento-pause[aria-pressed="true"] i { border: 0; width: 0; height: 0; border-block: 6px solid transparent; border-inline-start: 10px solid currentColor; }
@media (max-width: 860px) { .hero .mento-chat { margin-top: 24px; } }
@keyframes mento-caret { 50% { opacity: 0; } }
.mento-talk .mento-body3d { position: relative; width: min(100%, 440px); margin-top: -18px; }
.mento-talk .mento-body3d svg.mento-star { width: 100%; height: auto; display: block; }
/* Mento 3D : le canevas déborde largement du cadre (il peut « sortir » de sa place en s'avançant), sans bloquer les clics */
.mento-say { z-index: 1; }
@media (max-width: 640px) { .mento-say { font-size: .95rem; } .mento-talk .mento-body3d { width: min(100%, 360px); } }
@media (prefers-reduced-motion: reduce) { .mento-say .caret, .mento-pause { display: none; } }

/* ===== v5 : Mento 3D temps réel, visualiseur 3D / réalité augmentée ===== */
.mento-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.mento-actions .mento-pause { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .mento-actions .mento-pause { display: none; } }

/* Mento « étoile » (assets/js/mento-etoile.js) : l'avatar du chat n'a pas de fond menthe (la mascotte est déjà menthe) */
.mento-chat .avatar:has(.mento-star) { background: #fff; border: 1px solid var(--line); padding: 2px; }
.mento-chat .avatar svg { width: 100%; height: 100%; display: block; }
.mento-peek svg.mento-star { overflow: visible; }

/* ---- Idées reprises du brief « motion » (charte Mentora inchangée) ---- */
/* Bandeau défilant sous le hero : deux copies de la liste, boucle sans à-coup, pause au survol */
.ticker { display: flex; overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding: 14px 0; direction: ltr; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; flex: none; gap: 0; margin: 0; padding: 0; list-style: none; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker li { display: inline-flex; align-items: center; white-space: nowrap; font: 700 .9rem/1 var(--font-title); color: var(--indigo); letter-spacing: .04em; text-transform: uppercase; }
[dir="rtl"] .ticker li { text-transform: none; letter-spacing: 0; font-size: 1rem; }
.ticker li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-mol); margin-inline: 22px; }
@keyframes ticker { to { transform: translateX(-100%); } }
/* Indicateur de défilement du hero */
.hero { position: relative; }
.scroll-cue { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink-soft); font: 600 .74rem/1 var(--font-title); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
[dir="rtl"] .scroll-cue { letter-spacing: 0; font-size: .85rem; }
.scroll-cue i { width: 1.5px; height: 34px; background: linear-gradient(var(--mint-deep), transparent); background-size: 100% 200%; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { background-position: 0 100%; } 50% { background-position: 0 0; } 100% { background-position: 0 -100%; } }
@media (max-width: 860px) { .scroll-cue { display: none; } }
/* Cartes : grand numéro + halo qui suit la souris (--mx/--my posés par main.js) */
.spot { overflow: hidden; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .25s; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(117,202,190,.24), transparent 65%); }
.spot:hover::before { opacity: 1; }
.spot:hover { border-color: rgba(93,147,156,.45); }
.on-dark .spot::before { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(117,202,190,.22), transparent 65%); }
.card-num { position: absolute; top: 14px; inset-inline-end: 20px; font: 800 2.6rem/1 var(--font-title); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.2px rgba(39,28,81,.16); pointer-events: none; transition: -webkit-text-stroke-color .25s, color .25s; }
.spot:hover .card-num { -webkit-text-stroke-color: transparent; color: rgba(117,202,190,.5); }
.mento-face-card { position: relative; }
/* Fonctionnalités en grille « bento » : 4 cartes larges en diagonale (1, 5, 9, 12) → 4 rangées pleines, numéros dans l'ordre ;
   quand un onglet filtre (is-filtered), toutes les cartes reprennent une seule colonne */
.bento { grid-template-columns: repeat(4, 1fr); }
.bento:not(.is-filtered) .card:is(:nth-child(1), :nth-child(5), :nth-child(9), :nth-child(12)) { grid-column: span 2; }
.bento:not(.is-filtered) .card:is(:nth-child(1), :nth-child(5), :nth-child(9), :nth-child(12)) h3 { font-size: 1.3rem; }
.bento:not(.is-filtered) .card:is(:nth-child(1), :nth-child(5), :nth-child(9), :nth-child(12)) p { font-size: 1.02rem; max-width: 46ch; }
@media (max-width: 1024px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento:not(.is-filtered) .card:nth-child(n) { grid-column: auto; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } }
.mento-face-card .card-num { top: auto; bottom: 12px; font-size: 1.9rem; }
/* Apparition en cascade (délai posé par main.js) */
.reveal { transform: translateY(20px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
/* Flèche des boutons : glisse de 6 px au survol */
.btn:hover .arrow, .card .more:hover svg { transform: translateX(6px); }
[dir="rtl"] .btn:hover .arrow, [dir="rtl"] .card .more:hover svg { transform: scaleX(-1) translateX(6px); }
.card .more svg { transition: transform .2s; }
/* FAQ : ouverture fluide (navigateurs récents), icône + qui tourne de 45° */
.faq details { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq summary::after { width: 14px; height: 14px; border: 0; transform: none; background: linear-gradient(var(--mint-deep), var(--mint-deep)) center / 100% 2px no-repeat, linear-gradient(var(--mint-deep), var(--mint-deep)) center / 2px 100% no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) {
  .ticker { mask-image: none; } .ticker-track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 10px; } .ticker-track[aria-hidden] { display: none; }
  .scroll-cue i { animation: none; } .reveal { transition: none; transform: none; } .faq details::details-content { transition: none; }
}

/* ---- Écrans épinglés « publics » (idée Hello World) : Mento passe d'un côté à l'autre en arc de cercle ---- */
.tour-slide { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--aud); border-radius: var(--r-lg); padding: 26px 24px; box-shadow: var(--shadow); margin: 0; }
.tour-slide h3 { font-size: 1.5rem; margin: 6px 0 8px; } .tour-slide p { color: var(--ink-soft); margin: 0 0 10px; }
.tour-num { font: 800 1.6rem/1 var(--font-title); color: var(--aud-ink, var(--indigo)); letter-spacing: -.03em; }
.tour-num small { font-size: .55em; color: var(--ink-soft); font-weight: 600; }
.tour-mento, .tour-bar { display: none; }
.tour-slides { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 860px) { .tour-slides { grid-template-columns: 1fr; } }
/* version animée (écran large, mouvement autorisé, JS) */
.tour--live { height: calc(var(--n) * 85vh + 20vh); padding: 0; }
.tour--live .tour-pin { position: sticky; top: 64px; height: calc(100vh - 64px); overflow: hidden; }
.tour--live .tour-stage { position: relative; height: 100%; }
.tour--live .tour-head { position: absolute; top: 4vh; inset-inline: 0; text-align: center; margin: 0; z-index: 2; }
.tour--live .tour-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.tour--live .tour-mento { display: block; position: absolute; left: calc(50% - min(23vw, 280px)); top: 30%; width: min(46vw, 560px); will-change: transform; pointer-events: none; }
.tour--live .tour-mento svg { width: 100%; height: auto; display: block; }
.tour--live .tour-slides { display: block; }
.tour--live .tour-slide { position: absolute; top: 58%; width: min(42%, 470px); translate: 0 -50%; opacity: 0; transform: translateX(60px) scale(.97); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); pointer-events: none; box-shadow: var(--shadow-hover); }
.tour--live .tour-slide.side-end { inset-inline-end: 3%; }
.tour--live .tour-slide.side-start { inset-inline-start: 3%; transform: translateX(-60px) scale(.97); }
[dir="rtl"] .tour--live .tour-slide.side-end { transform: translateX(-60px) scale(.97); }
[dir="rtl"] .tour--live .tour-slide.side-start { transform: translateX(60px) scale(.97); }
.tour--live .tour-slide.is-on { opacity: 1; transform: none; pointer-events: auto; }
.tour--live .tour-num { font-size: 3.4rem; display: block; }
.tour--live .tour-bar { display: block; position: absolute; bottom: 5vh; left: 50%; translate: -50% 0; width: 180px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.tour--live .tour-bar i { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--grad-mol); transition: width .3s; }

/* ---- Trio Mento : défilement horizontal épinglé (idée Hello World) ---- */
.hpin--live { height: calc(var(--n) * 70vh + 30vh); }
.hpin--live .hpin-sticky { position: sticky; top: 64px; height: calc(100vh - 64px); overflow: hidden; display: flex; align-items: center; }
.hpin--live .hpin-sticky > .wrap { width: 100%; }
.hpin--live .hpin-track { display: flex; gap: 28px; width: max-content; will-change: transform; }
.hpin--live .mento-face-card { width: min(72vw, 780px); min-height: min(58vh, 440px); grid-template-columns: minmax(200px, 300px) 1fr; padding: 36px 40px; gap: 30px; opacity: .45; transform: scale(.94); transition: opacity .4s, transform .5s cubic-bezier(.2,.7,.2,1); }
.hpin--live .mento-face-card.is-on { opacity: 1; transform: none; box-shadow: var(--shadow-hover); }
.hpin--live .mento-face-card .mf svg.mento-star { width: 100%; height: auto; }
.hpin--live .mento-face-card strong { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: 10px; }
.hpin--live .mento-face-card figcaption { font-size: 1.1rem; }
.hpin--live .mento-face-card .card-num { top: 22px; bottom: auto; font-size: 4.4rem; }
@media (max-width: 860px) {
  .mento-trio { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 10px; }
  .mento-trio > .mento-face-card { flex: 0 0 84%; scroll-snap-align: center; }
}
/* ---- Écrans de l'app : carrousel 3D autour d'un axe vertical invisible ---- */
.shots.ring { display: block; overflow: visible; position: relative; height: var(--ring-h, 520px); perspective: 1200px; cursor: grab; touch-action: pan-y; padding: 0; scroll-snap-type: none; }
.shots.ring:active { cursor: grabbing; }
.shots.ring .ring-spin { position: absolute; left: 50%; top: 20px; width: var(--ring-w, 210px); margin-left: calc(var(--ring-w, 210px) / -2); transform-style: preserve-3d; will-change: transform; }
.shots.ring .shot { position: absolute; inset: 0 auto auto 0; width: 100%; margin: 0; backface-visibility: hidden; transition: filter .3s; }
.shots.ring .shot figcaption { display: none; }
.ring-cap { text-align: center; min-height: 3.4em; margin-top: 4px; color: var(--ink-soft); }
.ring-cap strong { display: block; color: var(--indigo); font-family: var(--font-title); font-size: 1.05rem; }
.ring-nav { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.ring-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--indigo); font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow); }
.ring-nav button:hover { border-color: var(--mint); }
/* ---- Portail : posé sur une table, la caméra le filme d'en haut ---- */
.desk-scene { margin-top: 48px; perspective: 1700px; }
.desk-cam { transform-style: preserve-3d; }
.desk { position: relative; aspect-ratio: 16 / 9.4; border-radius: 34px; transform-style: preserve-3d; transform-origin: 50% 60%;
  background: radial-gradient(120% 90% at 30% 20%, #FFFDF8 0%, #F6EFE3 55%, #EADFCC 100%);
  box-shadow: inset 0 0 0 1px rgba(39,28,81,.06), inset 0 -30px 60px rgba(120,90,50,.08), 0 40px 80px rgba(39,28,81,.14); }
.desk::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .35; background: repeating-linear-gradient(92deg, transparent 0 22px, rgba(160,120,70,.06) 22px 23px, transparent 23px 61px); }
.desk-item { position: absolute; transform-style: preserve-3d; }
.desk-tablet { left: 17%; top: 9%; width: 60%; transform: translateZ(6px) rotate(-3deg); }
.desk-tablet .browser { border: 10px solid #1E1A3C; border-radius: 22px; box-shadow: 0 30px 40px rgba(39,28,81,.28), 0 6px 10px rgba(39,28,81,.2); }
.desk-phone { right: 4%; top: 14%; width: 13%; transform: translateZ(8px) rotate(9deg); }
.desk-phone img { width: 100%; display: block; border: 6px solid #1E1A3C; border-radius: 20px; box-shadow: 0 18px 26px rgba(39,28,81,.3); }
.desk-notebook { left: 3%; top: 52%; width: 21%; aspect-ratio: 3 / 4; background: #fff; border-radius: 6px 12px 12px 6px; transform: translateZ(3px) rotate(-11deg); box-shadow: 0 14px 22px rgba(39,28,81,.16);
  background-image: repeating-linear-gradient(transparent 0 17px, rgba(93,147,156,.25) 17px 18px); background-position: 0 30px; }
.desk-notebook i { position: absolute; inset: 0 auto 0 0; width: 14%; border-radius: 6px 0 0 6px; background: var(--grad-mol); }
.desk-notebook b { position: absolute; left: 22%; top: 42%; font: 700 clamp(.55rem, 1.1vw, .95rem)/1 "Comic Sans MS", "Segoe Print", cursive; color: var(--indigo); transform: rotate(-4deg); }
.desk-pencil { left: 16%; top: 84%; width: 26%; height: 1.6%; min-height: 6px; border-radius: 3px; transform: translateZ(4px) rotate(-24deg); background: linear-gradient(90deg, #2D2550 0 4%, #FFB547 4% 82%, #F3D7A8 82% 94%, #271C51 94%); box-shadow: 0 6px 8px rgba(39,28,81,.2); }
.desk-mug { right: 7%; top: 64%; width: 11%; aspect-ratio: 1; border-radius: 50%; transform: translateZ(14px); background: radial-gradient(circle at 50% 50%, #5B3A22 0 52%, #fff 53% 66%, #E6F6F2 67% 100%); box-shadow: 0 16px 22px rgba(39,28,81,.22), inset 0 0 0 2px rgba(39,28,81,.06); }
.desk-mug::after { content: ""; position: absolute; right: -24%; top: 36%; width: 30%; height: 28%; border: 5px solid #E6F6F2; border-left: 0; border-radius: 0 50% 50% 0; }
.desk-star { left: 74%; top: 4%; width: 9%; transform: translateZ(18px) rotate(12deg); filter: drop-shadow(0 12px 10px rgba(39,28,81,.25)); }
.desk-star svg { width: 100%; height: auto; display: block; }
.desk-scene figcaption { text-align: center; max-width: 620px; margin: 22px auto 0; color: var(--ink-soft); }
@media (max-width: 640px) { .desk { border-radius: 20px; aspect-ratio: 4 / 3.4; } .desk-tablet { left: 6%; width: 74%; top: 8%; } .desk-phone { width: 18%; right: 3%; top: 42%; } .desk-notebook { top: 60%; } .desk-mug { top: 72%; right: 22%; } }

/* ---- Table v2 : la tablette posée à plat se redresse vers le spectateur (épinglé sur ordinateur) ---- */
.desk-notebook { width: 24%; background-position: 0 14px; }
.desk-notebook svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.desk-notebook b { display: none; }
.desk-tablet { transform-origin: 50% 100%; }
.desk-pin--live { height: 260vh; }
.desk-pin--live .desk-sticky { position: sticky; top: 64px; height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.desk-pin--live .desk-scene { width: min(100%, calc((100vh - 64px) * 1.08)); margin: 0 auto; padding-top: calc((100vh - 64px) * .16); perspective: 1400px; perspective-origin: 50% 20%; }
.desk-pin--live .desk-scene figcaption { margin-top: 0; transition: opacity .4s; }
.desk-pin--live .desk-tablet { will-change: transform; }

/* ---- Avec / sans Mentora : Mento au milieu (perdu → trouvé), « sans » s'efface, « avec » avance ---- */
.cmp-grid.cmp-anim { grid-template-columns: 1fr 120px 1fr; max-width: 1100px; align-items: center; }
.cmp-mid { display: grid; justify-items: center; gap: 4px; }
.cmp-mid svg { width: 120px; height: 120px; }
.cmp-arrow { font: 800 1.8rem/1 var(--font-title); color: var(--mint-deep); animation: cmp-nudge 1.6s ease-in-out infinite; }
[dir="rtl"] .cmp-arrow { transform: scaleX(-1); animation-name: cmp-nudge-rtl; }
@keyframes cmp-nudge { 50% { transform: translateX(8px); } }
@keyframes cmp-nudge-rtl { 0%, 100% { transform: scaleX(-1); } 50% { transform: scaleX(-1) translateX(8px); } }
.cmp-anim .cmp { transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .6s, opacity .6s, box-shadow .6s; }
.cmp-anim.is-in .cmp--without { transform: scale(.97); filter: grayscale(.6); opacity: .8; }
.cmp-anim.is-in .cmp--with { transform: translateY(-8px) scale(1.02); box-shadow: 0 30px 60px rgba(39,28,81,.14); }
.cmp-anim li { opacity: 0; transform: translateX(-14px); transition: opacity .45s, transform .45s; transition-delay: calc(var(--k, 0) * 140ms + 200ms); }
.cmp-anim .cmp--with li { transform: translateX(14px); transition-delay: calc(var(--k, 0) * 140ms + 900ms); }
.cmp-anim.is-in li { opacity: 1; transform: none; }
.cmp-anim .cmp--without li span { text-decoration: line-through transparent; transition: text-decoration-color .5s; transition-delay: calc(var(--k, 0) * 140ms + 700ms); }
.cmp-anim.is-in .cmp--without li span { text-decoration-color: rgba(91,88,120,.45); }
.cmp-anim .cmp--with li .hl { background: linear-gradient(90deg, rgba(117,202,190,.35), rgba(117,202,190,.35)) no-repeat 0 78% / 0 55%; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .6s; transition-delay: calc(var(--k, 0) * 140ms + 1200ms); }
[dir="rtl"] .cmp-anim .cmp--with li .hl { background-position: 100% 78%; }
.cmp-anim.is-in .cmp--with li .hl { background-size: 100% 55%; }
.cmp-anim .cmp--with li svg { transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--k, 0) * 140ms + 1000ms); }
.cmp-anim.is-in .cmp--with li svg { transform: none; }
@media (max-width: 860px) { .cmp-grid.cmp-anim { grid-template-columns: 1fr; } .cmp-mid { grid-auto-flow: column; align-items: center; } .cmp-mid svg { width: 90px; height: 90px; } .cmp-arrow { transform: rotate(90deg); animation: none; } }
/* ---- Tu avances… Mentora s'adapte : étape active qui tourne en boucle, fil qui se remplit, jauges qui montent ---- */
.steps-anim .step { transition: opacity .4s, transform .4s; }
.steps-anim.is-live .step { opacity: .45; }
.steps-anim.is-live .step.is-active { opacity: 1; transform: translateX(6px); }
[dir="rtl"] .steps-anim.is-live .step.is-active { transform: translateX(-6px); }
.steps-anim .step .n { transition: background .3s, color .3s, transform .3s, box-shadow .3s; }
.steps-anim .step.is-active .n { background: var(--grad-cta); color: #fff; transform: scale(1.12); box-shadow: 0 0 0 6px rgba(117,202,190,.25); }
.steps-anim .step.is-done .n { background: var(--mint); color: var(--indigo); }
.loop-ico { display: inline-block; font-style: normal; font-size: 1.2em; }
.steps-anim.is-live .loop-ico { animation: loop-spin 2.4s linear infinite; }
@keyframes loop-spin { to { transform: rotate(360deg); } }
.steps-anim .mock-light .fill { transition: width .9s cubic-bezier(.2,.7,.2,1); }
.steps-anim .mock-light { transition: transform .5s; }
.steps-anim.is-live .mock-light.bump { transform: translateY(-4px) rotate(-.6deg); }
/* ---- IA de confiance : la citation se révèle mot à mot au scroll ---- */
.quote .w { opacity: var(--o, 1); transition: opacity .25s; }
/* ---- Presse : aspect « revue de presse » ---- */
.press-sec { background: #FBFAF6; }
.press-mast { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.press-rule { flex: 1; border-top: 3px double var(--indigo); opacity: .55; }
.press-ttl { font: 900 clamp(1.3rem, 2.6vw, 2rem)/1 "Playfair Display", Georgia, serif; color: var(--indigo); letter-spacing: .04em; text-transform: uppercase; }
[dir="rtl"] .press-ttl { font-family: Amiri, "Times New Roman", serif; text-transform: none; letter-spacing: 0; font-weight: 700; }
.press-date { font: 600 .78rem/1 var(--font-title); color: var(--ink-soft); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.press-h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 900; letter-spacing: -.01em; }
[dir="rtl"] .press-h2 { font-family: Amiri, "Times New Roman", serif; font-weight: 700; }
.press-lead { font-family: "Playfair Display", Georgia, serif; font-style: italic; margin-inline: auto; }
[dir="rtl"] .press-lead { font-family: Amiri, serif; font-style: normal; font-size: 1.2rem; }
.press-band { display: flex; overflow: hidden; border-block: 1px solid rgba(39,28,81,.25); padding: 12px 0; margin: 26px 0 40px; direction: ltr; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.press-track { display: flex; flex: none; margin: 0; padding: 0; list-style: none; animation: ticker 30s linear infinite; }
.press-band:hover .press-track { animation-play-state: paused; }
.press-track li { display: flex; align-items: center; }
.press-track li::after { content: "✦"; color: var(--mint-deep); margin-inline: 22px; font-size: .8rem; }
.press-track a { font: 700 1.25rem/1 "Playfair Display", Georgia, serif; color: var(--indigo); text-decoration: none; white-space: nowrap; filter: grayscale(1); opacity: .75; transition: opacity .2s; }
.press-track a:hover { opacity: 1; }
.clips { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; max-width: 1060px; margin: 0 auto; }
.clip { position: relative; margin: 0; background: #FFFDF7; padding: 30px 30px 26px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 16px 34px rgba(39,28,81,.1);
  background-image: linear-gradient(rgba(39,28,81,.03) 1px, transparent 1px); background-size: 100% 26px;
  clip-path: polygon(0 0, 100% 0, 100% 96%, 96% 100%, 90% 97%, 84% 100%, 76% 97.5%, 68% 100%, 60% 97%, 52% 100%, 44% 97.5%, 36% 100%, 28% 97%, 20% 100%, 12% 97.5%, 4% 100%, 0 97%);
  transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.clip-0 { transform: rotate(-1.2deg); } .clip-1 { transform: rotate(1deg) translateY(18px); }
.clip:hover { transform: rotate(0) translateY(-4px); }
.clip-tape { position: absolute; top: -2px; left: 50%; width: 92px; height: 24px; margin-left: -46px; background: rgba(117,202,190,.45); transform: rotate(-3deg); }
.clip-mast { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 2px solid var(--indigo); padding-bottom: 8px; margin-bottom: 14px; }
.clip-mast strong { font: 900 1.5rem/1 "Playfair Display", Georgia, serif; color: var(--indigo); }
.clip-mast span { font: 600 .74rem/1 var(--font-title); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.clip blockquote { margin: 0 0 14px; font: 400 1.08rem/1.6 "Playfair Display", Georgia, serif; color: var(--ink); column-rule: 1px solid rgba(39,28,81,.15); }
[dir="rtl"] .clip blockquote { font-family: Amiri, serif; font-size: 1.25rem; }
.clip blockquote::first-letter { float: inline-start; font: 900 3.2em/.85 "Playfair Display", Georgia, serif; color: var(--mint-deep); margin-inline-end: 8px; margin-top: 4px; }
[dir="rtl"] .clip blockquote::first-letter { float: none; font: inherit; color: inherit; margin: 0; }
.clip figcaption { font-size: .85rem; color: var(--ink-soft); font-style: italic; }
.clip-link { display: inline-block; margin-top: 12px; font: 700 .85rem/1 var(--font-title); color: var(--indigo); text-decoration: none; border-bottom: 2px solid var(--mint); padding-bottom: 3px; }
@media (max-width: 860px) { .clips { grid-template-columns: 1fr; } .clip-1 { transform: rotate(1deg); } .press-mast { gap: 10px; } .press-date { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .press-track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 10px; } .press-track[aria-hidden] { display: none; } .press-band { mask-image: none; }
  .cmp-anim li, .cmp-anim .cmp--with li svg { opacity: 1; transform: none; transition: none; } .cmp-arrow, .loop-ico { animation: none; }
}

/* ---- Chat du haut de page : conversation jouée en boucle (main.js), point « en ligne » qui pulse ---- */
.mento-chat .status::before { animation: online 2s ease-out infinite; }
@keyframes online { 0% { box-shadow: 0 0 0 0 rgba(63,165,150,.55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(63,165,150,0); } }
.js-chat .bubble { animation: none; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .35s ease, transform .4s cubic-bezier(.2,.7,.2,1); }
.js-chat .bubble.on { opacity: 1; transform: none; }
.js-chat .bubble.me { transform-origin: 100% 100%; } .js-chat .bubble.mento { transform-origin: 0 100%; }
[dir="rtl"] .js-chat .bubble.me { transform-origin: 0 100%; } [dir="rtl"] .js-chat .bubble.mento { transform-origin: 100% 100%; }
.js-chat .bubbles > .typing { display: none; }
.js-chat .bubble .say { display: grid; }
.js-chat .bubble .say > * { grid-area: 1 / 1; }
.js-chat .bubble .rest { visibility: hidden; }
.js-chat .bubble .dots { display: none; align-self: center; gap: 4px; }
.js-chat .bubble.is-wait .dots { display: inline-flex; }
.js-chat .bubble.is-wait .txt { visibility: hidden; }
.js-chat .bubble .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint-deep); animation: blink 1.2s infinite; }
.js-chat .bubble .dots i:nth-child(2) { animation-delay: .2s; } .js-chat .bubble .dots i:nth-child(3) { animation-delay: .4s; }
.js-chat.is-fading .bubble { opacity: 0; transform: translateY(-6px); }
.mento-chat .bar .fill { transition: width .9s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) { .mento-chat .status::before { animation: none; } }

/* ---- Pages légales : sommaire collant + articles numérotés + fiche d'identité ---- */
.legal-grid { display: grid; grid-template-columns: 270px 1fr; gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow: auto; }
.legal-upd { font-size: .85rem; color: var(--ink-soft); margin: 0 0 14px; }
.legal-toc-t { font: 700 .78rem/1 var(--font-title); letter-spacing: .12em; text-transform: uppercase; color: var(--mint-ink); margin: 0 0 10px; }
[dir="rtl"] .legal-toc-t { letter-spacing: 0; font-size: .95rem; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; border-inline-start: 2px solid var(--line); }
.legal-toc a { display: flex; gap: 10px; padding: 6px 12px; font-size: .9rem; color: var(--ink-soft); text-decoration: none; margin-inline-start: -2px; border-inline-start: 2px solid transparent; }
.legal-toc a span { font: 700 .78rem/1.6 var(--font-title); color: var(--mint-deep); }
.legal-toc a:hover, .legal-toc a.is-on { color: var(--indigo); border-inline-start-color: var(--mint-deep); background: var(--mint-mist); }
.legal-body { max-width: 780px; }
.legal-id { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 26px; margin-bottom: 34px; }
.legal-id-t { font: 700 1rem/1.2 var(--font-title); color: var(--indigo); margin: 0 0 12px; }
.legal-id dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 0; }
.legal-id dl > div { display: grid; gap: 2px; align-content: start; }
.legal-id dt { font-size: .78rem; color: var(--ink-soft); font-weight: 600; }
.legal-id dd { margin: 0; color: var(--ink); font-weight: 600; font-size: .95rem; }
.legal-art { padding: 26px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.legal-art h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.2rem, 2vw, 1.45rem); margin: 0 0 12px; }
.legal-n { font: 800 1rem/1 var(--font-title); color: #fff; background: var(--grad-cta); border-radius: 10px; padding: 7px 9px; flex: none; }
.legal-art p, .legal-art li { color: var(--ink-soft); line-height: 1.7; }
.legal-art p { margin: 0 0 12px; }
.legal-art ul, .legal-art ol { margin: 0 0 12px; padding-inline-start: 22px; display: grid; gap: 6px; }
.legal-art li strong, .legal-art p strong { color: var(--indigo); }
@media (max-width: 900px) { .legal-grid { grid-template-columns: 1fr; gap: 20px; } .legal-toc { position: static; max-height: none; } .legal-id dl { grid-template-columns: 1fr; } }

/* ---- « Mentora en bref » (accueil) : texte + mosaïque de tuiles animées ---- */
.brief-show { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.bs-text p { color: var(--ink-soft); }
.bs-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bt { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px 16px 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .5s, transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .25s; transition-delay: calc(var(--k) * 90ms); }
.brief-show.is-in .bt { opacity: 1; transform: none; }
.bt:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.bt p { margin: 0; font-size: .86rem; color: var(--ink-soft); line-height: 1.45; }
.bt-l { font: 700 .7rem/1 var(--font-title); letter-spacing: .12em; text-transform: uppercase; color: var(--mint-ink); }
[dir="rtl"] .bt-l { letter-spacing: 0; font-size: .85rem; }
.bt-year, .bt-launch { grid-column: span 2; }
.bt-levels { grid-column: span 4; }
.bt-langs, .bt-prog { grid-column: span 2; }
.bt-pub, .bt-pres { grid-column: span 2; }
.bt-big { font: 800 2.6rem/1 var(--font-title); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
/* calendrier + tampon */
.bt-launch { padding-inline-end: 96px; min-height: 120px; }
.cal { position: absolute; inset-inline-end: 16px; top: 16px; width: 66px; border-radius: 10px; overflow: hidden; text-align: center; box-shadow: 0 6px 14px rgba(39,28,81,.15); background: #fff; transform-origin: 50% 0; }
.cal i { display: block; background: var(--grad-cta); color: #fff; font: 800 .7rem/1 var(--font-title); padding: 5px 0; font-style: normal; }
.cal b { display: block; font: 800 1.7rem/1.1 var(--font-title); color: var(--indigo); padding-top: 4px; }
.cal small { display: block; font-size: .65rem; color: var(--ink-soft); padding-bottom: 5px; }
.brief-show.is-in .cal { animation: cal-flip .9s .5s cubic-bezier(.2,.7,.2,1) both; }
@keyframes cal-flip { 0% { transform: rotateX(-90deg); } 60% { transform: rotateX(12deg); } 100% { transform: none; } }
.stamp { position: absolute; inset-inline-end: 10px; bottom: 10px; font: 800 .72rem/1 var(--font-title); letter-spacing: .14em; text-transform: uppercase; color: #C2410C; border: 2px solid #C2410C; border-radius: 6px; padding: 4px 7px; opacity: 0; transform: rotate(-12deg) scale(2.2); }
.brief-show.is-in .stamp { animation: stamp .45s 1.4s cubic-bezier(.3,1.4,.5,1) forwards; }
@keyframes stamp { to { opacity: .85; transform: rotate(-12deg) scale(1); } }
/* niveaux : Mento marche du primaire au bac */
.bt-levels .track { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin: 6px 0 4px; font: 700 .78rem/1.2 var(--font-title); color: var(--indigo); }
.t-line { position: relative; height: 8px; border-radius: 8px; background: var(--mint-mist); }
.t-fill { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; border-radius: 8px; background: var(--grad-mol); }
.t-star { position: absolute; top: 50%; inset-inline-start: 0; width: 46px; margin-inline-start: -23px; translate: 0 -62%; }
.t-star svg { width: 100%; height: auto; display: block; }
.brief-show.is-in .t-fill { animation: t-fill 6s 1s ease-in-out infinite alternate; }
.brief-show.is-in .t-star { animation: t-star 6s 1s ease-in-out infinite alternate; }
@keyframes t-fill { from { width: 0; } to { width: 100%; } }
@keyframes t-star { from { inset-inline-start: 0; } to { inset-inline-start: 100%; } }
/* langues : les salutations alternent */
.hello { position: relative; height: 2.2rem; overflow: hidden; }
.hello span { position: absolute; inset-inline-start: 0; top: 0; font: 800 1.7rem/1.3 var(--font-title); color: var(--indigo); opacity: 0; transform: translateY(100%); animation: hello 6s infinite; }
.hello span:nth-child(2) { animation-delay: 2s; } .hello span:nth-child(3) { animation-delay: 4s; }
@keyframes hello { 0% { opacity: 0; transform: translateY(100%); } 6%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-100%); } }
/* programmes : la coche se dessine */
.shield { width: 44px; height: 52px; }
.shield .tick { stroke-dasharray: 40; stroke-dashoffset: 40; }
.brief-show.is-in .shield .tick { transition: stroke-dashoffset .7s 1.1s ease; stroke-dashoffset: 0; }
/* publics et pays : apparition en cascade, point qui pulse */
.bt-pub ul, .bt-pres ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bt-pub li, .bt-pres li { display: flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: var(--indigo); opacity: 0; transform: scale(.8); transition: opacity .35s, transform .45s cubic-bezier(.3,1.5,.5,1); transition-delay: calc(900ms + var(--k) * 160ms); }
.brief-show.is-in .bt-pub li, .brief-show.is-in .bt-pres li { opacity: 1; transform: none; }
.bt-pub i { width: 30px; height: 30px; border-radius: 10px; background: var(--mint-mist); color: var(--mint-ink); display: grid; place-items: center; flex: none; }
.bt-pub i svg { width: 17px; height: 17px; }
.bt-pres b { position: relative; flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--indigo); color: var(--mint); font: 800 .7rem/1 var(--font-title); letter-spacing: .04em; }
.bt-pres b::after { content: ""; position: absolute; inset-inline-end: -3px; top: -3px; width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: var(--mint-deep); animation: online 2s ease-out infinite; animation-delay: calc(var(--k) * .4s); }
@media (max-width: 960px) { .brief-show { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .bs-tiles { grid-template-columns: 1fr 1fr; } .bt-year, .bt-launch, .bt-langs, .bt-prog, .bt-pub, .bt-pres, .bt-levels { grid-column: span 2; } }
@media (prefers-reduced-motion: reduce) {
  .bt, .bt-pub li, .bt-pres li { opacity: 1; transform: none; transition: none; }
  .cal, .t-fill, .t-star, .bt-pres b::after { animation: none !important; } .t-fill { width: 100%; } .stamp { opacity: .85; transform: rotate(-12deg); }
  .hello span { animation: none; opacity: 0; } .hello span:first-child { opacity: 1; transform: none; } .shield .tick { stroke-dashoffset: 0; }
}

/* ---- Sceau « Programmes officiels » (carte mise en avant, façon carte « conforme au ministère ») ---- */
.seal { width: 88px; height: 88px; display: block; filter: drop-shadow(0 8px 14px rgba(39,28,81,.14)); }
.seal-ring { transform-origin: 60px 60px; animation: seal-spin 22s linear infinite; }
@keyframes seal-spin { to { transform: rotate(360deg); } }
.card .ico:has(.seal) { width: auto; height: auto; background: none; padding: 0; margin-bottom: 4px; }
.card:has(.seal) { border-color: #CDEBE4; background: linear-gradient(160deg, #F2FBF8, #fff 55%); }
.on-dark .card:has(.seal) { background: rgba(255,255,255,.1); border-color: rgba(117,202,190,.55); }
.on-dark .card:has(.seal) .seal { filter: drop-shadow(0 8px 18px rgba(0,0,0,.3)); }
.bt-prog .seal { width: 64px; height: 64px; }
.seal-tick { stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .8s .4s ease; }
.in .seal-tick, .is-in .seal-tick, .card .seal-tick { stroke-dashoffset: 0; }
.brief-show:not(.is-in) .seal-tick { stroke-dashoffset: 30; }
@media (prefers-reduced-motion: reduce) { .seal-ring { animation: none; } .seal-tick { stroke-dashoffset: 0 !important; transition: none; } }
.card .ico:has(.seal) { justify-self: start; place-items: start; }
.card .ico .seal { width: 92px; height: 92px; }

/* ---- Emblème + tampon rouge « Conforme » (remplace le sceau) ---- */
.emb { position: relative; display: inline-block; width: 84px; height: 90px; filter: none; }
.emb img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 6px 10px rgba(39,28,81,.18)); }
.card .ico .seal.emb { width: 84px; height: 90px; }
.bt-prog .seal.emb { width: 62px; height: 66px; }
.emb-stamp { position: absolute; inset-inline-end: -34px; bottom: 6px; padding: 3px 7px; border: 2.5px solid #C62828; border-radius: 5px; color: #C62828; background: rgba(255,255,255,.88);
  font: 800 .66rem/1 var(--font-title); letter-spacing: .12em; white-space: nowrap; transform: rotate(-14deg); box-shadow: 0 2px 6px rgba(198,40,40,.15); }
.emb-stamp::after { content: "COMPLIANT"; }
html[lang="ar"] .emb-stamp { letter-spacing: 0; font-size: .82rem; font-family: Tajawal, var(--font-title); }
html[lang="ar"] .emb-stamp::after { content: "مطابق"; }
.reveal .emb-stamp, .brief-show .emb-stamp { opacity: 0; }
.in .emb-stamp, .is-in .emb-stamp { animation: emb-stamp .45s .55s cubic-bezier(.3,1.4,.5,1) forwards; }
@keyframes emb-stamp { from { opacity: 0; transform: rotate(-14deg) scale(2.3); } to { opacity: 1; transform: rotate(-14deg) scale(1); } }
.card:has(.emb) { padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { .reveal .emb-stamp, .brief-show .emb-stamp { opacity: 1; animation: none; } }

/* ================= Refonte UI ludique : en-tête capsule, boutons « à enfoncer », téléphone, rubans ================= */
/* --- En-tête : capsule flottante --- */
.site-header { background: transparent; border-bottom: 0; backdrop-filter: none; padding: 10px 0 0; pointer-events: none; }
.site-header .mobile-nav { pointer-events: auto; }   /* l'en-tête laisse passer les clics : le menu mobile doit les reprendre */
.site-header .nav-inner { pointer-events: auto; max-width: 1220px; margin: 0 auto; background: rgba(255,255,255,.86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(39,28,81,.08); border-radius: 26px; box-shadow: 0 10px 30px rgba(39,28,81,.08); padding: 8px 10px 8px 18px; gap: 14px; transition: box-shadow .3s, transform .3s, background .3s; }
[dir="rtl"] .site-header .nav-inner { padding: 8px 18px 8px 10px; }
.site-header.is-scrolled { box-shadow: none; }
.site-header.is-scrolled .nav-inner { box-shadow: 0 14px 34px rgba(39,28,81,.14); background: rgba(255,255,255,.94); }
.brand { display: flex; align-items: center; gap: 4px; position: relative; }
.brand-star { width: 38px; height: 38px; margin-inline-start: -2px; transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.brand-star svg { width: 100%; height: 100%; display: block; }
.brand:hover .brand-star { transform: rotate(-14deg) scale(1.15); }
.nav-links { position: relative; gap: 2px; }
.nav-links a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 7px; border-radius: 16px; color: var(--indigo); font-family: var(--font-title); font-weight: 700; font-size: .88rem; transition: color .2s; }
[dir="rtl"] .nav-links a { padding: 7px 7px 7px 12px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: none; }
.nav-links a i { width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center; background: var(--aud-bg); color: var(--aud-ink); transition: transform .35s cubic-bezier(.3,1.6,.5,1), background .2s; flex: none; }
.nav-links a i svg { width: 16px; height: 16px; }
.nav-links a:hover i { transform: rotate(-10deg) scale(1.12); }
.nav-links a[aria-current="page"] i { background: var(--aud); color: #fff; }
.nav-blob { position: absolute; z-index: 0; top: 0; height: 100%; left: 0; width: 0; border-radius: 16px; background: var(--mint-mist); opacity: 0; transition: transform .45s cubic-bezier(.3,1.3,.5,1), width .45s cubic-bezier(.3,1.3,.5,1), opacity .25s; pointer-events: none; list-style: none; }
.nav-links:hover .nav-blob, .nav-blob.is-on { opacity: 1; }
/* sélecteur de langue à curseur */
.lang { position: relative; border: 0; background: var(--bg-soft); padding: 3px; border-radius: 14px; gap: 0; }
.lang::before { content: ""; position: absolute; top: 3px; bottom: 3px; width: calc(50% - 3px); border-radius: 11px; background: var(--indigo); transition: transform .35s cubic-bezier(.3,1.4,.5,1); left: 3px; box-shadow: 0 3px 0 #170F33; }
.lang-ar::before { transform: translateX(100%); }
.lang a { position: relative; z-index: 1; padding: 6px 11px; border-radius: 11px; font-family: var(--font-title); }
.lang a[aria-current] { background: none; color: #fff; }
/* burger en trois traits qui se croisent */
.burger { gap: 4px; align-content: center; border: 0; background: var(--mint-mist); border-radius: 14px; }
.burger i { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--indigo); transition: transform .3s; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { transform: scaleX(0); }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 1000px) {
  .site-header { padding: 8px 8px 0; }
  .site-header .nav-inner { border-radius: 20px; padding: 6px 6px 6px 14px; }
  .mobile-nav { background: linear-gradient(170deg, #F2FBF8, #fff 45%); padding: 22px 18px; gap: 14px; }
  .mnav-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
  .mobile-nav a.link { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; border: 0; border-radius: 22px; padding: 16px; font-size: 1.1rem; background: #fff; box-shadow: 0 5px 0 var(--aud-bg), 0 10px 22px rgba(39,28,81,.08); border: 1.5px solid var(--aud-bg);
    opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .35s, transform .45s cubic-bezier(.3,1.4,.5,1); transition-delay: calc(var(--k) * 55ms); }
  .mobile-nav.open a.link { opacity: 1; transform: none; }
  .mobile-nav a.link i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--aud-bg); color: var(--aud-ink); }
  .mobile-nav a.link i svg { width: 22px; height: 22px; }
}

/* --- Hero : le chat dans un téléphone (app Mentora) --- */
.hero .mento-chat.phone-mock { background: none; border: 0; box-shadow: none; padding: 0; position: relative; width: min(100%, 340px); margin-inline: auto; perspective: 1200px; }
.pm-frame { position: relative; border-radius: 46px; padding: 11px; background: linear-gradient(145deg, #3A2F6B, #1B1340 60%, #120B2E); box-shadow: inset 0 0 0 2px rgba(255,255,255,.08), 0 40px 80px rgba(39,28,81,.28), 0 12px 24px rgba(39,28,81,.18);
  transform: rotateY(var(--ry, -9deg)) rotateX(var(--rx, 4deg)); transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
[dir="rtl"] .pm-frame { --ry: 9deg; }
.pm-frame::before { content: ""; position: absolute; inset-inline-end: -3px; top: 120px; width: 4px; height: 56px; border-radius: 3px; background: #2A2052; }
.pm-screen { position: relative; background: #fff; border-radius: 36px; overflow: hidden; height: 600px; display: flex; flex-direction: column; padding: 0 14px 12px; }
.pm-status { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 12px; font: 700 .78rem/1 var(--font-title); color: var(--indigo); flex: none; }
.pm-island { width: 86px; height: 24px; border-radius: 14px; background: #120B2E; }
.pm-sys { display: flex; align-items: flex-end; gap: 2px; }
.pm-sys b { width: 3px; background: var(--indigo); border-radius: 1px; } .pm-sys b:nth-child(1) { height: 5px; } .pm-sys b:nth-child(2) { height: 8px; } .pm-sys b:nth-child(3) { height: 11px; }
.pm-sys em { width: 20px; height: 10px; border: 1.5px solid var(--indigo); border-radius: 3px; margin-inline-start: 5px; background: linear-gradient(90deg, var(--mint-deep) 75%, transparent 75%) content-box; padding: 1px; }
.phone-mock .head { padding: 6px 2px 10px; margin-bottom: 10px; flex: none; }
.phone-mock .bubbles { flex: 1; overflow: hidden; gap: 8px; }
.phone-mock .bubble { font-size: .86rem; padding: 9px 13px; }
.pm-input { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding: 6px 6px 6px 14px; border-radius: 18px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-soft); font-size: .84rem; }
[dir="rtl"] .pm-input { padding: 6px 14px 6px 6px; }
.pm-input b { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-cta); color: #fff; box-shadow: 0 3px 0 #1B1340; }
.pm-input b svg { width: 16px; height: 16px; }
[dir="rtl"] .pm-input b svg { transform: scaleX(-1); }
.pm-widget { position: absolute; z-index: 3; width: 250px; inset-inline-start: -150px; bottom: 40px; margin: 0; background: #fff; border-radius: 22px; padding: 14px 16px; box-shadow: 0 24px 50px rgba(39,28,81,.2); border: 1px solid var(--line); transform: translateZ(60px) rotate(-3deg); animation: pm-float 6s ease-in-out infinite; }
.pm-widget .bar { font-size: .8rem; } .pm-widget .msg { font-size: .76rem; }
.pm-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 14px; font: 800 .8rem/1 var(--font-title); color: var(--indigo); background: #fff; box-shadow: 0 4px 0 #E4E1EF, 0 14px 26px rgba(39,28,81,.16); white-space: nowrap; }
.pm-chip svg { width: 18px; height: 18px; fill: #FFB547; }
.pm-chip--xp { inset-inline-end: -70px; top: 150px; animation: pm-float 5s ease-in-out infinite reverse; }
.pm-chip--streak { inset-inline-end: -40px; top: 360px; animation: pm-float 7s 1s ease-in-out infinite; }
.pm-chip--streak i { width: 12px; height: 16px; background: linear-gradient(#FFB547, #F97316); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
@keyframes pm-float { 50% { translate: 0 -10px; } }
.phone-mock .mento-peek { top: -64px; inset-inline-end: -14px; z-index: 4; }
@media (max-width: 1100px) { .pm-widget { inset-inline-start: -90px; width: 220px; } .pm-chip--xp { inset-inline-end: -36px; } .pm-chip--streak { inset-inline-end: -20px; } }
@media (max-width: 860px) {
  .hero .mento-chat.phone-mock { width: min(100%, 320px); margin-top: 70px; margin-bottom: 120px; }
  .pm-frame { transform: none; } .pm-screen { height: 540px; }
  .pm-widget { inset-inline-start: 50%; translate: -50% 0; bottom: -110px; width: 270px; transform: rotate(-2deg); animation: none; }
  [dir="rtl"] .pm-widget { translate: 50% 0; }
  .pm-chip--xp { inset-inline-end: -10px; top: 110px; } .pm-chip--streak { inset-inline-end: -6px; top: 300px; }
}
@media (prefers-reduced-motion: reduce) { .pm-widget, .pm-chip { animation: none; } .pm-frame { transition: none; } }
/* --- Rubans croisés (remplace le bandeau simple) --- */
.ribbons { position: relative; height: 150px; overflow: hidden; direction: ltr; margin: -10px 0 0; }
.ribbon { position: absolute; left: -5%; width: 110%; display: flex; overflow: hidden; padding: 14px 0; }
.ribbon .ticker-track { animation: ticker 40s linear infinite; }
.rb-1 { top: 22px; z-index: 2; background: linear-gradient(90deg, #271C51, #34335F 50%, #271C51); transform: rotate(-2.6deg); box-shadow: 0 14px 30px rgba(39,28,81,.25); }
.rb-2 { top: 50px; z-index: 1; background: linear-gradient(90deg, #75CABE, #A9E5DA 50%, #75CABE); transform: rotate(2.2deg); }
.rb-2 .ticker-track { animation-direction: reverse; animation-duration: 46s; }
.ribbon li { display: inline-flex; align-items: center; white-space: nowrap; font: 800 1.15rem/1 var(--font-title); letter-spacing: .02em; text-transform: uppercase; }
[dir="rtl"] .ribbon li, .ribbons:lang(ar) li { text-transform: none; font-family: Tajawal, var(--font-title); font-size: 1.25rem; }
.rb-1 li { color: #fff; } .rb-2 li { color: var(--indigo); }
.rb-star { width: 22px; height: 22px; margin-inline: 22px; flex: none; }
.rb-1 .rb-star { fill: var(--mint); animation: rb-spin 6s linear infinite; } .rb-2 .rb-star { fill: var(--indigo); }
@keyframes rb-spin { to { transform: rotate(360deg); } }
.ribbons:hover .ticker-track { animation-play-state: paused; }
@media (max-width: 640px) { .ribbons { height: 120px; } .ribbon li { font-size: .95rem; } .rb-star { width: 16px; height: 16px; margin-inline: 14px; } .rb-2 { top: 44px; } }
@media (prefers-reduced-motion: reduce) { .ribbon .ticker-track, .rb-star { animation: none; } }
/* correctifs refonte : langue toujours FR | AR (curseur juste en arabe aussi), menu à droite sur mobile, encart de progression moins envahissant */
.lang { direction: ltr; }
.nav-right { margin-inline-start: auto; }
.pm-widget { width: 205px; inset-inline-start: -118px; bottom: 96px; padding: 12px 14px; }
.pm-widget .ttl { font-size: .62rem; } .pm-widget .bar { margin-bottom: 6px; } .pm-widget .msg { display: none; }
@media (max-width: 1100px) { .pm-widget { inset-inline-start: -70px; width: 190px; } }
@media (max-width: 860px) { .pm-widget { inset-inline-start: 50%; bottom: -96px; width: 260px; } .pm-widget .msg { display: block; } }
/* tampon « Conforme » À CÔTÉ de l'emblème (plus dessus), sur deux lignes */
.emb, .card .ico .seal.emb, .bt-prog .seal.emb { display: inline-flex; align-items: center; gap: 14px; width: auto; height: auto; }
.emb img { width: 78px; height: 84px; flex: none; }
.bt-prog .emb img { width: 58px; height: 62px; }
.emb-stamp { position: static; display: inline-flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 12px; border-width: 3px; border-radius: 8px; transform: rotate(-8deg); background: rgba(255,255,255,.92); }
.emb-stamp::after { content: none; }
.emb-stamp b::after { content: "COMPLIANT"; font: 900 1rem/1 var(--font-title); letter-spacing: .14em; }
.emb-stamp small::after { content: "with the official curriculum"; font: 700 .6rem/1 var(--font-title); letter-spacing: .04em; }
html[lang="ar"] .emb-stamp b::after { content: "مطابق"; font: 800 1.2rem/1 Tajawal, sans-serif; letter-spacing: 0; }
html[lang="ar"] .emb-stamp small::after { content: "للمقررات الرسمية"; font: 700 .72rem/1 Tajawal, sans-serif; letter-spacing: 0; }
@keyframes emb-stamp { from { opacity: 0; transform: rotate(-8deg) scale(2.2); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
.on-dark .emb-stamp { background: #fff; }
@media (max-width: 860px) { .pm-widget { display: none; } .hero .mento-chat.phone-mock { margin-bottom: 30px; } }
html[lang="ar"] .emb-stamp::after { content: none; }
.emb-stamp { padding: 5px 9px; border-width: 2.5px; }
.emb-stamp b::after { font-size: .82rem; letter-spacing: .1em; }
.emb-stamp small::after { font-size: .52rem; letter-spacing: .02em; }
html[lang="ar"] .emb-stamp b::after { font-size: 1.05rem; }
html[lang="ar"] .emb-stamp small::after { font-size: .66rem; }
.card .ico:has(.emb) { max-width: 100%; }
/* présence : emblèmes des pays (Wikimedia Commons, domaine public) */
.bt-pres b.emblem { width: 36px; height: 36px; background: none; border-radius: 0; }
.bt-pres b.emblem img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 2px 3px rgba(39,28,81,.18)); }
.bt-pres b.emblem::after { inset-inline-end: -2px; top: -2px; }
.country img.emblem { width: 34px; height: 34px; object-fit: contain; }
/* presse : liste fixe des médias (plus de défilement) */
.press-band { mask-image: none; -webkit-mask-image: none; justify-content: center; }
.press-track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 10px; }
.press-track li:last-child::after { content: none; }
.press-band { overflow: visible; flex-wrap: wrap; }
.press-track { flex: 1 1 100%; }

/* ---- Menu « Je suis… » (inspiré de Prodigy / Khan Academy) ---- */
.who-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 8px; border: 0; border-radius: 16px; cursor: pointer; font: 800 .95rem/1 var(--font-title); color: #fff;
  background: var(--grad-cta); box-shadow: 0 4px 0 #1B1340, 0 10px 18px rgba(39,28,81,.18); transition: transform .15s, box-shadow .15s; position: relative; z-index: 1; }
[dir="rtl"] .who-btn { padding: 0 8px 0 14px; }
.who-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #1B1340, 0 14px 22px rgba(39,28,81,.22); }
.who-btn:active { transform: translateY(4px); box-shadow: 0 0 0 #1B1340; }
.who-btn b { color: var(--mint); font-weight: 800; }
.who-dots { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 6px; background: rgba(255,255,255,.16); border-radius: 11px; }
.who-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--aud); transition: transform .3s cubic-bezier(.3,1.8,.5,1); }
.who-btn:hover .who-dots i:nth-child(1) { transform: translate(-2px,-2px); } .who-btn:hover .who-dots i:nth-child(2) { transform: translate(2px,-2px); }
.who-btn:hover .who-dots i:nth-child(3) { transform: translate(-2px,2px); } .who-btn:hover .who-dots i:nth-child(4) { transform: translate(2px,2px); }
.chev { width: 8px; height: 8px; border-inline-end: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s; }
.who-btn[aria-expanded="true"] .chev { transform: rotate(-135deg) translateY(-2px); }
.who-panel { pointer-events: auto; position: absolute; top: calc(100% + 10px); left: 50%; width: min(1000px, calc(100% - 32px)); translate: -50% 0; background: #fff; border-radius: 30px; padding: 18px 18px 20px;
  box-shadow: 0 30px 70px rgba(39,28,81,.22), 0 0 0 1px rgba(39,28,81,.06); opacity: 0; transform: translateY(-10px) scale(.98); transform-origin: 50% 0; transition: opacity .25s, transform .35s cubic-bezier(.3,1.3,.5,1); }
.who-panel.is-open { opacity: 1; transform: none; }
.who-title { margin: 2px 6px 12px; font: 800 .78rem/1 var(--font-title); letter-spacing: .14em; text-transform: uppercase; color: var(--mint-ink); }
[dir="rtl"] .who-title { letter-spacing: 0; font-size: .95rem; }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.who-card { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; border-radius: 22px; background: var(--aud-bg); color: var(--indigo); text-decoration: none; overflow: hidden;
  box-shadow: inset 0 0 0 2px transparent; opacity: 0; transform: translateY(12px); transition: transform .4s cubic-bezier(.3,1.4,.5,1), box-shadow .2s, opacity .3s; transition-delay: calc(var(--k) * 50ms); }
.who-panel.is-open .who-card { opacity: 1; transform: none; }
.who-card:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: inset 0 0 0 2px var(--aud), 0 16px 28px rgba(39,28,81,.12); }
.who-card[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--aud); }
.who-star { display: block; width: 118px; height: 118px; margin: -6px auto 2px; transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.who-star svg { width: 100%; height: 100%; display: block; }
.who-card:hover .who-star { transform: scale(1.08) rotate(-4deg); }
.who-card strong { font: 800 1.15rem/1.2 var(--font-title); }
.who-card small { font-size: .85rem; color: var(--ink-soft); line-height: 1.35; }
.who-go { position: absolute; top: 14px; inset-inline-end: 14px; width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; background: #fff; color: var(--aud-ink); transform: rotate(-35deg); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.who-go svg { width: 16px; height: 16px; }
[dir="rtl"] .who-go { transform: scaleX(-1) rotate(-35deg); }
.who-card:hover .who-go { transform: none; } [dir="rtl"] .who-card:hover .who-go { transform: scaleX(-1); }
.site-header { position: sticky; }
.site-header .nav-inner { position: relative; }
@media (max-width: 1000px) { .who-panel { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .who-panel, .who-card { transition: none; } }
.chev { border-inline-end: 0; border-right: 2.5px solid currentColor; }
/* présence : drapeaux nationaux (emblème national = drapeau) */
.bt-pres b.emblem.flag { width: 36px; height: 24px; border-radius: 4px; overflow: visible; }
.bt-pres b.emblem.flag img { border-radius: 4px; box-shadow: 0 0 0 1px rgba(39,28,81,.12), 0 3px 6px rgba(39,28,81,.15); filter: none; }
.country img.emblem.flag { width: 36px; height: 24px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(39,28,81,.12); }

/* ================= Boutons v3 — une teinte franche + rebord de la même teinte (esprit Duolingo / Khan Academy), reflet au survol ================= */
.btn { --face: linear-gradient(180deg, #93DED2 0%, #6FC7B9 100%); --lip: #3E9C90; --ink: #271C51;
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  min-height: 54px; padding: 0 22px; border: 0; border-radius: 16px; cursor: pointer; text-decoration: none;
  font: 800 .98rem/1 var(--font-title); letter-spacing: .01em; color: var(--ink); background: var(--face);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 5px 0 var(--lip), 0 12px 22px rgba(39,28,81,.14);
  transform: translateY(0); transition: transform .14s cubic-bezier(.3,1.5,.5,1), box-shadow .14s, filter .2s; }
.btn:hover { color: var(--ink); filter: brightness(1.04) saturate(1.05); transform: translateY(-2px); box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 7px 0 var(--lip), 0 16px 26px rgba(39,28,81,.16); }
.btn:active { transform: translateY(5px); box-shadow: inset 0 2px 0 rgba(255,255,255,.35), 0 0 0 var(--lip), 0 4px 8px rgba(39,28,81,.12); }
.btn:focus-visible { outline: 3px solid var(--indigo); outline-offset: 4px; }
/* reflet qui traverse le bouton */
.btn::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-18deg); transition: left .55s ease; pointer-events: none; }
.btn:hover::after { left: 120%; }
.btn .btn-t { position: relative; }
.btn .arrow { width: 30px; height: 30px; padding: 7px; border-radius: 10px; background: var(--ink); color: #fff; transform: rotate(-35deg); transition: transform .35s cubic-bezier(.3,1.6,.5,1); flex: none; }
.btn:hover .arrow { transform: rotate(0) translateX(3px); }
[dir="rtl"] .btn .arrow { transform: scaleX(-1) rotate(-35deg); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) rotate(0) translateX(3px); }
.btn-spark { position: absolute; top: 7px; inset-inline-end: 9px; width: 11px; height: 11px; background: #FFF6D8; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; transform: scale(.2) rotate(-40deg); transition: opacity .2s, transform .45s cubic-bezier(.3,1.8,.5,1); pointer-events: none; }
.btn:hover .btn-spark { opacity: 1; transform: scale(1) rotate(0); }
/* secondaire : blanc, anneau intérieur (pas de bordure qui crée des défauts aux coins) */
.btn--ghost { --face: #fff; --lip: #E1DDEE; box-shadow: inset 0 0 0 2px #E1DDEE, 0 5px 0 var(--lip), 0 10px 18px rgba(39,28,81,.06); border: 0; }
.btn--ghost:hover { --lip: #BFE6DE; background: #F6FCFA; box-shadow: inset 0 0 0 2px #BFE6DE, 0 7px 0 var(--lip), 0 14px 22px rgba(39,28,81,.08); filter: none; }
.btn--ghost:active { box-shadow: inset 0 0 0 2px #BFE6DE, 0 0 0 var(--lip); }
.btn--ghost::after { background: linear-gradient(100deg, transparent, rgba(117,202,190,.25), transparent); }
.btn--ghost .arrow { background: var(--mint-mist); color: var(--indigo); }
.btn--ghost .btn-spark { background: #FFB547; }
/* petit */
.btn--sm { min-height: 44px; padding: 0 16px; border-radius: 14px; font-size: .88rem; box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 4px 0 var(--lip), 0 8px 14px rgba(39,28,81,.12); }
.btn--sm:hover { box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 6px 0 var(--lip), 0 12px 18px rgba(39,28,81,.14); }
.btn--sm:active { transform: translateY(4px); box-shadow: 0 0 0 var(--lip); }
.btn--sm .arrow { width: 24px; height: 24px; padding: 5px; border-radius: 8px; }
/* sur fond indigo */
.on-dark .btn { color: var(--ink); background: var(--face); }
.on-dark .btn.btn--ghost { --face: transparent; --lip: rgba(255,255,255,.22); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55), 0 5px 0 var(--lip); }
.on-dark .btn.btn--ghost:hover { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 2px #fff, 0 7px 0 var(--lip); }
.on-dark .btn.btn--ghost .arrow { background: rgba(255,255,255,.18); color: #fff; }
/* bouton « Je suis… » : indigo uni (pas de dégradé), même relief */
.who-btn { background: #2F2566; box-shadow: inset 0 2px 0 rgba(255,255,255,.14), 0 4px 0 #140C33, 0 10px 18px rgba(39,28,81,.18); }
.who-btn:hover { background: #362B73; box-shadow: inset 0 2px 0 rgba(255,255,255,.14), 0 6px 0 #140C33, 0 14px 22px rgba(39,28,81,.22); }
.who-btn:active { box-shadow: 0 0 0 #140C33; }
/* bouton d'envoi du téléphone */
.pm-input b { background: linear-gradient(180deg, #93DED2, #6FC7B9); color: var(--indigo); box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 3px 0 #3E9C90; }
@media (prefers-reduced-motion: reduce) { .btn, .btn::after, .btn .arrow, .btn-spark { transition: none; } }
.btn .arrow { transform: none; }
.btn:hover .arrow { transform: translateX(3px) scale(1.06); }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px) scale(1.06); }
/* ---- « Je suis… » plus clair : lavande douce, texte indigo ---- */
.who-btn { color: var(--indigo); background: linear-gradient(180deg, #F4F1FF, #E6E0FB); box-shadow: inset 0 0 0 2px #DCD4F7, 0 4px 0 #C7BCEF, 0 10px 18px rgba(39,28,81,.1); }
.who-btn:hover { background: linear-gradient(180deg, #F8F6FF, #ECE7FD); box-shadow: inset 0 0 0 2px #CFC5F4, 0 6px 0 #C7BCEF, 0 14px 22px rgba(39,28,81,.12); }
.who-btn:active { box-shadow: inset 0 0 0 2px #CFC5F4, 0 0 0 #C7BCEF; }
.who-btn b { color: #3E9C90; }
.who-dots { background: #fff; box-shadow: 0 1px 2px rgba(39,28,81,.1); }
/* ---- Langue : bulle qui bascule (FR ⇄ AR) ---- */
.lang-bubble { display: inline-block; perspective: 400px; text-decoration: none; flex: none; }
.lb-flip { position: relative; display: grid; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.3,1.4,.5,1); }
.lb-face { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; padding: 0 12px 0 6px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 16px 16px 16px 5px; background: #FFF4E2; color: var(--indigo); box-shadow: inset 0 0 0 2px #FBE3BC, 0 4px 0 #F1CF94; font-family: var(--font-title); white-space: nowrap; }
[dir="rtl"] .lb-face { border-radius: 16px 16px 5px 16px; padding: 0 6px 0 12px; }
.lb-front b { width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; background: #FFB547; color: var(--indigo); font: 800 1.05rem/1 Tajawal, var(--font-title); }
.lb-front small { font: 800 .86rem/1 var(--font-title); }
.lang-bubble[lang="ar"] .lb-front small, .lang-bubble[lang="ar"] .lb-back { font-family: Tajawal, var(--font-title); font-size: .98rem; }
.lb-back { transform: rotateX(180deg); background: #FFB547; box-shadow: 0 4px 0 #E39A2C; font: 800 .95rem/1 var(--font-title); padding: 0 14px; }
.lang-bubble:hover .lb-flip, .lang-bubble:focus-visible .lb-flip { transform: rotateX(180deg); }
.lang-bubble:active .lb-flip { translate: 0 3px; }
.lang-bubble:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 16px; }
@media (max-width: 1000px) { .nav-right .lang-bubble { display: none; } .mobile-nav .lang-bubble { align-self: flex-start; margin-top: 8px; } }
@media (prefers-reduced-motion: reduce) { .lb-flip { transition: none; } .lang-bubble:hover .lb-flip { transform: none; } }
/* ================= Correctifs de l'audit responsive (13/10/2026) ================= */
/* piège anti-robots : masqué sans décalage horizontal (left:-9999px créait 9 999 px de défilement en arabe) */
.hp { position: absolute !important; left: auto; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* carrousel 3D des écrans : ne dépasse plus sur les petits téléphones */
.shots.ring { overflow-x: clip; }
/* barre d'actions mobile : tient sur 360 px */
.sticky-bar { grid-template-columns: auto auto minmax(0, 1fr); }
.sticky-bar a { min-width: 0; padding: 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 380px) { .sticky-bar a { font-size: .8rem; padding: 0 9px; gap: 4px; } }
/* zones à toucher d'au moins 44 px (Apple) / 24 px (WCAG 2.5.8) */
.site-footer .bottom a, .clip-link { display: inline-flex; align-items: center; min-height: 44px; }
.clip-link { padding-block: 10px; }
/* plus aucun texte sous 12 px */
.store small { font-size: 12px; }
.clip-mast span { font-size: 12px; }
.bt-l { font-size: 12px; }
.sticky-bar a.main { background: linear-gradient(180deg, #93DED2, #6FC7B9); color: var(--indigo); box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 3px 0 #3E9C90; border-color: transparent; }
.pm-widget .ttl { font-size: 12px; } .scroll-cue { font-size: 12px; }
/* ================= Fond : le « O » du logo en motif très discret, un peu plus marqué là où Mento apparaît ================= */
.on-light, .on-cream, .moments-sec { background-image: url(../img/bg-o.svg); background-size: 720px 720px; background-repeat: repeat; }
.on-cream { background-position: 360px 200px; }
.press-sec { background-image: url(../img/bg-o.svg); background-size: 720px 720px; }
.hero { background: url(../img/bg-o-mento.svg) 0 0 / 720px 720px repeat, radial-gradient(900px 600px at 8% 10%, var(--mint-mist), transparent 60%), radial-gradient(800px 600px at 95% 90%, var(--lavender-mist), transparent 60%), #fff; }
.page-hero { background: url(../img/bg-o.svg) 0 0 / 720px 720px repeat, radial-gradient(800px 500px at 10% 0%, var(--mint-mist), transparent 60%), radial-gradient(700px 500px at 100% 100%, var(--lavender-mist), transparent 60%), #fff; }
.on-dark { background-image: url(../img/bg-o-dark.svg), var(--grad-brand); background-size: 720px 720px, auto; background-repeat: repeat, no-repeat; }
/* sections où Mento apparaît : motif un peu plus foncé */
.mento-sec, .tour, .brief-show-sec, #avec-sans, .moments-sec, .app-sec { background-image: url(../img/bg-o-mento.svg); background-size: 720px 720px; background-repeat: repeat; }
/* halo du O juste derrière Mento */
.mento-talk .mento-body3d, .tour-mento, .phone-mock, .cmp-mid { isolation: isolate; }
.mento-talk .mento-body3d::before, .tour--live .tour-mento::before, .hero .phone-mock::before, .cmp-mid::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; left: 50%; top: 50%; width: 120%; aspect-ratio: 1; translate: -50% -50%;
  background: url(../img/o-halo.svg) center / contain no-repeat; opacity: .13; animation: spin 180s linear infinite; }
.hero .phone-mock::before { width: 150%; opacity: .11; }
.cmp-mid { position: relative; } .cmp-mid::before { width: 170%; opacity: .14; }
@media (prefers-reduced-motion: reduce) { .mento-talk .mento-body3d::before, .tour-mento::before, .phone-mock::before, .cmp-mid::before { animation: none; } }
.ar-inline { font-family: Tajawal, var(--font-body); font-weight: 600; }
.bar .fill { display: block; }
.bar .track { display: block; }
.ar-inline { font-size: .9em; line-height: 1.2; }
/* ---- Fond v2 : UN seul « O » par section, plus discret (remplace le motif répété) ---- */
.on-light, .on-cream, .moments-sec, .press-sec, .app-sec, .brief-show-sec { background-image: url(../img/o-single.svg); background-repeat: no-repeat; background-size: min(560px, 70vw) auto; background-position: right -140px top 40px; }
.on-cream, .press-sec { background-position: left -160px bottom 30px; }
[dir="rtl"] .on-light, [dir="rtl"] .moments-sec, [dir="rtl"] .app-sec, [dir="rtl"] .brief-show-sec { background-position: left -140px top 40px; }
[dir="rtl"] .on-cream, [dir="rtl"] .press-sec { background-position: right -160px bottom 30px; }
/* sections avec Mento : leur seul O est le halo derrière Mento */
.mento-sec, .tour, #avec-sans { background-image: none; }
.mento-talk .mento-body3d::before, .tour--live .tour-mento::before, .cmp-mid::before { opacity: .1; }
/* haut de page et sections indigo : seulement le grand O qui tourne déjà (pas de motif en plus) */
.hero { background: radial-gradient(900px 600px at 8% 10%, var(--mint-mist), transparent 60%), radial-gradient(800px 600px at 95% 90%, var(--lavender-mist), transparent 60%), #fff; }
.hero .phone-mock::before { content: none; }
.hero .mol-bg { opacity: .12; }
.page-hero { background: radial-gradient(800px 500px at 10% 0%, var(--mint-mist), transparent 60%), radial-gradient(700px 500px at 100% 100%, var(--lavender-mist), transparent 60%), #fff; }
.page-hero .mol-bg { opacity: .09; }
.on-dark { background-image: var(--grad-brand); background-size: auto; }
.on-dark .mol-bg { opacity: .08; }
/* ---- Fond v3 : O derrière CHAQUE Mento de la section Mento (s'estompe en s'éloignant), O des autres blocs plus discret et plus proche ---- */
.on-light, .on-cream, .moments-sec, .press-sec, .app-sec, .brief-show-sec { background-size: min(440px, 62vw) auto; background-position: right -40px top 70px; }
.on-cream, .press-sec { background-position: left -50px bottom 50px; }
[dir="rtl"] .on-light, [dir="rtl"] .moments-sec, [dir="rtl"] .app-sec, [dir="rtl"] .brief-show-sec { background-position: left -40px top 70px; }
[dir="rtl"] .on-cream, [dir="rtl"] .press-sec { background-position: right -50px bottom 50px; }
.mento-talk .mento-body3d::before { width: 135%; opacity: .085; }
.tour--live .tour-mento::before, .cmp-mid::before { opacity: .085; }
/* les 3 cartes « Il explique / Il guide / Il encourage » : un O derrière chaque Mento */
.mento-face-card .mf { position: relative; isolation: isolate; }
.mento-face-card .mf::before { content: ""; position: absolute; z-index: -1; pointer-events: none; left: 50%; top: 50%; width: 175%; aspect-ratio: 1; translate: -50% -50%;
  background: url(../img/o-halo.svg) center / contain no-repeat; opacity: .08; animation: spin 180s linear infinite; }
.hpin--live .mento-face-card .mf::before { width: 150%; }
@media (prefers-reduced-motion: reduce) { .mento-face-card .mf::before { animation: none; } }
/* ---- Écrans « publics » : photo du public en haut de la carte (l'animation d'origine est inchangée) ---- */
.tour-photo { margin: 0 0 14px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 10px 22px rgba(39,28,81,.12); }
.tour-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tour--live .tour-photo { aspect-ratio: 2 / 1; margin-bottom: 10px; }
.tour--live .tour-slide { top: 57%; }
.tour--live .tour-slide h3 { margin-top: 2px; }
.tour--live .tour-num { font-size: 2.6rem; }

/* ---- Presse v2 : « Vu à la TV » (extrait 2M) + mur de logos des médias ---- */
.tv { margin: 30px 0 34px; }
.tv-main { display: grid; grid-template-columns: 1.25fr 1fr; gap: 34px; align-items: center; background: #fff; border-radius: 28px; padding: 18px; box-shadow: 0 24px 50px rgba(39,28,81,.12); border: 1px solid var(--line); }
.tv-screen { position: relative; border-radius: 20px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: inset 0 0 0 6px #1B1340; }
.tv-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv-badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.92); font: 800 .78rem/1 var(--font-title); color: var(--indigo); }
.tv-badge img { width: 18px; height: 18px; }
.tv-live { position: absolute; right: 12px; top: 12px; padding: 5px 9px; border-radius: 8px; background: #E53935; color: #fff; font: 800 .72rem/1 var(--font-title); letter-spacing: .08em; animation: online 2s infinite; }
.tv-cap h3 { display: flex; align-items: center; gap: 10px; font-size: 1.6rem; margin: 6px 0 8px; }
.tv-logo { width: 34px; height: 34px; }
.tv-cap p { color: var(--ink-soft); margin: 0 0 10px; }
.tv-more { font: 700 .82rem/1 var(--font-title) !important; color: var(--indigo) !important; margin-top: 14px !important; }
.tv-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tv-list a { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 12px; border-radius: 14px; background: var(--bg-soft); text-decoration: none; color: var(--indigo); font: 700 .88rem/1.2 var(--font-title); transition: background .2s, transform .2s; }
.tv-list a:hover { background: var(--mint-mist); transform: translateY(-2px); }
.tv-list small { margin-inline-start: auto; color: var(--mint-ink); font-weight: 700; }
.tv-play { width: 26px; height: 26px; border-radius: 50%; background: #E53935; flex: none; position: relative; }
.tv-play::after { content: ""; position: absolute; left: 10px; top: 8px; border-left: 8px solid #fff; border-block: 5px solid transparent; }
.press-logos { list-style: none; margin: 0 0 38px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.press-logos .pl { display: flex; align-items: center; justify-content: center; gap: 8px; height: 82px; padding: 12px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  text-decoration: none; color: var(--indigo); font: 800 .95rem/1.1 var(--font-title); transition: transform .25s, box-shadow .25s, filter .25s; filter: grayscale(.85); opacity: .85; }
.press-logos .pl:hover { filter: none; opacity: 1; transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.press-logos img { max-width: 100%; max-height: 54px; object-fit: contain; }
.press-logos .pl-ico img { max-height: 40px; max-width: 40px; }
@media (max-width: 860px) { .tv-main { grid-template-columns: 1fr; } .tv-list { grid-template-columns: 1fr; } .press-logos { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .tv-live { animation: none; } }
/* ---- Reportage complet 2M (fenêtre vidéo) ---- */
.tv-screen { cursor: pointer; }
.tv-screen:focus-visible { outline: 3px solid var(--indigo); outline-offset: 4px; }
.tv-bigplay { position: absolute; z-index: 2; left: 50%; top: 50%; width: 74px; height: 74px; translate: -50% -50%; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.tv-bigplay::after { content: ""; position: absolute; left: 30px; top: 23px; border-left: 22px solid var(--indigo); border-block: 14px solid transparent; }
.tv-screen:hover .tv-bigplay { transform: scale(1.1); }
.tv-open { margin-top: 6px; }
.tv-rights { font-size: .8rem !important; color: var(--ink-soft) !important; margin: 8px 0 0 !important; font-style: italic; }
.tv-dialog { width: min(96vw, 960px); padding: 0; border: 0; border-radius: 24px; overflow: hidden; background: #0d0a1f; color: #fff; box-shadow: 0 40px 100px rgba(0,0,0,.5); }
.tv-dialog::backdrop { background: rgba(18,11,46,.75); backdrop-filter: blur(4px); }
.tv-dialog video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #000; }
.tv-dialog p { margin: 0; padding: 14px 18px 18px; font-size: .92rem; color: rgba(255,255,255,.85); }
.tv-dialog small { display: block; margin-top: 4px; color: rgba(255,255,255,.6); font-style: italic; }
.tv-close { position: absolute; z-index: 2; top: 10px; inset-inline-end: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--indigo); font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* Tour publics : illustrations détourées, au premier plan (sans cadre ni fond) */
.tour-photo { background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.tour-photo img { object-fit: contain; object-position: center bottom; filter: drop-shadow(0 10px 14px rgba(39,28,81,.14)); }
/* Tour publics : cartes plus riches (4 points) → plus compactes sur les écrans de hauteur moyenne (portables 768–900 px) */
@media (max-height: 900px) {
  .tour--live .tour-slide { padding: 16px 22px 18px; top: 59%; }
  .tour--live .tour-photo { aspect-ratio: 3 / 1; margin-bottom: 4px; }
  .tour--live .tour-num { font-size: 2rem; }
  .tour--live .tour-slide h3 { font-size: 1.3rem; margin: 0 0 4px; }
  .tour--live .tour-slide p { font-size: .94rem; line-height: 1.5; margin-bottom: 8px; }
  .tour--live .tour-slide .checks { margin: 0 0 10px; gap: 4px; }
  .tour--live .tour-slide .checks li { font-size: .9rem; margin: 0 0 2px; }
}
/* Tour publics : l'animation tourne aussi sur les écrans bas (portable zoomé à 125 %) — carte compactée */
@media (max-height: 720px) {
  .tour--live .tour-head { top: 2vh; }
  .tour--live .tour-head h2 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
  .tour--live .tour-slide { padding: 14px 18px; top: 58%; }
  .tour--live .tour-photo { aspect-ratio: 3 / 1; margin-bottom: 4px; }
  .tour--live .tour-num { font-size: 1.9rem; }
  .tour--live .tour-slide h3 { font-size: 1.2rem; margin: 0 0 4px; }
  .tour--live .tour-slide p { font-size: .92rem; line-height: 1.45; margin-bottom: 6px; }
  .tour--live .tour-slide .checks { margin: 0 0 8px; } .tour--live .tour-slide .checks li { font-size: .86rem; margin: 0; }
  .tour--live .tour-bar { bottom: 2vh; }
}
@media (max-height: 640px) {
  .tour--live .tour-slide .checks { display: none; }
  .tour--live .tour-slide { top: 60%; }
  .tour--live .tour-photo { aspect-ratio: 7 / 2; }
}
/* Tour publics : opacité et position des cartes pilotées par le scroll (main.js) — pas de transition qui retarderait le geste */
.tour--live .tour-slide { transition: none; will-change: opacity, transform; }

/* ---- Presse : bande de logos qui défile (idée youschool.fr), pleine largeur, fond pâle, tuiles blanches ---- */
.press-band { background: var(--lavender-mist); padding: 34px 0 38px; margin: 10px 0 46px; }
.press-band-h { text-align: center; margin: 0 0 22px; font: 800 clamp(1.3rem, 2.4vw, 1.9rem)/1.2 var(--font-title); color: var(--indigo); padding: 0 16px; }
.press-band-h em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.press-marquee { display: flex; overflow: hidden; direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.press-marquee .press-logos { display: flex; flex: none; gap: 18px; margin: 0; padding: 6px 9px 10px; grid-template-columns: none; animation: press-roll 46s linear infinite; }
.press-marquee:hover .press-logos, .press-marquee:focus-within .press-logos { animation-play-state: paused; }
.press-marquee .pl { width: 190px; height: 92px; filter: none; opacity: 1; border-color: transparent; }
.press-marquee .pl img { max-height: 52px; }
.press-marquee .pl-tv img { max-height: 46px; }
[dir="rtl"] .press-marquee .press-logos { animation-direction: reverse; }
@keyframes press-roll { to { transform: translateX(-100%); } }
@media (max-width: 860px) { .press-marquee .pl { width: 150px; height: 76px; } .press-marquee .press-logos { gap: 12px; animation-duration: 34s; } }
@media (prefers-reduced-motion: reduce) {
  .press-marquee { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .press-marquee .press-logos { animation: none; flex-wrap: wrap; justify-content: center; }
  .press-marquee .press-logos[aria-hidden] { display: none; }
}
/* les halos « O » qui tournent derrière Mento ne doivent pas créer de défilement horizontal (clip ≠ conteneur de scroll : l'épinglage reste intact) */
main > section { overflow-x: clip; }
/* audit responsive 14/10 : « Voir → » lisible (≥ 12 px) */
.tv-list small { font-size: .8rem; }
/* Tour publics : fenêtres étroites (861–1100 px) → carte plus large, donc moins haute */
@media (max-width: 1100px) { .tour--live .tour-slide { width: 50%; } }
/* très bas (portable zoomé, ≤ 560 px de haut) : illustration et texte encore resserrés */
@media (max-height: 560px) {
  .tour--live .tour-photo { aspect-ratio: 9 / 2; }
  .tour--live .tour-slide { padding: 10px 18px 12px; }
  .tour--live .tour-slide p { font-size: .86rem; line-height: 1.4; }
  .tour--live .tour-num { font-size: 1.6rem; }
}
@media (min-height: 901px) { .tour--live .tour-slide .checks { margin-bottom: 16px; } }

/* ---- Accessibilité (audit axe-core 14/10) : contrastes ≥ 4,5:1, titres de pied de page et de cartes en h2/p (même apparence) ---- */
mark.todo { color: #8A5214; }
.tv-live { background: #C62828; }
.stamp { color: #A9461B; border-color: #A9461B; }
@keyframes stamp { to { opacity: 1; transform: rotate(-12deg) scale(1); } }
@media (prefers-reduced-motion: reduce) { .stamp { opacity: 1 !important; } }
.cmp-anim.is-in .cmp--without { opacity: 1; }
.cmp--without .cmp-sub { color: #5B5878; }
.site-footer h2.f-h { color: #fff; font-family: var(--font-title); font-weight: 700; font-size: .92rem; line-height: 1.12; margin: 0 0 14px; }
.card p.card-t { font: 700 1.15rem/1.12 var(--font-title); letter-spacing: -.01em; color: var(--indigo); margin: 0; }
.mento-trio:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: 12px; }

/* ---- Écrans de l'app : de vrais téléphones en volume dans l'anneau 3D ----
   corps = 14 couches arrondies empilées (tranche continue, coins compris) ; l'écran (capture) est serti dans un cadre noir */
.ph-body { display: none; }
.shots.ring .shot { transform-style: preserve-3d; backface-visibility: visible; }
.shots.ring .phone { position: relative; transform-style: preserve-3d; --d: calc(var(--ring-w, 210px) * .035); --r: calc(var(--ring-w, 210px) * .16); }
.shots.ring .phone > img { position: relative; z-index: 1; border-radius: calc(var(--r) * .86); backface-visibility: hidden;
  transform: translateZ(calc(var(--d) / 2 + 1px)) scale(.94, .965); filter: brightness(var(--b, 1)) saturate(var(--s, 1)); }
.shots.ring .ph-body { display: block; position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.shots.ring .ph-body i, .shots.ring .ph-back { position: absolute; inset: 0; border-radius: var(--r); }
.shots.ring .ph-body i { transform: translateZ(calc(var(--d) / 2 - var(--k) * var(--d) / 13));
  background: linear-gradient(90deg, #0E1C21, #2C4A52 18%, #5F8D93 50%, #2C4A52 82%, #0E1C21);
  filter: brightness(calc(var(--b, 1) * (.92 + var(--k) * .006))); }
.shots.ring .ph-body i:first-child { background: #0B1418; box-shadow: inset 0 0 0 1.5px #5F8D93; }            /* face avant : cadre noir + liseré */
.shots.ring .ph-back { transform: translateZ(calc(var(--d) / -2 - .5px)) rotateY(180deg); backface-visibility: hidden;
  background: url(../img/o-single-dark.svg) center 46% / 44% auto no-repeat, linear-gradient(160deg, #2E555D, #18303A 55%, #0F2229);
  box-shadow: inset 0 0 0 1.5px rgba(156,201,193,.35); filter: brightness(var(--b, 1)); }
.shots.ring .ph-back::before { content: ""; position: absolute; left: 9%; top: 3.5%; width: 30%; aspect-ratio: 1; border-radius: 24%;
  background: radial-gradient(circle at 32% 32%, #1d3a42 0 14%, transparent 15%), radial-gradient(circle at 68% 68%, #1d3a42 0 14%, transparent 15%), #091519; box-shadow: inset 0 0 0 2px rgba(255,255,255,.07); }


/* Menu « Je suis… » : les illustrations des publics (harmonisées avec « Chacun y trouve sa place ») */
.who-ill { display: grid; place-items: end center; height: 118px; margin: -2px auto 6px; transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.who-ill img { max-height: 112px; width: auto; max-width: 100%; display: block; filter: drop-shadow(0 8px 10px rgba(39,28,81,.14)); }
.who-card:hover .who-ill { transform: scale(1.06) translateY(-3px); }
/* lisibilité / tactile (audit responsive 14/10) */
.ar-inline { font-size: max(12px, .9em); }
.lead-form input[type="radio"], .lead-form input[type="checkbox"] { width: 20px; height: 20px; flex: none; accent-color: var(--mint-deep); }
/* Téléphones de l'anneau, v3 : UN seul cadre — celui de la capture (vert foncé + liseré noir). Le boîtier épouse
   exactement sa forme (arrondi 14,8 % de la largeur) et sa couleur ; plus de cadre ajouté par-dessus. */
.shots.ring .phone { --r: calc(var(--ring-w, 210px) * .148); }
.shots.ring .phone > img { border-radius: var(--r); transform: translateZ(calc(var(--d) / 2 + .5px)); }
.shots.ring .ph-body i { background: linear-gradient(90deg, #1D4139, #2F6156 22%, #5E9E93 50%, #2F6156 78%, #1D4139); }
.shots.ring .ph-body i:first-child { background: #2F6156; box-shadow: none; }
.shots.ring .ph-back { background: url(../img/o-single-dark.svg) center 46% / 44% auto no-repeat, linear-gradient(160deg, #3A7569, #2A584E 55%, #1F463D); box-shadow: none; }
/* captures arabes sans cadre d'origine : on leur donne le même cadre, une seule fois */
.shots.ring .phone--raw > img { border: calc(var(--ring-w, 210px) * .03) solid #050809; box-shadow: 0 0 0 calc(var(--ring-w, 210px) * .014) #376E62; filter: brightness(var(--b, 1)) saturate(var(--s, 1)); }

/* ---- Bouton WhatsApp flottant (ordinateur et tablette ; sur téléphone, la barre du bas suffit) ---- */
.wa-float { position: fixed; z-index: 60; inset-inline-end: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; flex-direction: row-reverse;
  text-decoration: none; opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .35s, transform .35s cubic-bezier(.3,1.4,.5,1); }
.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa-float .ic { width: 58px; height: 58px; padding: 15px; border-radius: 50%; background: #25D366; color: #fff; flex: none;
  box-shadow: 0 10px 24px rgba(37,211,102,.35), 0 4px 10px rgba(39,28,81,.15); transition: transform .25s; }
.wa-float span { background: #fff; color: var(--indigo); font: 700 .9rem/1 var(--font-title); padding: 11px 14px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(39,28,81,.14); border: 1px solid var(--line); opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s; pointer-events: none; }
[dir="rtl"] .wa-float span { transform: translateX(-8px); }
.wa-float:hover .ic, .wa-float:focus-visible .ic { transform: scale(1.07); }
.wa-float:hover span, .wa-float:focus-visible span { opacity: 1; transform: none; }
.wa-float:focus-visible { outline: none; } .wa-float:focus-visible .ic { outline: 3px solid var(--amber); outline-offset: 3px; }
@media (max-width: 760px) { .wa-float { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-float, .wa-float span, .wa-float .ic { transition: none; } }
@media print { .wa-float { display: none; } }

/* ---- Trois langues : une bulle par autre langue (la 2e compacte : seulement son écriture) ---- */
.lang-sw { display: flex; align-items: center; gap: 6px; }
.lb-mini .lb-front small { display: none; }
.lb-mini .lb-face { padding: 0 6px; min-width: 44px; }
.lb-mini .lb-back { font-size: .8rem; white-space: nowrap; }
.mobile-nav .lang-sw { margin-top: 8px; }
.mobile-nav .lang-sw .lang-bubble { margin-top: 0; }
.legal-prevails { margin: 0 0 18px; padding: 12px 14px; border-radius: 14px; background: var(--amber-mist); color: var(--ink); font-size: .92rem; }
.legal-prevails a { font-weight: 700; }
/* carte « Ma progression » : titre et période séparés, sur une ligne quand ça tient, sinon la période passe dessous */
.progress .ttl { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; column-gap: 10px; row-gap: 2px; }
.progress .ttl span { white-space: nowrap; }

/* ---- Bandeau de consentement (affiché seulement si un outil de mesure / publicité est activé dans l'admin) ---- */
.ck-banner { position: fixed; z-index: 70; inset-inline-start: 16px; bottom: 16px; width: min(420px, calc(100% - 32px)); padding: 16px 18px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(39,28,81,.18); color: var(--ink); font-size: .9rem; line-height: 1.5; }
.ck-banner[hidden] { display: none; }
.ck-banner p { margin: 0 0 10px; } .ck-banner-t { font: 800 1rem/1.2 var(--font-title); color: var(--indigo); }
.ck-banner-b { display: flex; gap: 8px; flex-wrap: wrap; } .ck-banner-b .btn { flex: 1 1 120px; justify-content: center; }
@media (max-width: 760px) { .ck-banner { bottom: 84px; } }
.legal-tools { margin-top: 28px; padding: 18px 20px; border-radius: 18px; background: var(--bg-soft); }
.legal-tools h3 { margin: 0 0 8px; font-size: 1.1rem; } .legal-tools ul { margin: 0; padding-inline-start: 20px; }

/* ---- Mobile : les animations au scroll de l'ordinateur, version resserrée (14/10/2026) ---- */
@media (max-width: 860px) {
  /* écrans « publics » : Mento passe d'un côté à l'autre au-dessus de la carte, la carte change au scroll */
  .tour--live { height: calc(var(--n) * 90svh + 20svh); }
  .tour--live .tour-pin { height: calc(100svh - 64px); }
  .tour--live .tour-head { top: 1.5svh; }
  .tour--live .tour-head .kicker { margin-bottom: 4px; }
  .tour--live .tour-head h2 { font-size: 1.45rem; margin: 0; }
  .tour--live .tour-mento { width: 150px; left: calc(50% - 75px); top: 10svh; }
  .tour--live .tour-slide, .tour--live .tour-slide.side-start, .tour--live .tour-slide.side-end { top: auto; bottom: 76px; inset-inline: 0; width: 100%; translate: none; padding: 14px 16px 16px; }
  .tour--live .tour-photo { aspect-ratio: 3 / 1; margin-bottom: 4px; }
  .tour--live .tour-num { font-size: 1.7rem; }
  .tour--live .tour-slide h3 { font-size: 1.2rem; margin: 2px 0 4px; }
  .tour--live .tour-slide p { font-size: .9rem; line-height: 1.45; margin-bottom: 6px; }
  .tour--live .tour-slide .checks li { font-size: .86rem; padding-block: 2px; }
  .tour--live .tour-bar { bottom: 64px; width: 120px; }
  /* trio Mento : les cartes glissent à l'horizontale pendant le scroll, une par écran */
  .hpin--live { height: calc(var(--n) * 75svh + 30svh); }
  .hpin--live .hpin-sticky { height: calc(100svh - 64px); }
  .hpin--live .mento-trio { display: flex; overflow: visible; scroll-snap-type: none; gap: 14px; padding-bottom: 0; }
  .hpin--live .mento-trio > .mento-face-card { flex: 0 0 82vw; width: 82vw; min-height: 0; grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 24px 20px; gap: 10px; }
  .hpin--live .mento-face-card .mf svg.mento-star { width: 140px; }
  .hpin--live .mento-face-card strong { font-size: 1.35rem; }
  .hpin--live .mento-face-card figcaption { font-size: 1rem; }
  .hpin--live .mento-face-card .card-num { top: 14px; font-size: 2.6rem; }
  /* le numéro des cartes ne recouvre plus le texte */
  .mento-face-card .card-num { top: 12px; bottom: auto; }
  /* flèche « sans → avec » : elle pointe vers le bas et bouge aussi sur mobile */
  .cmp-arrow { animation: cmp-nudge-down 1.6s ease-in-out infinite; }
  [dir="rtl"] .cmp-arrow { transform: rotate(90deg); animation-name: cmp-nudge-down; }
}
@keyframes cmp-nudge-down { 0%, 100% { transform: rotate(90deg); } 50% { transform: rotate(90deg) translateX(8px); } }
@media (max-width: 860px) and (max-height: 700px) {
  .tour--live .tour-photo { display: none; }
  .tour--live .tour-mento { width: 96px; left: calc(50% - 48px); top: 16svh; }
}
@media (prefers-reduced-motion: reduce) { .cmp-arrow { animation: none; } }

/* ===== Mentora School : ajouts au style du site mentoragroupe.com ===== */
html, body { background: #fff; }
.logo-school img { height: 40px; width: auto; display: block; }
@media (max-width: 600px) { .logo-school img { height: 32px; } }

/* étiquettes de formule sur les cartes */
.tier { position: absolute; top: 18px; inset-inline-end: 18px; font-family: var(--font-title); font-weight: 800; font-size: .72rem; letter-spacing: .04em; border-radius: 999px; padding: 4px 10px; background: var(--mint-mist); color: var(--mint-ink); }
.tier--elite { background: linear-gradient(90deg, #3E9C90, #271C51); color: #fff; }
.card .tier ~ .card-num, .card:has(.tier) .card-num { opacity: 0; }

/* tarifs */
.plans { margin-top: 8px; }
.plan .plan-sub { margin: -4px 0 4px; color: var(--ink-soft); font-weight: 600; }
.plan .plan-month { margin: -6px 0 6px; font-size: .9rem; color: var(--mint-ink); font-weight: 600; }
.plan .checks { margin-top: 6px; }
.plan--pop { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(227,154,44,.28), 0 6px 0 #E39A2C; background: linear-gradient(170deg, #FFE9BF 0%, #FFD98A 55%, #FFCB66 100%); border: 2px solid #E39A2C; }
.plan--pop .plan-pop { background: var(--indigo); box-shadow: 0 3px 0 #170F33; }
.plan--pop .plan-sub, .plan--pop .price { color: #6B4A12; }
.plan--pop .plan-month { color: #8A5A00; }
.plan--pop .price strong, .plan--pop h3 { color: var(--indigo); }
.plan--pop .checks .ic { color: #A8651A; }

/* accompagnement */
.steps--row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps--row .step { grid-template-columns: 1fr; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 20px; box-shadow: var(--shadow); }
.steps--row .step + .step::before { display: none; }
.note-band { margin: 36px 0 0; padding: 18px 22px; border-radius: 18px; background: var(--mint-mist); color: var(--ink); }
@media (max-width: 960px) { .steps--row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps--row { grid-template-columns: 1fr; } }

/* section finale : le vrai Mento */
.final-mento { width: 132px; height: 132px; margin: 0 auto 6px; }
.final-mento svg { width: 100%; height: 100%; display: block; overflow: visible; }
.final-contact { margin: 26px 0 0; color: rgba(255,255,255,.82); font-size: .98rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; }


/* ===== Bus GPS : le cadeau qui sort de l'écran ===== */
.bus-sec { overflow: hidden; }
.bus-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.bus-copy .checks { margin: 0 0 26px; }
.gift-stage { position: relative; min-height: 680px; display: grid; place-items: center; perspective: 1100px; }
.gps-phone { position: relative; width: 300px; height: 640px; background: #1E1A3C; border-radius: 46px; padding: 10px; box-shadow: 0 40px 70px rgba(39,28,81,.28), 0 8px 16px rgba(39,28,81,.18), inset 0 0 0 2px #3a3560; transform: rotateY(-10deg) rotateX(4deg); transition: transform .6s cubic-bezier(.3,1.4,.5,1); z-index: 1; }
.gift-stage.is-gift .gps-phone { transform: rotateY(-4deg) rotateX(2deg) scale(.97); }
.gps-screen { position: relative; height: 100%; border-radius: 36px; background: #F5F7F9; overflow: hidden; padding: 14px 12px 12px; display: flex; flex-direction: column; gap: 8px; font-family: var(--font-body, 'Figtree', sans-serif); color: var(--ink); font-size: 12px; line-height: 1.3; }
.gps-top { display: flex; align-items: center; gap: 8px; padding: 4px 2px 6px; border-bottom: 1px solid var(--line); }
.gps-top img { height: 22px; width: auto; }
.gps-top b { font-family: var(--font-title); font-size: 14px; color: var(--indigo); }
.gps-bell { margin-inline-start: auto; background: #E4573D; color: #fff; font-size: 9px; font-weight: 700; border-radius: 999px; padding: 1px 5px; }
.gps-av { width: 24px; height: 24px; border-radius: 50%; background: var(--indigo); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 11px; }
.gps-kid { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid #3B6E75; border-radius: 999px; padding: 5px 6px; }
.gps-kid-av { width: 26px; height: 26px; border-radius: 50%; background: #3B6E75; color: #fff; display: grid; place-items: center; font-weight: 700; }
.gps-kid b { display: block; font-size: 13px; } .gps-kid small { color: var(--ink-soft); font-size: 10px; }
.gps-listen { margin-inline-start: auto; background: var(--indigo); color: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 11px; }
.gps-title { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px; }
.gps-title b { font-family: var(--font-title); font-size: 18px; color: var(--indigo); }
.gps-chip { background: var(--mint-mist); color: var(--mint-ink); border-radius: 999px; padding: 3px 9px; font-weight: 700; font-size: 10.5px; }
.gps-status { display: flex; gap: 10px; align-items: center; background: #EEF4F6; border: 1.5px solid #D5E2E6; border-radius: 16px; padding: 10px; transition: background .4s, border-color .4s; }
.gps-status small { color: var(--mint-ink); font-weight: 600; font-size: 10.5px; }
.gps-status strong { display: block; font-family: var(--font-title); font-size: 15px; color: var(--indigo); line-height: 1.2; margin: 1px 0 3px; }
.gps-status p { margin: 0; color: var(--ink-soft); font-size: 11px; }
.gps-ok { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #C9CCE0; position: relative; transition: background .4s; }
.gps-ok::after { content: ""; position: absolute; left: 13px; top: 9px; width: 8px; height: 14px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); opacity: 0; transition: opacity .3s; }
.gps-status.is-arrived { background: var(--mint-mist); border-color: #A6DACF; }
.gps-status.is-arrived .gps-ok { background: #2F7D5B; } .gps-status.is-arrived .gps-ok::after { opacity: 1; }
.gps-status.is-flash { animation: gpsFlash .5s ease; }
@keyframes gpsFlash { 40% { transform: scale(1.03); } }
.gps-map { background: #fff; border-radius: 16px; padding: 10px; border: 1px solid var(--line); }
.gps-map small { display: block; font-family: var(--font-title); font-weight: 700; font-size: 13px; color: var(--indigo); margin: 0 0 6px 2px; }
.gps-svg { width: 100%; height: auto; display: block; }
.gps-cta { margin-top: auto; padding: 10px !important; background: linear-gradient(90deg, #2F7D78, #271C51); color: #fff; text-align: center; border-radius: 16px; padding: 12px; font-weight: 700; font-size: 13px; }
.gps-note { margin: -2px 0 0; text-align: center; font-size: 10.5px; color: var(--ink-soft); }
.gps-nav { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; background: #2F7D78; color: #fff; border-radius: 22px; padding: 10px 6px; font-size: 10px; font-weight: 600; text-align: center; margin: 0 -2px; }
.gps-nav .is-on { background: #fff; color: #2F7D78; border-radius: 14px; padding: 6px 0; }
.gps-nav-m { display: grid; place-items: center; } .gps-nav-m svg { width: 34px; height: 34px; background: #fff; border-radius: 50%; padding: 5px; margin-top: -22px; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.gift-glow { position: absolute; inset: 10px; border-radius: 36px; pointer-events: none; background: radial-gradient(circle at 50% 55%, rgba(255,255,255,.95), rgba(255,214,122,.55) 40%, rgba(255,181,71,0) 72%); opacity: 0; }
.gift-stage.is-gift .gift-glow { animation: giftGlow 3s ease forwards; }
@keyframes giftGlow { 0% { opacity: 0; } 10% { opacity: 1; } 30% { opacity: .55; } 80% { opacity: .35; } 100% { opacity: 0; } }

/* le cadeau : naît dans l'écran (masque = l'écran), le traverse, puis flotte devant le téléphone */
.gift { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 3; transform-style: preserve-3d; clip-path: inset(var(--st, 30%) var(--sr, 30%) var(--sb, 30%) var(--sl, 30%) round 36px); visibility: hidden; }
.gift-stage.is-gift .gift { visibility: visible; animation: giftClip 3s linear forwards; }
@keyframes giftClip {
  0%, 16% { clip-path: inset(var(--st) var(--sr) var(--sb) var(--sl) round 36px); }
  27%, 86% { clip-path: inset(-80% -80% -80% -80% round 0); }
  97%, 100% { clip-path: inset(var(--st) var(--sr) var(--sb) var(--sl) round 36px); }
}
.gift-obj { position: relative; width: min(560px, 118%); transform-origin: 50% 60%; opacity: 0; }
.gift-stage.is-gift .gift-obj { animation: giftOut 3s cubic-bezier(.25,.9,.3,1) forwards; }
@keyframes giftOut {
  0% { opacity: 0; transform: translate3d(0, 60px, -420px) scale(.12) rotate(0deg); }
  8% { opacity: 1; }
  18% { transform: translate3d(0, 30px, -120px) scale(.42) rotate(-6deg); }
  30% { transform: translate3d(0, -14px, 160px) scale(1.18) rotate(4deg); }
  38% { transform: translate3d(0, 0, 120px) scale(1.02) rotate(-2deg); }
  48% { transform: translate3d(0, -10px, 130px) scale(1.07) rotate(1deg); }
  60% { transform: translate3d(0, 4px, 130px) scale(1.04) rotate(-1deg); }
  72% { transform: translate3d(0, -8px, 130px) scale(1.07) rotate(1deg); }
  84% { opacity: 1; transform: translate3d(0, 0, 90px) scale(.95) rotate(0deg); }
  100% { opacity: 0; transform: translate3d(0, 60px, -420px) scale(.1) rotate(0deg); }
}
.gift-bus { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 30px 30px rgba(39,28,81,.28)); }
.gift-stage.is-gift .gb-wheel { animation: gbSpin .5s linear infinite; }
@keyframes gbSpin { to { transform: rotate(360deg); } }
.gb-wave { transform-origin: 228px 108px; }
.gift-stage.is-gift .gb-wave { animation: gbWave .45s ease-in-out infinite alternate; }
@keyframes gbWave { from { transform: rotate(-18deg); } to { transform: rotate(16deg); } }
.gift-mento { position: absolute; width: 23%; left: 39%; top: -24%; }
.gift-mento svg { width: 100%; height: auto; display: block; overflow: visible; }
.gift-label { position: absolute; left: 50%; bottom: -16%; transform: translateX(-50%); white-space: nowrap; text-align: center; background: #fff; border-radius: 999px; padding: 8px 20px; box-shadow: 0 14px 30px rgba(39,28,81,.22); border: 2px solid var(--mint); }
.gift-label b { display: block; font-family: var(--font-title); font-size: 1.15rem; color: var(--indigo); }
.gift-label span { color: var(--mint-ink); font-weight: 600; font-size: .9rem; }
.gift-rays { position: absolute; width: 900px; height: 900px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255,181,71,.38) 0deg 9deg, rgba(255,181,71,0) 9deg 22deg); -webkit-mask: radial-gradient(circle, #000 18%, transparent 62%); mask: radial-gradient(circle, #000 18%, transparent 62%); opacity: 0; transform: scale(.2); }
.gift-stage.is-gift .gift-rays { animation: giftRays 3s ease forwards; }
@keyframes giftRays { 0%, 18% { opacity: 0; transform: scale(.2) rotate(0deg); } 32% { opacity: 1; transform: scale(1) rotate(30deg); } 82% { opacity: .85; transform: scale(1.05) rotate(110deg); } 100% { opacity: 0; transform: scale(.3) rotate(140deg); } }
.gift-confetti { position: absolute; inset: 0; display: grid; place-items: center; }
.gift-confetti i { position: absolute; width: 10px; height: 14px; border-radius: 3px; background: var(--c); opacity: 0; animation: confetti 1.9s cubic-bezier(.15,.7,.3,1) var(--d) forwards; }
@keyframes confetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(.4); } 75% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); } }

/* fil des « cadeaux » façon live : bandeaux qui glissent depuis la gauche */
.gift-feed { position: absolute; left: -12px; bottom: 16%; z-index: 4; display: flex; flex-direction: column; gap: 10px; width: 290px; pointer-events: none; }
.gf { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: linear-gradient(90deg, rgba(39,28,81,.92), rgba(39,28,81,.55)); color: #fff; box-shadow: 0 10px 24px rgba(39,28,81,.25); animation: gfIn .5s cubic-bezier(.3,1.5,.5,1) both; width: max-content; max-width: 100%; }
.gf.is-out { animation: gfOut .5s ease forwards; }
.gf-av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad, linear-gradient(135deg, #75CABE, #3FA596)); font-size: 17px; }
.gf-t { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.gf-t b { font-size: .86rem; } .gf-t small { font-size: .74rem; color: #CFEDE7; }
.gf-x { font-family: var(--font-title); font-style: italic; font-weight: 800; font-size: 1.5rem; color: var(--amber); text-shadow: 0 2px 0 #9A5A00; margin-inline-start: 4px; animation: gfPop .6s cubic-bezier(.3,2,.5,1) .25s both; }
@keyframes gfIn { from { opacity: 0; transform: translateX(-60px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes gfOut { to { opacity: 0; transform: translateY(-16px); } }
@keyframes gfPop { from { transform: scale(2.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

@media (max-width: 960px) {
  .bus-grid { grid-template-columns: 1fr; gap: 10px; }
  .gift-stage { min-height: 600px; }
  .gps-phone { width: 270px; height: 576px; }
  .gift-feed { bottom: 8%; left: 0; width: 240px; }
  .gf-t b { font-size: .78rem; } .gf-av { width: 30px; height: 30px; font-size: 15px; }
}
@media (max-width: 480px) {
  .gift-obj { width: 104%; }
  .gift-label b { font-size: .95rem; } .gift-label span { font-size: .78rem; }
  .gift-feed { left: -4px; }
}
@media (prefers-reduced-motion: reduce) {
  .gift-stage .gift { display: none; }
  .gf, .gf-x { animation: none; }
}

/* ===== Scène du bureau : la tablette sort de la table en 3D, rayons derrière elle, badge de rôle et bascule des vues ===== */
.desk-sticky { position: relative; }
.desk-pin--live .desk-sticky { position: sticky; }
.desk-burst { position: absolute; inset: 0; pointer-events: none; z-index: 0; display: grid; place-items: center; overflow: hidden; }
.desk-burst .gift-rays { position: absolute; width: 1400px; height: 1400px; top: 50%; left: 50%; margin: -700px 0 0 -700px; opacity: calc((var(--lift, 0) - .45) * 1.6); transform: scale(calc(.3 + var(--lift, 0) * .8)) rotate(calc(var(--lift, 0) * 70deg)); }
.desk-pin.is-up .desk-burst .gift-rays { animation: deskRaysSpin 16s linear infinite; }
@keyframes deskRaysSpin { from { transform: scale(1.1) rotate(70deg); } to { transform: scale(1.1) rotate(430deg); } }
.desk-pin .desk-scene, .desk-pin .desk-cam { z-index: 1; position: relative; }
.desk-pin .desk-tablet .browser { transition: box-shadow .3s; border: 10px solid #FFF4E2; border-radius: 28px; background: linear-gradient(135deg, #fff 0%, #FFF4E2 100%); box-shadow: 0 0 0 2px #FFB547, 0 0 0 9px rgba(255,255,255,.6), 0 30px 50px rgba(39,28,81,.26), 0 6px 10px rgba(39,28,81,.12); }
.desk-pin .desk-tablet .browser .bar { background: linear-gradient(90deg, #FFF8EC, #FFF4E2); border-bottom: 1px solid #F5DDB0; color: #A8651A; }
.desk-pin .desk-tablet .browser .bar i { background: #FFB547; opacity: .75; }
.desk-pin .desk-tablet .browser .bar span { background: #fff; color: #271C51; font-weight: 600; box-shadow: inset 0 0 0 1px #F5DDB0; }
.desk-pin .desk-tablet .browser img { border-radius: 0 0 16px 16px; }
.desk-pin.is-out .desk-tablet .browser { box-shadow: 0 0 0 2px #FFB547, 0 0 0 9px rgba(255,255,255,.75), 0 0 70px 24px rgba(255,181,71,.55), 0 60px 90px rgba(39,28,81,.38); }
/* petit coup 3D à chaque changement de vue : la tablette bascule, la nouvelle vue arrive */
.desk-tablet .browser.is-kick { animation: deskKick .7s cubic-bezier(.3,1.5,.5,1); transform-origin: 50% 50%; }
@keyframes deskKick { 0% { transform: none; } 30% { transform: perspective(900px) rotateY(-14deg) scale(.96); filter: brightness(1.15); } 55% { transform: perspective(900px) rotateY(8deg) scale(1.03); } 100% { transform: none; } }
/* badge de rôle : pastille inclinée aux couleurs du public, icône dans un disque, titre Montserrat, sous-titre */
.desk-role { position: absolute; left: -4%; bottom: -9%; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 10px 22px 10px 10px; border-radius: 999px; background: linear-gradient(135deg, #fff 0%, var(--aud-bg, #ECEAF3) 100%); border: 2px solid var(--aud, #271C51); box-shadow: 0 22px 44px rgba(39,28,81,.28), 0 0 0 6px rgba(255,255,255,.55); transform: rotate(-4deg) translateY(30px) scale(.6); opacity: 0; transition: transform .6s cubic-bezier(.3,1.6,.5,1), opacity .3s; pointer-events: none; }
.desk-role.is-in { opacity: 1; transform: rotate(-4deg) translateY(0) scale(1); }
.desk-role-ico { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--aud, #271C51); color: #fff; box-shadow: inset 0 -4px 0 rgba(0,0,0,.18); }
.aud-parent .desk-role-ico { color: #271C51; }
/* Direction : disque dégradé menthe → indigo, fond menthe clair, bord menthe profond (au lieu de l'indigo plein) */
.desk-role.aud-ecole { background: linear-gradient(135deg, #fff 0%, #EAF7F4 100%); border-color: var(--mint-deep); }
.desk-role.aud-ecole .desk-role-ico { background: var(--grad-cta); color: #fff; }
.desk-role.aud-ecole .desk-role-t small { color: var(--mint-ink); }
.desk-role.aud-ecole .desk-role-dot { background: var(--mint-deep); --aud: #3FA596; }
.desk-role-ico .ic { width: 28px; height: 28px; }
.desk-role-t { display: flex; flex-direction: column; line-height: 1.1; }
.desk-role-t small { font: 700 .68rem/1 var(--font-title); letter-spacing: .14em; text-transform: uppercase; color: var(--aud-ink, #271C51); opacity: .85; }
.desk-role-t b { font: 800 1.45rem/1.1 var(--font-title); color: var(--indigo); letter-spacing: -.01em; }
.desk-role-t em { font-style: normal; font-size: .82rem; color: var(--ink-soft); font-weight: 600; }
.desk-role-dot { position: absolute; right: -6px; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: var(--aud, #271C51); border: 3px solid #fff; box-shadow: 0 0 0 0 var(--aud, #271C51); animation: rolePulse 1.6s ease-out infinite; }
@keyframes rolePulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--aud, #271C51) 55%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
@media (max-width: 860px) { .desk-role { gap: 8px; padding: 6px 14px 6px 6px; left: -2%; bottom: -14%; } .desk-role-ico { width: 38px; height: 38px; } .desk-role-ico .ic { width: 20px; height: 20px; } .desk-role-t b { font-size: 1.05rem; } .desk-role-t em { font-size: .7rem; } .desk-role-t small { font-size: .58rem; } }
@media (prefers-reduced-motion: reduce) { .desk-burst { display: none; } .desk-role-dot, .desk-tablet .browser.is-kick { animation: none; } }
/* ===== Fonctionnalités : vague de cartes, de 01 à 12, chacune saute et revient vite à sa place ===== */
.features.is-wave .card { animation: cardHop .62s cubic-bezier(.3,1.7,.45,1) calc(var(--w, 0) * .1s) both; }
@keyframes cardHop {
  0% { transform: none; box-shadow: var(--shadow); }
  32% { transform: translateY(-16px) scale(1.045) rotate(-1deg); box-shadow: 0 26px 46px rgba(39,28,81,.2); }
  62% { transform: translateY(3px) scale(.995) rotate(.4deg); }
  100% { transform: none; box-shadow: var(--shadow); }
}
.features.is-wave .card .ico { animation: icoHop .62s cubic-bezier(.3,1.7,.45,1) calc(var(--w, 0) * .1s + .05s) both; }
@keyframes icoHop { 32% { transform: scale(1.18) rotate(-8deg); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .features.is-wave .card, .features.is-wave .card .ico { animation: none; } }

/* ===== Mento du menu qui saute dans le hero ===== */
.mento-fly { position: fixed; left: 0; top: 0; width: 76px; height: 76px; z-index: 120; pointer-events: none; display: none; transform-origin: 50% 50%; will-change: transform; filter: drop-shadow(0 18px 22px rgba(39,28,81,.28)); }
.mento-fly svg { width: 100%; height: 100%; display: block; overflow: visible; }
.site-header .brand-star { transition: opacity .25s; }
.hero .pm-widget.is-hit { animation: pmHit .9s cubic-bezier(.3,1.6,.5,1); }
@keyframes pmHit { 0% { transform: translateZ(60px) rotate(-3deg); } 25% { transform: translateZ(60px) rotate(-1deg) translateY(10px) scale(.98); } 60% { transform: translateZ(60px) rotate(-4deg) translateY(-6px) scale(1.02); } 100% { transform: translateZ(60px) rotate(-3deg); } }
.hero .eyebrow { transition: box-shadow .3s, transform .3s; }
.hero .eyebrow.is-pointed { box-shadow: 0 0 0 3px #FFB547, 0 0 0 10px rgba(255,181,71,.22), 0 14px 30px rgba(39,28,81,.18); transform: scale(1.04); animation: eyebrowPulse 1.1s ease-in-out infinite; }
@keyframes eyebrowPulse { 50% { box-shadow: 0 0 0 3px #FFB547, 0 0 0 16px rgba(255,181,71,0), 0 14px 30px rgba(39,28,81,.18); } }
@media (prefers-reduced-motion: reduce) { .mento-fly { display: none !important; } }

/* ===== Pourquoi changer : Mento passe d'« Aujourd'hui » à « Avec Mentora School », qui jaillit en avant ===== */
.cmp-anim.cmp-live { perspective: 1200px; }
.cmp-anim.cmp-live .cmp-mid { position: relative; z-index: 5; will-change: transform; pointer-events: none; }
.cmp-anim.cmp-live .cmp-mid > :not(svg) { display: none; }
.cmp-anim.cmp-live .cmp-mid svg { overflow: visible; transition: filter .6s, opacity .6s; }
.cmp-anim.cmp-live.ph-sans .cmp-mid svg { filter: grayscale(1) brightness(.92); opacity: .85; }   /* gris et perdu, comme la carte « Aujourd'hui » */
.cmp-anim.cmp-live.is-in .cmp--without, .cmp-anim.cmp-live.is-in .cmp--with { transform: none; filter: none; opacity: 1; box-shadow: var(--shadow); }
.cmp-anim.cmp-live .cmp { position: relative; transition: transform .7s cubic-bezier(.3,1.5,.5,1), filter .6s, opacity .6s, box-shadow .6s; }
.cmp-anim.cmp-live.ph-sans .cmp--with { opacity: .75; transform: scale(.96); }
.cmp-anim.cmp-live.ph-sans .cmp--without { transform: scale(1.02); box-shadow: 0 24px 50px rgba(39,28,81,.14); }
.cmp-anim.cmp-live.ph-avec .cmp--without, .cmp-anim.cmp-live.ph-done .cmp--without { transform: scale(.95) translateZ(-120px); filter: grayscale(.7); opacity: .7; }
.cmp-anim.cmp-live.ph-avec .cmp--with { animation: cmpBurst .9s cubic-bezier(.25,1.6,.4,1) forwards; }
.cmp-anim.cmp-live.ph-done .cmp--with { transform: translateY(-8px); box-shadow: 0 0 0 3px #75CABE, 0 40px 80px rgba(39,28,81,.22); }   /* état final sans 3D ni zoom : texte net */
@keyframes cmpBurst { 0% { transform: scale(.96); opacity: .75; } 45% { transform: translateZ(260px) scale(1.18) rotate(-1.5deg); opacity: 1; filter: brightness(1.06); } 70% { transform: translateZ(40px) scale(1.02) rotate(.5deg); } 100% { transform: translateY(-8px); box-shadow: 0 0 0 3px #75CABE, 0 40px 80px rgba(39,28,81,.22); } }
.cmp-anim.cmp-live .cmp--with li, .cmp-anim.cmp-live .cmp--without li { transition-delay: 0s; }
.cmp-anim.cmp-live.is-in .cmp--without li { transition-delay: calc(var(--k, 0) * 140ms + 300ms); }
.cmp-anim.cmp-live .cmp--with li { opacity: 0; transform: translateX(14px); }
.cmp-anim.cmp-live.ph-avec .cmp--with li, .cmp-anim.cmp-live.ph-done .cmp--with li { opacity: 1; transform: none; transition-delay: calc(var(--k, 0) * 120ms + 250ms); }
@media (prefers-reduced-motion: reduce) { .cmp-anim.cmp-live .cmp--with li { opacity: 1; transform: none; } }

/* ===== Mise en place : l'étape 1 « Audit Massar » clignote pour attirer l'œil ===== */
.steps--row .step:first-child { animation: stepBlink 1.6s ease-in-out infinite; border-color: var(--mint-deep); }
.steps--row .step:first-child .n { animation: stepBlinkN 1.6s ease-in-out infinite; }
@keyframes stepBlink { 0%, 100% { box-shadow: var(--shadow), 0 0 0 0 rgba(63,165,150,0); background: #fff; } 50% { box-shadow: 0 18px 40px rgba(39,28,81,.14), 0 0 0 6px rgba(63,165,150,.28); background: var(--mint-mist); } }
@keyframes stepBlinkN { 0%, 100% { background: var(--indigo); color: var(--mint); transform: none; } 50% { background: var(--mint-deep); color: #fff; transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .steps--row .step:first-child, .steps--row .step:first-child .n { animation: none; } }
/* ===== Performance : les animations en boucle d'une section hors écran sont en pause (classe posée par le script, reprise à l'approche) ===== */
.is-away, .is-away *, .is-away *::before, .is-away *::after { animation-play-state: paused !important; }

/* ===== Pause de lecture : jauge discrète en bas de l'écran pendant les 5 s ===== */
.hold-bar { position: fixed; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(39,28,81,.08); z-index: 130; opacity: 0; transition: opacity .3s; pointer-events: none; }
.hold-bar i { display: block; height: 100%; background: var(--grad-mol, linear-gradient(90deg, #75CABE, #271C51)); transform: scaleX(0); transform-origin: 0 50%; }
.hold-bar.is-on { opacity: 1; }

