/* Présentoir des sites de démonstration — aux couleurs de LesSitesDeDorian, volontairement distinct du site présenté */
:root { --teal: #1F5F5E; --teal-fonce: #123B3A; --encre: #0F2B2B; --menthe: #9FE5C7; --ambre: #F2A541; --creme: #F0EEE9; --papier: #FFFDFA; --gris: #4B6463; --ligne: rgba(15, 43, 43, .12); --barre-h: 64px; }
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body.vp { overflow: hidden; background: #E9E6E0; font-family: Manrope, system-ui, sans-serif; color: var(--encre); -webkit-font-smoothing: antialiased; }
button { font: inherit; cursor: pointer; }
.vp-scene { position: fixed; inset: 0 0 var(--barre-h); display: grid; place-items: center; background: radial-gradient(circle at 15% 10%, rgba(159, 229, 199, .35), transparent 40%), radial-gradient(circle at 90% 90%, rgba(31, 95, 94, .18), transparent 45%), #E9E6E0; }
.vp-cadre { width: 100%; height: 100%; border: 0; background: #fff; }
.vp-tel[hidden] { display: none; }
.vp-tel { display: grid; justify-items: center; gap: 14px; transform: scale(var(--k, 1)); transform-origin: center; }
.vp-tel-corps { width: 414px; height: 868px; padding: 12px; border-radius: 62px; background: linear-gradient(145deg, #2b3a3a, #0c1414); box-shadow: 0 0 0 2px #3c4c4c, 0 50px 90px -30px rgba(15, 43, 43, .65); }
.vp-tel-ecran { position: relative; width: 390px; height: 844px; overflow: hidden; border-radius: 50px; background: #fff; }
.vp-tel-statut { position: absolute; z-index: 2; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 30px; font-size: 15px; font-weight: 700; color: #111; background: #fff; pointer-events: none; }
.vp-ilot { position: absolute; left: 50%; top: 11px; width: 120px; height: 34px; margin-left: -60px; border-radius: 20px; background: #000; }
.vp-icones { display: flex; gap: 5px; }
.vp-icones i { width: 16px; height: 10px; border-radius: 3px; background: #111; }
.vp-cadre-tel { position: absolute; inset: 50px 0 0; width: 390px; height: 794px; border: 0; }
.vp-tel-barre { position: absolute; z-index: 2; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: rgba(0, 0, 0, .75); pointer-events: none; }
.vp-tel-legende { margin: 0; font-size: 13px; font-weight: 700; color: var(--gris); }
body.vp-mode-tel .vp-cadre { display: none; }
/* Barre du bas */
.vp-barre { position: fixed; inset: auto 0 0; z-index: 30; display: flex; align-items: center; justify-content: center; gap: 10px; height: var(--barre-h); padding: 0 16px; background: var(--teal-fonce); color: var(--creme); box-shadow: 0 -10px 30px -16px rgba(0, 0, 0, .5); }
.vp-marque { margin-right: 4px; font-size: 17px; font-weight: 700; letter-spacing: -.035em; color: var(--creme); text-decoration: none; white-space: nowrap; }
.vp-marque b { font-weight: 800; color: var(--menthe); }
.vp-sep { width: 1px; height: 28px; background: rgba(240, 238, 233, .2); }
.vp-appareils { display: flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.vp-appareils button, .vp-bouton { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font-size: 14px; font-weight: 700; color: var(--creme); transition: background .2s, color .2s; }
.vp-appareils svg, .vp-bouton svg { width: 20px; height: 20px; flex: none; }
.vp-appareils button[aria-pressed="true"] { background: var(--menthe); color: var(--teal-fonce); }
.vp-bouton { border: 1px solid rgba(240, 238, 233, .22); }
.vp-bouton:hover, .vp-appareils button:hover:not([aria-pressed="true"]) { background: rgba(255, 255, 255, .1); }
.vp-bouton[aria-expanded="true"] { border-color: var(--menthe); color: var(--menthe); }
.vp-cta { display: inline-flex; align-items: center; gap: 8px; height: 44px; margin-left: 6px; padding: 0 20px; border-radius: 999px; background: var(--menthe); font-size: 15px; font-weight: 800; color: var(--teal-fonce); text-decoration: none; white-space: nowrap; box-shadow: 0 10px 22px -12px rgba(159, 229, 199, .9); transition: transform .25s; }
.vp-cta svg { width: 18px; height: 18px; }
.vp-cta:hover { transform: translateY(-2px); }
.vp-appareils button:focus-visible, .vp-bouton:focus-visible, .vp-cta:focus-visible, .vp-marque:focus-visible, .vp-fermer:focus-visible, .vp-liste a:focus-visible { outline: 3px solid var(--ambre); outline-offset: 2px; }
/* Tiroirs : pages (gauche) et charte (droite) */
.vp-tiroir { position: fixed; z-index: 25; top: 0; bottom: var(--barre-h); width: min(340px, 88vw); display: flex; flex-direction: column; overflow: hidden; background: var(--papier); box-shadow: 0 30px 60px -20px rgba(15, 43, 43, .45); transition: transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s .45s; visibility: hidden; }
.vp-tiroir--pages { left: 0; transform: translateX(-105%); border-radius: 0 22px 22px 0; }
.vp-tiroir--charte { right: 0; transform: translateX(105%); border-radius: 22px 0 0 22px; }
.vp-tiroir.ouvert { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.vp-tiroir-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 22px 16px; background: var(--teal); color: var(--creme); }
.vp-tiroir-tete small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--menthe); }
.vp-tiroir-tete b { font-size: 19px; letter-spacing: -.02em; }
.vp-fermer { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); font-size: 24px; line-height: 1; color: var(--creme); }
.vp-liste { flex: 1; margin: 0; padding: 12px; overflow-y: auto; list-style: none; counter-reset: p; }
.vp-liste a { display: grid; grid-template-columns: 32px 1fr; align-items: center; gap: 10px; min-height: 52px; padding: 8px 10px; border-radius: 14px; color: var(--encre); text-decoration: none; }
.vp-liste a::before { counter-increment: p; content: counter(p); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--creme); font-size: 13px; font-weight: 800; color: var(--teal); }
.vp-liste a:hover { background: var(--creme); }
.vp-liste a.on { background: var(--teal); color: var(--creme); }
.vp-liste a.on::before { background: var(--menthe); color: var(--teal-fonce); }
.vp-liste b { display: block; font-size: 15px; }
.vp-liste small { display: block; font-size: 12.5px; opacity: .8; }
.vp-note { margin: 0; padding: 14px 22px 20px; font-size: 13px; line-height: 1.5; color: var(--gris); border-top: 1px solid var(--ligne); }
.vp-charte { flex: 1; overflow-y: auto; padding: 20px 22px 26px; }
.vp-charte h3 { margin: 22px 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.vp-charte h3:first-child { margin-top: 0; }
.vp-esprit { margin: 0; font-size: 15px; line-height: 1.55; }
.vp-couleurs, .vp-polices { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.vp-couleurs li { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 12px; }
.vp-couleurs i { width: 46px; height: 46px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.vp-couleurs b { display: block; font-size: 14px; }
.vp-couleurs small, .vp-polices small { font-size: 12.5px; color: var(--gris); }
.vp-polices li { padding: 12px 14px; border: 1px solid var(--ligne); border-radius: 14px; }
.vp-specimen { display: block; font-size: 28px; line-height: 1.15; }
.vp-charte-cta { margin: 22px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--creme); font-size: 14px; line-height: 1.5; }
.vp-charte-cta a { font-weight: 800; color: var(--teal); }
.vp-noscript { position: fixed; inset: 40% 16px auto; text-align: center; }
/* Écrans moyens : libellés masqués */
@media (max-width: 1100px) { .vp-appareils span, .vp-bouton span { display: none; } .vp-bouton, .vp-appareils button { padding: 0 11px; } }
/* Vrai téléphone : pas de faux cadre, barre compacte, la démo prend tout l'écran */
@media (max-width: 700px) {
  :root { --barre-h: 60px; }
  .vp-marque, .vp-sep, .vp-appareils { display: none; }
  .vp-barre { justify-content: flex-start; gap: 8px; padding: 0 10px; }
  .vp-bouton { height: 44px; padding: 0 12px; }
  .vp-bouton span { display: inline; font-size: 13px; }
  .vp-cta { height: 44px; margin-left: auto; padding: 0 14px; font-size: 14px; }
  .vp-tiroir { width: 100vw; border-radius: 0; }
}
@media (max-width: 360px) { .vp-bouton span { display: none; } }
@media (prefers-reduced-motion: reduce) { .vp-tiroir, .vp-cta { transition: none; } }
.vp-cta-court { display: none; }
@media (max-width: 440px) { .vp-cta-long { display: none; } .vp-cta-court { display: inline; } .vp-bouton { padding: 0 10px; } }
/* Ambiance « fondue » : fond vert profond autour du téléphone, tiroirs en verre teinté flottants (même famille que la barre) */
.vp-scene { background: radial-gradient(60% 55% at 50% 42%, rgba(159, 229, 199, .16), transparent 70%), radial-gradient(40% 40% at 8% 6%, rgba(159, 229, 199, .12), transparent 70%), radial-gradient(45% 45% at 96% 96%, rgba(242, 165, 65, .08), transparent 70%), linear-gradient(180deg, #16494A 0%, #0F2E2E 100%); }
.vp-tel-corps { box-shadow: 0 0 0 2px #3c4c4c, 0 0 0 9px rgba(159, 229, 199, .06), 0 60px 110px -30px rgba(0, 0, 0, .7), 0 0 120px -10px rgba(159, 229, 199, .22); }
.vp-tel-legende { color: rgba(240, 238, 233, .6); }
.vp-tiroir { top: 16px; bottom: calc(var(--barre-h) + 16px); width: min(340px, calc(100vw - 32px)); border: 1px solid rgba(159, 229, 199, .16); background: linear-gradient(180deg, rgba(22, 73, 74, .86), rgba(15, 43, 43, .9)); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); color: var(--creme); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06); }
.vp-tiroir--pages { left: 16px; border-radius: 24px; transform: translateX(calc(-100% - 24px)); }
.vp-tiroir--charte { right: 16px; border-radius: 24px; transform: translateX(calc(100% + 24px)); }
.vp-tiroir-tete { background: transparent; border-bottom: 1px solid rgba(159, 229, 199, .12); }
.vp-fermer { background: rgba(255, 255, 255, .08); }
.vp-fermer:hover { background: rgba(255, 255, 255, .16); }
.vp-liste a { color: var(--creme); }
.vp-liste a::before { background: rgba(255, 255, 255, .08); color: var(--menthe); }
.vp-liste a:hover { background: rgba(255, 255, 255, .07); }
.vp-liste a.on { background: rgba(159, 229, 199, .14); box-shadow: inset 0 0 0 1px rgba(159, 229, 199, .35); color: #fff; }
.vp-liste a.on::before { background: var(--menthe); color: var(--teal-fonce); }
.vp-liste small { opacity: .72; }
.vp-note { color: rgba(240, 238, 233, .66); border-top-color: rgba(159, 229, 199, .12); }
.vp-charte h3 { color: var(--menthe); }
.vp-esprit { color: rgba(240, 238, 233, .9); }
.vp-couleurs i { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 6px 14px -8px rgba(0, 0, 0, .5); }
.vp-couleurs small, .vp-polices small { color: rgba(240, 238, 233, .66); }
.vp-polices li { border-color: rgba(159, 229, 199, .14); background: rgba(255, 255, 255, .04); }
.vp-charte-cta { background: rgba(159, 229, 199, .1); box-shadow: inset 0 0 0 1px rgba(159, 229, 199, .2); color: var(--creme); }
.vp-charte-cta a { color: var(--menthe); }
.vp-liste, .vp-charte { scrollbar-width: thin; scrollbar-color: rgba(159, 229, 199, .3) transparent; }
@media (max-width: 700px) {
  .vp-tiroir { top: 10px; bottom: calc(var(--barre-h) + 10px); width: calc(100vw - 20px); }
  .vp-tiroir--pages { left: 10px; } .vp-tiroir--charte { right: 10px; }
}
