/* ============================================================================
   modik-landing.css — page /modik du site asso RQDT.
   PORTAGE du design de la landing modik.fr (bandes bleues en biais, photos,
   cartes). Source : /Users/arnaudsimonnet/Dev/modik → public/assets/css/modik.css
   (bloc « LANDING B2B », préfixe .mdkl-). Valeurs VERBATIM : ne pas harmoniser
   sur les tokens RQDT — ce sont celles du partenaire.
   ⚠️ Toute évolution du design de modik.fr doit être reportée ici à la main.
   Chargé uniquement par views/modik.php (variable $extra_css).
   ============================================================================ */

/* Apparition au scroll (repris de modik.css) */
.modik-landing [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.modik-landing [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .modik-landing [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================================
   LANDING B2B — portage du design validé « standalone/Landing Modik ».
   Valeurs (hex, tailles, radius, ombres) reprises VERBATIM de la maquette :
   ne pas « harmoniser » sur les tokens, elles ont été arbitrées telles quelles.
   Déclinaison mobile d'après « standalone/Landing Modik Mobile ».
   Préfixe .mdkl- (landing) pour ne pas heurter les .mdk- historiques.
   ============================================================================ */

/* ⚠️ .modik-tarifs / .modik-about partagent le socle visuel de la landing mais PAS sa
   classe : le CTA collant mobile réserve 92px via `body:has(.modik-landing)` (voir plus
   bas) — ces pages n'ont pas ce CTA et hériteraient d'un vide en bas de page. Toute page
   qui reprend le design de la landing SANS son CTA collant s'ajoute à cette liste. */
.modik-landing { color: #162A44; background: #FBFCFE; overflow-x: clip; }
.modik-landing ::selection { background: #D6E4FD; color: #0B1A2F; }

/* ---- Boutons ---- */
.mdkl-btn {
  display: inline-block; border-radius: 999px; font-weight: 700;
  font-size: 16px; padding: 15px 30px; text-decoration: none;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.mdkl-btn--light { color: #1149A0; background: #fff; box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); }
.mdkl-btn--light:hover { background: #EAF1FE; color: #1149A0; }
.mdkl-btn--primary { color: #fff; background: #1E6FE0; font-size: 15px; padding: 13px 28px; box-shadow: 0 12px 26px -10px rgba(30,111,224,.5); }
.mdkl-btn--primary:hover { background: #155BC4; color: #fff; }
.mdkl-btn--ghost { color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); font-weight: 600; padding: 14px 28px; }
.mdkl-btn--ghost:hover { background: rgba(255,255,255,.2); color: #fff; }

/* ---- Titres de section ---- */
.mdkl-section { max-width: 1280px; margin: 0 auto; padding: 50px 56px 20px; }
.mdkl-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.mdkl-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #1E6FE0; margin: 0 0 12px; }
.mdkl-h2 { font-family: 'Outfit', sans-serif; font-size: 38px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; margin: 0 0 14px; color: #0B1A2F; }
.mdkl-h2--light { color: #fff; font-size: 34px; line-height: 1.12; margin-bottom: 16px; }
.mdkl-lead { font-size: 17px; line-height: 1.55; color: #3D5B82; margin: 0; }
.mdkl-lead--light { color: #C9DBF7; line-height: 1.6; margin-bottom: 24px; max-width: 460px; }
.mdkl-lead--start { margin-bottom: 26px; max-width: 480px; }
.mdkl-chip {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24);
  padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #EAF1FE;
}

/* ---- Badge « Bientôt » — ambre du design validé (exception assumée, DEC-164) ---- */
.mdkl-soon {
  display: inline-flex; align-items: center; vertical-align: middle;
  font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: #9A6B00; background: #FFF3D1; border: 1px solid #F3E0A6;
  border-radius: 999px; padding: 1px 6px; margin-left: 6px; white-space: nowrap;
}
.mdkl-soon--xs { font-size: 8px; letter-spacing: .04em; padding: 1px 5px; border-color: transparent; }
/* Badge « En cours de finition » accolé au sur-titre : mêmes tons dorés que
   « Bientôt », mais calé sur la casse du sur-titre (déjà en majuscules). */
.mdkl-soon--eyebrow { font-size: 10px; padding: 2px 8px; margin-left: 8px; letter-spacing: .06em; }
.mdkl-lead--sm { font-size: 15px; margin-top: -14px; margin-bottom: 26px; color: #6080A8; }

/* ---- HERO ---- */
.mdkl-hero { position: relative; padding: 74px 60px 116px; margin-bottom: 8px; }
.mdkl-hero__band {
  position: absolute; inset: 0; transform: skewY(-2.6deg); transform-origin: top left;
  background: linear-gradient(140deg, #1E6FE0 0%, #1149A0 52%, #0B3C8C 100%);
  border-radius: 0 0 44px 44px; box-shadow: 0 40px 70px -40px rgba(11,73,160,.6);
}
.mdkl-hero__dots {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  transform: skewY(-2.6deg); transform-origin: top left;
  background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 26px 26px;
}
.mdkl-hero__inner {
  position: relative; z-index: 1; max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1.02fr 1.05fr; gap: 52px; align-items: center;
}
.mdkl-hero__badge {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 26px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24);
  padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #EAF1FE;
}
.mdkl-hero__dot { width: 7px; height: 7px; border-radius: 50%; background: #82A9F6; flex: none; }
.mdkl-hero__title {
  font-family: 'Outfit', sans-serif; font-size: 56px; line-height: 1.03; font-weight: 800;
  letter-spacing: -.03em; margin: 0 0 22px; color: #fff; text-wrap: balance;
}
.mdkl-hero__sub { font-size: 19px; line-height: 1.58; color: #C9DBF7; margin: 0 0 34px; max-width: 500px; }
.mdkl-hero__sub strong { color: #fff; font-weight: 700; }
.mdkl-hero__ctas { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.mdkl-hero__proof {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 0;
  font-size: 13.5px; font-weight: 500; color: #AFC9FB;
}
.mdkl-hero__proof span { display: inline-flex; align-items: center; gap: 7px; }
/* ⚠️ L'inclinaison est portée par .mdkl-shot (l'élément INTERNE), jamais par le
   bloc [data-reveal] : `[data-reveal].is-visible { transform: none }` (app.css,
   spécificité 0,2,0) écrase tout `rotate` posé sur le même élément (0,1,0) — la
   photo se redressait dès la fin de l'animation. Le standalone contourne le même
   piège en donnant aux blocs image un reveal d'OPACITÉ seule (.revealf). */
.mdkl-shot {
  position: relative; height: 440px; border-radius: 34px; overflow: hidden;
  border: 4px solid #fff; box-shadow: 0 30px 60px -22px rgba(0,0,0,.5);
  transform: rotate(2deg);
}
.mdkl-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.mdkl-shot--left {
  height: 390px; border-radius: 30px; box-shadow: 0 26px 50px -20px rgba(0,0,0,.5);
  transform: rotate(-2deg);
}

/* ---- TRUST BAR ---- */
.mdkl-trust { max-width: 1280px; margin: 0 auto; padding: 30px 56px 20px; }
.mdkl-trust__row { display: flex; align-items: center; justify-content: center; gap: 44px; flex-wrap: wrap; }
.mdkl-trust__item { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: #162A44; }
.mdkl-trust__sep { width: 1px; height: 22px; background: #DCE6F5; }
.mdkl-trust__note {
  margin: 24px 0 0; padding-top: 22px; border-top: 1px solid #ECF1FA; text-align: center;
  font-size: 13.5px; font-weight: 500; color: #6080A8;
}
.mdkl-trust__note strong { color: #162A44; font-weight: 700; }

/* ---- POUR QUI ? ---- */
/* 2 colonnes depuis DEC-229 (2026-08-01) : le segment « Profession réglementée »
   a été retiré, la cible est EI + TPE. Repasser à repeat(3, 1fr) uniquement si un
   3e segment est réintroduit, sinon la dernière carte reste orpheline. */
.mdkl-segs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
/* Survol : grossissement + léger biais pour donner de la profondeur.
   ⚠️ La carte porte [data-reveal] : le `transform` du survol serait écrasé par
   `[data-reveal].is-visible { transform: none }`. On le pose donc sur une règle
   plus spécifique (.mdkl-seg.is-visible:hover) qui gagne la cascade. */
.mdkl-seg {
  background: #fff; border: 1px solid #DCE6F5; border-radius: 28px; padding: 30px;
  box-shadow: 0 8px 24px -12px rgba(11,26,51,.14);
  transition: border-color .18s ease, transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s cubic-bezier(.16,1,.3,1);
}
.mdkl-seg:hover { border-color: #B9CAE8; }
.mdkl-seg.is-visible:hover,
.mdkl-seg:hover {
  transform: scale(1.03) rotate(-.6deg);
  box-shadow: 0 26px 50px -18px rgba(11,26,51,.28);
}
@media (prefers-reduced-motion: reduce) {
  .mdkl-seg.is-visible:hover, .mdkl-seg:hover { transform: none; }
}
.mdkl-seg--soft { background: #E8F1FD; border-color: #CFE0F7; box-shadow: 0 10px 26px -14px rgba(30,111,224,.28); }
.mdkl-seg--soft:hover { border-color: #B9CAE8; }
.mdkl-seg--deep {
  background: linear-gradient(160deg, #1E6FE0, #1149A0); border-color: transparent;
  box-shadow: 0 22px 44px -16px rgba(30,111,224,.55);
}
.mdkl-seg--deep:hover { border-color: transparent; }
.mdkl-seg--soft.is-visible:hover, .mdkl-seg--soft:hover { box-shadow: 0 26px 50px -18px rgba(30,111,224,.4); }
.mdkl-seg--deep.is-visible:hover, .mdkl-seg--deep:hover { box-shadow: 0 30px 56px -16px rgba(30,111,224,.65); }
/* PROPORTION, pas hauteur figée (2026-08-02, suite DEC-229). La bande était à
   `height: 150px` : calée sur la carte étroite du 3 colonnes (ratio ~2,07), elle
   devenait une bandelette dès que la carte s'élargissait — 3,40 en 2 colonnes,
   et déjà 5,8 en 1 colonne entre 620 et 1040px. Les sources font 1200x800 (1,5)
   et 1200x900 (1,33) : avec `object-fit: cover` on ne gardait plus que ~40 % de
   la hauteur, d'où le mauvais cadrage. `aspect-ratio` tient la proportion
   d'origine quelle que soit la largeur. Le mobile (<= 620px) garde sa hauteur
   fixe, sa carte ne change pas de largeur. */
.mdkl-seg__photo { position: relative; aspect-ratio: 2 / 1; height: auto; border-radius: 22px; overflow: hidden; margin-bottom: 18px; }
.mdkl-seg__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mdkl-seg--soft .mdkl-seg__photo { border: 1px solid #CFE0F7; }
.mdkl-seg--deep .mdkl-seg__photo { border: 1px solid rgba(255, 255, 255, .22); }
.mdkl-seg__title { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700; color: #0B1A2F; margin: 0 0 8px; }
.mdkl-seg__lead { font-size: 14.5px; line-height: 1.55; color: #3D5B82; margin: 0 0 18px; }
.mdkl-seg--deep .mdkl-seg__title { color: #fff; }
.mdkl-seg--deep .mdkl-seg__lead { color: #C9DBF7; }
.mdkl-seg__list { display: flex; flex-direction: column; gap: 9px; }
.mdkl-seg__li { display: flex; gap: 9px; font-size: 14px; color: #162A44; }
.mdkl-seg__li svg { flex: none; margin-top: 2px; }
.mdkl-seg--deep .mdkl-seg__li { color: #fff; }

/* ---- BANDES EN BIAIS (modules / assistant / CTA) ---- */
.mdkl-band { position: relative; padding: 100px 56px 108px; margin: 44px 0; }
.mdkl-band__bg { position: absolute; inset: 0; border-radius: 44px; }
.mdkl-band__dots {
  position: absolute; inset: 0; border-radius: 44px; overflow: hidden; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 24px 24px;
}
.mdkl-band__inner { position: relative; z-index: 1; max-width: 1168px; margin: 0 auto; }
.mdkl-band--light .mdkl-band__bg { background: #EAF2FC; transform: skewY(-2.6deg); }
.mdkl-band--deep { padding: 104px 56px; margin: 32px 0; }
.mdkl-band--deep .mdkl-band__bg {
  background: linear-gradient(140deg, #1149A0, #0B3C8C); transform: skewY(2.6deg);
  box-shadow: 0 40px 70px -40px rgba(11,73,160,.6);
}
.mdkl-band--deep .mdkl-band__dots { transform: skewY(2.6deg); }
.mdkl-band--cta { padding: 100px 56px; margin: 44px 0 8px; }
.mdkl-band--cta .mdkl-band__bg {
  background: linear-gradient(150deg, #1E6FE0 0%, #1149A0 52%, #082C66 100%);
  transform: skewY(-2.6deg); box-shadow: 0 40px 70px -40px rgba(11,73,160,.6);
}
.mdkl-band--cta .mdkl-band__dots {
  transform: skewY(-2.6deg);
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
}

/* ---- GRILLE MODULES ---- */
.mdkl-mods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mdkl-mod {
  background: #fff; border-radius: 24px; padding: 26px;
  box-shadow: 0 6px 18px -10px rgba(11,26,51,.16);
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s cubic-bezier(.16,1,.3,1);
}
/* Même piège que .mdkl-seg : [data-reveal].is-visible pose transform:none. */
.mdkl-mod.is-visible:hover,
.mdkl-mod:hover {
  transform: scale(1.04) rotate(-.7deg);
  box-shadow: 0 16px 32px -14px rgba(30,111,224,.4);
}
@media (prefers-reduced-motion: reduce) {
  .mdkl-mod.is-visible:hover, .mdkl-mod:hover { transform: none; }
}
/* Sur ordinateur la carte est figée : summary inerte (sinon un clic replierait
   la carte, ce que le design desktop ne prévoit pas). Rendu cliquable en mobile. */
.mdkl-mod__head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
  list-style: none; cursor: default; pointer-events: none;
}
.mdkl-mod__head::-webkit-details-marker { display: none; }
.mdkl-mod__ic {
  width: 46px; height: 46px; border-radius: 50%; background: #1E6FE0; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.mdkl-mod__title { font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 700; color: #0B1A2F; margin: 0; flex: 1; }
.mdkl-mod__chev { display: none; flex: none; }
.mdkl-mod__list { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 1.5; color: #3D5B82; }
.mdkl-mods__cta { text-align: center; margin: 36px 0 0; }

/* ---- CAS D'USAGE — tâches concrètes puis métiers (2026-08-01) ----
   Rend visibles depuis la page d'accueil les 23 pages d'aide du silo
   cas-usage, qui n'étaient atteignables que par le pied de page.
   Aucune transformation au survol : la grille porte [data-reveal] et
   .is-visible pose transform:none — même piège que .mdkl-seg et .mdkl-mod.
   On n'anime donc que la bordure, le fond et l'ombre.
   Cibles tactiles a 56px de haut, au-dessus du minimum de 44px du fichier. */
.mdkl-uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mdkl-uses + .mdkl-uses { margin-top: 12px; }
.mdkl-use {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 56px; padding: 14px 16px;
  background: #fff; border: 1px solid #DCE6F5; border-radius: 14px;
  font-family: 'Inter', sans-serif; font-size: 14.5px; font-weight: 600;
  line-height: 1.35; color: #0B1A2F; text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.mdkl-use:hover, .mdkl-use:focus-visible {
  border-color: #1E6FE0; background: #F7FAFF;
  box-shadow: 0 6px 18px -10px rgba(30,111,224,.45);
}
.mdkl-use__go { color: #1E6FE0; flex: none; }
.mdkl-uses__sub {
  margin: 34px 0 14px; font-family: 'Outfit', sans-serif; font-size: 15px;
  font-weight: 700; color: #3D5B82; text-align: center;
}
.mdkl-uses__cta { text-align: center; margin: 30px 0 0; }
@media (max-width: 1040px) { .mdkl-uses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .mdkl-uses { grid-template-columns: 1fr; } }

/* ---- BANDE ASSISTANT ---- */
.mdkl-feat { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; }
.mdkl-feat__list { display: flex; flex-direction: column; gap: 12px; }
.mdkl-feat__list > span { display: flex; gap: 11px; font-size: 15px; color: #fff; }
.mdkl-feat__list svg { flex: none; margin-top: 2px; }

/* ---- DOSSIER MODIK ---- */
.mdkl-diff { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.mdkl-diff__rows { display: flex; flex-direction: column; gap: 14px; }
.mdkl-diff__row { display: flex; gap: 12px; }
.mdkl-diff__ic {
  width: 38px; height: 38px; border-radius: 50%; background: #EAF1FE; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.mdkl-diff__t { display: block; font-size: 15px; font-weight: 600; color: #162A44; }
.mdkl-diff__d { display: block; font-size: 14px; color: #3D5B82; margin-top: 1px; }
.mdkl-ribbon {
  display: flex; align-items: flex-start; gap: 10px; margin: 26px 0 0; max-width: 480px;
  font-size: 13.5px; line-height: 1.5; font-weight: 600; color: #155BC4;
  background: #EAF1FE; border: 1px solid #D6E4FD; border-radius: 16px; padding: 14px 18px;
}
.mdkl-ribbon svg { flex: none; margin-top: 2px; }

/* Fenêtre desktop + schéma radial */
.mdkl-win {
  position: relative; background: #fff; border: 1px solid #DCE6F5; border-radius: 32px;
  box-shadow: 0 20px 44px -18px rgba(11,26,51,.2); padding: 38px 34px;
}
.mdkl-win__bar { display: flex; align-items: center; gap: 8px; margin-bottom: 26px; }
.mdkl-win__d { width: 11px; height: 11px; border-radius: 50%; background: #E6EDF8; }
.mdkl-win__d--on { background: #D2DEF0; }
.mdkl-win__name { margin-left: 8px; font-size: 12px; font-weight: 600; color: #8FADD1; font-family: 'JetBrains Mono', monospace; }
.mdkl-win__foot {
  margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #ECF1FA;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12.5px; font-weight: 500; color: #8FADD1; text-align: center;
}
.mdkl-hub { position: relative; height: 280px; }
.mdkl-hub__folder {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: 112px; height: 100px; border-radius: 32px; background: #1E6FE0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 16px 32px -10px rgba(30,111,224,.55);
}
.mdkl-hub__t { font-size: 11px; font-weight: 700; color: #fff; margin-top: 6px; line-height: 1; }
.mdkl-hub__s { font-size: 9.5px; font-weight: 500; color: #D6E4FD; margin-top: 3px; }
.mdkl-hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.mdkl-hub__arrow { display: none; }
.mdkl-hub__p {
  position: absolute; background: #fff; border: 1px solid #DCE6F5; border-radius: 999px;
  padding: 8px 14px; font-size: 12.5px; font-weight: 600; color: #162A44;
  box-shadow: 0 4px 12px -6px rgba(11,26,51,.16); white-space: nowrap;
}
.mdkl-hub__p--tl { left: 0; top: 12px; }
.mdkl-hub__p--tr { right: 0; top: 12px; }
.mdkl-hub__p--ml { left: 0; top: 50%; transform: translateY(-50%); }
.mdkl-hub__p--mr { right: 0; top: 50%; transform: translateY(-50%); }
.mdkl-hub__p--bl { left: 6px; bottom: 6px; }
.mdkl-hub__p--br { right: 6px; bottom: 6px; }

/* ---- CTA FINAL ---- */
.mdkl-cta { text-align: center; }
.mdkl-cta__title {
  font-family: 'Outfit', sans-serif; font-size: 40px; line-height: 1.1; font-weight: 800;
  letter-spacing: -.025em; margin: 0 auto 16px; color: #fff; max-width: 640px; text-wrap: balance;
}
.mdkl-cta__lead { font-size: 18px; line-height: 1.55; color: #C9DBF7; margin: 0 auto 34px; max-width: 520px; }
.mdkl-cta__btns { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 0; }

/* ---- CTA COLLANT (mobile uniquement) ---- */
.mdkl-sticky { display: none; }


/* ============================================================================
   MOBILE — d'après « standalone/Landing Modik Mobile ».
   Une seule colonne, CTA collant au pouce, schéma Dossier Modik vertical,
   cibles tactiles larges (>= 44px).
   ============================================================================ */
@media (max-width: 1040px) {
  .mdkl-hero__inner, .mdkl-feat, .mdkl-diff { grid-template-columns: 1fr; gap: 36px; }
  .mdkl-shot, .mdkl-shot--left { transform: none; }
  .mdkl-mods { grid-template-columns: repeat(2, 1fr); }
  .mdkl-segs { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .mdkl-section, .mdkl-trust { padding-left: 22px; padding-right: 22px; }
  .mdkl-head { margin-bottom: 22px; text-align: left; }
  .mdkl-eyebrow { font-size: 12px; margin-bottom: 9px; }
  .mdkl-h2 { font-size: 27px; line-height: 1.12; margin-bottom: 8px; }
  .mdkl-h2--light { font-size: 24px; line-height: 1.15; margin-bottom: 12px; }
  .mdkl-lead { font-size: 14.5px; line-height: 1.5; }
  .mdkl-lead--light { font-size: 14.5px; line-height: 1.55; margin-bottom: 18px; }
  .mdkl-h2 br, .mdkl-lead br { display: none; }

  /* HERO */
  .mdkl-hero { padding: 34px 22px 60px; }
  .mdkl-hero__band, .mdkl-hero__dots { transform: none; border-radius: 0 0 46px 46px; left: -40px; right: -40px; }
  .mdkl-hero__title { font-size: 37px; line-height: 1.05; margin-bottom: 16px; }
  .mdkl-hero__sub { font-size: 16px; line-height: 1.55; margin-bottom: 22px; }
  .mdkl-hero__ctas .mdkl-btn { display: block; width: 100%; text-align: center; padding: 16px; border-radius: 14px; }
  .mdkl-hero__proof { gap: 10px 16px; font-size: 12.5px; }
  .mdkl-shot, .mdkl-shot--left { height: 230px; border-radius: 26px; }

  /* TRUST — 2 colonnes de cartes (design mobile) */
  .mdkl-trust { padding-top: 18px; }
  .mdkl-trust__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .mdkl-trust__sep { display: none; }
  .mdkl-trust__item {
    background: #fff; border: 1px solid #E4EBF6; border-radius: 13px; padding: 12px 13px;
    font-size: 12.5px; line-height: 1.25; gap: 9px; align-items: center;
  }
  .mdkl-trust__item:last-of-type { grid-column: 1 / -1; }
  .mdkl-trust__item svg { flex: none; }
  .mdkl-trust__note { margin-top: 16px; padding-top: 16px; font-size: 12.5px; }

  /* POUR QUI — swipe horizontal (design mobile) */
  .mdkl-segs {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 4px 22px 14px; margin: 0 -22px; scrollbar-width: none;
  }
  .mdkl-segs::-webkit-scrollbar { display: none; }
  .mdkl-seg { flex: 0 0 264px; scroll-snap-align: start; border-radius: 24px; padding: 20px; }
  .mdkl-seg__photo { aspect-ratio: auto; height: 128px; border-radius: 18px; margin-bottom: 15px; }
  .mdkl-seg__title { font-size: 19px; margin-bottom: 7px; }
  .mdkl-seg__lead { font-size: 13.5px; margin-bottom: 15px; }
  .mdkl-seg__li { font-size: 13px; }

  /* BANDES — à plat, sans biais (le skew déborde à 390px) */
  .mdkl-band { padding: 26px 22px; margin: 20px 0; }
  .mdkl-band--deep, .mdkl-band--cta { padding: 26px 22px; margin: 20px 0; }
  .mdkl-band__bg, .mdkl-band__dots { transform: none !important; border-radius: 26px; }
  .mdkl-band--light .mdkl-band__bg { border-radius: 26px; }
  .mdkl-band--deep .mdkl-band__inner, .mdkl-band--cta .mdkl-band__inner { padding: 2px; }

  /* MODULES — accordéon repliable au doigt */
  .mdkl-mods { grid-template-columns: 1fr; gap: 10px; }
  .mdkl-mod { border: 1px solid #DCE6F5; border-radius: 16px; padding: 0; overflow: hidden; }
  /* Pas de grossissement au doigt : le survol n'a pas de sens en tactile et
     casserait le scroll-snap du carrousel « Pour qui ». */
  .mdkl-mod.is-visible:hover, .mdkl-mod:hover {
    transform: none; box-shadow: 0 6px 18px -10px rgba(11,26,51,.16);
  }
  .mdkl-seg.is-visible:hover, .mdkl-seg:hover { transform: none; }
  .mdkl-mod__head { gap: 12px; padding: 15px 16px; min-height: 56px; margin: 0; cursor: pointer; pointer-events: auto; }
  .mdkl-mod__ic { width: 40px; height: 40px; border-radius: 11px; }
  .mdkl-mod__title { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 16px; }
  .mdkl-mod__chev { display: block; transform: rotate(-90deg); transition: transform .2s ease; }
  .mdkl-mod[open] .mdkl-mod__chev { transform: rotate(0deg); }
  .mdkl-mod__list { padding: 11px 16px 15px; gap: 11px; border-top: 1px solid #F1F5FB; font-size: 14px; }
  .mdkl-mods__cta { margin-top: 20px; }
  .mdkl-mods__cta .mdkl-btn { display: block; padding: 16px; border-radius: 14px; }

  /* ASSISTANT */
  .mdkl-feat__list > span { font-size: 14px; line-height: 1.4; gap: 10px; }

  /* DOSSIER MODIK — schéma VERTICAL (design mobile) */
  .mdkl-win { border: 0; border-radius: 0; box-shadow: none; padding: 0; background: transparent; }
  .mdkl-win__bar { display: none; }
  .mdkl-hub { height: auto; display: flex; flex-direction: column; align-items: center; gap: 9px; }
  .mdkl-hub__lines { display: none; }
  .mdkl-hub__folder {
    position: static; transform: none; width: 132px; height: 112px; border-radius: 26px;
    box-shadow: 0 18px 34px -12px rgba(30,111,224,.55);
  }
  .mdkl-hub__t { font-family: 'Outfit', sans-serif; font-size: 13px; margin-top: 8px; }
  .mdkl-hub__s { font-size: 10px; }
  .mdkl-hub__arrow { display: block; width: 20px; height: 26px; margin: 2px 0; flex: none; }
  .mdkl-hub__p {
    position: static; transform: none; width: 100%; white-space: normal;
    border-radius: 14px; padding: 13px 15px; font-size: 14px; font-weight: 600;
    box-shadow: 0 4px 12px -8px rgba(11,26,51,.16); min-height: 46px;
    display: flex; align-items: center;
  }
  .mdkl-win__foot { margin-top: 16px; padding-top: 16px; font-size: 12px; }
  .mdkl-ribbon { margin-top: 16px; padding: 13px 15px; font-size: 12.5px; border-radius: 14px; }

  /* CTA FINAL */
  .mdkl-cta__title { font-size: 26px; line-height: 1.12; margin-bottom: 12px; }
  .mdkl-cta__lead { font-size: 15px; line-height: 1.5; margin-bottom: 22px; }
  .mdkl-cta__btns { display: block; }
  .mdkl-cta__btns .mdkl-btn { display: block; padding: 16px; border-radius: 14px; }
  .mdkl-cta__btns .mdkl-btn--ghost { margin-top: 11px; font-size: 15px; padding: 15px; }

  /* CTA COLLANT — accessible au pouce, au-dessus de tout le contenu */
  /* Le design mobile prévoit un bouton icône « Poser une question » à droite du
     CTA. Il n'est PAS porté : le bot d'aide (#mdk-assistant, fixed, z-index
     2147483000) occupe déjà ce coin, le recouvrirait, et fait doublon d'intention.
     On réserve sa largeur à droite pour que le CTA ne glisse pas dessous. */
  .mdkl-sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 28;
    display: flex; align-items: center; gap: 11px;
    padding: 12px 84px calc(18px + env(safe-area-inset-bottom)) 18px;
    background: linear-gradient(to top, #FBFCFE 62%, rgba(251,252,254,0));
  }
  .mdkl-sticky__ic { display: none; }
  .mdkl-sticky__cta {
    flex: 1; text-align: center; font-size: 16px; font-weight: 700; color: #fff;
    background: #1E6FE0; padding: 16px; border-radius: 15px; text-decoration: none;
    box-shadow: 0 14px 30px -10px rgba(30,111,224,.55); min-height: 54px;
  }
  .mdkl-sticky__cta:hover { background: #155BC4; color: #fff; }
  /* Le CTA collant masquerait la fin de page. La réserve doit porter sur le BODY,
     pas sur .modik-landing : le footer est son frère (body > main > .modik-landing
     + body > footer), donc un padding sur la landing ne le décale pas. */
  body:has(.modik-landing) { padding-bottom: 92px; }
}

/* ============================================================================
   AJOUTS RQDT — éléments propres au site asso, dans le langage de la landing.
   ============================================================================ */

/* Lockup Modik (M + « odik ») dans le hero */
.mdkl-lockup { display: flex; width: max-content; align-items: center; text-decoration: none; margin: 18px 0 20px; }
.mdkl-lockup img { width: 44px; height: 44px; display: block; }
.mdkl-lockup span {
  font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 34px; line-height: 1;
  color: #fff; letter-spacing: -.03em; margin-left: 2px;
}

/* Pastilles de familles de modèles (« Sous le capot ») */
.mdkl-models { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 760px; margin: 0 auto; padding: 0; list-style: none; }
.mdkl-model {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: #fff;
  border: 1px solid #DCE6F5; border-radius: 999px; font-size: 14px; font-weight: 600; color: #162A44;
  box-shadow: 0 4px 12px -8px rgba(11,26,51,.16);
}
.mdkl-model img { width: 20px; height: 20px; object-fit: contain; flex: none; }

/* Formules (snapshot des plans Modik) */
.mdkl-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mdkl-plan {
  position: relative; background: #fff; border: 1px solid #DCE6F5; border-radius: 24px;
  padding: 28px 22px; text-align: center; box-shadow: 0 8px 24px -12px rgba(11,26,51,.14);
}
.mdkl-plan--best { border-color: #1E6FE0; box-shadow: 0 22px 44px -18px rgba(30,111,224,.45); }
.mdkl-plan__tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: #1E6FE0;
  color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}
.mdkl-plan__name { font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 800; color: #0B1A2F; margin: 0; }
.mdkl-plan__for { font-size: 13px; color: #3D5B82; margin: 2px 0 14px; }
.mdkl-plan__price { font-family: 'Outfit', sans-serif; font-size: 32px; font-weight: 800; color: #162A44; line-height: 1; }
.mdkl-plan__per { font-size: 13px; color: #3D5B82; }
.mdkl-plan__quota { margin: 12px 0 0; font-size: 13.5px; line-height: 1.45; color: #3D5B82; }
.mdkl-plans__cta { text-align: center; margin: 36px 0 0; }

/* Quiz — carte blanche sur fond clair */
.mdkl-quiz {
  max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid #DCE6F5; border-radius: 28px;
  padding: 42px 30px; text-align: center; box-shadow: 0 20px 44px -18px rgba(11,26,51,.2);
}
.mdkl-quiz__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #1E6FE0; margin: 0 0 10px; }
.mdkl-quiz__title { font-family: 'Outfit', sans-serif; font-size: 30px; line-height: 1.14; font-weight: 800; color: #0B1A2F; margin: 0 0 12px; }
.mdkl-quiz__sub { font-size: 16px; line-height: 1.55; color: #3D5B82; margin: 0 auto 26px; max-width: 520px; }
.mdkl-quiz__note { font-size: 12.5px; color: #6080A8; margin: 16px 0 0; }

/* Mention de sortie du site de l'association */
.mdkl-exit { max-width: 620px; margin: 0 auto; padding: 56px 22px 44px; text-align: center; font-size: 13.5px; line-height: 1.55; color: #6080A8; }
.mdkl-exit a { color: #1E6FE0; }

@media (max-width: 1040px) {
  .mdkl-plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .mdkl-lockup span { font-size: 30px; }
  .mdkl-plans { grid-template-columns: 1fr; gap: 12px; }
  .mdkl-plan { padding: 22px 18px; border-radius: 18px; }
  .mdkl-quiz { padding: 28px 20px; border-radius: 22px; }
  .mdkl-quiz__title { font-size: 24px; }
  .mdkl-quiz__sub { font-size: 14.5px; }
  .mdkl-models { gap: 8px; }
  .mdkl-model { font-size: 13px; padding: 8px 13px; }
}
