/* L'accueil après paiement (#maxx-bienvenue) : au-dessus du départ guidé (3500), sous la
   porte payante (#maxx-parcours, 4000). Noir et blanc, une idée par écran. */
html.bienvenue-ouvert, html.bienvenue-ouvert body { overflow: hidden; }
html.bienvenue-ouvert #maxx-consentement, html.bienvenue-ouvert .dock-tel { display: none !important; }

#maxx-bienvenue {
  --bv-fond: #fff; --bv-encre: #0b0b0c; --bv-gris: #6b6b72; --bv-ligne: #e7e7ea; --bv-doux: #f5f5f6; --bv-bleu: #2f6bff; --bv-vert: #1f9d55;
  position: fixed; inset: 0; z-index: 3550;
  display: grid; grid-template-rows: auto minmax(0, 1fr);
  background: var(--bv-fond); color: var(--bv-encre);
  font-family: var(--sans, "Outfit", system-ui, sans-serif);
  padding-top: env(safe-area-inset-top);
  opacity: 0; translate: 0 18px;
  transition: opacity 300ms ease, translate 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  -webkit-font-smoothing: antialiased;
}
#maxx-bienvenue.on { opacity: 1; translate: 0 0; }
#maxx-bienvenue *, #maxx-bienvenue *::before, #maxx-bienvenue *::after { box-sizing: border-box; }
#maxx-bienvenue button { font: inherit; color: inherit; text-transform: none; letter-spacing: 0; }
#maxx-bienvenue svg { width: 1em; height: 1em; flex: none; }
#maxx-bienvenue em { font-family: var(--serif, "Cormorant Garamond", Georgia, serif); font-style: italic; font-weight: 500; }

/* ---- l'en-tête : la marque, quatre segments, plus tard */
#maxx-bienvenue .bv-tete {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 16px 20px 10px;
}
#maxx-bienvenue .bv-marque { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; letter-spacing: 0.14em; }
#maxx-bienvenue .bv-marque b { font-weight: 600; }
#maxx-bienvenue .bv-tard { justify-self: end; border: 0; background: none; color: var(--bv-gris); font-size: 14px; padding: 8px 10px; border-radius: 999px; cursor: pointer; }
#maxx-bienvenue .bv-tard:hover { color: var(--bv-encre); background: var(--bv-doux); }
#maxx-bienvenue .bv-segments { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
#maxx-bienvenue .bv-segments li { display: grid; gap: 7px; justify-items: center; width: 92px; }
#maxx-bienvenue .bv-segments i { display: block; width: 100%; height: 3px; border-radius: 3px; background: var(--bv-ligne); position: relative; overflow: hidden; }
#maxx-bienvenue .bv-segments i::after { content: ""; position: absolute; inset: 0; background: var(--bv-encre); scale: 0 1; transform-origin: left; transition: scale 600ms cubic-bezier(0.2, 0.8, 0.2, 1); }
#maxx-bienvenue .bv-segments .fait i::after, #maxx-bienvenue .bv-segments .ici i::after { scale: 1 1; }
#maxx-bienvenue .bv-segments span { font-size: 11px; color: var(--bv-gris); letter-spacing: 0.02em; }
#maxx-bienvenue .bv-segments .ici span { color: var(--bv-encre); font-weight: 500; }

/* ---- le corps : une colonne centrée, les actions collées en bas */
#maxx-bienvenue .bv-corps { overflow: auto; overscroll-behavior: contain; padding: 0 20px; min-height: 0; height: auto; max-width: none; margin: 0; }
#maxx-bienvenue .bv-scene {
  min-height: 100%; max-width: 620px; margin: 0 auto; padding: 28px 0 0;
  display: flex; flex-direction: column; gap: 22px;
  animation: bv-monte 460ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
#maxx-bienvenue .bv-scene.bv-cv, #maxx-bienvenue .bv-scene.bv-visite { max-width: 820px; }
@keyframes bv-monte { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }

#maxx-bienvenue h1, #maxx-bienvenue h2 { font-family: var(--sans, "Outfit", system-ui, sans-serif); text-transform: none; color: var(--bv-encre); }
#maxx-bienvenue h1 { margin: 0; font-size: 34px; line-height: 1.1; font-weight: 500; letter-spacing: -0.025em; }
#maxx-bienvenue h1 em { font-size: 1.12em; letter-spacing: -0.01em; }
#maxx-bienvenue h2 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.015em; }
#maxx-bienvenue .bv-kicker { margin: 0 0 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bv-gris); }
#maxx-bienvenue .bv-pastille { width: 8px; height: 8px; border-radius: 50%; background: var(--bv-vert); box-shadow: 0 0 0 4px rgba(31, 157, 85, 0.14); }
#maxx-bienvenue .bv-lead { margin: 12px 0 0; font-size: 16.5px; line-height: 1.55; color: var(--bv-gris); max-width: 560px; }
#maxx-bienvenue .bv-titre.petit h1 { font-size: 30px; }
#maxx-bienvenue .bv-titre.petit .bv-lead { font-size: 15.5px; margin-top: 8px; }
#maxx-bienvenue .bv-note { margin: 0; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--bv-gris); }
#maxx-bienvenue .bv-note svg { margin-top: 3px; color: var(--bv-vert); }
#maxx-bienvenue .bv-erreur { margin: 0; padding: 12px 14px; border-radius: 14px; background: #fdf0ef; color: #a1271c; font-size: 14px; }

#maxx-bienvenue .bv-actes {
  position: sticky; bottom: 0; margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 0 max(20px, env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--bv-fond) 34%);
}
#maxx-bienvenue .bv-actes > :last-child:not(:first-child) { margin-left: auto; }
#maxx-bienvenue .bv-duo { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
#maxx-bienvenue .bv-btn {
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--bv-encre); color: #fff !important;
  font-size: 16px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform 160ms ease, opacity 160ms ease, box-shadow 200ms ease;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.45);
}
#maxx-bienvenue .bv-btn svg { font-size: 18px; transition: translate 200ms ease; }
#maxx-bienvenue .bv-btn:hover svg { translate: 3px 0; }
#maxx-bienvenue .bv-btn:active { transform: scale(0.98); }
#maxx-bienvenue .bv-btn[disabled] { opacity: 0.35; cursor: default; box-shadow: none; }
#maxx-bienvenue .bv-btn.second { background: var(--bv-fond); color: var(--bv-encre) !important; border: 1px solid var(--bv-ligne); box-shadow: none; }
#maxx-bienvenue .bv-btn.second:hover { border-color: var(--bv-encre); }
#maxx-bienvenue .bv-retour { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--bv-gris); font-size: 15px; padding: 10px 6px; cursor: pointer; }
#maxx-bienvenue .bv-retour:hover { color: var(--bv-encre); }
#maxx-bienvenue .bv-lien { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--bv-encre); font-size: 14.5px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--bv-ligne); padding: 6px 0; cursor: pointer; }
#maxx-bienvenue .bv-lien:hover { text-decoration-color: var(--bv-encre); }
#maxx-bienvenue .bv-actes .bv-lien { color: var(--bv-gris); margin-left: auto; margin-right: 6px; }

/* ---- 1. bienvenue */
#maxx-bienvenue .bv-hero { padding-top: 6vh; }
#maxx-bienvenue .bv-hero h1 { font-size: 44px; }
#maxx-bienvenue .bv-plan { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 4px; border-top: 1px solid var(--bv-ligne); }
#maxx-bienvenue .bv-plan li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--bv-ligne); }
#maxx-bienvenue .bv-plan b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bv-doux); font-size: 14px; font-weight: 500; }
#maxx-bienvenue .bv-plan li:first-child b { background: var(--bv-encre); color: #fff; }
#maxx-bienvenue .bv-plan strong { display: block; font-size: 16.5px; font-weight: 500; }
#maxx-bienvenue .bv-plan span { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.5; color: var(--bv-gris); }

/* ---- 2. les deux grandes boîtes */
#maxx-bienvenue .bv-boites { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
#maxx-bienvenue .bv-boite {
  position: relative; text-align: left; display: flex; flex-direction: column; gap: 10px;
  min-height: 300px; padding: 30px 28px 26px; border-radius: 28px; cursor: pointer;
  border: 1px solid var(--bv-ligne); background: var(--bv-fond);
  transition: border-color 220ms ease, box-shadow 260ms ease, transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
#maxx-bienvenue .bv-boite:hover, #maxx-bienvenue .bv-boite:focus-visible { border-color: var(--bv-encre); transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.35); outline: none; }
#maxx-bienvenue .bv-boite:active { transform: translateY(-1px) scale(0.995); }
#maxx-bienvenue .bv-icone { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--bv-doux); font-size: 27px; margin-bottom: 18px; transition: background 220ms ease, color 220ms ease; }
#maxx-bienvenue .bv-boite:hover .bv-icone { background: var(--bv-encre); color: #fff; }
#maxx-bienvenue .bv-boite strong { font-size: 23px; font-weight: 500; letter-spacing: -0.015em; }
#maxx-bienvenue .bv-boite > span:not(.bv-icone) { font-size: 15px; line-height: 1.55; color: var(--bv-gris); }
#maxx-bienvenue .bv-duree { margin-top: auto; align-self: flex-start; font-style: normal; font-size: 12.5px; padding: 6px 11px; border-radius: 999px; background: var(--bv-doux); color: var(--bv-encre); }

/* ---- 2a. importer */
#maxx-bienvenue .bv-depot {
  display: grid; justify-items: center; gap: 8px; text-align: center;
  padding: 56px 24px; border-radius: 28px; border: 1.5px dashed #cfcfd4; background: var(--bv-doux); cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}
#maxx-bienvenue .bv-depot:hover, #maxx-bienvenue .bv-depot.survol { border-color: var(--bv-encre); background: #fff; }
#maxx-bienvenue .bv-depot.survol { transform: scale(1.01); }
#maxx-bienvenue .bv-depot:focus { outline: none; }
#maxx-bienvenue .bv-depot:focus-visible { border-color: var(--bv-encre); border-style: solid; }
#maxx-bienvenue .bv-depot .bv-icone { background: #fff; margin-bottom: 8px; box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.3); }
#maxx-bienvenue .bv-depot strong { font-size: 19px; font-weight: 500; }
#maxx-bienvenue .bv-depot span:not(.bv-icone) { font-size: 14px; color: var(--bv-gris); }
#maxx-bienvenue .bv-lecture { margin: auto 0; padding: 40px 0 80px; display: grid; justify-items: center; text-align: center; gap: 10px; }
#maxx-bienvenue .bv-lecture p { margin: 0; max-width: 380px; color: var(--bv-gris); font-size: 15px; line-height: 1.5; }
#maxx-bienvenue .bv-feuille-anim { position: relative; width: 120px; height: 154px; margin-bottom: 18px; border-radius: 14px; border: 1px solid var(--bv-ligne); background: #fff; padding: 22px 16px; display: grid; gap: 9px; align-content: start; box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.35); overflow: hidden; }
#maxx-bienvenue .bv-feuille-anim i { display: block; height: 6px; border-radius: 3px; background: var(--bv-ligne); }
#maxx-bienvenue .bv-feuille-anim i:first-child { width: 60%; height: 9px; background: var(--bv-encre); }
#maxx-bienvenue .bv-feuille-anim i:nth-child(3) { width: 80%; }
#maxx-bienvenue .bv-feuille-anim i:nth-child(5) { width: 70%; }
#maxx-bienvenue .bv-feuille-anim b { position: absolute; left: 0; right: 0; height: 36px; background: linear-gradient(to bottom, rgba(47, 107, 255, 0), rgba(47, 107, 255, 0.18), rgba(47, 107, 255, 0)); animation: bv-scan 1.6s ease-in-out infinite; }
@keyframes bv-scan { from { top: -36px; } to { top: 154px; } }

/* ---- 2b. créer */
#maxx-bienvenue .bv-progres { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; font-size: 13px; color: var(--bv-gris); font-variant-numeric: tabular-nums; }
#maxx-bienvenue .bv-progres i { height: 4px; border-radius: 4px; background: var(--bv-ligne); overflow: hidden; }
#maxx-bienvenue .bv-progres b { display: block; height: 100%; background: var(--bv-encre); border-radius: 4px; transition: width 500ms cubic-bezier(0.2, 0.8, 0.2, 1); }
#maxx-bienvenue .bv-form { display: grid; gap: 16px; }
#maxx-bienvenue .bv-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#maxx-bienvenue .bv-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#maxx-bienvenue .bv-champ { display: grid; gap: 7px; min-width: 0; }
#maxx-bienvenue .bv-champ.large { grid-column: 1 / -1; }
#maxx-bienvenue .bv-champ > span, #maxx-bienvenue .bv-etiquette { font-size: 13px; font-weight: 500; color: var(--bv-encre); text-transform: none; letter-spacing: 0; }
#maxx-bienvenue .bv-champ > span em, #maxx-bienvenue .bv-etiquette em { font-family: inherit; font-style: normal; font-weight: 400; color: var(--bv-gris); margin-left: 4px; }
#maxx-bienvenue .bv-etiquette em.ok { color: var(--bv-vert); }
#maxx-bienvenue input:not([type="checkbox"]), #maxx-bienvenue textarea, #maxx-bienvenue select {
  width: 100%; min-height: 50px; padding: 13px 15px; border-radius: 14px; border: 1px solid var(--bv-ligne); background: #fff;
  font: inherit; font-size: 16px; color: var(--bv-encre); outline: none; text-transform: none; letter-spacing: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
#maxx-bienvenue textarea { resize: vertical; line-height: 1.55; min-height: 140px; }
#maxx-bienvenue input:focus, #maxx-bienvenue textarea:focus, #maxx-bienvenue select:focus { border-color: var(--bv-encre); box-shadow: 0 0 0 4px rgba(11, 11, 12, 0.06); }
#maxx-bienvenue input::placeholder, #maxx-bienvenue textarea::placeholder { color: #a9a9b0; }
#maxx-bienvenue input:disabled { background: var(--bv-doux); color: var(--bv-gris); }
#maxx-bienvenue .bv-puces { display: flex; flex-wrap: wrap; gap: 8px; }
#maxx-bienvenue .bv-puces button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--bv-ligne); background: #fff; border-radius: 999px; padding: 9px 14px; font-size: 14px; cursor: pointer; transition: border-color 160ms ease, background 160ms ease; }
#maxx-bienvenue .bv-puces button:hover { border-color: var(--bv-encre); }
#maxx-bienvenue .bv-puces svg { font-size: 13px; color: var(--bv-gris); }
#maxx-bienvenue .bv-carte { display: grid; gap: 14px; padding: 20px; border-radius: 22px; border: 1px solid var(--bv-ligne); background: #fff; }
#maxx-bienvenue .bv-carte > header { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 28px; }
#maxx-bienvenue .bv-carte > header b { font-size: 15.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#maxx-bienvenue .bv-icone-btn { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 0; background: none; color: var(--bv-gris); cursor: pointer; font-size: 16px; }
#maxx-bienvenue .bv-icone-btn:hover { background: var(--bv-doux); color: var(--bv-encre); }
#maxx-bienvenue .bv-case { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--bv-encre); cursor: pointer; justify-self: start; }
#maxx-bienvenue .bv-case input { width: 18px; height: 18px; accent-color: var(--bv-encre); }
#maxx-bienvenue .bv-faits { display: grid; gap: 8px; padding-top: 4px; }
#maxx-bienvenue .bv-faits input { min-height: 46px; padding-left: 30px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Ccircle cx='3' cy='3' r='3' fill='%230b0b0c'/%3E%3C/svg%3E") no-repeat 15px center; }
#maxx-bienvenue .bv-faits .bv-lien { justify-self: start; font-size: 13.5px; }
#maxx-bienvenue .bv-rangee { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
#maxx-bienvenue .bv-ajout { display: inline-flex; align-items: center; gap: 8px; border: 1px dashed #cfcfd4; background: none; border-radius: 999px; padding: 11px 18px; font-size: 14.5px; cursor: pointer; justify-self: start; }
#maxx-bienvenue .bv-ajout:hover { border-color: var(--bv-encre); border-style: solid; }
#maxx-bienvenue .bv-magie { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 11px 18px; font-size: 14.5px; font-weight: 500; cursor: pointer; background: #eef3ff; color: #1d4fd8 !important; transition: background 160ms ease; }
#maxx-bienvenue .bv-magie:hover { background: #e2eaff; }
#maxx-bienvenue .bv-magie[disabled] { opacity: 0.6; cursor: default; animation: dp-respire 1.2s ease-in-out infinite; }
#maxx-bienvenue .bv-aide { margin: 0; font-size: 14px; color: var(--bv-gris); }
#maxx-bienvenue .bv-compte { font-size: 13px; color: var(--bv-gris); font-variant-numeric: tabular-nums; }
#maxx-bienvenue .bv-compte.ok { color: var(--bv-vert); }
#maxx-bienvenue .bv-bloc { display: grid; gap: 12px; }
#maxx-bienvenue .bv-bloc + .bv-bloc { padding-top: 10px; border-top: 1px solid var(--bv-ligne); }
#maxx-bienvenue .bv-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px; border-radius: 16px; border: 1px solid var(--bv-ligne); background: #fff; min-height: 58px; }
#maxx-bienvenue .bv-tags:focus-within { border-color: var(--bv-encre); }
#maxx-bienvenue .bv-tag { display: inline-flex; align-items: center; gap: 4px; padding: 7px 6px 7px 13px; border-radius: 999px; background: var(--bv-encre); color: #fff; font-size: 14px; }
#maxx-bienvenue .bv-tag button { width: 22px; height: 22px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer; font-size: 11px; }
#maxx-bienvenue .bv-tags .bv-tag-saisie { flex: 1; min-width: 180px; min-height: 36px; border: 0; padding: 6px; box-shadow: none; }
#maxx-bienvenue .bv-langue { display: grid; grid-template-columns: 1fr 1fr 36px; gap: 10px; align-items: center; }
#maxx-bienvenue select { appearance: none; -webkit-appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b72' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; cursor: pointer; }

#maxx-bienvenue .bv-modeles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
#maxx-bienvenue .bv-modele { position: relative; display: grid; gap: 4px; align-content: start; text-align: left; padding: 14px 14px 16px; border-radius: 22px; border: 1px solid var(--bv-ligne); background: #fff; cursor: pointer; transition: border-color 200ms ease, box-shadow 200ms ease; }
#maxx-bienvenue .bv-modele:hover { border-color: #b9b9bf; }
#maxx-bienvenue .bv-modele.on { border-color: var(--bv-encre); box-shadow: 0 0 0 1px var(--bv-encre); }
#maxx-bienvenue .bv-modele strong { margin-top: 10px; font-size: 15.5px; font-weight: 500; }
#maxx-bienvenue .bv-modele span { font-size: 13px; color: var(--bv-gris); line-height: 1.4; }
#maxx-bienvenue .bv-choisi { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bv-encre); color: #fff; font-size: 13px; }
#maxx-bienvenue .bv-mini { aspect-ratio: 0.77; border-radius: 12px; background: var(--bv-doux); padding: 16% 13%; display: flex; flex-direction: column; gap: 6px; }
#maxx-bienvenue .bv-mini i { display: block; height: 4px; border-radius: 2px; background: #cfcfd4; }
#maxx-bienvenue .bv-mini i.fin { background: #9a9aa2; margin-bottom: 4px; }
#maxx-bienvenue .bv-mini b { display: block; height: 8px; width: 58%; border-radius: 3px; background: var(--bv-encre); }
#maxx-bienvenue .bv-mini b.c, #maxx-bienvenue .bv-mini i.c { align-self: center; }
#maxx-bienvenue .bv-mini b.g { background: #55555c; width: 50%; }
#maxx-bienvenue .bv-mini em { display: block; height: 1px; background: #bdbdc3; margin: 4px 0; }
#maxx-bienvenue .bv-mini.air { gap: 8px; }
#maxx-bienvenue .bv-mini .d { display: grid; grid-template-columns: 22% 1fr; gap: 8px; margin-top: 6px; }
#maxx-bienvenue .bv-mini .d s { display: block; height: 4px; border-radius: 2px; background: #9a9aa2; }
#maxx-bienvenue .bv-mini .d div { display: flex; flex-direction: column; gap: 6px; }
#maxx-bienvenue .bv-langue-cv { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; }
#maxx-bienvenue .bv-bascule { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--bv-doux); }
#maxx-bienvenue .bv-bascule button { border: 0; background: none; padding: 9px 16px; border-radius: 999px; font-size: 14px; cursor: pointer; color: var(--bv-gris); }
#maxx-bienvenue .bv-bascule button.on { background: #fff; color: var(--bv-encre); box-shadow: 0 2px 8px -3px rgba(0, 0, 0, 0.2); }

/* ---- 3. la vérification ATS */
#maxx-bienvenue .bv-ats-tete { display: grid; grid-template-columns: 128px 1fr; gap: 28px; align-items: center; }
#maxx-bienvenue .bv-anneau { position: relative; width: 128px; height: 128px; }
#maxx-bienvenue .bv-anneau svg { width: 128px; height: 128px; rotate: -90deg; }
#maxx-bienvenue .bv-anneau circle { fill: none; stroke-width: 9; }
#maxx-bienvenue .bv-anneau .fond { stroke: var(--bv-ligne); }
#maxx-bienvenue .bv-anneau .plein { stroke: var(--bv-encre); stroke-linecap: round; transition: stroke-dashoffset 900ms cubic-bezier(0.2, 0.8, 0.2, 1); animation: bv-anneau 1100ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
#maxx-bienvenue .bv-anneau.ok .plein { stroke: var(--bv-vert); }
@keyframes bv-anneau { from { stroke-dashoffset: 339.3; } }
#maxx-bienvenue .bv-anneau b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 36px; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
#maxx-bienvenue .bv-anneau small { font-size: 16px; color: var(--bv-gris); margin-left: 1px; }
#maxx-bienvenue .bv-anneau b { grid-auto-flow: column; align-content: center; justify-content: center; align-items: baseline; }
#maxx-bienvenue .bv-points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bv-ligne); }
#maxx-bienvenue .bv-points li { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--bv-ligne); }
#maxx-bienvenue .bv-points strong { display: block; font-size: 15px; font-weight: 500; }
#maxx-bienvenue .bv-points small { display: block; margin-top: 2px; font-size: 13px; color: var(--bv-gris); line-height: 1.45; }
#maxx-bienvenue .bv-points li.tenu strong { font-weight: 400; color: var(--bv-gris); }
#maxx-bienvenue .bv-rond-vide { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #c4c4ca; }
#maxx-bienvenue .bv-rond-ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #e8f6ee; color: var(--bv-vert); font-size: 12px; }
#maxx-bienvenue .bv-pourquoi { border-radius: 18px; background: var(--bv-doux); padding: 4px 18px; }
#maxx-bienvenue .bv-pourquoi summary { cursor: pointer; padding: 12px 0; font-size: 14.5px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; }
#maxx-bienvenue .bv-pourquoi summary::-webkit-details-marker { display: none; }
#maxx-bienvenue .bv-pourquoi summary::after { content: "+"; color: var(--bv-gris); font-size: 18px; line-height: 1; }
#maxx-bienvenue .bv-pourquoi[open] summary::after { content: "–"; }
#maxx-bienvenue .bv-pourquoi p { margin: 0 0 14px; font-size: 14px; line-height: 1.6; color: var(--bv-gris); }

/* ---- 4. la visite */
#maxx-bienvenue .bv-slide { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 4vh; animation: bv-monte 460ms cubic-bezier(0.2, 0.8, 0.2, 1) both; }
#maxx-bienvenue .bv-slide h1 { font-size: 40px; }
#maxx-bienvenue .bv-points-nav { display: flex; gap: 8px; margin-top: 28px; }
#maxx-bienvenue .bv-points-nav button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: var(--bv-ligne); cursor: pointer; transition: width 300ms ease, background 300ms ease; }
#maxx-bienvenue .bv-points-nav button.on { width: 26px; background: var(--bv-encre); }
#maxx-bienvenue .bv-ill { aspect-ratio: 1; border-radius: 34px; background: var(--bv-doux); display: grid; place-items: center; padding: 12%; position: relative; overflow: hidden; }
#maxx-bienvenue .bv-ill .c { width: 100%; background: #fff; border-radius: 24px; padding: 26px 24px; box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.35); animation: bv-flotte 5s ease-in-out infinite; }
@keyframes bv-flotte { 50% { translate: 0 -6px; } }
#maxx-bienvenue .bv-ill .logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bv-encre); color: #fff; font-weight: 600; font-size: 18px; flex: none; }
#maxx-bienvenue .bv-ill.postuler .c > b { display: block; height: 12px; width: 70%; border-radius: 4px; background: var(--bv-encre); margin: 18px 0 8px; }
#maxx-bienvenue .bv-ill.postuler .c > i { display: block; height: 8px; width: 45%; border-radius: 4px; background: #d6d6db; }
#maxx-bienvenue .bv-ill.postuler p { display: flex; gap: 6px; margin: 16px 0 0; }
#maxx-bienvenue .bv-ill.postuler p s { height: 22px; width: 64px; border-radius: 999px; background: var(--bv-doux); }
#maxx-bienvenue .bv-ill.postuler .g { position: absolute; bottom: 9%; display: flex; gap: 14px; align-items: center; }
#maxx-bienvenue .bv-ill.postuler .g span { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 18px; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.3); }
#maxx-bienvenue .bv-ill.postuler .g span.bleu { width: 60px; height: 60px; background: var(--bv-bleu); color: #fff; font-size: 24px; animation: bv-pouls 2.4s ease-in-out infinite; }
@keyframes bv-pouls { 50% { box-shadow: 0 0 0 12px rgba(47, 107, 255, 0.12); } }
#maxx-bienvenue .bv-ill.relire .k { margin: 0 0 14px; font-size: 11px; letter-spacing: 0.18em; color: var(--bv-gris); }
#maxx-bienvenue .bv-ill.relire ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
#maxx-bienvenue .bv-ill.relire li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
#maxx-bienvenue .bv-ill.relire li svg { color: var(--bv-vert); }
#maxx-bienvenue .bv-ill.relire li.vide { color: var(--bv-gris); }
#maxx-bienvenue .bv-ill.relire li.vide i { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #c4c4ca; }
#maxx-bienvenue .bv-ill.relire .btn { display: flex; justify-content: center; padding: 14px; border-radius: 999px; background: var(--bv-encre); color: #fff; font-size: 14.5px; font-weight: 500; }
#maxx-bienvenue .bv-ill.suivre .c { text-align: center; padding: 34px 24px; }
#maxx-bienvenue .bv-ill.suivre .n { display: block; font-size: 84px; line-height: 1; font-weight: 500; letter-spacing: -0.05em; }
#maxx-bienvenue .bv-ill.suivre p { margin: 8px 0 22px; color: var(--bv-gris); font-size: 14.5px; }
#maxx-bienvenue .bv-ill.suivre .j { display: flex; justify-content: center; gap: 8px; }
#maxx-bienvenue .bv-ill.suivre .j i { width: 22px; height: 22px; border-radius: 50%; background: var(--bv-doux); }
#maxx-bienvenue .bv-ill.suivre .j i.on { background: var(--bv-encre); }
#maxx-bienvenue .bv-ill.suivre .j i.ici { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--bv-bleu); }
#maxx-bienvenue .bv-ill.boite .c { display: grid; gap: 4px; padding: 12px; }
#maxx-bienvenue .bv-ill.boite .r { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; }
#maxx-bienvenue .bv-ill.boite .r:first-child { background: var(--bv-doux); }
#maxx-bienvenue .bv-ill.boite .logo { width: 40px; height: 40px; font-size: 15px; }
#maxx-bienvenue .bv-ill.boite .r b { display: block; font-size: 14.5px; font-weight: 500; }
#maxx-bienvenue .bv-ill.boite .r s { display: block; height: 7px; width: 80%; margin-top: 7px; border-radius: 4px; background: #dcdce0; }
#maxx-bienvenue .bv-ill.boite em { font-family: inherit; font-style: normal; font-size: 12px; padding: 5px 10px; border-radius: 999px; }
#maxx-bienvenue .bv-ill.boite em.vert { background: #e8f6ee; color: #177a42; }
#maxx-bienvenue .bv-ill.boite em.bleu { background: #eef3ff; color: #1d4fd8; }
#maxx-bienvenue .bv-ill.boite em.gris { background: var(--bv-doux); color: var(--bv-gris); }

/* ---- 5. c'est prêt */
#maxx-bienvenue .bv-hero.fin { text-align: center; display: grid; justify-items: center; padding-top: 10vh; }
#maxx-bienvenue .bv-hero.fin .bv-lead { margin-left: auto; margin-right: auto; }
#maxx-bienvenue .bv-grand-ok { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--bv-encre); color: #fff; font-size: 36px; margin-bottom: 28px; animation: bv-pop 600ms cubic-bezier(0.2, 1.4, 0.4, 1) both; }
@keyframes bv-pop { from { scale: 0.4; opacity: 0; } }
#maxx-bienvenue .bv-scene.bv-fin .bv-actes { justify-content: center; }
#maxx-bienvenue .bv-scene.bv-fin .bv-actes > :last-child { margin-left: 0; }
#maxx-bienvenue .bv-scene.bv-fin .bv-actes > span:first-child { display: none; }

/* ---- le téléphone */
@media (max-width: 720px) {
  #maxx-bienvenue .bv-tete { grid-template-columns: auto 1fr auto; padding: 12px 16px 8px; gap: 12px; }
  #maxx-bienvenue .bv-marque b { display: none; }
  #maxx-bienvenue .bv-segments li { width: auto; flex: 1; }
  #maxx-bienvenue .bv-segments span { display: none; }
  #maxx-bienvenue .bv-tard { font-size: 13.5px; padding: 6px 4px; }
  #maxx-bienvenue .bv-corps { padding: 0 18px; }
  #maxx-bienvenue .bv-scene { padding-top: 18px; gap: 18px; }
  #maxx-bienvenue h1 { font-size: 28px; }
  #maxx-bienvenue .bv-hero { padding-top: 3vh; }
  #maxx-bienvenue .bv-hero h1 { font-size: 34px; }
  #maxx-bienvenue .bv-titre.petit h1 { font-size: 25px; }
  #maxx-bienvenue .bv-lead { font-size: 15.5px; }
  #maxx-bienvenue .bv-plan { margin-top: 24px; }
  #maxx-bienvenue .bv-boites { grid-template-columns: 1fr; gap: 12px; }
  #maxx-bienvenue .bv-boite { min-height: 0; padding: 22px 20px 20px; border-radius: 24px; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; row-gap: 4px; }
  #maxx-bienvenue .bv-boite .bv-icone { grid-row: 1 / span 3; width: 52px; height: 52px; border-radius: 16px; font-size: 23px; margin: 0; }
  #maxx-bienvenue .bv-boite strong { font-size: 19px; }
  #maxx-bienvenue .bv-boite > span:not(.bv-icone) { font-size: 14px; }
  #maxx-bienvenue .bv-duree { margin-top: 8px; justify-self: start; }
  #maxx-bienvenue .bv-depot { padding: 40px 20px; }
  #maxx-bienvenue .bv-grille { grid-template-columns: 1fr; gap: 12px; }
  #maxx-bienvenue .bv-carte { padding: 16px; border-radius: 20px; }
  #maxx-bienvenue .bv-modeles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  #maxx-bienvenue .bv-modele { padding: 8px 8px 12px; border-radius: 16px; }
  #maxx-bienvenue .bv-modele span { display: none; }
  #maxx-bienvenue .bv-modele strong { font-size: 13.5px; margin-top: 6px; }
  #maxx-bienvenue .bv-choisi { top: 6px; right: 6px; width: 22px; height: 22px; }
  #maxx-bienvenue .bv-ats-tete { grid-template-columns: 1fr; gap: 16px; justify-items: start; }
  #maxx-bienvenue .bv-anneau, #maxx-bienvenue .bv-anneau svg { width: 104px; height: 104px; }
  #maxx-bienvenue .bv-anneau b { font-size: 30px; }
  #maxx-bienvenue .bv-slide { grid-template-columns: 1fr; gap: 26px; padding-top: 0; }
  #maxx-bienvenue .bv-slide h1 { font-size: 30px; }
  #maxx-bienvenue .bv-ill { aspect-ratio: 1.15; border-radius: 28px; padding: 9% 14%; }
  #maxx-bienvenue .bv-ill .c { padding: 20px 18px; }
  #maxx-bienvenue .bv-ill.suivre .n { font-size: 64px; }
  #maxx-bienvenue .bv-points-nav { margin-top: 20px; }
  #maxx-bienvenue .bv-btn { min-height: 52px; padding: 0 22px; }
  #maxx-bienvenue .bv-actes { flex-wrap: wrap; }
  #maxx-bienvenue .bv-duo { flex: 1; justify-content: flex-end; }
  #maxx-bienvenue .bv-duo .bv-btn.second { padding: 0 16px; }
  #maxx-bienvenue .bv-langue { grid-template-columns: 1fr 1fr 32px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  #maxx-bienvenue *, #maxx-bienvenue { animation: none !important; transition: none !important; }
}
