@font-face { font-family: "Geist"; src: url("/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }

:root {
  --encre: #17161a;
  --encre-2: #4a4750;
  --doux: #7d7884;
  --ligne: rgba(23, 22, 26, .09);
  --verre: rgba(255, 255, 255, .62);
  --verre-fort: rgba(255, 255, 255, .84);
  --bord-verre: rgba(255, 255, 255, .85);
  --orange: #f06a1d;
  --chaud: #f0521d;
  --chaud-fond: #ffe6dc;
  --tiede: #d98a00;
  --tiede-fond: #fff1d1;
  --froid: #5e7590;
  --froid-fond: #e7edf4;
  --vert: #1f9d63;
  --vert-fond: #ddf4e8;
  --rouge: #d6334a;
  --ombre: 0 1px 1px rgba(30, 20, 40, .04), 0 10px 30px -12px rgba(60, 30, 50, .18);
  --ombre-forte: 0 2px 2px rgba(30, 20, 40, .05), 0 30px 60px -20px rgba(80, 30, 60, .28);
  --r: 22px;
  --serif: "Instrument Serif", "Times New Roman", serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font: 15.5px/1.5 "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--encre);
  background: #fbf4f2;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 2px; border-radius: 10px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ——— Fond immersif ——— */
.fond { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #fffaf8 0%, #fbf1ef 55%, #f7ece9 100%); }
.tache { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; animation: flotte 26s ease-in-out infinite alternate; }
.t1 { width: 46vw; height: 46vw; left: -10vw; top: -14vw; background: #ffd3df; }
.t2 { width: 40vw; height: 40vw; right: -8vw; top: 8vh; background: #ffe0c7; animation-duration: 31s; animation-delay: -8s; }
.t3 { width: 38vw; height: 38vw; left: 22vw; bottom: -18vw; background: #ece2ff; animation-duration: 35s; animation-delay: -14s; }
.t4 { width: 22vw; height: 22vw; right: 18vw; bottom: 6vh; background: #ffd9cc; opacity: .55; animation-duration: 22s; }
.grain { position: absolute; inset: 0; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes flotte { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(4vw, 3vh) scale(1.08); } 100% { transform: translate(-3vw, 5vh) scale(.95); } }
@media (prefers-reduced-motion: reduce) { .tache { animation: none; } * { transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* ——— Éléments communs ——— */
.verre { background: var(--verre); backdrop-filter: blur(26px) saturate(170%); -webkit-backdrop-filter: blur(26px) saturate(170%); border: 1px solid var(--bord-verre); box-shadow: var(--ombre); border-radius: var(--r); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 550; cursor: pointer; background: var(--encre); color: #fff; text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .45); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.clair { background: rgba(255, 255, 255, .85); color: var(--encre); box-shadow: inset 0 0 0 1px var(--ligne); }
.btn.orange { background: var(--orange); }
.btn.vert { background: var(--vert); }
.btn.petit { padding: 6px 13px; font-size: 13.5px; }
.btn.grand { padding: 14px 24px; font-size: 16.5px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.lien { background: none; border: 0; padding: 0; color: var(--encre-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }
.champ { display: grid; gap: 6px; }
.champ > span { font-size: 13px; font-weight: 550; color: var(--encre-2); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=datetime-local], input[type=date], input[type=time], input[type=search], select, textarea {
  width: 100%; border: 1px solid rgba(23, 22, 26, .12); background: rgba(255, 255, 255, .8); border-radius: 13px; padding: 11px 14px; outline: none; transition: border .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(240, 106, 29, .14); }
textarea { resize: vertical; min-height: 84px; }
.kbd, kbd { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 7px; background: #fff; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08), 0 0 0 1px rgba(0, 0, 0, .08); font: 600 12.5px/1 "Geist", system-ui; color: var(--encre-2); }
.pastille { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(23, 22, 26, .06); color: var(--encre-2); white-space: nowrap; }
.pastille.chaud { background: var(--chaud-fond); color: var(--chaud); }
.pastille.tiede { background: var(--tiede-fond); color: #a86600; }
.pastille.froid { background: var(--froid-fond); color: var(--froid); }
.pastille.vert { background: var(--vert-fond); color: var(--vert); }
.pastille.alerte { background: #ffe2e6; color: var(--rouge); }
.point { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.chaud .point { box-shadow: 0 0 0 0 rgba(240, 82, 29, .5); animation: pouls 2s infinite; }
@keyframes pouls { 70% { box-shadow: 0 0 0 7px rgba(240, 82, 29, 0); } 100% { box-shadow: 0 0 0 0 rgba(240, 82, 29, 0); } }
.vide { text-align: center; color: var(--doux); padding: 40px 20px; }
.vide b { display: block; color: var(--encre); font-size: 17px; margin-bottom: 4px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

/* ——— Connexion ——— */
.connexion { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.connexion-carte { width: min(410px, 100%); padding: 40px 34px 32px; text-align: center; animation: monte .7s cubic-bezier(.2, .8, .2, 1) both; }
.connexion-carte img { width: 58px; height: 58px; border-radius: 16px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4); }
.connexion-carte h1 { font-size: 30px; font-weight: 600; letter-spacing: -.03em; margin: 22px 0 4px; }
.connexion-carte p { color: var(--doux); margin: 0 0 26px; }
.connexion-carte form { display: grid; gap: 12px; text-align: left; }
.connexion-carte .btn { width: 100%; margin-top: 6px; padding: 13px; }
.erreur { color: var(--rouge); font-size: 14px; min-height: 20px; margin: 0; }
.connexion-pied { margin-top: 22px; font-size: 13px; color: var(--doux); }
@keyframes monte { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

/* ——— Barre du haut ——— */
.barre { position: relative; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 14px clamp(16px, 3vw, 32px); }
.barre .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -.02em; }
.barre .logo img { width: 30px; height: 30px; border-radius: 9px; }
.barre .logo small { font-weight: 450; color: var(--doux); }
@media (max-width: 520px) { .barre .logo small { display: none; } }
.barre .espace { flex: 1; }
.retour { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 10px; border-radius: 999px; text-decoration: none; font-weight: 550; font-size: 14px; background: var(--verre); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--bord-verre); }
.avatar-btn { display: flex; align-items: center; gap: 9px; border: 0; background: var(--verre); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px var(--bord-verre); border-radius: 999px; padding: 4px 12px 4px 4px; cursor: pointer; font-weight: 550; font-size: 14px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 650; font-size: 13px; color: #fff; background: linear-gradient(135deg, #ff9a6b, #f0521d 55%, #c2337a); }
.menu { position: absolute; right: clamp(16px, 3vw, 32px); top: 58px; width: 250px; padding: 8px; display: grid; animation: monte .25s both; z-index: 40; background: var(--verre-fort); }
.menu button, .menu a { text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 12px; cursor: pointer; text-decoration: none; display: flex; justify-content: space-between; align-items: center; font-size: 14.5px; }
.menu button:hover, .menu a:hover { background: rgba(23, 22, 26, .06); }
.menu hr { border: 0; border-top: 1px solid var(--ligne); margin: 6px 4px; }
.menu .qui { padding: 8px 12px 10px; font-size: 13px; color: var(--doux); }
.menu .qui b { display: block; color: var(--encre); font-size: 14.5px; }

/* ——— Accueil ——— */
.accueil { min-height: calc(100vh - 70px); min-height: calc(100dvh - 70px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 16px 60px; text-align: center; }
.accueil .date { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; color: var(--doux); animation: monte .6s both; }
.accueil h1 { font-size: clamp(38px, 6.4vw, 72px); line-height: 1.02; font-weight: 600; letter-spacing: -.045em; margin: 12px 0 10px; animation: monte .7s .05s both; }
.accueil h1 .serif { font-weight: 400; color: var(--orange); }
.accueil .resume { color: var(--encre-2); font-size: 17px; margin: 0 0 42px; max-width: 560px; animation: monte .7s .1s both; }
.tuiles { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); gap: clamp(14px, 2vw, 24px); width: 100%; justify-content: center; perspective: 1200px; }
.tuile { position: relative; aspect-ratio: 1 / 1.08; text-decoration: none; padding: 24px 22px 22px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; overflow: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; animation: monte .8s both; transform-style: preserve-3d; }
.tuile:nth-child(1) { animation-delay: .15s; } .tuile:nth-child(2) { animation-delay: .22s; } .tuile:nth-child(3) { animation-delay: .29s; }
.tuile:hover { transform: translateY(-6px) rotateX(3deg); box-shadow: var(--ombre-forte); }
.tuile::before { content: ""; position: absolute; inset: auto -30% -45% auto; width: 85%; aspect-ratio: 1; border-radius: 50%; filter: blur(30px); opacity: .55; transition: opacity .35s, transform .5s; }
.tuile:hover::before { opacity: .85; transform: scale(1.15); }
.tuile.f::before { background: #ffc5a3; } .tuile.c::before { background: #d9cdff; } .tuile.l::before { background: #ffb8c9; }
.tuile .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.tuile.f .ico { background: linear-gradient(145deg, #ffae73, #f06a1d); }
.tuile.c .ico { background: linear-gradient(145deg, #a58bff, #6b4fe0); }
.tuile.l .ico { background: linear-gradient(145deg, #ff86a6, #e0335e); }
.tuile .ico svg { width: 26px; height: 26px; }
.tuile > div { margin-top: auto; position: relative; }
.tuile h2 { margin: 0 0 4px; font-size: 24px; font-weight: 600; letter-spacing: -.03em; position: relative; }
.tuile p { margin: 0; color: var(--encre-2); font-size: 14px; position: relative; min-height: 42px; }
.tuile .touche { position: absolute; top: 20px; right: 20px; }
.tuile .badge { position: absolute; top: 18px; right: 18px; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--chaud); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; box-shadow: 0 6px 16px -6px var(--chaud); }
.admin-rang { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; justify-content: center; animation: monte .8s .36s both; }
.admin-rang a { text-decoration: none; }
.astuce { margin-top: 36px; display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 12px; max-width: 560px; text-align: left; font-size: 14px; color: var(--encre-2); animation: monte .8s .42s both; border-radius: 16px; }
.astuce .lampe { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: #fff3c4; color: #b07a00; }
.astuce button { flex: none; }
@media (max-width: 760px) {
  .tuiles { grid-template-columns: 1fr; max-width: 420px; }
  .tuile { aspect-ratio: auto; min-height: 128px; padding: 18px; flex-direction: row; align-items: center; gap: 16px; }
  .tuile h2 { margin: 0; font-size: 21px; } .tuile p { min-height: 0; } .tuile .touche { display: none; }
  .tuile > div { flex: 1; margin-top: 0; }
}

/* ——— Pages intérieures ——— */
.page { width: min(1240px, 100%); margin: 0 auto; padding: 4px clamp(16px, 3vw, 32px) 60px; animation: monte .45s both; }
.page-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 8px 0 22px; }
.page-tete h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.04em; font-weight: 600; line-height: 1.05; }
.page-tete p { margin: 6px 0 0; color: var(--encre-2); }
.puces { display: flex; gap: 8px; flex-wrap: wrap; }
.puce { border: 0; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px var(--ligne); cursor: pointer; font-size: 14px; font-weight: 550; display: inline-flex; gap: 7px; align-items: center; }
.puce[aria-pressed=true] { background: var(--encre); color: #fff; box-shadow: none; }
.puce .n { opacity: .6; font-weight: 500; }

/* ——— Contacts ——— */
.contacts { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 18px; align-items: start; }
.liste { padding: 10px; max-height: calc(100vh - 210px); max-height: calc(100dvh - 210px); overflow: auto; position: sticky; top: 76px; }
.liste .recherche { position: sticky; top: -10px; z-index: 2; padding: 0 0 10px; background: transparent; }
.ligne-contact { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; width: 100%; text-align: left; border: 0; background: transparent; padding: 12px; border-radius: 16px; cursor: pointer; transition: background .15s; }
.ligne-contact:hover { background: rgba(255, 255, 255, .7); }
.ligne-contact[aria-current=true] { background: #fff; box-shadow: var(--ombre); }
.ligne-contact .temp { grid-row: span 2; margin-top: 6px; }
.ligne-contact .temp.chaud { color: var(--chaud); } .ligne-contact .temp.tiede { color: var(--tiede); } .ligne-contact .temp.froid { color: #9fb0c3; }
.ligne-contact b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ligne-contact small { color: var(--doux); grid-column: 2 / 4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fiche { padding: clamp(20px, 3vw, 34px); min-height: 420px; }
.fiche-tete { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.fiche h2 { margin: 6px 0 2px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.035em; font-weight: 600; line-height: 1.1; }
.fiche .sous { color: var(--encre-2); margin: 0; }
.signal { margin: 18px 0; padding: 14px 16px; border-radius: 16px; background: linear-gradient(120deg, rgba(255, 230, 220, .9), rgba(255, 241, 209, .7)); display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.signal.froid { background: rgba(231, 237, 244, .8); }
.signal svg { flex: none; margin-top: 2px; color: var(--chaud); }
.actions-appel { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 6px; }
.tel-grand { font-size: 22px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.bloc { margin-top: 26px; }
.bloc h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--doux); margin: 0 0 10px; font-weight: 650; }
.statuts { display: flex; flex-wrap: wrap; gap: 8px; }
.statuts .puce[aria-pressed=true].vendu { background: var(--vert); }
.attente { margin: 16px 0; padding: 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--orange); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.attente p { margin: 0; flex: 1 1 240px; }
.historique { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.historique li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; padding: 8px 0; font-size: 14px; }
.historique li::before { content: ""; width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: #d8d2dc; box-shadow: 0 0 0 3px rgba(255, 255, 255, .8); }
.historique li.note::before { background: var(--orange); }
.historique li.statut::before { background: #6b4fe0; }
.historique small { color: var(--doux); display: block; }
.note-form { display: flex; gap: 8px; align-items: flex-end; }
.note-form textarea { min-height: 48px; }
.grille2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 900px) {
  .contacts { grid-template-columns: 1fr; }
  .liste { position: static; max-height: none; }
  .contacts.detail .liste { display: none; }
  .contacts:not(.detail) .fiche { display: none; }
}
@media (max-width: 560px) { .grille2 { grid-template-columns: 1fr; } }

/* ——— Tableaux admin ——— */
.carte-admin { padding: 22px; }
.carte-admin h2 { margin: 0 0 4px; font-size: 20px; letter-spacing: -.02em; }
.carte-admin > p { margin: 0 0 16px; color: var(--encre-2); font-size: 14.5px; }
.admin-grille { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; align-items: start; }
.admin-grille > div { display: grid; gap: 18px; }
@media (max-width: 960px) { .admin-grille { grid-template-columns: 1fr; } }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--ligne); vertical-align: middle; }
.table th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--doux); font-weight: 600; }
.table tr:last-child td { border-bottom: 0; }
.table select { padding: 6px 10px; border-radius: 10px; width: auto; }
.defile { overflow-x: auto; }
.rang { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.rang > * { flex: 1 1 140px; }
.rang > .btn { flex: 0 0 auto; }
.secret { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--vert); font-size: 14.5px; }
.secret code { font-size: 18px; font-weight: 650; letter-spacing: .02em; user-select: all; }

/* ——— Calendrier ——— */
.cal-outils { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cal-outils .periode { font-weight: 600; font-size: 17px; min-width: 190px; text-align: center; }
.cal { padding: 0; overflow: hidden; }
.cal-tete { display: grid; grid-template-columns: 56px repeat(7, 1fr); border-bottom: 1px solid var(--ligne); }
.cal-tete div { padding: 12px 8px; text-align: center; font-size: 13px; color: var(--doux); }
.cal-tete div b { display: block; font-size: 22px; color: var(--encre); font-weight: 600; letter-spacing: -.02em; }
.cal-tete div.aujourdhui b { color: #fff; background: var(--orange); width: 38px; height: 38px; line-height: 38px; border-radius: 50%; margin: 2px auto 0; }
.cal-corps { display: grid; grid-template-columns: 56px repeat(7, 1fr); position: relative; max-height: calc(100vh - 260px); max-height: calc(100dvh - 260px); overflow-y: auto; }
.cal-heures div { height: 52px; font-size: 11.5px; color: var(--doux); text-align: right; padding-right: 8px; transform: translateY(-7px); }
.cal-jour { position: relative; border-left: 1px solid var(--ligne); }
.cal-jour .creneau { height: 52px; border-bottom: 1px solid rgba(23, 22, 26, .045); cursor: pointer; }
.cal-jour .creneau:hover { background: rgba(240, 106, 29, .06); }
.cal-jour.weekend { background: rgba(23, 22, 26, .02); }
.evt { position: absolute; left: 4px; right: 4px; border-radius: 10px; padding: 5px 8px; font-size: 12.5px; line-height: 1.3; overflow: hidden; border: 0; text-align: left; cursor: pointer; color: #fff; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .4); }
.evt b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evt.appel { background: linear-gradient(160deg, #ff8a5c, #f0521d); }
.evt.visio { background: linear-gradient(160deg, #9a80ff, #6b4fe0); }
.evt.rappel { background: linear-gradient(160deg, #f6b73c, #d98a00); }
.evt.autre { background: linear-gradient(160deg, #7f8ea3, #4f5f76); }
.maintenant { position: absolute; left: 0; right: 0; height: 2px; background: var(--rouge); z-index: 3; pointer-events: none; }
.maintenant::before { content: ""; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--rouge); }
.cal-liste { display: none; }
@media (max-width: 760px) {
  .cal { display: none; }
  .cal-liste { display: grid; gap: 14px; }
  .cal-liste h3 { margin: 6px 0 2px; font-size: 15px; }
  .cal-liste .evt { position: static; display: block; width: 100%; padding: 10px 12px; font-size: 14px; }
}

/* ——— Fenêtre (modale) ——— */
.voile { position: fixed; inset: 0; z-index: 50; background: rgba(40, 25, 35, .22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fondu .2s both; }
.modale { width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow: auto; padding: 26px; background: var(--verre-fort); animation: monte .3s cubic-bezier(.2, .8, .2, 1) both; }
.modale h2 { margin: 0 0 16px; font-size: 22px; letter-spacing: -.025em; }
.modale form { display: grid; gap: 12px; }
.pied, .modale .pied { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
@keyframes fondu { from { opacity: 0; } }

/* ——— Visite guidée ——— */
.visite { width: min(680px, 100%); padding: 0; overflow: hidden; background: var(--verre-fort); }
.visite-image { height: 210px; display: grid; place-items: center; position: relative; overflow: hidden; background: linear-gradient(135deg, #ffe1d2, #ffd3df 50%, #e6ddff); }
.visite-image .grosse { font-size: 74px; line-height: 1; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .15)); }
.visite-image .mini-tuiles { display: flex; gap: 14px; }
.visite-image .mini-tuiles span { width: 76px; height: 82px; border-radius: 18px; background: rgba(255, 255, 255, .75); box-shadow: var(--ombre); display: grid; place-items: center; font-size: 30px; }
.visite-image .touches { display: grid; grid-template-columns: repeat(4, auto); gap: 10px 14px; align-items: center; font-size: 14px; text-align: left; }
.visite-corps { padding: 26px 30px 24px; }
.visite-corps h2 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.03em; }
.visite-corps p { margin: 0 0 8px; color: var(--encre-2); font-size: 15.5px; }
.visite-corps ul { margin: 6px 0 0; padding-left: 20px; color: var(--encre-2); }
.visite-pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 30px 24px; }
.points { display: flex; gap: 6px; }
.points i { width: 7px; height: 7px; border-radius: 50%; background: rgba(23, 22, 26, .15); transition: width .25s, background .25s; }
.points i.on { width: 22px; border-radius: 999px; background: var(--encre); }

/* ——— Formation : un parcours façon série ——— */
.theme-1 { --c1: #ffc09a; --c2: #ff6f91; --c3: #ffe3d3; }
.theme-2 { --c1: #c3b4ff; --c2: #6d4ff0; --c3: #ebe5ff; }
.theme-3 { --c1: #ffd36e; --c2: #f0611d; --c3: #fff0d6; }
.theme-4 { --c1: #8ee6cf; --c2: #1f9d87; --c3: #dcf7ef; }
.theme-5 { --c1: #a9c8ff; --c2: #4766d6; --c3: #e3ecff; }
.parcours { max-width: 1180px; }

.couv { position: relative; overflow: hidden; display: grid; place-items: center; border-radius: 18px; aspect-ratio: 16 / 10;
  background: radial-gradient(120% 90% at 15% 10%, rgba(255, 255, 255, .55), transparent 55%), linear-gradient(140deg, var(--c1), var(--c2)); }
.couv .rond { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.couv .r1 { width: 62%; aspect-ratio: 1; right: -16%; top: -30%; }
.couv .r2 { width: 34%; aspect-ratio: 1; left: -8%; bottom: -14%; background: rgba(255, 255, 255, .16); }
.couv .r3 { width: 9%; aspect-ratio: 1; left: 22%; top: 18%; background: rgba(255, 255, 255, .45); }
.couv { container-type: inline-size; }
.couv .emoji { position: relative; font-size: min(26cqw, 92px); line-height: 1; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .22)); transition: transform .5s cubic-bezier(.2, 1.4, .4, 1); }
.couv.grande { aspect-ratio: auto; min-height: 100%; border-radius: 28px 0 0 28px; }
.couv.grande .emoji { font-size: min(34cqw, 150px); animation: flotte-emoji 6s ease-in-out infinite; }
@keyframes flotte-emoji { 50% { transform: translateY(-10px) rotate(-4deg); } }

.vedette { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 340px; border-radius: 28px; margin: 8px 0 18px; overflow: hidden; background: rgba(255, 255, 255, .7); box-shadow: var(--ombre-forte); border: 1px solid var(--bord-verre); animation: monte .6s both; }
.vedette-texte { padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: linear-gradient(180deg, rgba(255, 255, 255, .5), var(--c3)); }
.vedette .surtitre { font-size: 12.5px; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; color: var(--c2); }
.vedette h1 { margin: 10px 0 10px; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.02; letter-spacing: -.045em; font-weight: 650; }
.vedette p { margin: 0 0 16px; color: var(--encre-2); font-size: 17px; }
.vedette .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.vedette .meta span { font-size: 13.5px; font-weight: 550; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .8); color: var(--encre-2); }
.btn.lancer { background: var(--c2); padding-left: 10px; box-shadow: 0 14px 30px -14px var(--c2); }
.btn.lancer .play { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .25); font-size: 12px; padding-left: 2px; }
.vedette:hover .couv .emoji { transform: scale(1.06); }
@media (max-width: 760px) {
  .vedette { grid-template-columns: 1fr; }
  .couv.grande { border-radius: 28px 28px 0 0; min-height: 190px; }
}

.chemin { display: flex; align-items: center; gap: 22px; padding: 16px 22px; margin-bottom: 34px; flex-wrap: wrap; animation: monte .6s .08s both; }
.chemin-texte { display: grid; }
.chemin-texte b { font-size: 15.5px; letter-spacing: -.01em; }
.chemin-texte span { color: var(--doux); font-size: 13.5px; }
.chemin-points { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 220px; justify-content: flex-end; }
.chemin-points .pt { flex: 1; max-width: 46px; height: 8px; border-radius: 99px; background: rgba(23, 22, 26, .09); transition: transform .2s; }
.chemin-points .pt:hover { transform: scaleY(1.6); }
.chemin-points .pt.fait { background: linear-gradient(90deg, var(--c1), var(--c2)); }
.chemin-points .pt.ici { background: rgba(23, 22, 26, .09); box-shadow: inset 0 0 0 2px var(--c2); animation: clignote 1.8s ease-in-out infinite; }
@keyframes clignote { 50% { box-shadow: inset 0 0 0 2px transparent; } }

.chapitre { margin-bottom: 34px; animation: monte .6s .12s both; }
.chapitre-tete { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.chapitre-tete h2 { margin: 0; font-size: 22px; letter-spacing: -.03em; font-weight: 650; }
.chapitre-tete div span { color: var(--doux); font-size: 13.5px; }
.puce-emoji { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 25px; background: linear-gradient(140deg, var(--c1), var(--c2)); box-shadow: 0 10px 20px -12px var(--c2); flex: none; }
.chapitre-tete .etat { margin-left: auto; font-size: 13px; font-weight: 650; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .75); color: var(--encre-2); }
.chapitre-tete .etat.complet { background: var(--vert-fond); color: var(--vert); }
.episodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.episode { position: relative; display: grid; gap: 4px; text-decoration: none; padding: 10px 10px 16px; border-radius: 24px; transition: background .25s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.episode:hover { background: rgba(255, 255, 255, .6); transform: translateY(-4px); }
.episode:hover .couv .emoji { transform: scale(1.12) rotate(-6deg); }
.episode .couv { margin-bottom: 8px; box-shadow: 0 16px 30px -20px rgba(60, 20, 50, .5); }
.episode .duree { position: absolute; left: 20px; top: 20px; font-size: 12px; font-weight: 650; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .85); color: var(--encre); }
.episode .a-suivre { position: absolute; right: 20px; top: 20px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--encre); color: #fff; }
.episode .vu-badge { position: absolute; right: 20px; top: 20px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--vert); color: #fff; box-shadow: 0 6px 14px -6px var(--vert); }
.episode.vu .couv { filter: saturate(.75); }
.episode .ep-num { font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--doux); padding: 0 4px; }
.episode b { font-size: 17.5px; letter-spacing: -.02em; font-weight: 620; line-height: 1.25; padding: 0 4px; }
.episode small { color: var(--doux); font-size: 14px; padding: 0 4px; }
@media (max-width: 760px) {
  .episodes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .episode { flex: 0 0 78%; scroll-snap-align: start; }
  .chemin-points { justify-content: flex-start; }
}

/* Le lecteur prend la couleur du chapitre */
.lecteur .diapo { position: relative; overflow: hidden; }
.lecteur .diapo::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.lecteur .diapo .surtitre { color: var(--c2); }
.lecteur .diapo li::before { background: var(--c2); }
.lecteur .segments i.fait::after, .lecteur .segments i.on::after { background: linear-gradient(90deg, var(--c1), var(--c2)); }
.lecteur .btn.orange { background: var(--c2); }

.lecteur { min-height: calc(100vh - 70px); min-height: calc(100dvh - 70px); display: flex; flex-direction: column; align-items: center; padding: 0 16px 40px; }
.segments { display: flex; gap: 5px; width: min(760px, 100%); margin: 6px 0 26px; }
.segments i { flex: 1; height: 5px; border-radius: 99px; background: rgba(23, 22, 26, .1); overflow: hidden; position: relative; }
.segments i.fait::after, .segments i.on::after { content: ""; position: absolute; inset: 0; background: var(--encre); border-radius: inherit; }
.segments i.on::after { animation: remplit .5s both; transform-origin: left; }
@keyframes remplit { from { transform: scaleX(0); } }
.diapo { width: min(760px, 100%); padding: clamp(26px, 4vw, 48px); animation: glisse .45s cubic-bezier(.2, .8, .2, 1) both; }
.diapo.arriere { animation-name: glisse-arriere; }
@keyframes glisse { from { opacity: 0; transform: translateX(30px); } }
@keyframes glisse-arriere { from { opacity: 0; transform: translateX(-30px); } }
.diapo .surtitre { font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); font-weight: 650; }
.diapo h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.08; letter-spacing: -.04em; margin: 10px 0 16px; font-weight: 600; }
.diapo p { font-size: 17px; color: var(--encre-2); margin: 0 0 12px; line-height: 1.6; }
.diapo ul { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 10px; }
.diapo li { position: relative; padding-left: 28px; font-size: 16.5px; color: var(--encre-2); line-height: 1.5; }
.diapo li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 9px; height: 9px; border-radius: 3px; background: var(--orange); transform: rotate(45deg); }
.diapo li b, .diapo p b { color: var(--encre); }
.replique { margin: 14px 0; padding: 16px 18px; border-radius: 18px 18px 18px 6px; background: #fff; box-shadow: var(--ombre); font-size: 16.5px; line-height: 1.55; position: relative; }
.replique small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--doux); font-weight: 650; margin-bottom: 4px; }
.replique.client { background: #f3eef5; border-radius: 18px 18px 6px 18px; margin-left: clamp(0px, 8%, 60px); }
.tableau-prix { width: 100%; border-collapse: collapse; margin: 6px 0 12px; font-size: 15.5px; }
.tableau-prix td { padding: 10px 4px; border-bottom: 1px solid var(--ligne); }
.tableau-prix td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.encadre { padding: 14px 16px; border-radius: 16px; background: rgba(255, 243, 196, .7); font-size: 15px; color: #6b5200; margin-top: 8px; }
.encadre.rouge { background: #ffe8ea; color: #8c1d2c; }
.quiz-options { display: grid; gap: 10px; margin-top: 10px; }
.option { text-align: left; border: 0; padding: 15px 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ligne); cursor: pointer; font-size: 16px; transition: box-shadow .15s, transform .15s, background .2s; display: flex; gap: 12px; align-items: center; }
.option:hover:not([disabled]) { box-shadow: inset 0 0 0 1.5px var(--encre); transform: translateY(-1px); }
.option .lettre { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-weight: 650; font-size: 13px; background: rgba(23, 22, 26, .06); }
.option.juste { background: var(--vert-fond); box-shadow: inset 0 0 0 2px var(--vert); }
.option.juste .lettre { background: var(--vert); color: #fff; }
.option.faux { background: #ffeef0; box-shadow: inset 0 0 0 2px var(--rouge); }
.option[disabled] { cursor: default; }
.explication { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .8); font-size: 15px; color: var(--encre-2); animation: monte .3s both; }
.lecteur-pied { width: min(760px, 100%); display: flex; justify-content: space-between; align-items: center; margin-top: 18px; gap: 10px; }
.lecteur-pied .aide { font-size: 13px; color: var(--doux); display: flex; gap: 6px; align-items: center; }
@media (max-width: 560px) { .lecteur-pied .aide { display: none; } }
.bravo { text-align: center; }
.bravo .coche { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--vert); color: #fff; box-shadow: 0 18px 40px -14px var(--vert); animation: saute .6s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes saute { from { transform: scale(.3); opacity: 0; } }
.bravo .score { font-size: 15px; color: var(--doux); }

/* ——— Notifications ——— */
#toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 80; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { background: var(--encre); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14.5px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); animation: monte .3s both; }
.toast.erreur { background: var(--rouge); }
.chargement { display: grid; place-items: center; min-height: 50vh; color: var(--doux); }

/* ——— Entrée : chargement après la connexion ——— */
.entree { position: fixed; inset: 0; z-index: 90; display: grid; place-content: center; justify-items: center; text-align: center; padding: 24px 16px; }
.chargement-entree { background: radial-gradient(120% 90% at 50% 0%, #fffaf8, #fbefee 60%, #f5e8ee); animation: fondu .3s both; }
.entree-logo { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.entree-logo img { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .45); animation: respire 1.6s ease-in-out infinite; }
.entree-anneau { position: absolute; inset: 0; transform: rotate(-90deg); }
.entree-anneau circle { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: trace 1.5s cubic-bezier(.6, .1, .2, 1) forwards; }
.entree-texte { margin: 22px 0 0; color: var(--encre-2); font-weight: 550; letter-spacing: -.01em; animation: monte .6s .2s both; }
.entree.sort { animation: sortie .6s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes respire { 50% { transform: scale(1.06); } }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes sortie { to { opacity: 0; transform: scale(1.06); filter: blur(8px); } }

/* ——— Entrée : « touchez pour activer le son » ——— */
.porte { background: #160f17; color: #fff; overflow: hidden; opacity: 0; transition: opacity .6s; }
.porte.visible { opacity: 1; }
.porte-fond { position: absolute; inset: 0; z-index: -1; }
.porte-fond i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .7; animation: flotte 18s ease-in-out infinite alternate; }
.porte-fond i:nth-child(1) { width: 60vmax; height: 60vmax; left: -20vmax; top: -25vmax; background: #ff5f8f; }
.porte-fond i:nth-child(2) { width: 50vmax; height: 50vmax; right: -18vmax; bottom: -20vmax; background: #f06a1d; animation-delay: -6s; }
.porte-fond i:nth-child(3) { width: 36vmax; height: 36vmax; left: 30%; top: 40%; background: #6d4ff0; opacity: .45; animation-delay: -11s; }
.porte-sur { text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 650; opacity: .7; margin: 0; animation: monte .8s .2s both; }
.porte h1 { font-size: clamp(40px, 8vw, 84px); line-height: 1; letter-spacing: -.05em; font-weight: 600; margin: 14px 0 14px; animation: monte .9s .35s both; }
.porte h1 .serif { color: #ffc2a1; }
.porte-sous { margin: 0 0 40px; opacity: .78; font-size: 17px; line-height: 1.5; animation: monte .9s .5s both; }
.porte-bouton { position: relative; width: 132px; height: 132px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .95); color: #160f17; display: grid; place-items: center; box-shadow: 0 20px 60px -10px rgba(255, 120, 140, .7); animation: monte .9s .65s both; transition: transform .2s; }
.porte-bouton:hover { transform: scale(1.05); }
.porte-bouton:active { transform: scale(.96); }
.porte-play { font-size: 34px; padding-left: 6px; position: relative; z-index: 1; }
.porte-onde { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: onde 2.4s ease-out infinite; }
.porte-onde.d2 { animation-delay: 1.2s; }
@keyframes onde { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
.porte-aide { margin: 26px 0 0; font-weight: 600; font-size: 15px; animation: monte .9s .8s both; }
.porte-sans, .porte-passer { background: none; border: 0; color: rgba(255, 255, 255, .7); cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; margin-top: 14px; }
.porte-passer { position: absolute; top: 18px; right: 18px; margin: 0; text-decoration: none; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.porte.sort { animation: porte-sortie .6s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes porte-sortie { to { opacity: 0; transform: scale(1.12); filter: blur(10px); } }

/* ——— La visite : projecteur, curseur, sous-titres ——— */
.tour { position: fixed; inset: 0; z-index: 85; opacity: 0; transition: opacity .4s; }
.tour.visible { opacity: 1; }
.tour-en-cours body { overflow: hidden; }
.tour-legende { position: fixed; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(640px, calc(100% - 24px)); padding: 18px 20px 14px; border-radius: 24px; background: rgba(22, 14, 24, .86); color: #fff; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); transition: top .5s, bottom .5s, opacity .3s; z-index: 3; }
.tour-legende.en-haut { bottom: auto; top: max(16px, env(safe-area-inset-top)); }
.tour-legende.change { opacity: .4; }
.tour-texte { margin: 0 0 14px; font-size: clamp(16px, 2vw, 19px); line-height: 1.5; letter-spacing: -.01em; min-height: 3em; }
.tour-texte span { display: inline-block; }
.tour-texte.apparait span { animation: mot .45s calc(var(--k) * 45ms) both; }
@keyframes mot { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } }
.tour-onde { display: flex; gap: 3px; height: 16px; align-items: center; margin-bottom: 10px; }
.tour-onde i { width: 3px; height: 4px; border-radius: 3px; background: #ffb48f; transition: height .2s; }
.tour.parle .tour-onde i { animation: barre-son .9s ease-in-out infinite; }
.tour.parle .tour-onde i:nth-child(2) { animation-delay: .15s; } .tour.parle .tour-onde i:nth-child(3) { animation-delay: .3s; } .tour.parle .tour-onde i:nth-child(4) { animation-delay: .45s; } .tour.parle .tour-onde i:nth-child(5) { animation-delay: .6s; }
.tour.en-pause .tour-onde i { animation-play-state: paused; }
@keyframes barre-son { 50% { height: 16px; } }
.tour-bas { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tour-points { display: flex; gap: 4px; flex-wrap: wrap; }
.tour-points i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .25); transition: width .3s; }
.tour-points i.fait { background: rgba(255, 255, 255, .6); }
.tour-points i.on { width: 18px; border-radius: 99px; background: #ffb48f; }
.tour-boutons { display: flex; gap: 6px; align-items: center; flex: none; }
.tour-btn { border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 13px; }
.tour-btn.texte { width: auto; padding: 0 14px; border-radius: 999px; font-weight: 600; }
.tour-btn:hover { background: rgba(255, 255, 255, .22); }
.tour-legende.finale { top: 50%; bottom: auto; transform: translate(-50%, -50%); text-align: center; padding: 34px 26px 26px; animation: centre .5s both; }
@keyframes centre { from { opacity: 0; transform: translate(-50%, -44%); } }
.tour-fin h2 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -.035em; margin: 0 0 8px; }
.tour-fin p { opacity: .8; margin: 0 0 22px; }
.tour-fin .tour-boutons { justify-content: center; gap: 10px; flex-wrap: wrap; }
.tour-coche { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; background: var(--vert); animation: saute .6s cubic-bezier(.2, 1.6, .4, 1) both; }

/* ——— Visite : boutons et mises en scène ——— */
.tour-btn[disabled] { opacity: .3; pointer-events: none; }
.tour-sep { width: 1px; height: 20px; background: rgba(255, 255, 255, .18); margin: 0 4px; }
@media (max-width: 520px) { .tour-bas { flex-direction: column; align-items: stretch; } .tour-boutons { justify-content: space-between; } .tour-sep { display: none; } }

/* Un contact chaud qui arrive */
.demo-notif { position: fixed; z-index: 86; top: 18px; left: 50%; transform: translateX(-50%);
  --dy: -30px; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; width: min(420px, calc(100% - 24px)); padding: 14px 18px; border-radius: 20px; background: #fff; color: var(--encre); box-shadow: 0 24px 50px -16px rgba(240, 82, 29, .55), 0 0 0 1px rgba(240, 82, 29, .15); animation: notif-entre .55s cubic-bezier(.2, 1.3, .4, 1) both; }
.demo-notif .point { grid-row: span 2; width: 14px; height: 14px; border-radius: 50%; background: var(--chaud); animation: pouls-fort 1.2s infinite; }
.demo-notif b { font-size: 15px; } .demo-notif span:last-child { font-size: 13.5px; color: var(--encre-2); }
.demo-notif.bas { top: auto; bottom: max(22px, env(safe-area-inset-bottom)); --dy: 30px; }
.demo-notif.sort { animation: notif-sort .5s ease-in forwards; }
@keyframes notif-entre { from { opacity: 0; transform: translate(-50%, var(--dy)) scale(.9); } }
@keyframes notif-sort { to { opacity: 0; transform: translate(-50%, var(--dy)) scale(.95); } }
@keyframes pouls-fort { 0% { box-shadow: 0 0 0 0 rgba(240, 82, 29, .6); } 70% { box-shadow: 0 0 0 14px rgba(240, 82, 29, 0); } 100% { box-shadow: 0 0 0 0 rgba(240, 82, 29, 0); } }
.ligne-contact.demo-arrivee { background: #fff; box-shadow: 0 0 0 2px var(--chaud), 0 14px 30px -14px rgba(240, 82, 29, .6); animation: arrive .7s cubic-bezier(.2, 1.2, .4, 1) both, lueur 1.6s 0.7s ease-in-out 3; cursor: default; }
.ligne-contact.demo-arrivee .point { width: 11px; height: 11px; animation: pouls-fort 1.2s infinite; }
@keyframes arrive { from { opacity: 0; transform: translateY(-26px) scale(.94); max-height: 0; padding-block: 0; } to { max-height: 120px; } }
@keyframes lueur { 50% { box-shadow: 0 0 0 2px var(--chaud), 0 0 0 9px rgba(240, 82, 29, .18), 0 14px 30px -14px rgba(240, 82, 29, .6); } }

/* Des rendez-vous qui remplissent la semaine, puis s'envolent */
.evt.demo-rdv { pointer-events: none; z-index: 2; animation: bulle .5s calc(var(--k) * 120ms + 600ms) cubic-bezier(.2, 1.6, .4, 1) both; }
.evt.demo-rdv.deja { animation: none; }
.evt.demo-rdv.envol { animation: envol .7s calc(var(--k) * 60ms) cubic-bezier(.5, 0, .8, .4) forwards; }
@keyframes bulle { from { opacity: 0; transform: scale(.3); } 60% { transform: scale(1.08); } }
@keyframes envol { to { opacity: 0; transform: translateY(-60px) scale(.5) rotate(-6deg); } }
.demo-semaine { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.demo-semaine .evt { position: static; display: block; padding: 8px 10px; font-size: 12.5px; border-radius: 12px; }

/* ——— Visite v2 : projecteur flouté, halo, caméra, curseur ——— */
.tour-voile { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(75% 75% at var(--cx, 50%) var(--cy, 50%), rgba(30, 14, 32, .38), rgba(14, 7, 18, .8)); backdrop-filter: blur(3.5px) saturate(.6); -webkit-backdrop-filter: blur(3.5px) saturate(.6); }
.tour.sans-clip .tour-voile { display: none; }
.tour.sans-clip .tour-lueur { box-shadow: 0 0 0 200vmax rgba(14, 7, 18, .72), 0 0 40px 10px rgba(255, 130, 90, .4); }
.tour-lueur, .tour-anneau, .tour-eclat { position: fixed; left: 0; top: 0; z-index: 2; pointer-events: none; transition: opacity .35s; }
.tour-lueur { box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 0 34px 6px rgba(255, 128, 90, .42), 0 0 90px 24px rgba(255, 95, 143, .22); animation: lueur-tour 2.6s ease-in-out infinite; }
@keyframes lueur-tour { 50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 0 46px 10px rgba(255, 140, 90, .55), 0 0 120px 34px rgba(165, 139, 255, .3); } }
.tour-anneau { padding: 3px; overflow: hidden; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; }
.tour-anneau::before { content: ""; position: absolute; left: 50%; top: 50%; width: var(--d, 600px); height: var(--d, 600px); margin: calc(var(--d, 600px) / -2) 0 0 calc(var(--d, 600px) / -2); background: conic-gradient(from 0deg, #ffb27a, #ff5f8f, #a58bff, #6dd3ff, #ffd36e, #ffb27a); animation: tourne 3.2s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.tour-eclat { overflow: hidden; }
.tour-eclat i { position: absolute; top: -30%; bottom: -30%; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); opacity: 0; }
.tour-eclat.balaye i { animation: balaye 1.1s .05s cubic-bezier(.4, 0, .2, 1); }
@keyframes balaye { 0% { left: -60%; opacity: 1; } 100% { left: 130%; opacity: 1; } }
.tour.en-pause .tour-anneau::before, .tour.en-pause .tour-lueur { animation-play-state: paused; }
.tour-en-cours #app { transition: transform .85s cubic-bezier(.65, 0, .25, 1), transform-origin .85s cubic-bezier(.65, 0, .25, 1); }
.tour-en-cours .page { animation: none; }

.tour-curseur { position: fixed; left: 0; top: 0; z-index: 4; width: 30px; height: 30px; margin: -3px 0 0 -5px; opacity: 0; pointer-events: none; transition: transform var(--duree, 700ms) cubic-bezier(.65, 0, .25, 1), opacity .3s; }
.tour-curseur.visible { opacity: 1; }
.tour-curseur svg { display: block; width: 30px; height: 30px; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .45)); transform-origin: 5px 3px; }
.tour-curseur.clic svg { animation: presse .38s ease; }
@keyframes presse { 40% { transform: scale(.8); } }
.tour-onde-clic { position: absolute; left: 5px; top: 3px; width: 0; height: 0; }
.tour-onde-clic::before, .tour-onde-clic::after { content: ""; position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #ffb27a; opacity: 0; }
.tour-curseur.clic .tour-onde-clic::before { animation: onde-clic .6s ease-out; }
.tour-curseur.clic .tour-onde-clic::after { animation: onde-clic .6s .12s ease-out; }
@keyframes onde-clic { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* Les cartes chaud / tiède / froid */
.tour-panneau { position: fixed; z-index: 3; left: 50%; top: 44%; transform: translate(-50%, -50%); width: min(560px, calc(100% - 24px)); display: grid; gap: 12px; animation: centre .5s both; }
.tp-titre { margin: 0 0 4px; text-align: center; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .16em; font-weight: 650; opacity: .85; }
.temp-carte { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 16px 20px; border-radius: 20px; background: #fff; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); opacity: .55; transform: scale(.95); filter: grayscale(.8); transition: opacity .5s, transform .6s cubic-bezier(.2, 1.4, .4, 1), filter .5s, box-shadow .5s; }
.temp-carte > * { opacity: .4; transition: opacity .5s; }
.temp-carte.on, .temp-carte.on > * { opacity: 1; }
.temp-carte.on { transform: none; filter: none; }
.temp-carte.chaud.on { box-shadow: 0 0 0 2px var(--chaud), 0 22px 44px -16px rgba(240, 82, 29, .7); }
.temp-carte.tiede.on { box-shadow: 0 0 0 2px #e9a100, 0 22px 44px -16px rgba(217, 138, 0, .55); }
.temp-carte.froid.on { box-shadow: 0 0 0 2px #9fb0c3, 0 22px 44px -16px rgba(94, 117, 144, .5); }
.tp-ico { font-size: 38px; line-height: 1; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .2)); }
.temp-carte.on .tp-ico { animation: saute .6s cubic-bezier(.2, 1.6, .4, 1); }
.temp-carte b { display: block; font-size: 16.5px; letter-spacing: -.01em; margin: 6px 0 2px; color: var(--encre); }
.temp-carte small { color: var(--doux); font-size: 13.5px; }
.temp-carte.chaud .point { animation: pouls-fort 1.2s infinite; }
@media (max-width: 760px) {
  .tour-panneau { top: 14px; transform: translateX(-50%); animation: none; gap: 8px; }
  .temp-carte { padding: 11px 14px; gap: 12px; } .tp-ico { font-size: 28px; } .temp-carte b { font-size: 15px; }
}

/* ——— Formation v3 ——— */
.theme-6 { --c1: #ffb3dc; --c2: #b03cf0; --c3: #f6e4ff; }
/* Carrousel d'exemples */
.carrousel { margin: 10px 0 14px; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px var(--ligne); }
.car-tete { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.car-fleche { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: #fff; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .3), inset 0 0 0 1px var(--ligne); color: var(--encre); transition: transform .15s; }
.car-fleche:hover { transform: scale(1.08); }
.car-titres { flex: 1; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.car-titres::-webkit-scrollbar { display: none; }
.car-titre { flex: none; border: 0; cursor: pointer; padding: 7px 13px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: transparent; color: var(--encre-2); }
.car-titre[aria-pressed="true"] { background: var(--c2, var(--encre)); color: #fff; box-shadow: 0 6px 14px -8px var(--c2, #000); }
.carrousel > .ex { animation: glisse .4s cubic-bezier(.2, .8, .2, 1) both; }
.carrousel > .ex.arriere { animation-name: glisse-arriere; }
.carrousel > .ex > :first-child { margin-top: 0; }
.car-points { display: flex; justify-content: center; gap: 5px; margin-top: 10px; }
.car-points i { width: 6px; height: 6px; border-radius: 99px; background: rgba(23, 22, 26, .15); transition: width .25s, background .25s; }
.car-points i.on { width: 18px; background: var(--c2, var(--encre)); }
.tableau-qo td { font-size: 14.5px; vertical-align: top; }
.tableau-qo td:first-child { color: var(--doux); text-decoration: line-through; text-decoration-color: rgba(214, 51, 74, .5); font-weight: 400; text-align: left; white-space: normal; }
.tableau-qo td:last-child { text-align: left; white-space: normal; font-weight: 600; color: var(--encre); }
.fil { font-weight: 650; color: var(--c2); font-size: 15.5px !important; letter-spacing: -.01em; }

/* Une diapo de la présentation client, en miniature */
.dp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; align-items: start; }
.dp-notes h4 { margin: 0 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--c2); }
.dp-notes p { font-size: 15px !important; margin: 0 0 12px !important; }
.mini { aspect-ratio: 16 / 10; border-radius: 14px; padding: 7% 7%; display: flex; flex-direction: column; justify-content: center; gap: 6px; position: relative; overflow: hidden; background: radial-gradient(80% 90% at 90% 0%, rgba(255, 190, 160, .55), transparent 60%), radial-gradient(70% 80% at 0% 100%, rgba(200, 180, 255, .45), transparent 60%), #f7f3ef; box-shadow: 0 18px 36px -20px rgba(40, 20, 40, .5), inset 0 0 0 1px rgba(0, 0, 0, .05); font-size: 12px; color: var(--encre); }
.mini b { font-size: 15px; letter-spacing: -.02em; line-height: 1.15; }
.mini small { color: var(--doux); font-size: 10.5px; }
.mini i { font-style: normal; color: var(--doux); font-size: 10.5px; }
.mini-couv b { font-size: 18px; }
.mini-cartes { flex-direction: row; align-items: stretch; gap: 8px; }
.mini-cartes span { flex: 1; display: grid; place-items: center; text-align: center; padding: 10px 4px; border-radius: 10px; background: #fff; font-weight: 650; font-size: 11.5px; box-shadow: 0 6px 12px -8px rgba(0, 0, 0, .3); }
.mini-liste span { padding: 5px 8px; border-radius: 8px; background: rgba(255, 255, 255, .8); font-size: 11px; }
.mini-liste em { font-style: normal; font-weight: 650; color: var(--c2); font-size: 11.5px; }
.mini-chiffre { align-items: center; text-align: center; }
.mini-chiffre b { font-size: 38px; color: var(--c2); }
.mini-ecran .faux-ecran { flex: 1; border-radius: 8px; background: linear-gradient(180deg, #fff, #f0ecf4); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); background-image: linear-gradient(90deg, rgba(23, 22, 26, .06) 0 30%, transparent 30%), linear-gradient(180deg, transparent 0 18%, rgba(23, 22, 26, .05) 18% 20%, transparent 20%); }
.mini-etapes { flex-direction: row; align-items: center; gap: 4px; }
.mini-etapes span { flex: 1; text-align: center; font-size: 9.5px; font-weight: 650; padding: 14px 2px; border-radius: 8px; background: #fff; position: relative; }
.mini-etapes span:first-child { background: var(--c2); color: #fff; }
.mini-formules { flex-direction: row; gap: 10px; align-items: stretch; }
.mini-formules span { flex: 1; display: grid; gap: 4px; align-content: center; text-align: center; border-radius: 10px; background: #fff; font-size: 16px; font-weight: 650; padding: 8px; }
.mini-formules span b { font-size: 12px; }
.mini-formules .reco { background: var(--encre); color: #fff; }
.mini-formules em { font-style: normal; font-size: 9.5px; color: #ffc2a1; }
@media (max-width: 640px) { .dp { grid-template-columns: 1fr; } }

/* Boîte à réponses */
.br-entree { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 14px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.br-entree:hover { transform: translateY(-2px); box-shadow: var(--ombre-forte); }
.br-entree > span:nth-child(2) { flex: 1; display: grid; }
.br-entree small { color: var(--doux); }
.br-ico { font-size: 28px; }
.br-page { padding: 20px; }
.br-recherche input { font-size: 16px; padding: 14px 16px; border-radius: 16px; }
.br-tags { margin: 12px 0 16px; }
.br-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.br-carte { background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .35), inset 0 0 0 1px var(--ligne); }
.br-tete h3 { margin: 8px 0 10px; font-size: 17px; letter-spacing: -.02em; }
.br-carte ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14.5px; color: var(--encre-2); }
.br-carte li::marker { color: var(--orange); font-weight: 700; }
.br-conseil { margin: 12px 0 0; font-size: 13.5px; color: #6b5200; background: rgba(255, 243, 196, .7); padding: 8px 12px; border-radius: 12px; }
.modale.modale-large { width: min(980px, 100%); }
.br-modale-tete { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.br-modale-tete h2 { margin: 0; }

/* ——— Diapos de la présentation client, dessinées à 1920 × 1080 puis réduites (style du diaporama Établi) ——— */
.dp { display: grid; grid-template-columns: 1fr; gap: 16px; }
.dp-texte { background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: inset 0 0 0 1.5px var(--c1, #ffc09a), 0 10px 26px -18px rgba(0, 0, 0, .3); }
.dp-texte h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--c2); }
.dp-texte p { font-size: 16px !important; line-height: 1.6 !important; color: var(--encre) !important; margin: 0 0 8px !important; }
.dp-texte p:last-child { margin-bottom: 0 !important; }
.mini-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; box-shadow: 0 22px 44px -22px rgba(30, 15, 35, .55), 0 0 0 1px rgba(0, 0, 0, .06); background: #fff; }
.diapo .ds-slide { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; transform: scale(var(--s, .34)); box-sizing: border-box; padding: 112px 128px 150px; display: flex; flex-direction: column; background: #fff; color: #111113; font-family: "Geist", Inter, Arial, sans-serif; overflow: hidden; }
.diapo .ds-slide.ds-pearl { background: #F5F5F7; }
.diapo .ds-slide .ds-foot { position: absolute; left: 128px; right: 128px; bottom: 60px; display: flex; justify-content: space-between; align-items: center; }
.diapo .ds-slide .ds-foot .ds-brand { display: flex; align-items: center; gap: 14px; font-size: 26px; font-weight: 700; letter-spacing: -.5px; }
.diapo .ds-slide .ds-foot .ds-brand svg { width: 34px; height: 34px; }
.diapo .ds-slide .ds-foot .ds-pg { font-size: 24px; color: #5F5F66; }
.diapo .ds-slide .ds-eyebrow { font-size: 28px; font-weight: 600; color: #C2410C; margin: 0 0 22px; letter-spacing: 0; }
.diapo .ds-slide .ds-title { font-size: 70px; font-weight: 650; letter-spacing: -2.5px; line-height: 1.05; margin: 0 0 22px; max-width: 1500px; }
.diapo .ds-slide .ds-title-s { font-size: 60px; }
.diapo .ds-slide .ds-lead { font-size: 31px; line-height: 1.4; color: #5F5F66; margin: 0 0 48px; max-width: 1350px; }
.diapo .ds-slide .ds-cover { background: radial-gradient(60% 70% at 92% 8%, rgba(255, 182, 138, .55), transparent 60%), radial-gradient(55% 65% at 0% 100%, rgba(196, 181, 253, .45), transparent 60%), #F7F5F2; }
.diapo .ds-slide .ds-cover-top { display: flex; }
.diapo .ds-slide .ds-chip { font-size: 26px; font-weight: 600; padding: 12px 24px; border-radius: 40px; background: #fff; box-shadow: 0 10px 30px -14px rgba(17, 17, 19, .25); }
.diapo .ds-slide .ds-cover-body { margin-top: auto; }
.diapo .ds-slide .ds-hero { font-size: 128px; font-weight: 650; letter-spacing: -5px; line-height: 1; margin: 0 0 30px; }
.diapo .ds-slide .ds-hero-s { font-size: 96px; letter-spacing: -3.5px; }
.diapo .ds-slide .ds-cards { display: flex; gap: 24px; margin-top: auto; margin-bottom: 20px; }
.diapo .ds-slide .ds-card { flex: 1; background: #F5F5F7; border-radius: 32px; padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.diapo .ds-slide .ds-pearl .ds-card { background: #fff; }
.diapo .ds-slide .ds-card h4 { font-size: 40px; font-weight: 650; letter-spacing: -1.2px; margin: 0; }
.diapo .ds-slide .ds-card p { font-size: 27px; line-height: 1.4; color: #5F5F66; margin: 0; }
.diapo .ds-slide .ds-ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 32px; color: #C2410C; background: #FDF0E9; }
.diapo .ds-slide .ds-demo { display: block; height: 150px; border-radius: 18px; background: linear-gradient(135deg, #EDEBF5, #FDF0E9); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05); }
.diapo .ds-slide .ds-cards-demo { margin-top: 10px; }
.diapo .ds-slide .ds-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.diapo .ds-slide .ds-fact { background: #F5F5F7; border-radius: 28px; padding: 34px 32px; display: flex; flex-direction: column; gap: 8px; }
.diapo .ds-slide .ds-fact b { font-size: 64px; font-weight: 650; letter-spacing: -2px; line-height: 1; }
.diapo .ds-slide .ds-fact span { font-size: 25px; color: #5F5F66; line-height: 1.3; }
.diapo .ds-slide .ds-quote { margin-top: auto; margin-bottom: 20px; font-size: 34px; line-height: 1.4; font-style: italic; color: #111113; border-left: 6px solid #C2410C; padding-left: 28px; max-width: 1400px; }
.diapo .ds-slide .ds-list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 18px; max-width: 1450px; }
.diapo .ds-slide .ds-list li { position: relative; font-size: 33px; line-height: 1.35; padding: 22px 30px 22px 84px; background: #fff; border-radius: 22px; color: #111113; }
.diapo .ds-slide .ds-list li::before { border-radius: 50%; content: "✓"; position: absolute; left: 28px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: #C2410C; color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 700; }
.diapo .ds-slide .ds-ask { margin-top: auto; margin-bottom: 14px; font-size: 40px; font-weight: 650; color: #C2410C; }
.diapo .ds-slide .ds-big { margin-top: auto; display: flex; flex-direction: column; }
.diapo .ds-slide .ds-big b { font-size: 260px; font-weight: 650; letter-spacing: -12px; line-height: .95; color: #111113; }
.diapo .ds-slide .ds-big span { font-size: 44px; font-weight: 600; color: #111113; margin-top: 10px; }
.diapo .ds-slide .ds-calc { font-size: 28px; color: #5F5F66; margin: 26px 0 30px; }
.diapo .ds-slide .ds-screen { margin-top: 10px; flex: 1; display: flex; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 26px 60px -30px rgba(17, 17, 19, .45); margin-bottom: 30px; }
.diapo .ds-slide .ds-screen-side { width: 220px; background: #111113; display: flex; flex-direction: column; gap: 22px; padding: 40px 34px; }
.diapo .ds-slide .ds-screen-side i { height: 18px; border-radius: 9px; background: rgba(255, 255, 255, .18); }
.diapo .ds-slide .ds-screen-side i:first-child { background: #F06A1D; width: 70%; }
.diapo .ds-slide .ds-screen-main { flex: 1; padding: 36px 44px; display: flex; flex-direction: column; gap: 16px; }
.diapo .ds-slide .ds-screen-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.diapo .ds-slide .ds-screen-top b { font-size: 38px; letter-spacing: -1px; }
.diapo .ds-slide .ds-screen-top span { font-size: 24px; color: #1F9D63; font-weight: 600; }
.diapo .ds-slide .ds-row { display: flex; justify-content: space-between; align-items: center; padding: 20px 26px; border-radius: 16px; background: #F5F5F7; font-size: 26px; }
.diapo .ds-slide .ds-row em { font-style: normal; font-size: 22px; font-weight: 600; color: #1F9D63; background: #DDF4E8; padding: 6px 16px; border-radius: 30px; }
.diapo .ds-slide .ds-avap { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; gap: 20px; margin-top: 18px; }
.diapo .ds-slide .ds-avap div { background: #F5F5F7; border-radius: 24px; padding: 22px 32px; }
.diapo .ds-slide .ds-avap span { display: block; font-size: 22px; font-weight: 600; color: #8A8A93; text-transform: uppercase; letter-spacing: 1px; }
.diapo .ds-slide .ds-avap p { margin: 4px 0 0; font-size: 34px; font-weight: 600; letter-spacing: -.5px; }
.diapo .ds-slide .ds-avap b { font-size: 50px; color: #C2410C; text-align: center; }
.diapo .ds-slide .ds-avap .ds-apres { background: #111113; color: #fff; }
.diapo .ds-slide .ds-avap .ds-apres span { color: #FFB68A; }
.diapo .ds-slide .ds-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: auto; margin-bottom: 30px; }
.diapo .ds-slide .ds-steps div { background: #fff; border-radius: 26px; padding: 34px 28px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.diapo .ds-slide .ds-steps div.on { background: #111113; color: #fff; }
.diapo .ds-slide .ds-steps b { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: #FDF0E9; color: #C2410C; }
.diapo .ds-slide .ds-steps div.on b { background: #C2410C; color: #fff; }
.diapo .ds-slide .ds-steps span { font-size: 32px; font-weight: 650; letter-spacing: -.5px; }
.diapo .ds-slide .ds-steps small { font-size: 23px; color: #5F5F66; }
.diapo .ds-slide .ds-steps div.on small { color: #B4B4BC; }
.diapo .ds-slide .ds-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px; margin-bottom: 20px; }
.diapo .ds-slide .ds-offer { position: relative; background: #fff; border-radius: 32px; padding: 44px 48px; display: flex; flex-direction: column; box-shadow: 0 20px 50px -30px rgba(17, 17, 19, .35); }
.diapo .ds-slide .ds-offer-n { margin: 0; font-size: 30px; font-weight: 600; color: #5F5F66; }
.diapo .ds-slide .ds-offer-p { margin: 8px 0 22px; font-size: 76px; font-weight: 650; letter-spacing: -3px; line-height: 1; }
.diapo .ds-slide .ds-offer-p small { font-size: 28px; font-weight: 500; letter-spacing: 0; color: #8A8A93; }
.diapo .ds-slide .ds-offer ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.diapo .ds-slide .ds-offer li { position: relative; padding-left: 44px; font-size: 27px; line-height: 1.35; }
.diapo .ds-slide .ds-offer li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #C2410C; font-weight: 700; width: auto; height: auto; background: none; transform: none; border-radius: 0; }
.diapo .ds-slide .ds-offer-a { margin: auto 0 0; font-size: 24px; color: #5F5F66; }
.diapo .ds-slide .ds-offer.ds-reco { background: #111113; color: #fff; box-shadow: 0 30px 70px -30px rgba(17, 17, 19, .7); }
.diapo .ds-slide .ds-reco .ds-offer-n, .diapo .ds-slide .ds-reco .ds-offer-a, .diapo .ds-slide .ds-reco .ds-offer-p small { color: #B4B4BC; }
.diapo .ds-slide .ds-reco li::before { color: #FFB68A; }
.diapo .ds-slide .ds-badge { position: absolute; top: 40px; right: 44px; font-size: 22px; font-weight: 600; color: #111113; background: #FFB68A; padding: 8px 18px; border-radius: 30px; }
.diapo .ds-slide .ds-garanties { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 10px; }
.diapo .ds-slide .ds-garanties div { background: #F5F5F7; border-radius: 28px; padding: 36px 40px; display: flex; flex-direction: column; gap: 8px; }
.diapo .ds-slide .ds-garanties b { font-size: 38px; font-weight: 650; letter-spacing: -1px; }
.diapo .ds-slide .ds-garanties span { font-size: 27px; color: #5F5F66; line-height: 1.35; }

.diapo .ds-slide p, .diapo .ds-slide li { line-height: 1.35; }
.diapo .ds-slide ul { margin: 0; }
.diapo .ds-slide .ds-reco .ds-offer-p { color: #fff; }
.diapo .ds-slide .ds-offer.ds-reco li { color: #E6E6EA; }
.diapo .ds-slide .ds-avap .ds-apres p { color: #fff; }
.diapo .ds-slide .ds-offer li { color: #3A3A40; }

/* ——— Fiches pratiques ——— */
.br-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.br-duo .br-entree { margin-bottom: 0; }
@media (max-width: 760px) { .br-duo { grid-template-columns: 1fr; } }
.fp-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.fp-carte { display: grid; gap: 6px; padding: 20px 20px 18px; text-decoration: none; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; position: relative; overflow: hidden; }
.fp-carte::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.fp-carte:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); }
.fp-carte b { font-size: 18px; letter-spacing: -.02em; }
.fp-carte small { color: var(--doux); font-size: 14px; }
.fp-emoji { font-size: 34px; line-height: 1; }
.fp-page { max-width: 920px; }
.fp-tete { display: flex; align-items: center; gap: 18px; margin: 8px 0 18px; }
.fp-tete h1 { margin: 2px 0 4px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.035em; font-weight: 650; }
.fp-tete p { margin: 0; color: var(--encre-2); }
.fp-tete .fp-emoji { font-size: 48px; flex: none; }
.fp-sur { font-size: 12.5px !important; text-transform: uppercase; letter-spacing: .12em; font-weight: 650; color: var(--c2) !important; }
.fp-imprimer { margin-left: auto; align-self: flex-start; }
.fiche-doc { padding: clamp(20px, 3vw, 34px); }
.fiche-doc h2 { font-size: 18px; letter-spacing: -.02em; margin: 26px 0 10px; padding-top: 18px; border-top: 1px solid var(--ligne); color: var(--encre); }
.fiche-doc h2:first-child, .fiche-doc .fp-note + h2 { border-top: 0; padding-top: 0; }
.fiche-doc p, .fiche-doc li { font-size: 15.5px; line-height: 1.6; color: var(--encre-2); }
.fiche-doc ul { margin: 0 0 8px; padding-left: 20px; display: grid; gap: 6px; }
.fiche-doc li b, .fiche-doc p b { color: var(--encre); }
.fiche-doc .tableau-prix td { font-size: 15px; vertical-align: top; }
.fiche-doc .tableau-prix td small { color: var(--doux); font-weight: 400; }
.fiche-doc .tableau-gauche td:last-child { text-align: left; font-weight: 400; white-space: normal; color: var(--encre-2); }
.fiche-doc .tableau-gauche td:first-child { width: 38%; }
.fp-note { padding: 12px 16px; border-radius: 14px; background: rgba(255, 243, 196, .7); color: #6b5200 !important; margin: 0 0 6px; }
.fp-fil { font-weight: 650; color: var(--c2) !important; }
.fp-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fp-duo > div { background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: inset 0 0 0 1px var(--ligne); }
.fp-duo p { margin: 6px 0 0; font-size: 14.5px; }
.fp-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 10px 0; }
.fp-trio > div { background: #fff; border-radius: 16px; padding: 16px; box-shadow: inset 0 0 0 1px var(--ligne); display: grid; gap: 4px; align-content: start; }
.fp-trio span { font-size: 26px; }
.fp-trio small { color: var(--c2); font-weight: 600; }
.fp-trio p { margin: 4px 0 0; font-size: 14.5px; }
@media (max-width: 640px) { .fp-duo, .fp-trio { grid-template-columns: 1fr; } }
.fp-autres { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fp-autres .puce { text-decoration: none; }
.fiche-doc .replique { font-size: 15px; }
@media print {
  .fond, .barre, .fp-autres, .fp-imprimer, #toasts { display: none !important; }
  body { background: #fff; }
  .page { animation: none; padding: 0; }
  .verre, .fiche-doc { box-shadow: none !important; border: 0 !important; background: #fff !important; backdrop-filter: none !important; }
  .fiche-doc h2 { break-after: avoid; }
  .fiche-doc table, .replique { break-inside: avoid; }
}
