/* =========================================================================
   My Supdeco — Landing page
   Direction : affiche éditoriale SUPDECO. Aplats bleu / blanc, jaune pour
   les actions et les accents. Pas de dégradé, pas d'ombre, angles droits.
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --blue: #06449b;        /* bleu SUPDECO (logo) */
  --blue-deep: #03295e;   /* nuance foncée du même bleu : contours des appareils, survols */
  --yellow: #fdd400;      /* jaune SUPDECO */
  --white: #ffffff;

  --on-blue-2: rgba(255, 255, 255, .82);
  --on-blue-3: rgba(255, 255, 255, .6);
  --rule-on-blue: rgba(255, 255, 255, .3);
  --rule: rgba(6, 68, 155, .2);

  --container: 1280px;
  --gutter: 32px;
  --nav-h: 76px;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font);
  --font-body: var(--font);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--blue);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font); margin: 0; line-height: 1.02; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }
ion-icon { flex: none; display: inline-block; width: 1em; height: 1em; }
ion-icon svg { display: block; width: 100%; height: 100%; fill: currentColor; }
::selection { background: var(--yellow); color: var(--blue); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--yellow); color: var(--blue); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 12px; }
.on-blue { background: var(--blue); color: var(--white); }

/* Surlignage jaune (motif signature) */
mark.mk { position: relative; z-index: 0; display: inline-block; padding: 0 .1em; background: none; color: inherit; transition: color .3s .9s; }
mark.mk::before { content: ""; position: absolute; z-index: -1; inset: .1em 0 .02em; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out) .6s; }
.is-loaded .hero mark.mk, .is-in mark.mk { color: var(--blue); }
.is-loaded .hero mark.mk::before, .is-in mark.mk::before { transform: none; }

.tag { display: inline-block; padding: 5px 9px; background: var(--yellow); color: var(--blue); font-size: 12px; font-weight: 800; font-stretch: 90%; text-transform: uppercase; letter-spacing: .08em; line-height: 1.2; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }

/* ---------- 3. Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 58px; padding: 8px 22px;
  border: 2px solid transparent;
  font-weight: 700; font-size: 17px; line-height: 1.1; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn ion-icon { font-size: 26px; }
.btn > span { display: flex; flex-direction: column; text-align: left; }
.btn small { font-size: 11.5px; font-weight: 500; opacity: .8; }
.btn.sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-yellow { background: var(--yellow); color: var(--blue); }
.btn-yellow:hover { background: var(--white); }
.on-blue .btn-yellow:hover, .cta-final .btn-yellow:hover { background: var(--white); }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--yellow); }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: var(--white); color: var(--blue); border-color: var(--white); }

/* ---------- 4. Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); color: var(--white); border-bottom: 1px solid transparent; transition: background-color .3s, color .3s, border-color .3s; }
.nav.is-scrolled { background: var(--white); color: var(--blue); border-color: var(--blue); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-logo { width: 54px; height: 54px; flex: none; display: grid; place-items: center; overflow: hidden; background: var(--white); border: 1px solid var(--rule); }
.brand-logo img { width: 68%; height: auto; }
.brand-logo.lg { width: 76px; height: 76px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.12; }
.brand-txt b { font-size: 19px; font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; }
.brand-txt small { font-size: 12px; font-weight: 500; opacity: .8; }
.nav-links { display: flex; align-items: center; gap: 30px; margin-inline: auto; }
.nav-links a { position: relative; padding: 6px 0; font-size: 15px; font-weight: 600; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: none; }
.nav-links .nav-cta-m { display: none; }
.nav-right { display: flex; align-items: center; gap: 10px; flex: none; }
.nav.is-scrolled .btn-line:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.burger { display: none; position: relative; width: 48px; height: 48px; border: 2px solid currentColor; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .3s var(--ease-out), opacity .2s; }
.burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + 56px) 0 88px; background: var(--blue); color: var(--white); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero .kicker { margin-bottom: 30px; color: var(--on-blue-2); }
.hero-title { font-size: clamp(2.8rem, 6vw, 5.6rem); font-weight: 800; font-stretch: 110%; line-height: .93; letter-spacing: -.035em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .05em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); }
.hero-title .line:nth-child(2) > span { transition-delay: .08s; }
.hero-title .line:nth-child(3) > span { transition-delay: .16s; }
.is-loaded .hero-title .line > span { transform: none; }
.lead { margin-top: 30px; max-width: 540px; font-size: clamp(16px, 1.3vw, 19px); color: var(--on-blue-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--rule-on-blue); }
.demo-btn { display: inline-flex; align-items: center; gap: 14px; font-weight: 700; font-size: 16px; text-align: left; }
.demo-btn em { display: block; font-style: normal; font-weight: 500; font-size: 13.5px; color: var(--on-blue-3); }
.demo-ic { position: relative; width: 50px; height: 50px; display: grid; place-items: center; background: var(--yellow); color: var(--blue); font-size: 20px; transition: background-color .2s; }
.demo-ic::after { content: ""; position: absolute; inset: -7px; border: 2px solid var(--yellow); animation: pulseSq 2.4s var(--ease-out) infinite; }
@keyframes pulseSq { from { opacity: .9; transform: scale(.82); } to { opacity: 0; transform: scale(1.3); } }
.demo-btn:hover .demo-ic { background: var(--white); }
.facts { font-size: 14.5px; font-weight: 500; color: var(--on-blue-2); }
.facts i { font-style: normal; margin: 0 10px; color: var(--yellow); font-weight: 700; }

/* Scène du hero */
.hero-stage { --mx: 0; --my: 0; position: relative; height: clamp(560px, 48vw, 690px); perspective: 1500px; }
.ys-block { position: absolute; right: 0; top: 7%; width: 70%; height: 86%; background: var(--yellow); clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease-out) .15s; }
.is-loaded .ys-block { clip-path: inset(0 0 0 0); }
.hero-stage .phone { position: absolute; top: 50%; left: 50%; transition: transform .2s linear; }
.phone-main { --sw: clamp(232px, 19vw, 286px); z-index: 4; transform: translate(-28%, -50%) rotateY(calc(-9deg + var(--mx) * 8deg)) rotateX(calc(3deg - var(--my) * 6deg)); }
.phone-back { --sw: clamp(188px, 15vw, 226px); z-index: 2; transform: translate(-120%, -42%) rotateY(calc(11deg + var(--mx) * 5deg)) scale(.95); }
.push-stack { position: absolute; z-index: 6; left: -6%; top: 3%; width: min(330px, 66%); height: 96px; }
.push { position: absolute; inset: 0; display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; background: var(--white); color: var(--blue); border-left: 6px solid var(--yellow); opacity: 0; animation: push 10.5s var(--ease-out) infinite; }
.push.p2 { animation-delay: 3.5s; } .push.p3 { animation-delay: 7s; }
@keyframes push { 0% { opacity: 0; transform: translateY(-18px); } 4%, 29% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(12px); } }
.push-app { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border: 1px solid var(--rule); }
.push-app img { width: 86%; }
.push small { display: block; font-size: 11px; font-weight: 700; font-stretch: 90%; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.push b { display: block; margin-top: 2px; font-size: 15.5px; }
.push div > span { display: block; font-size: 14px; }

/* ---------- 6. Emblème SVG (CTA) ---------- */
.emblem .em-book { fill: var(--white); }
.emblem .em-leaf { transform-box: fill-box; transform-origin: 50% 100%; }
.emblem .em-leaf.y { fill: var(--yellow); }
.emblem .em-leaf.g { fill: var(--white); opacity: .55; }
.cta-emblem .em-leaf { transform: scale(0); }
.cta-card.is-in .cta-emblem .em-leaf { animation: grow .9s var(--ease-spring) forwards, sway 5s ease-in-out 1.6s infinite; }
.cta-card.is-in .cta-emblem .l1 { animation-delay: .2s, 1.6s; } .cta-card.is-in .cta-emblem .l2 { animation-delay: .35s, 1.8s; }
.cta-card.is-in .cta-emblem .l3 { animation-delay: .5s, 2s; } .cta-card.is-in .cta-emblem .l4 { animation-delay: .65s, 2.2s; } .cta-card.is-in .cta-emblem .l5 { animation-delay: .8s, 2.4s; }
@keyframes grow { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes sway { 0%, 100% { transform: scale(1); } 50% { transform: rotate(-3deg) scaleY(1.03); } }

/* ---------- 7. Téléphone ---------- */
.phone {
  --sw: 280px;
  position: relative; flex: none;
  width: calc(var(--sw) * 1.07);
  padding: calc(var(--sw) * .035);
  border-radius: calc(var(--sw) * .175);
  background: var(--blue-deep);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.phone[data-phone]:not([data-built]) { height: calc(var(--sw) * 2.2341); }
.phone-screen { position: relative; width: var(--sw); height: calc(var(--sw) * 2.1641); border-radius: calc(var(--sw) * .14); overflow: hidden; background: #f5f5f5; font-size: calc(var(--sw) * .041026); isolation: isolate; transform: translateZ(0); }
.phone-island { position: absolute; z-index: 20; top: calc(var(--sw) * .056); left: 50%; transform: translateX(-50%); width: calc(var(--sw) * .3); height: calc(var(--sw) * .086); border-radius: 999px; background: #000; }
.phone-btn { position: absolute; width: calc(var(--sw) * .012); border-radius: 2px; background: var(--blue-deep); }
.phone-btn.b1 { left: calc(var(--sw) * -.008); top: 22%; height: 7%; }
.phone-btn.b2 { left: calc(var(--sw) * -.008); top: 31%; height: 7%; }
.phone-btn.b3 { right: calc(var(--sw) * -.008); top: 26%; height: 11%; }
.scr-layer { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.scr-layer.is-in { opacity: 1; transform: none; }
.scr-layer.is-out { opacity: 0; transform: scale(.96); }
.phone.no-frame { width: var(--sw); padding: 0; border-radius: 0; background: none; box-shadow: none; }
.phone.no-frame .phone-screen { border-radius: 0; }
.phone.no-frame .phone-island, .phone.no-frame .phone-btn { display: none; }
.ys-panel { position: absolute; background: var(--yellow); }

/* ---------- 8. Bandeau défilant ---------- */
.ticker { overflow: hidden; padding: 10px 0; background: var(--yellow); color: var(--blue); }
.tk-track { display: flex; width: max-content; animation: mq 60s linear infinite; }
.tk-item { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-size: clamp(13px, 1.1vw, 15px); font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; line-height: 1; }
.tk-item::after { content: ""; width: 7px; height: 7px; background: var(--blue); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- 9. Sections ---------- */
.sec { position: relative; padding: clamp(80px, 9vw, 128px) 0; }
.sec, .numbers, .cta-final, .footer { overflow-x: clip; }
.sh { margin-bottom: clamp(44px, 5.5vw, 76px); }
.sh-top { display: flex; align-items: center; gap: 14px; margin: 0; padding-bottom: 14px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .1em; }
.sh-num { display: inline-grid; place-items: center; min-width: 36px; height: 26px; padding: 0 6px; background: var(--yellow); color: var(--blue); letter-spacing: .02em; }
.sh-row { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: end; margin-top: 34px; }
.sh h2 { font-size: clamp(2.3rem, 4.9vw, 4.5rem); font-stretch: 106%; letter-spacing: -.035em; line-height: .96; max-width: 15ch; }
.sh p { font-size: clamp(16px, 1.25vw, 18.5px); max-width: 440px; }
.on-blue .sh p { color: var(--on-blue-2); }
.sh p b { font-weight: 700; }
.sh p a { font-weight: 700; text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--yellow); text-underline-offset: 5px; }

[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--rd, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 10. Espaces / rôles ---------- */
.role-tabs { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 64px; border-top: 1px solid var(--blue); border-bottom: 1px solid var(--blue); }
.role-tabs button { position: relative; display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 20px 22px; border-left: 1px solid var(--rule); font-size: 18px; font-weight: 700; font-stretch: 104%; text-align: left; color: var(--blue); opacity: .45; transition: opacity .25s; }
.role-tabs button:first-child { border-left: 0; padding-left: 0; }
.role-tabs button ion-icon { font-size: 24px; }
.role-tabs button[aria-selected="true"], .role-tabs button:hover { opacity: 1; }
.rt-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 5px; overflow: hidden; }
.rt-bar i { display: block; width: 0; height: 100%; background: var(--yellow); }
.role-tabs button[aria-selected="true"] .rt-bar i { width: 100%; }
.role-tabs.auto button[aria-selected="true"] .rt-bar i { width: 0; animation: fill var(--rp, 7s) linear forwards; }
@keyframes fill { to { width: 100%; } }
.role-body { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.role-stage { position: relative; display: grid; place-items: center; min-height: 660px; }
.role-stage .ys-panel { inset: 8% 10%; }
.role-stage .phone { --sw: clamp(240px, 21vw, 284px); z-index: 2; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }
.role-panel h3 { font-size: clamp(1.9rem, 3.1vw, 3rem); font-stretch: 106%; letter-spacing: -.03em; line-height: .98; }
.role-panel > p { margin-top: 18px; max-width: 520px; font-size: 18px; }
.role-panel.is-on { animation: panelIn .6s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } }
.feat-list { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--blue); counter-reset: f; }
.feat-list li { display: grid; grid-template-columns: 40px 30px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.feat-list li::before { counter-increment: f; content: counter(f, decimal-leading-zero); padding-top: 3px; font-size: 13px; font-weight: 700; font-stretch: 85%; letter-spacing: .06em; }
.feat-list ion-icon { font-size: 26px; }
.feat-list b { display: block; font-size: 17px; }
.feat-list small { display: block; margin-top: 2px; font-size: 15px; opacity: .82; }
.role-panel.is-on .feat-list li { animation: liIn .55s var(--ease-out) both; }
.role-panel.is-on .feat-list li:nth-child(2) { animation-delay: .06s; } .role-panel.is-on .feat-list li:nth-child(3) { animation-delay: .12s; } .role-panel.is-on .feat-list li:nth-child(4) { animation-delay: .18s; }
@keyframes liIn { from { opacity: 0; transform: translateY(12px); } }

/* ---------- 11. Une journée ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.steps { position: relative; list-style: none; margin: 0; padding: 0; }
.steps::before { content: ""; position: absolute; left: 36px; top: 0; bottom: 0; width: 1px; background: var(--rule-on-blue); }
.step { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 62vh; padding-left: 108px; opacity: .38; transition: opacity .5s; }
.step.is-active { opacity: 1; }
.step-time { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 73px; padding: 9px 0; text-align: center; background: var(--blue); border: 1px solid var(--rule-on-blue); font-size: 15px; font-weight: 800; font-stretch: 92%; transition: background-color .4s, color .4s, border-color .4s; }
.step.is-active .step-time { background: var(--yellow); color: var(--blue); border-color: var(--yellow); }
.step h3 { font-size: clamp(1.55rem, 2.5vw, 2.3rem); font-stretch: 105%; letter-spacing: -.025em; }
.step p { margin-top: 14px; max-width: 470px; font-size: 17px; color: var(--on-blue-2); }
.step-phone { display: none; }
.story-wrap { position: sticky; top: calc(50vh - 350px); display: flex; flex-direction: column; align-items: center; gap: 20px; }
.story-clock { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--yellow); color: var(--blue); font-size: 16px; font-weight: 800; font-stretch: 92%; }
.story-stage { position: relative; display: grid; place-items: center; width: 100%; padding: 6px 0; }
.story-stage::before { content: ""; position: absolute; left: 14%; right: 14%; top: 10%; bottom: 10%; background: var(--yellow); }
.story-stage .phone { --sw: clamp(232px, 19.5vw, 276px); }
.story-dots { display: flex; gap: 6px; }
.story-dots i { width: 24px; height: 4px; background: var(--rule-on-blue); transition: background-color .3s; }
.story-dots i.on { background: var(--yellow); }

/* ---------- 12. Fonctionnalités ---------- */
/* Numéro : pastille jaune dans les vedettes, simple repère dans l'index */
.fx-n { font-size: 12px; font-weight: 800; font-stretch: 85%; letter-spacing: .1em; }

/* Les trois fonctionnalités en vedette */
.fx-stars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.fx-star { display: flex; flex-direction: column; }
.fx-frame { position: relative; padding: 46px 28px 30px; border: 1px solid var(--blue); }
.fx-frame .fx-n { position: absolute; left: -1px; top: -1px; padding: 8px 13px; background: var(--yellow); color: var(--blue); }
.fx-viz { position: relative; width: 100%; display: grid; place-items: center; }
/* Hauteur seule en spécificité supérieure : .v-plan redéfinit height plus bas dans
   la feuille. Ne jamais y ajouter display ni place-items, que les vizs redéfinissent. */
.fx-frame .fx-viz { height: 158px; }
.fx-star h3 { margin-top: 22px; font-size: 25px; font-stretch: 105%; letter-spacing: -.02em; }
.fx-star p { margin-top: 8px; font-size: 15.5px; opacity: .85; }

/* Les neuf autres, en index à filets */
.fx-list { list-style: none; margin-top: 60px; border-top: 1px solid var(--blue); }
.fx-list li { display: grid; grid-template-columns: 38px 28px minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 0 20px; padding: 21px 2px; border-bottom: 1px solid var(--rule); }
.fx-list .fx-n { opacity: .7; }
.fx-list ion-icon { font-size: 23px; }
.fx-list h3 { font-size: 19px; font-stretch: 102%; letter-spacing: -.01em; }
.fx-list p { font-size: 15px; opacity: .85; }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; margin-top: 34px; font-size: 15px; font-weight: 600; }
.also b { margin-right: 16px; }
.also span::after { content: "/"; margin: 0 12px; opacity: .35; }
.also span:last-child::after { content: none; }

/* 01 Planning */
.v-plan { width: 100%; height: 100%; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: 22px repeat(5, 1fr); gap: 4px; place-items: stretch; }
.v-plan span { display: grid; place-items: center; font-size: 11px; font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .04em; }
.v-plan span.on { background: var(--yellow); }
.v-plan i { grid-column: calc(var(--x) + 1); grid-row: calc(var(--y) + 2) / span var(--h); background: var(--blue); transform: scaleY(0); transform-origin: top; }
.v-plan i.y { background: var(--yellow); outline: 2px solid var(--blue); outline-offset: -2px; }
.is-in .v-plan i { animation: growY .6s var(--ease-out) forwards; animation-delay: var(--d); }
@keyframes growY { to { transform: none; } }

/* 02 Notes */
.v-grade { width: 100%; display: flex; align-items: flex-end; gap: 22px; place-items: end; }
.v-grade b { font-size: 58px; font-weight: 900; font-stretch: 115%; line-height: .85; letter-spacing: -.04em; }
.v-grade b small { font-size: 18px; font-weight: 700; letter-spacing: 0; }
.v-bars { flex: 1; height: 96px; display: flex; align-items: flex-end; gap: 6px; }
.v-bars i { flex: 1; height: var(--h); background: var(--blue); transform: scaleY(0); transform-origin: bottom; }
.v-bars i:last-child { background: var(--yellow); outline: 2px solid var(--blue); outline-offset: -2px; }
.is-in .v-bars i { animation: growY .8s var(--ease-out) forwards; animation-delay: var(--d); }

/* 03 Carte */
.mini-card { position: relative; width: min(100%, 214px); aspect-ratio: 1.586; padding: 12px 14px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--blue); color: var(--white); transform: rotate(-3deg); }
.mc-logo { position: absolute; top: 10px; left: 10px; width: 32px; height: 32px; display: grid; place-items: center; background: var(--white); }
.mc-logo img { width: 84%; }
.mini-card b { font-size: 16px; font-stretch: 108%; }
.mini-card small { font-size: 10.5px; opacity: .85; }
.mc-qr { position: absolute; top: 10px; right: 10px; width: 54px; height: 54px; padding: 5px; overflow: hidden; background: var(--white); }
.mc-qr svg { width: 100%; height: 100%; display: block; }
.mc-scan { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--yellow); animation: scanQr 2.6s ease-in-out infinite alternate; }
@keyframes scanQr { to { top: calc(100% - 3px); } }

/* ---------- 13. Mobile + Web ---------- */
.sync-stage { position: relative; max-width: 1100px; margin: 0 auto; padding-bottom: 36px; }
.laptop { --lw: min(880px, 80vw); width: var(--lw); }
.laptop-screen { position: relative; width: 100%; padding: calc(var(--lw) * .016) calc(var(--lw) * .016) calc(var(--lw) * .024); background: var(--white); border-radius: calc(var(--lw) * .018) calc(var(--lw) * .018) 0 0; }
.laptop-screen::before { content: ""; position: absolute; top: calc(var(--lw) * .006); left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--rule); }
.laptop-base { position: relative; width: 112%; height: calc(var(--lw) * .026); margin-left: -6%; background: var(--white); border-top: 2px solid var(--blue-deep); border-radius: 0 0 calc(var(--lw) * .03) calc(var(--lw) * .03); }
.laptop-base i { position: absolute; left: 50%; top: 0; width: 16%; height: 45%; transform: translateX(-50%); background: var(--rule); }
.sync-phone { position: absolute; right: 0; bottom: 0; z-index: 3; padding: 26px 30px 0; }
.sync-phone .ys-panel { left: 0; right: 0; top: 16%; bottom: 10%; }
.sync-phone .phone { --sw: clamp(150px, 18vw, 226px); transform: rotate(3deg); }
.sync-line { position: absolute; right: 14%; bottom: 54%; width: 20%; height: 22%; overflow: visible; z-index: 4; pointer-events: none; }
.sync-line path { fill: none; stroke: var(--yellow); stroke-width: 3; stroke-dasharray: 8 10; vector-effect: non-scaling-stroke; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -36; } }
.sync-badge { position: absolute; left: 0; top: 4%; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--yellow); color: var(--blue); font-size: 13px; font-weight: 800; font-stretch: 90%; text-transform: uppercase; letter-spacing: .06em; }
.sync-badge i { width: 9px; height: 9px; background: var(--blue); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sync-feats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid var(--white); }
.sync-feats > div { padding: 26px 24px 4px; border-left: 1px solid var(--rule-on-blue); }
.sync-feats > div:first-child { border-left: 0; padding-left: 0; }
.sync-feats ion-icon { font-size: 30px; color: var(--yellow); }
.sync-feats b { display: block; margin-top: 14px; font-size: 18px; }
.sync-feats small { display: block; margin-top: 4px; font-size: 15px; color: var(--on-blue-2); }

/* ---------- 14. Comment ça marche ---------- */
.how-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--blue); }
.how-steps::before { content: ""; position: absolute; left: 0; top: -3px; width: 0; height: 5px; background: var(--yellow); transition: width 1.6s var(--ease-out) .3s; }
.how-steps.is-in::before { width: 100%; }
.how-steps li { padding: 30px 30px 6px; border-left: 1px solid var(--rule); }
.how-steps li:first-child { border-left: 0; padding-left: 0; }
.how-n { display: block; font-size: clamp(68px, 7.4vw, 112px); font-weight: 900; font-stretch: 120%; line-height: .82; letter-spacing: -.05em; }
.how-steps h3 { margin-top: 22px; font-size: 25px; font-stretch: 105%; }
.how-steps p { margin-top: 10px; font-size: 16.5px; opacity: .85; }

/* ---------- 15. Chiffres ---------- */
.numbers { padding: 70px 0; background: var(--blue); color: var(--white); }
.nums { display: grid; grid-template-columns: repeat(5, 1fr); }
.nums > div { padding: 0 26px; border-left: 1px solid var(--rule-on-blue); }
.nums > div:first-child { border-left: 0; padding-left: 0; }
.nums b { display: block; font-size: clamp(2.6rem, 4.4vw, 4.2rem); font-weight: 900; font-stretch: 112%; white-space: nowrap; line-height: .88; letter-spacing: -.04em; }
.nums small { display: block; margin-top: 16px; font-size: 14.5px; color: var(--on-blue-2); }
.nums small::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--yellow); vertical-align: 1px; }

/* ---------- 16. FAQ ---------- */
.faq-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq .sh { position: sticky; top: calc(var(--nav-h) + 32px); margin-bottom: 0; }
.faq .sh-row { grid-template-columns: 1fr; gap: 22px; }
.faq .sh h2 { max-width: 12ch; }
.faq-list { border-top: 1px solid var(--blue); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 76px; padding: 20px 0; list-style: none; cursor: pointer; font-size: 19px; font-weight: 700; font-stretch: 102%; }
.faq-list summary::-webkit-details-marker { display: none; }
.pm { position: relative; width: 30px; height: 30px; flex: none; background: var(--yellow); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--blue); transition: transform .3s var(--ease-out); }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0deg); }
.faq-list details p { padding: 0 54px 26px 0; font-size: 16.5px; opacity: .88; }

/* ---------- 17. CTA final ---------- */
.cta-final { padding: clamp(84px, 9vw, 132px) 0; background: var(--blue); color: var(--white); }
.cta-card { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(32px, 5vw, 80px); align-items: center; }
.cta-emblem { width: clamp(130px, 16vw, 220px); }
.cta-txt .kicker { color: var(--on-blue-2); margin-bottom: 22px; }
.cta-txt h2 { font-size: clamp(2.8rem, 6vw, 5.6rem); font-stretch: 110%; letter-spacing: -.04em; line-height: .93; }
.cta-lead { margin-top: 20px; max-width: 520px; font-size: 18px; color: var(--on-blue-2); }
.cta-txt .actions { margin-top: 32px; }
.qr-box { width: 172px; height: 172px; padding: 12px; display: grid; place-items: center; background: var(--white); }
.qr-box img, .qr-box canvas, .qr-box svg { width: 100% !important; height: 100% !important; display: block; }
.qr-box a { font-size: 13px; font-weight: 700; color: var(--blue); text-align: center; word-break: break-all; }
.cta-qr small { display: block; max-width: 172px; margin-top: 14px; font-size: 12.5px; font-weight: 700; font-stretch: 90%; text-transform: uppercase; letter-spacing: .06em; color: var(--on-blue-2); }

/* ---------- 18. Footer ---------- */
.footer { padding: 68px 0 28px; background: var(--white); color: var(--blue); }
.foot-in { display: grid; grid-template-columns: 1.1fr 2fr; gap: 48px; }
.foot-brand { display: flex; align-items: flex-start; gap: 16px; }
.foot-brand b { font-size: 23px; font-weight: 800; font-stretch: 110%; }
.foot-brand small { display: block; max-width: 320px; margin-top: 6px; font-size: 15px; opacity: .85; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 24px 32px; }
.foot-cols div { display: flex; flex-direction: column; gap: 10px; }
.foot-cols b { margin-bottom: 4px; font-size: 12.5px; font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .1em; }
.foot-cols a { font-size: 15px; font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.foot-cols a:hover { text-decoration-color: var(--yellow); }
.foot-bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 52px; padding-top: 20px; font-size: 13px; }
.foot-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--blue); }

/* ---------- 19. Modale démo ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-bg { position: absolute; inset: 0; background: rgba(6, 68, 155, .96); animation: fadeIn .3s; }
.modal-box { position: relative; width: min(1000px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: clamp(24px, 4vw, 52px); background: var(--white); color: var(--blue); animation: modalIn .5s var(--ease-out); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px); } }
.modal-x { position: absolute; top: 0; right: 0; z-index: 5; width: 56px; height: 56px; display: grid; place-items: center; background: var(--yellow); color: var(--blue); font-size: 26px; transition: background-color .2s, color .2s; }
.modal-x:hover { background: var(--blue); color: var(--white); }
.reel { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.reel-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 0 30px; }
.reel-stage::before { content: ""; position: absolute; left: 0; right: 0; top: 14%; bottom: 6%; background: var(--yellow); }
.reel-stage > * { position: relative; }
.reel-stage .phone { --sw: clamp(200px, 33vh, 300px); }
.reel-bars { display: flex; gap: 4px; width: 100%; }
.reel-bars span { flex: 1; height: 4px; background: var(--rule); overflow: hidden; }
.reel-bars i { display: block; width: 0; height: 100%; background: var(--blue); }
.reel-side h3 { margin-top: 26px; font-size: clamp(1.9rem, 3.2vw, 2.8rem); font-stretch: 106%; letter-spacing: -.03em; }
.reel-cap { min-height: 3.4em; margin-top: 16px; font-size: 18px; }
.reel-ctrl { display: flex; gap: 8px; margin-top: 28px; }
.reel-ctrl button { width: 54px; height: 54px; display: grid; place-items: center; border: 2px solid var(--blue); font-size: 20px; transition: background-color .2s, color .2s; }
.reel-ctrl button:hover { background: var(--blue); color: var(--white); }
.reel-ctrl .main { background: var(--yellow); border-color: var(--yellow); }
.reel video { width: 100%; }
.tap { position: absolute; z-index: 30; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(255, 255, 255, .55); border: 2px solid var(--white); opacity: 0; pointer-events: none; }
.tap.go { animation: tap .9s var(--ease-out); }
@keyframes tap { 0% { opacity: 0; transform: scale(1.6); } 25% { opacity: 1; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.3); } }

/* ---------- 20. Toast et confettis ---------- */
#confetti { position: fixed; inset: 0; z-index: 250; width: 100%; height: 100%; pointer-events: none; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 400; max-width: calc(100% - 32px); padding: 16px 20px; background: var(--blue); color: var(--white); border-left: 6px solid var(--yellow); font-weight: 600; font-size: 15px; text-align: center; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; transition: transform .45s var(--ease-out), visibility .45s; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* =========================================================================
   21. ÉCRANS DE L'APPLICATION (1em = 16px à 390px de large)
   ========================================================================= */
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; background: #f5f5f5; color: #1a1a1a; text-align: left; letter-spacing: 0; line-height: 1.25; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
.scr p { margin: 0; }
.scr b { font-weight: 700; }
.scr small { display: block; font-size: .75em; color: #6b7280; font-weight: 500; }
.scr a { color: #164997; font-weight: 600; }

.scr-status { flex: none; position: relative; z-index: 4; height: 3em; padding: .35em 1.85em 0 2.3em; display: flex; align-items: center; justify-content: space-between; background: #164997; color: #fff; font-weight: 600; }
.scr-status .t { font-size: 1.05em; }
.scr-status .ic { display: flex; align-items: center; gap: .3em; }
.scr-status .ic ion-icon { font-size: 1.05em; }
.scr-status .ic ion-icon:last-child { font-size: 1.55em; }
.scr-status.is-light { position: absolute; left: 0; right: 0; top: 0; background: transparent; }
.scr-top { flex: none; position: relative; z-index: 3; height: 2.9em; padding: 0 1.15em; display: flex; align-items: center; justify-content: space-between; background: #164997; color: #fff; }
.scr-top > ion-icon { font-size: 1.6em; }
.scr-top > ion-icon:last-child { font-size: 1.45em; }
.scr-logo { position: absolute; left: 50%; top: .45em; transform: translateX(-50%); width: 4.4em; height: 4.4em; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 .2em .6em rgba(0,0,0,.18); }
.scr-logo img { width: 76%; height: auto; }
.scr-title { font-weight: 700; font-size: 1.1em; }
.scr-body { flex: 1; min-height: 0; position: relative; overflow: hidden; }
.scr-scroll { padding-bottom: 1.25em; }
.scr-scroll.is-auto { animation: scrAuto var(--dur, 16s) ease-in-out 1.2s infinite; }
@keyframes scrAuto { 0%, 14% { transform: translateY(0); } 46%, 62% { transform: translateY(calc(var(--scroll) * -1)); } 94%, 100% { transform: translateY(0); } }
.scr-tabs { flex: none; position: relative; height: 5.2em; padding: .5em .2em 0; display: flex; align-items: flex-start; justify-content: space-around; background: #fff; border-top: 1px solid #e6e6e6; }
.scr-tabs::after, .scr-home::after { content: ""; position: absolute; left: 50%; bottom: .5em; width: 8.4em; height: .3em; margin-left: -4.2em; border-radius: 1em; background: #111; }
.scr-home { flex: none; position: relative; height: 2.1em; }
.tab { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: .2em; color: #8e8e93; }
.tab ion-icon { font-size: 1.6em; }
.tab small { max-width: 100%; font-size: .66em; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab.on { color: #164997; }
.tbadge { position: absolute; top: -.3em; left: 54%; min-width: 1.2em; height: 1.2em; padding: 0 .3em; border-radius: 1em; display: grid; place-items: center; background: #ff3b30; color: #fff; font-size: .68em; font-style: normal; font-weight: 700; box-shadow: 0 0 0 .15em #fff; }

/* Commun */
.chips { display: flex; gap: .45em; margin: 1em 1em .4em; overflow: hidden; }
.chips span { flex: none; padding: .45em .9em; border-radius: 1.2em; font-size: .78em; font-weight: 600; background: #fff; color: #555; box-shadow: 0 .05em .2em rgba(0,0,0,.06); }
.chips span.on { background: #164997; color: #fff; }
.seg { display: flex; padding: .2em; border-radius: .7em; background: #e9edf5; }
.seg span { flex: 1; text-align: center; padding: .45em .8em; border-radius: .55em; font-size: .78em; font-weight: 600; color: #555; white-space: nowrap; }
.seg span.on { background: #fff; color: #164997; box-shadow: 0 .1em .3em rgba(0,0,0,.08); }
.seg.wide { margin: 1em 1em 0; }
.seg i { font-style: normal; margin-left: .3em; padding: .05em .45em; border-radius: 1em; background: #164997; color: #fff; font-size: .9em; }
.seg span:not(.on) i { background: #cbd2e0; color: #444; }
.tb { display: inline-flex; align-items: center; gap: .3em; padding: .3em .6em; border-radius: .5em; font-size: .7em; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 14%, #fff); }
.tb ion-icon { font-size: 1.15em; }
.bar { height: .45em; border-radius: 1em; background: #e8ecf3; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 1em; background: #164997; }
.ok { display: inline-flex; align-items: center; gap: .25em; padding: .35em .7em; border-radius: 1em; font-size: .72em; font-weight: 700; color: #1b8a3c; background: #e5f6ea; }
.due { display: inline-flex; align-items: center; gap: .25em; padding: .3em .6em; border-radius: .5em; font-size: .68em; font-weight: 700; color: #555; background: #eef1f6; white-space: nowrap; }
.due.hot { color: #d32f2f; background: #fdecec; }
.qr { width: 100%; height: 100%; display: block; }

/* Dashboard */
.d-head { padding: .45em 1.25em 2.6em; color: #fff; background: linear-gradient(135deg, #2670d4, #1e5bb8 55%, #164997); }
.d-lang { width: 2.3em; height: 2.3em; margin-left: auto; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); }
.d-lang ion-icon { font-size: 1.35em; }
.d-row { display: flex; justify-content: space-between; align-items: center; margin-top: .9em; }
.d-greet { font-size: 1em; color: rgba(255,255,255,.85); font-weight: 500; }
.d-name { margin-top: .1em !important; font-size: 2.05em; font-weight: 800; letter-spacing: .01em; }
.wave { display: inline-block; transform-origin: 70% 70%; animation: wave 2.6s ease-in-out infinite; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(10deg); } }
.d-date { display: inline-flex; align-items: center; gap: .45em; padding: .55em .85em; border-radius: 1.4em; background: rgba(255,255,255,.17); font-size: .85em; font-weight: 600; }
.d-date ion-icon { font-size: 1.25em; }
.d-stats { position: relative; z-index: 2; display: flex; margin: -1.4em 1em 0; padding: 1.1em .3em .9em; border-radius: 1em; background: #fff; box-shadow: 0 .25em .6em rgba(0,0,0,.1); }
.st { flex: 1; display: flex; flex-direction: column; align-items: center; }
.st-ic { width: 2.75em; height: 2.75em; margin-bottom: .55em; border-radius: .75em; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 13%, #fff); }
.st-ic ion-icon { font-size: 1.4em; }
.st b { font-size: 1.35em; font-weight: 800; }
.st small { margin-top: .15em; font-size: .7em; font-weight: 600; color: #666; white-space: nowrap; }
.d-sec { margin: 1.4em 1em 0; }
.d-sec-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: .7em; }
.d-sec-h span { display: flex; align-items: center; gap: .5em; }
.d-sec-h ion-icon { font-size: 1.35em; color: #164997; }
.d-sec-h b { font-size: 1.15em; }
.d-sec-h a { font-size: .82em; }
.cc { position: relative; display: flex; gap: .7em; align-items: stretch; margin-bottom: .6em; padding: .75em; border-radius: .8em; background: #fff; box-shadow: 0 .1em .3em rgba(0,0,0,.06); }
.cc-bar { width: .25em; flex: none; border-radius: .2em; }
.cc-time { min-width: 3em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2em; font-size: .78em; }
.cc-time i { width: 1px; height: .8em; background: #ddd; }
.cc-info { flex: 1; min-width: 0; }
.cc-h { display: flex; align-items: center; justify-content: space-between; gap: .4em; }
.cc-h b { font-size: .92em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-d { display: flex; flex-wrap: wrap; gap: .3em .8em; margin-top: .4em; font-size: .72em; color: #666; }
.cc-d span { display: flex; align-items: center; gap: .3em; }
.cc.past { opacity: .55; }
.cc.next { box-shadow: 0 0 0 .1em #164997, 0 .3em .8em rgba(22,73,151,.2); }
.b-next, .b-done { flex: none; padding: .25em .6em; border-radius: 1em; font-size: .62em; font-weight: 700; }
.b-next { background: #164997; color: #fff; animation: bnext 2s ease-in-out infinite; }
.b-done { background: #eef1f6; color: #777; }
@keyframes bnext { 50% { box-shadow: 0 0 0 .35em rgba(22,73,151,.15); } }
.hw { display: flex; align-items: center; gap: .7em; margin-bottom: .55em; padding: .75em; border-radius: .8em; background: #fff; box-shadow: 0 .1em .3em rgba(0,0,0,.05); }
.hw > div { flex: 1; min-width: 0; }
.hw b { display: block; font-size: .85em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hw small { margin-top: .2em; }
.hw-ic { width: 2.3em; height: 2.3em; flex: none; border-radius: .65em; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 13%, #fff); }
.hw-ic ion-icon { font-size: 1.2em; }
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: .75em; }
.qa-c { display: flex; flex-direction: column; align-items: center; padding: 1.2em .5em; border-radius: 1em; background: #fff; box-shadow: 0 .1em .3em rgba(0,0,0,.05); }
.qa-ic { width: 3.6em; height: 3.6em; margin-bottom: .7em; border-radius: 1em; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 9%, #fff); }
.qa-ic ion-icon { font-size: 1.75em; }
.qa-c b { font-size: .88em; }
.rn { display: flex; align-items: center; gap: .75em; margin-bottom: .6em; padding: .8em; border-radius: 1em; background: #fff; box-shadow: 0 .1em .3em rgba(0,0,0,.05); }
.rn > div { flex: 1; min-width: 0; }
.rn b { display: block; font-size: .88em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rn small { margin-top: .2em; }
.rn-ic { width: 2.6em; height: 2.6em; flex: none; border-radius: .7em; display: grid; place-items: center; background: #f1f1f1; color: #8a8a8a; }
.rn-ic ion-icon { font-size: 1.3em; }
.rn .chev { color: #c4c4c4; font-size: 1.1em; }

/* Planning */
.pl-head { display: flex; align-items: center; justify-content: space-between; padding: 2.1em 1em .6em; background: #fff; }
.pl-head h3 { font-family: inherit; font-size: 1.45em; font-weight: 800; letter-spacing: 0; }
.pl-week { display: flex; gap: .35em; padding: .3em 1em 1em; background: #fff; }
.pl-week span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .1em; padding: .55em 0 .5em; border-radius: .8em; color: #555; }
.pl-week small { font-size: .68em; }
.pl-week b { font-size: 1em; }
.pl-week i { width: .3em; height: .3em; border-radius: 50%; background: #c5cfe0; }
.pl-week span.on { background: #164997; color: #fff; box-shadow: 0 .3em .8em rgba(22,73,151,.35); }
.pl-week span.on small { color: rgba(255,255,255,.8); }
.pl-week span.on i { background: #fdd400; }
.pl-day { display: flex; justify-content: space-between; align-items: center; padding: .9em 1em .4em; }
.pl-day b { font-size: .92em; }
.pl-day span { font-size: .72em; font-weight: 700; color: #164997; background: #e6eefb; padding: .3em .7em; border-radius: 1em; }
.pl-tl { position: relative; height: 35em; margin: .6em 1em 0 1em; }
.pl-hr { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed #dde3ee; }
.pl-hr span { position: absolute; top: -.6em; left: 0; font-size: .66em; color: #9aa3b2; background: #f5f5f5; padding-right: .4em; }
.pl-ev { position: absolute; left: 3em; right: 0; padding: .55em .7em; border-radius: .7em; background: color-mix(in srgb, var(--c) 12%, #fff); border-left: .25em solid var(--c); overflow: hidden; }
.pl-ev b { display: block; font-size: .85em; color: color-mix(in srgb, var(--c) 75%, #000); }
.pl-ev small { display: flex; align-items: center; gap: .25em; margin-top: .2em; font-size: .68em; }
.pl-ev.past { opacity: .55; }
.pl-ev.next { box-shadow: 0 .3em .9em color-mix(in srgb, var(--c) 35%, transparent); }
.pl-now { position: absolute; left: 2.6em; right: 0; height: .12em; background: #f44336; animation: plNow 12s ease-in-out infinite alternate; }
.pl-now i { position: absolute; left: -.3em; top: -.25em; width: .6em; height: .6em; border-radius: 50%; background: #f44336; }
@keyframes plNow { to { transform: translateY(.9em); } }

/* Notes */
.g-sum { position: relative; display: flex; align-items: center; justify-content: space-between; margin: 1em 1em 0; padding: 1.2em 1.2em 2.6em; border-radius: 1.1em; color: #fff; background: #164997; overflow: hidden; }
.g-sum::after { content: ""; position: absolute; right: -2em; top: -2em; width: 7em; height: 7em; border-radius: 50%; background: rgba(255,255,255,.08); }
.g-sum small { color: rgba(255,255,255,.8); }
.g-sum p { margin: .2em 0 .3em !important; }
.g-sum p b { font-size: 2.4em; font-weight: 800; }
.g-sum p span { font-size: 1em; opacity: .8; }
.ring { width: 5em; height: 5em; transform: rotate(-90deg); position: relative; z-index: 1; }
.ring circle { fill: none; stroke-width: 4.5; stroke-linecap: round; }
.ring-bg { stroke: rgba(255,255,255,.2); }
.ring-fg { stroke: #fdd400; animation: ringIn 1.8s var(--ease-out) .4s backwards; }
@keyframes ringIn { from { stroke-dashoffset: 113.1; } }
.g-new { position: absolute; left: 1.2em; bottom: .9em; display: inline-flex; align-items: center; gap: .35em; padding: .3em .7em; border-radius: 1em; font-size: .7em; font-weight: 700; color: #0a1530; background: #fdd400; }
.gi { margin: .65em 1em 0; padding: .9em; border-radius: .9em; background: #fff; box-shadow: 0 .1em .3em rgba(0,0,0,.06); }
.gi.fresh { box-shadow: 0 0 0 .1em #4caf50, 0 .4em 1em rgba(76,175,80,.18); animation: freshIn 1s var(--ease-spring) .5s backwards; }
@keyframes freshIn { from { transform: translateY(-1em) scale(.96); opacity: 0; } }
.gi-top { display: flex; justify-content: space-between; align-items: center; }
.sc { font-size: 1.45em; font-weight: 800; }
.sc small { display: inline; font-size: .55em; color: #999; }
.gi-t { display: block; margin-top: .5em; font-size: .92em; }
.gi-c { display: flex !important; align-items: center; gap: .3em; margin-top: .3em; }
.gi-d { margin-top: .25em; color: #9aa3b2 !important; font-size: .68em !important; }
.gi-ev { display: flex; align-items: center; gap: .4em; margin-top: .7em; padding: .7em .8em; border-radius: .6em; background: #e3f2fd; color: #2196f3; font-size: .8em; font-weight: 600; }
.gi-ev ion-icon:last-child { margin-left: auto; }

/* Absences */
.ab-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; margin: 1em 1em 0; }
.ab-sum div { padding: .8em .6em; border-radius: .9em; text-align: center; background: #fff; box-shadow: 0 .1em .3em rgba(0,0,0,.05); border-top: .2em solid var(--c); }
.ab-sum b { display: block; font-size: 1.5em; font-weight: 800; color: var(--c); }
.ab-up { margin: .8em 1em 0; padding: .9em; border-radius: 1em; background: #fff; box-shadow: 0 .2em .8em rgba(22,73,151,.12); border: .1em dashed #90b4ec; }
.ab-up-h { display: flex; align-items: center; gap: .7em; }
.ab-up-h b { display: block; font-size: .9em; }
.ab-up-ic { width: 2.4em; height: 2.4em; border-radius: .7em; display: grid; place-items: center; background: #e6eefb; color: #164997; }
.ab-up-ic ion-icon { font-size: 1.3em; }
.ab-file { display: flex; align-items: center; gap: .6em; margin-top: .8em; padding: .6em; border-radius: .7em; background: #f6f8fc; }
.ab-pdf { padding: .55em .4em; border-radius: .35em; background: #f44336; color: #fff; font-size: .6em; font-weight: 800; }
.ab-fm { flex: 1; min-width: 0; }
.ab-fm b { display: block; margin-bottom: .35em; font-size: .78em; }
.ab-fm .bar i { width: 0; background: #164997; animation: abUp 6s ease-in-out infinite; }
@keyframes abUp { 0%, 8% { width: 0; } 55%, 100% { width: 100%; } }
.ab-st { position: relative; width: 4.8em; height: 1.4em; font-size: .72em; font-weight: 700; }
.ab-st em { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; gap: .2em; font-style: normal; }
.ab-st .s1 { color: #2670d4; animation: abS1 6s infinite; }
.ab-st .s2 { color: #1b8a3c; opacity: 0; animation: abS2 6s infinite; }
@keyframes abS1 { 0%, 55% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes abS2 { 0%, 57% { opacity: 0; transform: scale(.8); } 63%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.ab-it { display: flex; align-items: center; gap: .75em; margin: .55em 1em 0; padding: .75em; border-radius: .9em; background: #fff; box-shadow: 0 .1em .3em rgba(0,0,0,.05); }
.ab-date { width: 3em; flex: none; padding: .35em 0; border-radius: .6em; text-align: center; background: #f1f4f9; }
.ab-date b { display: block; font-size: 1.1em; line-height: 1; }
.ab-date small { font-size: .58em; font-weight: 700; }
.ab-m { flex: 1; min-width: 0; }
.ab-m b { display: block; font-size: .86em; }
.ab-m small { margin-top: .2em; font-size: .68em; }
.pill-st { padding: .3em .65em; border-radius: 1em; font-size: .68em; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 13%, #fff); }

/* Devoirs */
.as-it { margin: .7em 1em 0; padding: .9em; border-radius: .9em; background: #fff; box-shadow: 0 .1em .3em rgba(0,0,0,.06); }
.as-it.hot { box-shadow: 0 0 0 .1em #ff9800, 0 .3em .8em rgba(255,152,0,.15); }
.as-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .55em; }
.as-it > b { display: block; font-size: .92em; }
.as-it > small { margin-top: .25em; }
.as-prog { margin-top: .6em; }
.as-prog small { margin-bottom: .3em; font-size: .66em; }
.qcm { margin: .7em 1em 0; padding: 1em; border-radius: 1em; background: #164997; color: #fff; }
.qcm-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5em; }
.qcm-h small { color: rgba(255,255,255,.75); }
.qcm-timer { display: inline-flex; align-items: center; gap: .25em; font-size: .75em; font-weight: 700; color: #fdd400; }
.qcm .bar { background: rgba(255,255,255,.15); }
.qcm .bar i { background: #fdd400; }
.qcm-q { display: block; margin: .8em 0 .7em; font-size: .9em; line-height: 1.35; }
.opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: .4em; margin-top: .45em; padding: .65em .75em; border-radius: .65em; font-size: .76em; font-weight: 600; background: rgba(255,255,255,.1); border: .1em solid rgba(255,255,255,.12); }
.opt ion-icon { font-size: 1.3em; opacity: 0; }
.opt.pick { animation: pick 6s infinite; }
.opt.pick ion-icon { animation: pickIc 6s infinite; }
@keyframes pick { 0%, 30% { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.12); } 36%, 92% { background: #fdd400; color: #0a1530; border-color: #fdd400; } 100% { background: rgba(255,255,255,.1); } }
@keyframes pickIc { 0%, 34% { opacity: 0; transform: scale(.4); } 42%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.qcm-next { display: flex; align-items: center; justify-content: center; gap: .4em; margin-top: .9em; padding: .7em; border-radius: .7em; background: #fff; color: #164997; font-size: .8em; font-weight: 700; }

/* Career */
.cr-head { margin: 2.1em 1em 0; padding: 1em; border-radius: 1em; background: #fff; box-shadow: 0 .1em .4em rgba(0,0,0,.06); }
.cr-head > b { display: block; font-size: 1.3em; font-weight: 800; }
.cr-stats { display: flex; align-items: center; justify-content: space-around; margin-top: .9em; padding-top: .8em; border-top: 1px solid #eee; }
.cr-stats div { text-align: center; }
.cr-stats b { display: block; font-size: 1.35em; font-weight: 800; color: #164997; }
.cr-stats i { width: 1px; height: 2em; background: #e5e5e5; }
.of { margin: .7em 1em 0; padding: .9em; border-radius: 1em; background: #fff; box-shadow: 0 .1em .3em rgba(0,0,0,.06); }
.of.new { box-shadow: 0 0 0 .1em #8b5cf6, 0 .4em 1em rgba(139,92,246,.15); }
.of-top { display: flex; align-items: flex-start; gap: .65em; }
.of-logo { width: 2.6em; height: 2.6em; flex: none; border-radius: .7em; display: grid; place-items: center; color: #fff; font-size: .85em; font-weight: 800; background: var(--c); }
.of-m { flex: 1; min-width: 0; }
.of-m b { display: block; font-size: .88em; }
.of-m small { margin-top: .2em; }
.of-tags { display: flex; flex-wrap: wrap; gap: .4em; margin-top: .7em; }
.of-tags span { display: inline-flex; align-items: center; gap: .25em; padding: .3em .55em; border-radius: .5em; font-size: .66em; font-weight: 600; color: #555; background: #f1f4f9; }
.of-btn { display: flex; align-items: center; justify-content: center; gap: .35em; margin-top: .75em; padding: .65em; border-radius: .65em; font-size: .8em; font-weight: 700; color: #fff; background: #164997; }
.of-btn.done { color: #1b8a3c; background: #e5f6ea; }

/* Carte virtuelle */
.vc { position: relative; overflow: hidden; margin: 1.1em 1em 0; border-radius: 1.1em; background: #fff; box-shadow: 0 .6em 1.6em rgba(13,59,142,.25); }
.vc-h { display: flex; align-items: center; gap: .7em; padding: .9em 1em; color: #fff; background: linear-gradient(120deg, #0d3b8e, #1a6fc4 60%, #38bdf8); }
.vc-h b { display: block; font-size: .88em; }
.vc-h small { color: rgba(255,255,255,.85); }
.vc-logo { width: 2.6em; height: 2.6em; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.vc-logo img { width: 80%; }
.vc-b { display: flex; gap: .8em; padding: 1em; }
.vc-l { flex: 1; min-width: 0; }
.vc-av { width: 3.4em; height: 3.4em; border-radius: .9em; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1em; color: #164997; background: #fdd400; }
.vc-n { display: block; margin: .55em 0 .5em; font-size: 1.05em; color: #0d3b8e; }
.vc-f { display: grid; grid-template-columns: 1fr 1fr; gap: .45em .6em; }
.vc-f span { font-size: .7em; font-weight: 700; color: #1e293b; }
.vc-f small { font-size: .85em; color: #64748b; font-weight: 500; }
.vc-qr { width: 6.2em; height: 6.2em; flex: none; align-self: center; padding: .35em; border-radius: .6em; background: #fff; border: .12em solid #e2e8f0; }
.vc-foot { display: flex; align-items: center; justify-content: space-between; padding: .55em 1em; background: #f1f5f9; }
.vc-foot small { font-size: .62em; color: #64748b; }
.vc-tag { padding: .25em .6em; border-radius: .4em; font-size: .6em; font-weight: 800; letter-spacing: .1em; color: #fff; background: #f59e0b; }
.fin { display: flex; align-items: center; gap: .7em; margin: .9em 1em 0; padding: .8em; border-radius: .9em; background: #fff; box-shadow: 0 .1em .3em rgba(0,0,0,.06); }
.fin > div { flex: 1; }
.fin b { display: block; font-size: .86em; }
.fin-ic { width: 2.4em; height: 2.4em; border-radius: .7em; display: grid; place-items: center; color: #1b8a3c; background: #e5f6ea; }
.fin-ic ion-icon { font-size: 1.3em; }
.vc-hint { display: flex; align-items: center; justify-content: center; gap: .4em; margin: 1em 1em 0 !important; font-size: .76em; color: #64748b; }
.vc-btn { display: flex; align-items: center; justify-content: center; gap: .45em; margin: .8em 1em 0; padding: .8em; border-radius: .8em; font-size: .85em; font-weight: 700; color: #fff; background: #164997; }

/* Notifications */
.nt-head { display: flex; justify-content: space-between; align-items: flex-end; padding: 2.1em 1em .4em; }
.nt-head b { display: block; font-size: 1.4em; font-weight: 800; }
.nt-head small span { color: #164997; font-weight: 700; }
.nt-head a { font-size: .72em; }
.nt { position: relative; display: flex; gap: .75em; margin: .55em 1em 0; padding: .85em; border-radius: 1em; background: #fff; box-shadow: 0 .1em .3em rgba(0,0,0,.05); animation: ntIn .7s var(--ease-out) backwards; animation-delay: calc(var(--i) * .12s + .3s); }
@keyframes ntIn { from { opacity: 0; transform: translateY(-.8em); } }
.nt.unread { background: #f4f8ff; }
.nt-ic { width: 2.5em; height: 2.5em; flex: none; border-radius: .75em; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, #fff); }
.nt-ic ion-icon { font-size: 1.25em; }
.nt-m { flex: 1; min-width: 0; }
.nt-m b { display: block; font-size: .86em; }
.nt-m small { margin-top: .2em; font-size: .74em; color: #4b5563; }
.nt-m em { display: block; margin-top: .3em; font-style: normal; font-size: .64em; color: #9aa3b2; }
.nt .dot { position: absolute; top: 1em; right: 1em; width: .55em; height: .55em; border-radius: 50%; background: #2670d4; }

/* Enseignant */
.t-prog { display: flex; justify-content: space-between; margin: 1.1em 1.1em .4em; font-size: .78em; color: #555; font-weight: 600; }
.t-prog b { color: #164997; }
.t-bar { margin: 0 1em; }
.t-bar i { animation: barIn 1.6s var(--ease-out) .4s backwards; }
@keyframes barIn { from { width: 0 !important; } }
.tc { display: flex; align-items: center; gap: .7em; margin-bottom: .6em; padding: .85em; border-radius: .9em; background: #fff; box-shadow: 0 .1em .3em rgba(0,0,0,.05); }
.tc-m { flex: 1; min-width: 0; }
.tc-m b { display: block; font-size: .86em; }
.tc-m small { margin-top: .2em; }
.tc-m .bar { margin: .5em 0 .3em; }
.tc-btn { padding: .55em .85em; border-radius: .6em; font-size: .74em; font-weight: 700; color: #fff; background: #164997; }
.tc-btn.ghost { color: #164997; background: #e6eefb; }
.ev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.ev-grid > div { padding: .8em; border-radius: .9em; background: #fff; border-top: .2em solid var(--c); box-shadow: 0 .1em .3em rgba(0,0,0,.05); }
.ev-grid span { width: 2.1em; height: 2.1em; border-radius: .6em; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); }
.ev-grid b { display: block; margin-top: .45em; font-size: 1.3em; font-weight: 800; color: var(--c); }
.ev-grid b i { font-style: normal; }
.q-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4em; margin-top: .6em; }
.q-row span { display: flex; flex-direction: column; align-items: center; gap: .15em; padding: .6em .2em; border-radius: .7em; font-size: .78em; font-weight: 800; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); }
.q-row small { font-size: .78em; color: #666; }

/* Scan */
.scr-scan { background: #05070d; color: #fff; }
.sc-top { display: flex; align-items: center; justify-content: space-between; margin-top: 3.2em; padding: .4em 1.1em; }
.sc-top b { font-size: 1.05em; }
.sc-top ion-icon { font-size: 1.5em; }
.sc-cam { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; padding-top: 2em; background: #0d1626; }
.sc-frame { position: relative; width: 15em; height: 15em; }
.k { position: absolute; width: 3em; height: 3em; border: .3em solid #fdd400; }
.k1 { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 1em 0 0 0; }
.k2 { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 1em 0 0; }
.k3 { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 1em; }
.k4 { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 1em 0; }
.sc-qr { position: absolute; inset: 2.4em; padding: .7em; border-radius: .6em; background: #fff; transform: rotate(-6deg); box-shadow: 0 1em 2em rgba(0,0,0,.5); animation: scQr 6s ease-in-out infinite; }
@keyframes scQr { 0% { transform: rotate(-10deg) scale(.9); } 35%, 100% { transform: rotate(-3deg) scale(1); } }
.sc-laser { position: absolute; left: 1em; right: 1em; top: 1em; height: .2em; border-radius: 1em; background: #fdd400; animation: laser 6s ease-in-out infinite; }
@keyframes laser { 0% { top: 1em; opacity: 1; } 20% { top: 13.8em; } 40% { top: 1em; opacity: 1; } 45%, 100% { opacity: 0; } }
.sc-cam p { margin-top: 1.4em !important; font-size: .8em; color: rgba(255,255,255,.75); }
.sc-kpi { display: flex; gap: .8em; margin-top: 1.2em; }
.sc-kpi span { display: flex; flex-direction: column; align-items: center; padding: .6em 1em; border-radius: .8em; font-size: .7em; color: rgba(255,255,255,.7); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.sc-kpi b { font-size: 1.6em; color: #fff; }
.sc-sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: .6em 1em 3em; border-radius: 1.4em 1.4em 0 0; background: #fff; color: #1a1a1a; box-shadow: 0 -1em 2em rgba(0,0,0,.4); transform: translateY(110%); animation: sheet 6s var(--ease-out) infinite; }
@keyframes sheet { 0%, 42% { transform: translateY(110%); } 50%, 90% { transform: none; } 98%, 100% { transform: translateY(110%); } }
.grab { display: block; width: 3em; height: .3em; margin: 0 auto .9em; border-radius: 1em; background: #ddd; }
.sc-res { display: flex; align-items: center; gap: .7em; }
.sc-res > div { flex: 1; }
.sc-res b { display: block; font-size: 1em; }
.sc-av { width: 2.9em; height: 2.9em; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: #164997; }
.sc-meta { display: flex; justify-content: space-between; margin-top: .9em; padding-top: .8em; border-top: 1px solid #eee; }
.sc-meta span { display: flex; align-items: center; gap: .3em; font-size: .68em; color: #555; font-weight: 600; }
.scr-scan .scr-home { position: absolute; bottom: 0; left: 0; right: 0; z-index: 6; }

/* Chef de classe */
.at-c { margin: 1em 1em 0; padding: 1em; border-radius: 1em; color: #fff; background: #164997; }
.at-c small { color: rgba(255,255,255,.85); }
.at-c > b { display: block; margin: .2em 0 .3em; font-size: 1.2em; }
.at-c > span { display: flex; align-items: center; gap: .3em; font-size: .72em; opacity: .9; }
.at-k { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; margin-top: .8em; }
.at-k div { padding: .5em; border-radius: .7em; text-align: center; background: rgba(255,255,255,.18); }
.at-k b { display: block; font-size: 1.25em; }
.at-k small { color: rgba(255,255,255,.9); font-size: .66em; }
.at-search { display: flex; align-items: center; gap: .5em; margin: 1.03em 1.28em .4em; padding: .7em .8em; border-radius: .8em; font-size: .78em; color: #9aa3b2; background: #fff; box-shadow: 0 .1em .3em rgba(0,0,0,.05); }
.at-r { display: flex; align-items: center; gap: .65em; margin: .45em 1em 0; padding: .6em .7em; border-radius: .8em; background: #fff; box-shadow: 0 .1em .3em rgba(0,0,0,.04); }
.at-av { width: 2.3em; height: 2.3em; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .78em; font-weight: 800; background: var(--c); }
.at-m { flex: 1; min-width: 0; }
.at-m b { display: block; font-size: .82em; }
.at-m small { font-size: .64em; }
.at-t { display: flex; gap: .3em; }
.at-t span { width: 1.9em; height: 1.9em; border-radius: .5em; display: grid; place-items: center; font-size: .7em; font-weight: 800; color: #9aa3b2; background: #f1f4f9; }
.at-t span.on { color: #fff; animation: attOn .5s var(--ease-spring) backwards; animation-delay: calc(var(--i) * .25s + .6s); }
.at-t span.on.P { background: #10b981; } .at-t span.on.A { background: #f44336; } .at-t span.on.R { background: #ff9800; }
@keyframes attOn { from { transform: scale(.3); background: #f1f4f9; color: #9aa3b2; } }
.at-btn { display: flex; align-items: center; justify-content: center; gap: .45em; margin: 1em 1em 0; padding: .85em; border-radius: .8em; font-size: .85em; font-weight: 700; color: #fff; background: #164997; }

/* Connexion */
.scr-login { background: #164997; }
.lg-top { display: flex; flex-direction: column; align-items: center; padding-top: 5em; color: #fff; text-align: center; }
.lg-logo { width: 6em; height: 6em; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 .4em rgba(255,255,255,.15); }
.lg-logo img { width: 78%; }
.lg-top b { margin-top: .7em; font-size: 1.7em; font-weight: 800; }
.lg-top small { margin-top: .2em; font-size: .85em; color: rgba(255,255,255,.8); }
.lg-card { flex: 1; display: flex; flex-direction: column; margin-top: 2em; padding: 1.6em 1.3em 0; border-radius: 1.6em 1.6em 0 0; background: #fff; }
.lg-t { font-size: 1.45em; font-weight: 800; }
.lg-s { margin: .2em 0 1em; }
.lg-f { display: flex; align-items: center; gap: .6em; margin-top: .7em; padding: .85em .9em; border-radius: .8em; background: #f4f6fa; border: .1em solid #e3e8f0; font-size: .85em; color: #1a1a1a; }
.lg-f ion-icon { font-size: 1.25em; color: #8a94a6; }
.lg-f .typed { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.lg-f .typed.caret::after { content: ""; display: inline-block; width: .08em; height: 1.1em; margin-left: .05em; vertical-align: -.2em; background: #164997; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.lg-forgot { align-self: flex-end; margin-top: .7em; font-size: .75em; }
.lg-btn { display: flex; align-items: center; justify-content: center; gap: .5em; margin-top: 1.1em; padding: .95em; border-radius: .8em; font-size: .9em; font-weight: 700; color: #fff; background: #164997; transition: transform .2s; }
.lg-btn.ms { margin-top: 0; background: #2f2f2f; }
.lg-btn.press { transform: scale(.96); }
.lg-or { display: flex; align-items: center; gap: .8em; margin: .9em 0; font-size: .72em; color: #9aa3b2; }
.lg-or i { flex: 1; height: 1px; background: #e5e7eb; }
.scr-login .scr-home { background: #fff; }
.scr-login .scr-home::after { background: #111; }
.lg-help { margin-top: auto; padding: 1.2em 0 .6em; text-align: center; font-size: .75em !important; }
.ab-rate { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .7em 1em; margin: .9em 1em 0; padding: .9em 1em; border-radius: 1em; background: #fff; box-shadow: 0 .1em .3em rgba(0,0,0,.06); }
.ab-rate b { display: block; font-size: .9em; }
.ab-rate strong { font-size: 1.5em; font-weight: 800; color: #1b8a3c; }
.ab-rate strong i { font-style: normal; }
.ab-rate .bar { grid-column: span 2; }
.ab-rate .bar i { background: #4caf50; }

/* =========================================================================
   22. ENT WEB (ordinateur portable) — 1em ≈ 16px à 1280px
   ========================================================================= */
.web { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid rgba(6,68,155,.18); background: #f4f6fb; color: #1a1a1a; font-family: var(--font-body); font-size: calc(var(--lw) * .0118); line-height: 1.3; text-align: left; }
.web-in { display: flex; height: 100%; }
.w-side { width: 15em; flex: none; padding: 1.2em .9em; color: #fff; background: #06449b; }
.w-brand { display: flex; align-items: center; gap: .6em; padding: 0 .3em 1.2em; margin-bottom: .8em; border-bottom: 1px solid rgba(255,255,255,.12); }
.w-brand span { width: 2.4em; height: 2.4em; border-radius: 50%; display: grid; place-items: center; background: #fff; }
.w-brand img { width: 80%; }
.w-brand b { font-family: var(--font-display); font-size: 1em; }
.w-item { display: flex; align-items: center; gap: .6em; padding: .6em .7em; border-radius: .6em; font-size: .8em; color: rgba(255,255,255,.82); }
.w-item ion-icon { font-size: 1.2em; }
.w-item.on { color: #0b2a66; background: #fff; font-weight: 700; }
.w-chev { margin-left: auto; font-size: 1em !important; }
.w-sub { display: flex; flex-direction: column; padding: .2em 0 .4em 2.2em; }
.w-sub span { padding: .35em 0; font-size: .72em; color: rgba(255,255,255,.65); }
.w-sub span.hl { color: #fdd400; font-weight: 600; }
.w-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.w-top { display: flex; align-items: center; justify-content: space-between; height: 3.6em; padding: 0 1.6em; background: #fff; border-bottom: 1px solid #e8ecf3; }
.w-crumb { font-size: .78em; color: #6b7280; }
.w-crumb i { margin: 0 .3em; font-style: normal; color: #c3c9d4; }
.w-crumb b { color: #1a1a1a; }
.w-right { display: flex; align-items: center; gap: 1em; }
.w-right > ion-icon { font-size: 1.2em; color: #6b7280; }
.w-badge { padding: .4em .8em; border-radius: 2em; font-size: .62em; font-weight: 700; letter-spacing: .04em; color: #fff; background: #164997; }
.w-user { display: flex; align-items: center; gap: .5em; font-size: .78em; font-weight: 600; }
.w-user i { width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .85em; color: #06449b; background: #fdd400; }
.w-content { flex: 1; min-height: 0; padding: 1.2em 1.6em; }
.w-content h4 { font-size: 1.35em; font-weight: 800; letter-spacing: -.01em; }
.w-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9em; margin-top: .9em; }
.w-kpis > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .7em; align-items: center; padding: .8em .9em; border-radius: .8em; background: #fff; box-shadow: 0 .1em .4em rgba(16,24,40,.05); }
.w-kpis ion-icon { grid-row: span 2; width: 1.4em; height: 1.4em; padding: .45em; border-radius: .6em; color: var(--c); background: color-mix(in srgb, var(--c) 13%, #fff); }
.w-kpis b { font-size: 1.3em; font-weight: 800; }
.w-kpis b i { font-style: normal; }
.w-kpis small { font-size: .66em; color: #6b7280; }
.w-cols { display: grid; grid-template-columns: 1.75fr 1fr; gap: .9em; margin-top: .9em; }
.w-card { padding: .9em 1em; border-radius: .9em; background: #fff; box-shadow: 0 .1em .4em rgba(16,24,40,.05); }
.w-card-h { display: flex; align-items: center; gap: .7em; margin-bottom: .6em; }
.w-card-h > b { display: flex; align-items: center; gap: .4em; font-size: .85em; }
.w-card-h ion-icon { color: #164997; }
.w-date { margin-left: auto; padding: .3em .6em; border-radius: .4em; font-size: .58em; font-weight: 700; color: #4b5563; background: #f1f4f9; }
.w-btn { padding: .45em .8em; border-radius: .45em; font-size: .62em; font-weight: 700; color: #fff; background: #164997; white-space: nowrap; }
.w-btn.ghost { color: #164997; background: #fff; border: 1px solid #c9d6ee; }
.w-row { display: flex; align-items: center; gap: .7em; padding: .6em .2em; border-top: 1px solid #f0f2f6; }
.w-time { width: 7.4em; font-size: .7em; font-weight: 700; color: #4b5563; }
.w-dot { width: .55em; height: .55em; border-radius: 50%; flex: none; }
.w-cm { flex: 1; min-width: 0; }
.w-cm b { display: block; font-size: .78em; }
.w-cm small { display: block; font-size: .64em; color: #6b7280; }
.w-st { padding: .3em .6em; border-radius: 1em; font-size: .6em; font-weight: 700; }
.w-st.done { color: #6b7280; background: #eef1f6; }
.w-st.live { color: #fff; background: #10b981; animation: bnext 2s infinite; }
.w-st.soon { color: #164997; background: #e6eefb; }
.w-chart { margin-top: .6em; padding-top: .6em; border-top: 1px solid #f0f2f6; }
.w-chart > b { font-size: .7em; color: #4b5563; }
.w-bars { display: flex; align-items: flex-end; gap: 1.2em; height: 5.2em; margin-top: .5em; padding: 0 .4em; }
.w-bars span { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .3em; }
.w-bars i { display: block; width: 100%; height: var(--h); border-radius: .4em .4em .15em .15em; background: #164997; transform-origin: bottom; animation: barGrow 1.4s var(--ease-out) backwards; animation-delay: calc(var(--d) + .4s); }
@keyframes barGrow { from { transform: scaleY(0); } }
.w-bars small { font-size: .55em; color: #9aa3b2; }
.w-link { display: flex; align-items: center; gap: .7em; padding: .6em .3em; border-top: 1px solid #f0f2f6; }
.w-link:first-of-type { border-top: 0; }
.w-link > span { width: 2.2em; height: 2.2em; flex: none; border-radius: .6em; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 13%, #fff); }
.w-link > div { flex: 1; min-width: 0; }
.w-link b { display: block; font-size: .74em; }
.w-link small { display: block; font-size: .6em; color: #6b7280; }
.w-link > ion-icon { color: #c3c9d4; font-size: .9em; }


/* =========================================================================
   23. RESPONSIVE
   ========================================================================= */
@media (max-width: 1199px) {
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 14.5px; }
  .hero-in { gap: 32px; }
  .push-stack { left: -2%; }
  .fx-stars { gap: 22px; }
  .fx-frame { padding: 44px 20px 24px; }
  .fx-star h3 { font-size: 23px; }
  .fx-list li { grid-template-columns: 38px 26px minmax(0, 1fr) minmax(0, 1.2fr); gap: 0 16px; }
  .nums > div { padding: 0 18px; }
}

@media (max-width: 1023px) {
  :root { --nav-h: 68px; --gutter: 24px; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto; height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h));
    flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px var(--gutter) 32px;
    background: var(--blue); color: var(--white); border-top: 1px solid var(--rule-on-blue);
    transform: translateY(-8px); opacity: 0; visibility: hidden; overflow-y: auto;
    transition: opacity .25s, transform .3s var(--ease-out), visibility .25s;
  }
  .nav-links.open { opacity: 1; transform: none; visibility: visible; }
  .nav-links a { padding: 20px 0; border-bottom: 1px solid var(--rule-on-blue); font-size: 28px; font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; }
  .nav-links a::after { display: none; }
  .nav-links .nav-cta-m { display: inline-flex; justify-content: center; margin-top: 24px; border-bottom: 0; font-size: 18px; }
  .burger { display: block; }

  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 44px); }
  .hero-in { grid-template-columns: 1fr; gap: 36px; }
  .hero-stage { width: 100%; max-width: 620px; height: 620px; margin: 0 auto; }
  .phone-main { --sw: 252px; }
  .phone-back { --sw: 200px; }
  .push-stack { left: 0; }

  .role-tabs { grid-template-columns: 1fr 1fr; }
  .role-tabs button:nth-child(3) { border-left: 0; padding-left: 0; }
  .role-tabs button:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .role-body { grid-template-columns: 1fr; }
  .role-stage { min-height: 620px; }
  .role-panels { max-width: 680px; }

  .story-grid { grid-template-columns: 1fr; }
  .story-sticky { display: none; }
  .step { min-height: 0; padding: 0 0 80px 108px; opacity: 1; }
  .step-time { top: 0; transform: none; background: var(--yellow); color: var(--blue); border-color: var(--yellow); }
  .step-phone { position: relative; display: grid; place-items: center; margin-top: 30px; padding: 4px 0; }
  .step-phone::before { content: ""; position: absolute; left: 10%; right: 10%; top: 10%; bottom: 10%; background: var(--yellow); }
  .step-phone .phone { --sw: clamp(220px, 42vw, 268px); }

  /* La vedette passe en pleine largeur, les deux autres restent côte à côte */
  .fx-stars { grid-template-columns: repeat(2, 1fr); }
  .fx-star:first-child { grid-column: 1 / -1; }
  .fx-star:first-child .fx-frame .fx-viz { height: 184px; }
  .fx-list { margin-top: 48px; }
  .fx-list li { grid-template-columns: 34px 26px minmax(0, 1fr) minmax(0, 1.1fr); }

  .laptop { --lw: 82vw; }
  .sync-feats { grid-template-columns: 1fr 1fr; }
  .sync-feats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .sync-feats > div:nth-child(n + 3) { border-top: 1px solid var(--rule-on-blue); }

  .nums { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .nums > div:nth-child(4) { border-left: 0; padding-left: 0; }

  .faq-in { grid-template-columns: 1fr; }
  .faq .sh { position: static; margin-bottom: 8px; }

  .cta-card { grid-template-columns: auto 1fr; }
  .cta-qr { grid-column: 2; }
  .foot-in { grid-template-columns: 1fr; }

  .reel { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .reel-side .sh-top { justify-content: center; }
  .reel-ctrl { justify-content: center; }
}

@media (max-width: 719px) {
  .hide-sm { display: none !important; }
  .sh-row { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .how-steps { grid-template-columns: 1fr; }
  .how-steps li, .how-steps li:first-child { padding: 28px 0 24px; border-left: 0; border-bottom: 1px solid var(--rule); }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols div:last-child { grid-column: span 2; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-qr { grid-column: auto; }
  .cta-emblem { width: 120px; }

  /* Index : la description passe sous le titre, numéro et icône calés sur le titre */
  .fx-list li { grid-template-columns: 34px 26px minmax(0, 1fr); align-items: start; gap: 5px 14px; padding: 18px 2px; }
  .fx-list p { grid-column: 3; }
  .fx-list .fx-n { margin-top: 6px; }
  .fx-list ion-icon { margin-top: 1px; }
}

@media (max-width: 639px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .brand-txt small { display: none; }
  .brand-txt b { font-size: 17px; }
  .nav-in { gap: 10px; }
  .nav-right { gap: 8px; }
  .btn.sm { padding: 0 14px; }

  .hero { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 56px; }
  .hero .kicker { margin-bottom: 22px; font-size: 13px; }
  .hero-title { font-size: clamp(2.6rem, 13vw, 3.6rem); }
  .actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .actions .btn { padding: 8px 14px; gap: 10px; font-size: 16px; }
  .actions .btn-line { grid-column: span 2; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero-stage { height: 530px; }
  .ys-block { width: 76%; top: 10%; height: 80%; }
  .phone-main { --sw: 214px; transform: translate(-36%, -48%) rotateY(-6deg); }
  .phone-back { --sw: 166px; transform: translate(-108%, -42%) rotateY(10deg) scale(.94); }
  .push-stack { left: 0; top: 0; width: 88%; height: 88px; }
  .push { padding: 10px 12px; }
  .push b { font-size: 14.5px; }
  .push div > span { font-size: 13px; }

  .role-tabs { margin-bottom: 40px; }
  .role-tabs button { min-height: 64px; padding: 14px 14px; font-size: 15.5px; gap: 8px; }
  .role-tabs button ion-icon { font-size: 20px; }
  .role-stage { min-height: 540px; }
  .role-stage .ys-panel { inset: 8% 4%; }
  .role-stage .phone { --sw: 226px; }
  .feat-list li { grid-template-columns: 30px 26px 1fr; gap: 12px; }

  .steps::before { display: none; }
  .step { padding: 0 0 64px; }
  .step-time { position: static; align-self: flex-start; width: auto; margin-bottom: 16px; padding: 7px 11px; }
  .step p { font-size: 16px; }
  .step-phone::before { left: 2%; right: 2%; }
  .step-phone .phone { --sw: min(244px, 64vw); }

  .fx-stars { grid-template-columns: 1fr; gap: 34px; }
  .fx-star:first-child { grid-column: auto; }
  .fx-frame { padding: 42px 18px 22px; }
  .fx-frame .fx-viz, .fx-star:first-child .fx-frame .fx-viz { height: 148px; }
  .fx-star h3 { margin-top: 18px; font-size: 22px; }
  .fx-list { margin-top: 42px; }

  .laptop { --lw: calc(100vw - 36px); }
  .laptop-base { width: 104%; margin-left: -2%; }
  .sync-stage { padding-bottom: 0; }
  .sync-phone { position: relative; right: auto; bottom: auto; width: max-content; margin: -48px 0 0 auto; padding: 40px 24px 0; }
  .sync-phone .ys-panel { top: 30%; bottom: 8%; }
  .sync-phone .phone { --sw: 176px; }
  .sync-line { display: none; }
  .sync-feats { grid-template-columns: 1fr; margin-top: 48px; }
  .sync-feats > div, .sync-feats > div:nth-child(n) { padding: 22px 0; border-left: 0; border-top: 1px solid var(--rule-on-blue); }
  .sync-feats > div:first-child { border-top: 0; }

  .nums { grid-template-columns: 1fr 1fr; }
  .nums > div:nth-child(n) { padding: 0 0 0 16px; border-left: 1px solid var(--rule-on-blue); }
  .nums > div:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
  .nums > div:last-child { grid-column: span 2; }

  .faq-list summary { font-size: 17px; min-height: 68px; }
  .faq-list details p { padding-right: 0; }

  .cta-txt .actions { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; }

  .modal { padding: 0; }
  .modal-box { max-height: 100vh; height: 100%; padding: 64px 16px 28px; }
  .reel-stage { padding: 0 16px; }
  .reel-stage .phone { --sw: min(228px, 56vw); }
  .reel-cap { font-size: 16px; min-height: 4.8em; }
}

@media (max-width: 379px) {
  .hide-xs { display: none !important; }
  .actions { grid-template-columns: 1fr; }
  .actions .btn-line { grid-column: auto; }
  .hero-stage { height: 480px; }
  .phone-main { --sw: 194px; }
  .phone-back { --sw: 148px; }
  .role-tabs { grid-template-columns: 1fr; }
  .role-tabs button:nth-child(n) { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .role-tabs button:first-child { border-top: 0; }
}

@media (max-height: 760px) and (min-width: 1024px) {
  .story-wrap { top: calc(var(--nav-h) + 8px); }
  .story-stage .phone { --sw: 214px; }
}

/* ---------- 24. Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .ys-block { clip-path: none; }
  .push.p1 { opacity: 1; }
  .scr-scroll.is-auto { animation: none; }
  .tk-track { animation: none; }
  .cta-emblem .em-leaf { transform: none; }
}

/* =========================================================================
   25. COINS ARRONDIS
   ========================================================================= */
.btn { border-radius: 14px; }
.btn.sm { border-radius: 999px; }
.tag, .sh-num, .story-clock, .sync-badge, .step-time { border-radius: 999px; }
.brand-logo, .demo-ic, .demo-ic::after, .pm, .mc-logo, .sync-badge i { border-radius: 50%; }
.burger { border-radius: 14px; }
mark.mk::before { border-radius: 10px; }

.push { border-left: 0; border-radius: 16px; box-shadow: inset 6px 0 0 var(--yellow); }
.push-app { border-radius: 8px; }
.ys-block { border-radius: 32px; }
.ys-panel, .story-stage::before, .step-phone::before, .reel-stage::before { border-radius: 28px; }

.role-tabs { border: 1px solid var(--blue); border-radius: 24px; overflow: hidden; }
.role-tabs button:first-child, .role-tabs button:nth-child(3) { padding-left: 22px; }
.story-dots i, .reel-bars span { border-radius: 4px; }

.fx-frame { border-radius: 20px; }
.fx-frame .fx-n { border-radius: 20px 0 20px 0; }
.v-plan span.on, .v-plan i { border-radius: 6px; }
.v-bars i { border-radius: 6px 6px 0 0; }
.mini-card { border-radius: 16px; }
.mc-qr { border-radius: 8px; }

.qr-box { border-radius: 20px; }
.web { border-radius: 6px; }
.modal-box { border-radius: 28px; }
.modal-x { top: 16px; right: 16px; width: 52px; height: 52px; border-radius: 50%; }
.reel-ctrl button { border-radius: 50%; }
.toast { border-left: 0; border-radius: 14px; box-shadow: inset 6px 0 0 var(--yellow); }

@media (max-width: 639px) {
  .role-tabs button:nth-child(n) { padding-left: 14px; }
  .modal-box { border-radius: 0; }
}
