/* ============================================================
   Medialog — thème "homepage vibe" appliqué à la Marketplace
   Reprend le header / hero / footer + polices et palette de la
   homepage (Website 3.0), posés sur la STRUCTURE marketplace.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ml-blue:    #1A74B6;
  --ml-cyan:    #00B1ED;
  --ml-amber:   #F59E0B;
  --ml-magenta: #FF35DC;
  --ml-pink:    var(--ml-magenta); /* alias — déduplication */
  --ml-red:     #E41649;
  --ml-green:   #16A34A; /* état "abonné" uniquement */

  /* Fond de page — bleu ciel léger, retenu le 4 août 2026 sur
     pms-hotel-test-fond.html (choix 7 sur 15). Était #fdfcf9, ivoire chaud. */
  --paper:   #EAF4FA;
  /* Surfaces posées sur le fond : cartes, fenêtres, champs. Le blanc pur
     est trop dur sur un fond bleu, celui-ci en reprend une pointe. */
  --surface: #FBFDFE;
  --ink:     #0f1419;
  --muted:   #5b636d;
  --muted-2: #5b636d; /* assombri pour contraste AA */
  --line:    rgba(15,20,25,.08);
  --line-2:  rgba(15,20,25,.12);

  --radius-card:  16px;
  --radius-inset: 12px;
  --shadow-1: 0 1px 4px rgba(15,20,25,.06), 0 4px 16px -8px rgba(15,20,25,.10);
  --shadow-2: 0 18px 40px -18px rgba(15,20,25,.22);

  --sans:  'Open Sans', Arial, Helvetica, sans-serif;
  --serif: 'Times New Roman', Georgia, serif;

  --nav-h: 72px;
  --maxw:  1280px;
}

/* ---------- Reset léger (le site charge ses propres CSS ; on neutralise l'essentiel) ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink); }

/* ---------- Boutons réutilisables ---------- */
.ml-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 999px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  border: 0; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.ml-btn svg { width: 15px; height: 15px; }
.ml-btn--primary { background: var(--ml-blue); color: #fff; box-shadow: 0 4px 14px -4px rgba(26,116,182,.5); }
.ml-btn--primary:hover { background: var(--ml-pink); transform: translateY(-1px); box-shadow: 0 6px 18px -4px rgba(255,53,220,.45); }
.ml-btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.ml-btn--ghost:hover { background: var(--ml-amber); border-color: var(--ml-amber); color: var(--ink); transform: translateY(-1px); }
.ml-btn--white { background: #fff; color: var(--ml-blue); box-shadow: 0 4px 14px -4px rgba(0,0,0,.3); }
.ml-btn--white:hover { background: var(--ml-pink); color: #fff; transform: translateY(-1px); }
.ml-btn--lg { padding: 14px 26px; font-size: 15px; }

/* ============================================================
   NAV (header homepage)
   ============================================================ */
.ml-nav {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  transition: background .4s ease, border-color .4s ease, backdrop-filter .4s ease;
  border-bottom: 1px solid transparent;
}
.ml-nav::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 150px;
  background: linear-gradient(180deg, rgba(15,20,25,.58) 0%, rgba(15,20,25,.30) 32%, transparent 100%);
  pointer-events: none; z-index: -1; transition: opacity .4s ease;
}
.ml-nav.is-scrolled::before { opacity: 0; }
.ml-nav.is-scrolled {
  background: rgba(253,252,249,.97);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(15,20,25,.055);
}
.ml-nav__inner {
  width: 100%; margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px);
  box-sizing: border-box;
  height: var(--nav-h); display: flex; align-items: center; gap: 2px;
}
.ml-nav__logo { margin-right: 24px; flex-shrink: 0; display: flex; align-items: center; }
.ml-nav__logo img {
  height: 34px; width: auto;
  filter: none;
  transition: transform .2s ease, opacity .2s ease, filter .4s ease;
}
.ml-nav.is-scrolled .ml-nav__logo img { filter: none; }
/* Pages a hero sombre : logo blanc tant que la nav est transparente, logo
   couleur des qu'elle prend son fond clair (.is-scrolled, pose par nav.js).
   Meme filtre que partenaires.html (htest-part3 dans css/heros.css). */
.ml-nav--logo-blanc:not(.is-scrolled) .ml-nav__logo img { filter: brightness(0) invert(1); }
.ml-nav__logo:hover img { transform: translateY(-2px) scale(1.04); opacity: .85; }

.ml-nav__links { display: flex; align-items: center; gap: 0; flex: 1; }
.ml-nav__item { position: relative; }
.ml-nav__link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: #1A1F27;
  background: transparent; border: 0; cursor: pointer; font-family: var(--sans);
  white-space: nowrap; transition: background .12s;
}
/* sur le hero (nav transparente), texte clair */
.ml-nav:not(.is-scrolled) .ml-nav__link { color: #fff; }
.ml-nav__link:hover,
.ml-nav__item:hover .ml-nav__link { background: rgba(15,20,25,.06); }
.ml-nav:not(.is-scrolled) .ml-nav__link:hover,
.ml-nav:not(.is-scrolled) .ml-nav__item:hover .ml-nav__link { background: rgba(255,255,255,.16); }
.ml-nav__chev { width: 13px; height: 13px; transition: transform .2s; }
.ml-nav__item:hover .ml-nav__chev { transform: rotate(180deg); }
/* Chevrons multicolores (parité homepage) */
.ml-nav__links > .ml-nav__item:nth-of-type(1) .ml-nav__chev { stroke: var(--ml-magenta); }
.ml-nav__links > .ml-nav__item:nth-of-type(2) .ml-nav__chev { stroke: var(--ml-cyan); }
.ml-nav__links > .ml-nav__item:nth-of-type(3) .ml-nav__chev { stroke: var(--ml-red); }
.ml-nav__links > .ml-nav__item:nth-of-type(4) .ml-nav__chev { stroke: var(--ml-amber); }

/* Mega panel */
.ml-nav__panel {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: #fff; border: 1px solid rgba(15,20,25,.07); border-radius: 16px;
  box-shadow: 0 24px 60px -16px rgba(15,20,25,.4), 0 4px 14px -4px rgba(15,20,25,.18);
  padding: 14px 12px; min-width: 320px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.ml-nav__panel--2 { width: 440px; }
.ml-nav__item:hover .ml-nav__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.ml-nav__grid { display: grid; grid-template-columns: 1fr; gap: 4px; }
.ml-nav__panel--2 .ml-nav__grid { grid-template-columns: 1fr 1fr; }
.ml-nav__opt { padding: 11px 12px; border-radius: 12px; display: block; transition: background .15s; }
.ml-nav__opt:hover { background: var(--opt-bg, #f6f4ee); }
.ml-nav__opt-head { display: flex; align-items: center; gap: 9px; margin-bottom: 3px; }
.ml-nav__opt-ic {
  width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0;
  background: #f3f4f6; color: #5b636d;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.ml-nav__opt:hover .ml-nav__opt-ic { background: var(--opt-ic-bg, #eee); color: var(--opt-c, #5b636d); }
.ml-nav__opt-label { font-weight: 600; font-size: 13.5px; line-height: 28px; letter-spacing: -.01em; color: var(--ink); transition: color .15s; }
.ml-nav__opt:hover .ml-nav__opt-label { color: var(--opt-c, var(--ink)); }
.ml-nav__opt-desc { font-size: 12px; color: #5b636d; line-height: 1.45; padding-left: 37px; }

.ml-nav__right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
/* Bouton "Espace abonné" : poids normal (parité homepage) */
.ml-nav__right .ml-btn--ghost { font-weight: 500; padding: 8px 16px; gap: 6px; }
/* bouton ghost "Espace abonné" : visible aussi sur le hero */
.ml-nav:not(.is-scrolled) .ml-btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.ml-nav:not(.is-scrolled) .ml-btn--ghost:hover { color: var(--ink); border-color: var(--ml-amber); }

/* burger mobile (caché en desktop) */
.ml-nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }

/* ============================================================
   HERO
   ============================================================ */
/* La remontée doit valoir la hauteur RÉELLE de la barre : --nav-h (hauteur de
   .ml-nav__inner) PLUS son `border-bottom: 1px solid transparent`, qui réserve
   la place du filet de l'état .is-scrolled. Sans ce +1px il restait une ligne
   de fond de page (#EAF4FA) au-dessus du hero — lue comme un trait blanc sur
   les photos sombres (constaté sur notre-histoire.html). */
.ml-hero { position: relative; overflow: hidden; min-height: 92vh; margin-top: calc(-1 * (var(--nav-h) + 1px)); display: flex; align-items: center; }
.ml-hero__bg {
  position: absolute; inset: -9% 0;
  background-image: url('/build/img/uploads_brevo_6a295a4d88a7f91c08132da6-1920.b1fe4d01f7.webp');
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-color: #1c2826; will-change: transform;
}
.ml-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,20,25,.18) 0%, rgba(15,20,25,.05) 40%, rgba(253,252,249,.0) 100%); }
.ml-hero__inner { position: relative; z-index: 1; width: 100%; padding: 110px 0 100px; max-width: var(--maxw); margin: 0 auto; }
.ml-hero__wave { position: absolute; bottom: -2px; left: 0; right: 0; line-height: 0; z-index: 2; }
.ml-hero__wave svg { display: block; width: 100%; height: 90px; }
.ml-hero__text { margin-left: 50%; padding: 0 40px 0 24px; box-sizing: border-box; text-align: left; }
.ml-hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 5vw, 60px); line-height: 1.08;
  margin: 8px 0 24px; letter-spacing: -.025em; color: #fff;
}
.ml-hero h1 .i-magenta { font-style: italic; color: var(--ml-magenta); }
.ml-hero h1 .i-amber   { font-style: italic; color: var(--ml-amber); }
.ml-hero__sub { font-size: 20px; line-height: 1.45; margin: 0; max-width: 520px; color: #fff; }
.ml-hero__sub .c-cyan { color: var(--ml-cyan); font-weight: 600; }
.ml-hero__sub .c-red  { color: var(--ml-red);  font-weight: 600; }
.ml-hero__cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }

/* Hero compact (page détail service) — position verticale du bloc titre alignée
   sur le hero standard des pages intérieures (réf. PMS) ; horizontal inchangé */
.ml-hero--compact { min-height: 300px; }
.ml-hero--compact .ml-hero__inner { padding: 110px 44px 100px; }
.ml-hero--compact h1 { font-size: clamp(34px, 5vw, 60px); margin-bottom: 0; }
.ml-hero__eyebrow {
  display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}

/* ============================================================
   PAGE WRAP
   ============================================================ */
main { display: block; }
.padsection7 { padding: 0; }
.container_24 { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.wrapper { padding: 56px 0 24px; }

.subscription-store > h2,
.section-title {
  font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(34px, 4.6vw, 52px); line-height: 1.04; letter-spacing: -.025em;
  margin: 0 0 6px;
}
.section-title em { font-style: italic; color: var(--c, var(--ml-blue)); }
.section-head { margin: 0 0 30px; }
.section-lead { color: var(--muted); font-size: 16px; margin: 0 0 32px; max-width: 620px; }

/* ============================================================
   PARTNER ACTIONS — 3 blocs (Devenir / Déjà / Recommander)
   ============================================================ */
.section-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--c, var(--ml-blue));
  background: color-mix(in srgb, var(--c, var(--ml-blue)) 10%, #fff);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.section-head .section-title { margin: 0 0 6px; }
.section-head .section-lead { margin: 0; }
.subscription-store > .services { margin-top: 8px; }
.partner-actions {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin: 0 0 40px;
}
.partner-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 22px; overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
/* filet de couleur en haut de carte */
.partner-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--c, var(--ml-blue));
}
.partner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -16px color-mix(in srgb, var(--c) 40%, transparent);
  border-color: color-mix(in srgb, var(--c) 30%, var(--line));
}
.partner-card__ic {
  width: 34px; height: 34px; border-radius: 9px; margin-bottom: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--c) 12%, #fff);
  color: var(--c);
}
.partner-card__ic svg { width: 17px; height: 17px; }
.partner-card__title { font-family: var(--serif); font-weight: 400; font-size: 19px; letter-spacing: -.015em; margin: 0 0 7px; line-height: 1.15; }
.partner-card__body { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0 0 16px; flex: 1; }
.partner-card__btn {
  align-self: flex-start; max-width: 100%;
  padding: 11px 16px; font-size: 13px;
  white-space: normal; text-align: left; line-height: 1.3;
  background: var(--c); color: #fff;
  box-shadow: none;
}
.partner-card__btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
  box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--c) 50%, transparent);
}
@media (max-width: 880px) { .partner-actions { grid-template-columns: 1fr; } }

/* ============================================================
   MARKETPLACE — layout services
   ============================================================ */
.services { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }

/* Sidebar catégories */
.categories { position: sticky; top: calc(var(--nav-h) + 20px); }
.categories.hide { opacity: .35; pointer-events: none; transition: opacity .2s; }
.categories h3 {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-2); margin: 0 0 14px;
}
.categories-list {
  list-style: none; margin: 0; padding: 0 6px 0 0; display: flex; flex-direction: column; gap: 2px;
  max-height: calc(100vh - var(--nav-h) - 84px); overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(15,20,25,.22) transparent;
}
.categories-list::-webkit-scrollbar { width: 6px; }
.categories-list::-webkit-scrollbar-thumb { background: rgba(15,20,25,.18); border-radius: 999px; }
.categories-list::-webkit-scrollbar-track { background: transparent; }
.categories-list::-webkit-scrollbar-thumb:hover { background: rgba(15,20,25,.32); }
.categories-list a {
  display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  cursor: pointer; transition: background .15s, color .15s;
}
.categories-list a:hover { background: rgba(15,20,25,.05); color: var(--ink); }
.categories-list a.active,
.categories-list a.activated {
  background: rgba(26,116,182,.1); color: var(--ml-blue); font-weight: 600;
}
.cat-ic { display: inline-flex; flex-shrink: 0; color: var(--cat-c, currentColor); opacity: 1; }
.cat-ic svg { width: 17px; height: 17px; display: block; }
.categories-list a.active .cat-ic,
.categories-list a.activated .cat-ic { opacity: 1; }

/* Colonne liste */
.services_list { min-width: 0; }

/* Barre de recherche + filtres */
.search-box {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 28px; flex-wrap: wrap;
}

/* Segmented control (Tous / Hôtel / Restaurant / BE) */
.search-box .search { margin-left: auto; }
.mydict > div { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.mydict input { position: absolute; opacity: 0; pointer-events: none; }
.mydict label.radio { margin: 0; }
.mydict label span {
  display: inline-flex; align-items: center; padding: 7px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer;
  transition: background .15s, color .15s;
}
.mydict label span:hover { color: var(--ink); }
.mydict input:checked + span { background: var(--ml-blue); color: #fff; }
.mydict label.green input:checked + span { background: var(--ml-green); }
.mydict label.red input:checked + span { background: var(--ml-red); }

/* Champ recherche */
.search { position: relative; display: flex; align-items: center; min-width: 220px; flex: 0 1 320px; }
.search .input {
  width: 100%; padding: 11px 16px 11px 44px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-family: var(--sans);
  font-size: 14px; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s;
}
.search .input::placeholder { color: var(--muted-2); }
.search .input:focus { border-color: var(--ml-blue); box-shadow: 0 0 0 3px rgba(26,116,182,.12); }
.search .icon {
  position: absolute; left: 6px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 999px; border: 0; background: var(--ml-blue);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .15s;
}
.search .icon:hover { background: var(--ml-pink); }
.search .serach_svg { width: 18px; height: 18px; }

/* Grille de cartes */
.store ul#card-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px;
}
.store ul#card-list > li { display: flex; }

.card {
  position: relative; display: flex; flex-direction: column; width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; cursor: pointer; box-shadow: var(--shadow-1); transition: transform .2s, box-shadow .2s, border-color .2s;
}
#card-list .entry-featured.image, #card-list .card-button { cursor: pointer; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: rgba(15,20,25,.12); }
.card-abonne { border-color: rgba(22,163,74,.4); box-shadow: 0 0 0 1px rgba(22,163,74,.15); }
.card-abonne:hover { box-shadow: 0 18px 40px -18px rgba(22,163,74,.3); }

.entry-featured.image {
  display: block; background: #fff; height: 130px;
  display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line);
}
.image-service {
  width: 100%; height: 100%; object-fit: contain; padding: 22px 24px;
  filter: none; transition: transform .2s;
}
.card:hover .image-service { transform: scale(1.03); }

.compatibility {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(15,20,25,.78); color: #fff; padding: 4px 9px; border-radius: 999px; margin: 0;
  white-space: nowrap;
}
.compatibility-abonne { background: var(--ml-green); }

.card-details { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.text-title { font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin: 0; color: var(--ink); }
.text-body { font-size: 13.5px; line-height: 1.55; color: var(--muted); margin: 0; flex: 1; }
.read-more { color: var(--ml-blue); }

.card-button {
  align-self: flex-start; margin-top: 6px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 18px; border-radius: 999px;
  background: var(--ml-blue); color: #fff; font-size: 13px; font-weight: 600;
  transition: background .15s, transform .15s;
}
.card-button:hover { background: var(--ml-pink); transform: translateY(-1px); }
.card-button-abbone {
  align-self: flex-start; margin: 6px 0 0;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(22,163,74,.12); color: var(--ml-green); font-size: 13px; font-weight: 700;
}
.card-button-abbone::before { content: "✓"; }

/* ============================================================
   PAGE DÉTAIL SERVICE
   ============================================================ */
.path { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; font-size: 13px; color: var(--muted); }
.path a { color: var(--muted); transition: color .15s; }
.path a:hover { color: var(--ml-blue); }

.service-details { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; margin-bottom: 40px; }
.principal-image { width: 200px; height: 200px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.service-name { font-family: var(--serif); font-weight: 400; font-size: 40px; letter-spacing: -.02em; margin: 0 0 4px; }
.distributeur { display: inline-block; color: var(--ml-blue); font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.distributeur:hover { text-decoration: underline; }

.blocks { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.blocks .block, .blocks .block3 {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 96px;
}
.blocks .note { display: flex; align-items: center; gap: 6px; }
.blocks h4 { font-size: 22px; margin: 0; font-weight: 700; }
.blocks p { font-size: 12px; color: var(--muted); margin: 0; }
.block3 svg { margin-bottom: 2px; }

.service-details .details > p { color: var(--muted); line-height: 1.65; font-size: 15px; max-width: 640px; }

.subscribe {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 18px;
  padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ml-blue); color: #fff; font-family: var(--sans); font-size: 15px; font-weight: 600;
  box-shadow: 0 4px 14px -4px rgba(26,116,182,.5); transition: background .2s, transform .2s;
}
.subscribe:hover { background: var(--ml-pink); transform: translateY(-1px); }
.subscribe svg { width: 22px; height: 24px; }

/* Formules d'abonnement */
.squareContainer { display: none; gap: 24px; flex-wrap: wrap; margin: 8px 0 40px; }
.pack_card {
  position: relative; flex: 1; min-width: 260px; max-width: 340px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px;
  opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .4s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.pack_card:hover { box-shadow: 0 20px 50px -20px rgba(15,20,25,.25); }
.banner { position: absolute; top: 18px; right: 18px; }
.banner_tag {
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--ml-amber); color: var(--ink); padding: 4px 10px; border-radius: 999px;
}
.pack_name { font-family: var(--serif); font-size: 26px; margin-bottom: 6px; }
.pack_card .description { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0 0 18px; }
.lists { display: flex; flex-direction: column; gap: 12px; flex: 1; margin-bottom: 20px; }
.lists .list { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); }
.lists .list svg { width: 18px; height: 18px; color: var(--ml-green); flex-shrink: 0; }
.bottom { margin-top: auto; }
.price_container { display: flex; align-items: baseline; gap: 2px; margin-bottom: 14px; }
.price { font-size: 40px; font-weight: 800; }
.devise { font-size: 22px; font-weight: 700; }
.date { font-size: 14px; color: var(--muted); }
.btn-formule {
  display: block; text-align: center; padding: 12px; border-radius: 999px;
  background: var(--ml-blue); color: #fff; font-weight: 600; font-size: 14px; transition: background .15s;
}
.btn-formule:hover { background: var(--ml-pink); }

/* Galerie */
.gallery-container { position: relative; margin: 0 0 40px; }
.gallery { display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: thin; }
.gallery-cell { height: 280px; width: auto; border-radius: 16px; border: 1px solid var(--line); cursor: zoom-in; flex-shrink: 0; }
.arrow-prev, .arrow-next { display: none; }
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 999px; background: rgba(15,20,25,.55);
  display: none; align-items: center; justify-content: center; cursor: pointer;
  backdrop-filter: blur(4px); transition: background .15s;
}
.gallery-arrow:hover { background: rgba(15,20,25,.8); }
.gallery-arrow.show-arrow { display: flex; }
.gallery-arrow-left { left: 10px; }
.gallery-arrow-right { right: 10px; }

/* Lightbox (créée par service.js) */
.lightbox { display: none; position: fixed; inset: 0; z-index: 1000; background: rgba(15,20,25,.9); align-items: center; justify-content: center; }
.lightbox-content { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-content img { max-width: 90vw; max-height: 90vh; border-radius: 12px; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); cursor: pointer; padding: 16px; }
.lightbox-prev { left: -10px; } .lightbox-next { right: -10px; }
.lightbox-prev .arrow-prev, .lightbox-next .arrow-next {
  display: flex; width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,.15);
  align-items: center; justify-content: center;
}

/* Description */
.service .description, main > section .wrapper > .description { margin-bottom: 40px; }
.description h1 { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -.02em; margin: 0 0 12px; }
.description p { color: var(--muted); line-height: 1.7; font-size: 15px; max-width: 760px; }

/* Évaluations + similaires */
.Grid-20 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.evaluation-box > h1, .similar-services > h1 { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -.02em; margin: 0 0 18px; }

.comment-container { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-bottom: 12px; }
.note-commentaire { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.comment-header { font-weight: 700; font-size: 14px; }
.note-commentaire svg { width: 18px; height: 18px; }
.comment-body { color: var(--muted); line-height: 1.6; font-size: 14px; }
.comment-date { color: var(--muted-2); font-size: 12px; margin-top: 8px; }
.see-all { display: inline-block; color: var(--ml-blue); font-weight: 600; font-size: 14px; margin: 4px 0 24px; }
.see-all:hover { text-decoration: underline; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.form h4 { margin: 0 0 16px; font-size: 16px; }
.rating-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.rating-header { font-weight: 600; font-size: 14px; }
.rating { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating input { display: none; }
.rating label { width: 26px; height: 26px; cursor: pointer; background: no-repeat center/100% url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d8dade'><path d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14l-5-4.87 6.91-1.01z'/></svg>"); }
.rating input:checked ~ label,
.rating label:hover, .rating label:hover ~ label { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F59E0B'><path d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14l-5-4.87 6.91-1.01z'/></svg>"); }
.group { position: relative; margin-bottom: 16px; }
.group textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
  font-family: var(--sans); font-size: 14px; resize: vertical; outline: none; transition: border-color .15s, box-shadow .15s;
}
.group textarea:focus { border-color: var(--ml-blue); box-shadow: 0 0 0 3px rgba(26,116,182,.12); }
.group label { position: absolute; top: -9px; left: 12px; background: #fff; padding: 0 6px; font-size: 12px; color: var(--muted); }
.form button[type=submit] {
  padding: 11px 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--ml-blue); color: #fff; font-family: var(--sans); font-weight: 600; font-size: 14px;
  transition: background .15s, transform .15s;
}
.form button[type=submit]:hover { background: var(--ml-pink); transform: translateY(-1px); }

.similar-services .cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.similar-services .card {
  flex-direction: row; align-items: center; gap: 14px; padding: 12px; border-radius: 12px;
}
.similar-services .card:hover { transform: none; box-shadow: 0 10px 24px -14px rgba(15,20,25,.2); }
.card-link-with-background { width: 50px; height: 50px; border-radius: 10px; background: #f3f1ea; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.list-image { width: 100%; height: 100%; object-fit: cover; }
/* Logos de partenaires, presque tous en largeur : entiers, pas rognés en carré */
.similar-services .card-link-with-background { width: 88px; height: 48px; padding: 6px 8px; background: #fff; border: 1px solid var(--line); box-sizing: border-box; }
.similar-services .list-image { object-fit: contain; }
.service-info { display: flex; flex-direction: column; }
.service-info .text-title { font-size: 15px; }
.service-category { font-size: 12px; color: var(--muted); margin: 2px 0 0; }
.resize-handle { display: none; }

/* ============================================================
   FOOTER (homepage)
   ============================================================ */
.ml-footer { background: var(--ml-blue); color: rgba(255,255,255,.94); margin-top: 72px; }
.ml-footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 64px 40px 0; }
.ml-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.ml-footer__brand img { height: 34px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.ml-footer__tagline { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.94); margin: 0 0 24px; max-width: 240px; }
.ml-footer__contacts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.ml-footer__contacts div { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #fff; font-weight: 600; }
.ml-footer__contacts svg { width: 14px; height: 14px; opacity: .65; flex-shrink: 0; }
.ml-footer__socials { display: flex; gap: 8px; margin-bottom: 20px; }
.ml-footer__socials a {
  width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.12); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: background .15s, transform .15s;
}
.ml-footer__socials a:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }
.ml-footer__socials svg { width: 16px; height: 16px; }

.ml-footer__col-title { color: #fff; font-weight: 700; font-size: 11px; margin: 0 0 14px; letter-spacing: .12em; text-transform: uppercase; }
.ml-footer__section { margin-bottom: 28px; }
.ml-footer__section ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ml-footer__section a { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.94); font-size: 13px; transition: color .15s; }
.ml-footer__section a:hover { color: #fff; text-decoration: underline; }
.ml-footer__section a svg { width: 16px; height: 16px; opacity: .5; flex-shrink: 0; }

.ml-footer__news .ml-footer__col-title { font-size: 12px; letter-spacing: .1em; }
.ml-footer__news p { font-size: 12px; color: rgba(255,255,255,.94); margin: 0 0 12px; line-height: 1.55; }
.ml-footer__news form { display: flex; flex-direction: column; gap: 10px; }
.ml-footer__news-row { display: flex; gap: 8px; }
.ml-footer__news input[type=email] {
  flex: 1; min-width: 0; border-radius: 8px; border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.04); padding: 9px 12px; font-size: 13px; color: #fff; outline: none;
}
.ml-footer__news input::placeholder { color: rgba(255,255,255,.6); }
.ml-footer__news button {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 8px; border: 0; background: var(--ml-blue); color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: opacity .15s;
}
.ml-footer__news button:hover { opacity: .85; }
.ml-footer__news button svg { width: 15px; height: 15px; }
.ml-footer__check { display: flex; align-items: flex-start; gap: 7px; cursor: pointer; }
.ml-footer__check input { margin-top: 1px; flex-shrink: 0; accent-color: #fff; width: 14px; height: 14px; }
.ml-footer__check span { font-size: 11px; color: rgba(255,255,255,.94); line-height: 1.5; }
.ml-footer__check a { color: rgba(255,255,255,.94); text-decoration: underline; }
.ml-footer__certs { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.ml-footer__certs-title { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.94); font-weight: 600; margin-bottom: 12px; }
.ml-footer__certs-row { display: flex; align-items: center; gap: 24px; }
.ml-footer__certs-row img { display: block; height: 55px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .7; transition: opacity .15s; }
.ml-footer__certs-row img:hover { opacity: 1; }

.ml-footer__bottom { padding: 18px 0 26px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ml-footer__copy { font-size: 12px; color: rgba(255,255,255,.94); }
.ml-footer__legal { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.ml-footer__legal a { font-size: 12px; color: rgba(255,255,255,.94); transition: color .15s; }
.ml-footer__legal a:hover { color: #fff; text-decoration: underline; }

/* ============================================================
   MODALE (pop-up détail service sur la page marketplace)
   ============================================================ */
.ml-modal {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: flex-start; justify-content: center;
  padding: 48px 20px; overflow-y: auto;
}
.ml-modal.is-open { display: flex; }
.ml-modal__overlay { position: fixed; inset: 0; background: rgba(15,20,25,.55); }
.ml-modal__dialog {
  position: relative; z-index: 1; width: 100%; max-width: 880px;
  background: var(--surface); border-radius: 20px; overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(15,20,25,.5);
  animation: ml-modal-in .22s cubic-bezier(.2,.8,.3,1);
}
@keyframes ml-modal-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.ml-modal__close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px -6px rgba(15,20,25,.3); transition: background .15s, color .15s, transform .15s;
}
.ml-modal__close:hover { background: var(--ml-pink); color: #fff; border-color: var(--ml-pink); transform: rotate(90deg); }
.ml-modal__body { padding: 36px; }
/* Resserre l'espacement du contenu détail réutilisé dans la modale */
.ml-modal__body .service-details { margin-bottom: 28px; }
.ml-modal__body .gallery-container,
.ml-modal__body .description { margin-bottom: 28px; }
.ml-modal__body .gallery-cell { height: 200px; }
.ml-modal__body .description h1,
.ml-modal__body .similar-services h1,
.ml-modal__body .modal-reviews h1 { font-size: 24px; }
.ml-modal__body .similar-services h1 { margin-top: 4px; }
.ml-modal__body .modal-reviews { margin-bottom: 28px; }
.modal-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.modal-badge {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: rgba(15,20,25,.06); color: var(--muted);
}
.modal-badge.is-cat { background: rgba(26,116,182,.1); color: var(--ml-blue); }
.modal-badge.is-abonne { background: rgba(22,163,74,.12); color: var(--ml-green); }
.modal-badge.is-abonne::before { content: "✓ "; }
body.ml-modal-open { overflow: hidden; }

/* Ressources & actualités dans la modale */
.modal-resources { margin-bottom: 28px; }
.modal-resources__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.res-site { color: var(--ml-blue); font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; transition: color .15s; }
.res-site svg { width: 14px; height: 14px; }
.res-site:hover { color: var(--ml-pink); }
.res-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.res-item { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.res-item:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -16px rgba(15,20,25,.25); border-color: rgba(15,20,25,.12); }
.res-tag { align-self: flex-start; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.res-tag.is-blog { background: rgba(26,116,182,.1); color: var(--ml-blue); }
.res-tag.is-press { background: rgba(255,53,220,.1); color: var(--ml-magenta); }
.res-tag.is-paper { background: rgba(245,158,11,.16); color: #b6730a; }
.res-title { font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--ink); letter-spacing: -.01em; }
.res-excerpt { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 620px) { .res-list { grid-template-columns: 1fr; } }

/* Encart « espace abonné » en bas de la modale */
.modal-cta {
  margin-top: 28px;
  display: flex; align-items: center; gap: 20px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(0,177,237,.10), transparent 60%),
    linear-gradient(135deg, rgba(26,116,182,.08), rgba(26,116,182,.03));
  border: 1px solid rgba(26,116,182,.16);
  border-radius: 16px; padding: 22px 24px;
}
.modal-cta__ic {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ml-blue); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(26,116,182,.55);
}
.modal-cta__ic svg { width: 22px; height: 22px; }
.modal-cta__body { min-width: 0; flex: 1; }
.modal-cta__title { font-family: var(--serif); font-weight: 400; font-size: 20px; letter-spacing: -.015em; margin: 0 0 4px; }
.modal-cta__text { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0; }
.modal-cta__btn { margin-left: auto; flex-shrink: 0; background: var(--ml-blue); color: #fff; box-shadow: 0 4px 14px -4px rgba(26,116,182,.5); }
.modal-cta__btn:hover { background: var(--ml-pink); transform: translateY(-1px); box-shadow: 0 8px 20px -5px rgba(255,53,220,.45); }
@media (max-width: 620px) {
  .modal-cta { flex-direction: column; align-items: flex-start; gap: 14px; }
  .modal-cta__btn { margin-left: 0; width: 100%; justify-content: center; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .Grid-20 { grid-template-columns: 1fr; }
}
/* Le menu deroulant s'enclenche des 1200px : entre 880 et 1200px (tablette
   paysage, petits portables) la nav desktop deborde — logo + 5 entrees +
   2 boutons ne tiennent pas. Le seuil DOIT rester identique a celui code
   dans js/nav.js, sinon les accordeons ne repondent plus au tap. */
@media (max-width: 1200px) {
  .ml-nav__right .ml-btn--ghost { display: none; }
  .ml-nav__burger { display: inline-flex; margin-left: auto; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .ml-nav:not(.is-scrolled) .ml-nav__burger { color: #fff; }

  /* Liste de liens = panneau déroulant plein largeur */
  .ml-nav__links {
    display: none;
    position: fixed; left: 0; right: 0; top: var(--nav-h, 72px);
    flex-direction: column; align-items: stretch; gap: 2px; flex: none;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 24px 44px -20px rgba(15,20,25,.4);
    padding: 10px 14px 18px; max-height: calc(100vh - var(--nav-h, 72px)); overflow-y: auto;
    z-index: 90;
  }
  .ml-nav__links.is-open { display: flex; }
  .ml-nav__item { width: 100%; }
  /* Liens toujours sombres dans le panneau blanc, même sur le hero */
  .ml-nav:not(.is-scrolled) .ml-nav__link { color: #1A1F27; }
  .ml-nav__link {
    width: 100%; justify-content: space-between;
    padding: 13px 12px; font-size: 15.5px; border-radius: 10px; min-height: 48px;
  }
  .ml-nav__link:hover,
  .ml-nav__item:hover .ml-nav__link { background: transparent; }
  /* Méga-panneaux = accordéons inline, repliés par défaut */
  .ml-nav__panel, .ml-nav__panel--2 {
    position: static; opacity: 1; visibility: visible; transform: none;
    width: 100%; min-width: 0; box-shadow: none; border: 0; border-radius: 0;
    padding: 0 0 6px 6px; display: none;
  }
  .ml-nav__panel--2 .ml-nav__grid { grid-template-columns: 1fr; }
  .ml-nav__item:hover .ml-nav__panel { opacity: 1; visibility: visible; transform: none; }
  .ml-nav__item.is-expanded > .ml-nav__panel { display: block; }
  .ml-nav__item:hover .ml-nav__chev { transform: none; }
  .ml-nav__item.is-expanded .ml-nav__chev { transform: rotate(180deg); }
  .ml-nav__opt { min-height: 48px; display: flex; align-items: center; }

  .ml-hero__text { margin-left: 0; padding: 0 32px; }
  .ml-hero__sub { max-width: 560px; }
  /* Cibles tactiles : minimum 44px en mobile */
  .ml-btn, .ml-footer__news-row button, .partner-card__btn, .ct-team__btn, .bl-chip, .bl-page { min-height: 44px; }
  .ml-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ml-footer__brand { grid-column: 1 / -1; }
  .services { grid-template-columns: 1fr; }
  .categories { position: static; min-width: 0; }
  /* Les categories passent en rail horizontal defilable plutot qu'en pave
     wrappe : sur telephone, 15 categories empilees repoussaient la liste
     des services deux ecrans plus bas. */
  .categories-list { flex-direction: row; flex-wrap: nowrap; gap: 6px; max-height: none; overflow-x: auto; overflow-y: visible; -webkit-overflow-scrolling: touch; padding: 2px 0 8px; scroll-snap-type: x proximity; }
  .categories-list a { white-space: nowrap; flex-shrink: 0; scroll-snap-align: start; }
  .search-box { flex-direction: column; align-items: stretch; gap: 12px; }
  .search-box .search { margin-left: 0; }
  .search { max-width: none; flex: 1 1 auto; }
  .service-details { grid-template-columns: 1fr; }
  .principal-image { width: 160px; height: 160px; }
}
/* Documents A4 imprimables (legales-consolide, fiches d'audit) : la feuille
   de <doc-page> fait 210mm de large, fixee dans son shadow DOM et donc hors
   de portee d'une surcharge. On confine son debordement a son propre cadre
   plutot que de laisser le document s'elargir — regle posee par motifs.css :
   « debordement lateral : jamais sur body ». */
doc-page { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 560px) {
  .ml-nav__inner, .container_24 { padding-inline: 18px; }
  /* CTA principal en icone seule : sous 560px, "Planifier une presentation"
     fait 238px et poussait le burger hors de l'ecran (mesure : +100px de
     debordement sur les 22 pages statiques). */
  .ml-nav__right .ml-btn--primary { font-size: 0; gap: 0; padding: 11px 12px; }
  .ml-footer__inner { padding-inline: 20px; }
  .ml-footer__grid { grid-template-columns: 1fr; }
  .search-box { flex-direction: column; align-items: stretch; }
  .search { max-width: none; }
}


/* ============================================================
   FORMULAIRES POP-UP (.pf-*) — partagés : partenaires, démo
   ============================================================ */
.pf { padding: 4px 2px 2px; }
.pf-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; padding-right: 40px; }
.pf-head__ic { width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--c, var(--ml-blue)) 12%, #fff); color: var(--c, var(--ml-blue)); }
.pf-head__ic svg { width: 24px; height: 24px; }
.pf-eyebrow { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c, var(--ml-blue)); margin: 0 0 8px; }
.pf-title { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 30px); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 6px; }
.pf-sub { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0; max-width: 46ch; text-wrap: pretty; }
.pf-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.pf-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.pf-field--full { grid-column: 1 / -1; }
.pf-label { font-size: 12.5px; font-weight: 600; color: var(--ink); letter-spacing: -.005em; }
.pf-label .req { color: var(--ml-red); margin-left: 2px; }
.pf-input, .pf-select, .pf-textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 11px 14px; font-family: var(--sans); font-size: 14px; color: var(--ink); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.pf-input::placeholder, .pf-textarea::placeholder { color: var(--muted-2); }
.pf-textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
.pf-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b727c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 15px; padding-right: 38px; }
.pf-input:focus, .pf-select:focus, .pf-textarea:focus { border-color: var(--c, var(--ml-blue)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c, var(--ml-blue)) 14%, transparent); }
.pf-seg { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-seg input { position: absolute; opacity: 0; pointer-events: none; }
.pf-seg label { margin: 0; }
.pf-seg span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.pf-seg span:hover { color: var(--ink); border-color: var(--line-2); }
.pf-seg input:checked + span { background: var(--c, var(--ml-blue)); border-color: var(--c, var(--ml-blue)); color: #fff; }
.pf-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.pf-note { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.4; min-width: 0; flex: 1; }
.pf-note svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--c, var(--ml-blue)); }
.pf-submit { align-self: stretch; margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; border: 0; cursor: pointer; background: var(--c, var(--ml-blue)); color: #fff; font-family: var(--sans); font-size: 14.5px; font-weight: 600; box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--c, var(--ml-blue)) 55%, transparent); transition: filter .15s, transform .15s, box-shadow .15s; }
.pf-submit svg { width: 17px; height: 17px; }
.pf-submit:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 10px 22px -7px color-mix(in srgb, var(--c, var(--ml-blue)) 55%, transparent); }
.pf-success { text-align: center; padding: 26px 12px 18px; }
.pf-success__ic { width: 66px; height: 66px; border-radius: 999px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--c, var(--ml-blue)) 12%, #fff); color: var(--c, var(--ml-blue)); animation: pf-pop .3s cubic-bezier(.2,.8,.3,1); }
.pf-success__ic svg { width: 30px; height: 30px; }
@keyframes pf-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.pf-success__title { font-family: var(--serif); font-weight: 400; font-size: 27px; letter-spacing: -.02em; margin: 0 0 8px; }
.pf-success__text { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0 auto 24px; max-width: 44ch; text-wrap: pretty; }
.pf-success__btn { display: inline-flex; align-items: center; gap: 7px; padding: 12px 24px; border-radius: 999px; border: 0; cursor: pointer; background: var(--c, var(--ml-blue)); color: #fff; font-family: var(--sans); font-size: 14px; font-weight: 600; transition: filter .15s, transform .15s; }
.pf-success__btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
@media (max-width: 560px) { .pf-form { grid-template-columns: 1fr; } .pf-foot { flex-direction: column; align-items: stretch; } .pf-submit { margin-left: 0; justify-content: center; } }
