/* Une seule échelle pour les libellés qui introduisent les sections. */
body .section-eyebrow.section-eyebrow{
  display:block;
  font-family:Geist,system-ui,sans-serif;
  font-size:11px;
  font-weight:500;
  line-height:1.5;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#806a9b;
  margin:0 0 18px;
  padding:0;
}

/* Distinguer la démonstration du périmètre des contrôles. */
section.sol{background:#fff}
.sol .themes{margin-top:80px;padding-top:48px;border-top:1px solid #dcd2e9}
.sol .themes-h{margin-bottom:30px}
@media(max-width:600px){
  .sol .themes{margin-top:48px;padding-top:32px}
}

/* L’interface prolonge directement le premier écran. */
.dashboard-preview{margin-top:0}
@media(min-width:961px){
  .hero-motion{min-height:640px}
  .iso-demo{height:640px}
  .iso-art{height:580px;top:0}
  .iso-demo .demo-controls{bottom:8px}
}
@media(max-width:960px){.dashboard-preview{margin-top:12px}}

.theme-navigation{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 24px;color:#55555f;font:11px Geist,system-ui,sans-serif}
.theme-navigation>div{display:flex;align-items:center;gap:16px;white-space:nowrap}
.theme-navigation button{width:34px;height:34px;background:#fff;border:1px solid #e2d7ed;border-radius:50%;color:#765293;cursor:pointer;font-size:16px}
.theme-navigation button:hover:not(:disabled){background:#f1eafa;border-color:#bda6d7}
.theme-navigation button:disabled{opacity:.3;cursor:default}
.themes-browser .ix-list{max-height:none;overflow:visible;padding:0}
.themes-browser .ix-g,.themes-browser .ix-list button[hidden]{display:none}
.themes-browser .ix-list button{font-size:18px;padding:17px 0;font-weight:500;color:#55555f}
.themes-browser .ix-list button[aria-selected=true]{color:#7548a5}
.themes-browser .ix-pin{position:static}
@media(max-width:600px){.theme-navigation{align-items:flex-start;font-size:10px}.theme-navigation>span{max-width:160px}.theme-navigation>div{gap:8px}.themes-browser .ix-list button{font-size:16px;padding:12px 0}}

.theme-navigation button{width:auto;min-height:36px;height:auto;padding:8px 13px;border-radius:7px;font:11px Geist,system-ui,sans-serif}
.theme-navigation #themesNext{background:#f1eafa;border-color:#ded0ef;color:#744b9c}
.themes-more{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;margin-top:10px;padding:20px;text-align:left;border:1px solid #e1d4ee;border-radius:9px;background:linear-gradient(135deg,#faf7fe,#f1e9fa);color:#775394;cursor:pointer;font:13px Geist,system-ui,sans-serif}
.themes-more[hidden]{display:none}
#themesPreview{font-size:11px;line-height:1.6;color:#55555f}
.themes-more strong{font-size:11px;font-weight:500;color:#4a34f5;margin-top:4px}
.themes-more:hover{border-color:#ac8dcc;background:#eee4fa}
@media(max-width:600px){.theme-navigation{flex-direction:column;gap:12px}.theme-navigation>span{max-width:none}.theme-navigation>div{width:100%;justify-content:space-between}.theme-navigation button{font-size:10px;padding:8px}.themes-more{padding:16px}}

/* Un ruban continu : les thèmes suivants restent visibles en bordure. */
.theme-navigation{margin-bottom:18px}
.theme-navigation>span{font-size:12px}
.theme-navigation button{width:36px;height:36px;padding:0;border-radius:50%;font-size:17px}
.themes-browser .ix{display:flex;flex-direction:column;gap:24px}
.theme-list-column{width:100%;min-width:0}
.themes-browser .ix-list{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;padding:3px 36px 18px 3px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#c9b6df #f5f0fa;max-height:none;overscroll-behavior-x:contain;mask-image:linear-gradient(to right,#000 0%,#000 95%,transparent 100%)}
.themes-browser .ix-list button{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;position:relative;flex:0 0 22%;min-height:116px;box-sizing:border-box;padding:17px 18px;border:1px solid #e9e0f2;border-radius:10px;background:#fcfaff;color:#55555f;font:500 16px/1.35 Geist,system-ui,sans-serif;letter-spacing:-.025em;scroll-snap-align:start}
.themes-browser .ix-list button .k{font:10px Geist,system-ui,sans-serif;color:#55555f;margin-bottom:15px}
.themes-browser .ix-list button .d{position:absolute;right:16px;top:19px;width:5px;height:5px;background:#b394d3}
.themes-browser .ix-list button[aria-selected=true]{background:#efe5fa;border-color:#ba9cd9;color:#744e98}
.themes-browser .ix-list button:hover{border-color:#c4abd9;color:#744e98}
.themes-browser .ix-pin{width:100%}
.themes-browser .ix-stage{min-height:0;padding:25px;background:#f7f3fc;border:1px solid #eae1f3;border-radius:12px}
.themes-browser .ix-card{max-width:900px;margin:auto;border:1px solid #e8dff0;box-shadow:0 8px 25px #60447708}
@media(max-width:700px){.themes-browser .ix-list button{flex-basis:43%;font-size:14px;min-height:110px}.themes-browser .ix-stage{padding:12px}.theme-navigation{flex-direction:row;align-items:center}.theme-navigation>div{width:auto}.theme-navigation>span{max-width:180px;font-size:10px}.themes-browser .ix{gap:18px}}

.theme-families{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}
.theme-families button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:19px 20px;background:#fcfaff;border:1px solid #e9e0f2;border-radius:10px;cursor:pointer;color:#55555f;transition:background .2s,border-color .2s}
.family-number{font:10px Geist,system-ui,sans-serif;color:#55555f;margin-bottom:12px}
.theme-families strong{font:500 16px/1.4 Geist,system-ui,sans-serif;letter-spacing:-.02em}
.theme-families small{font:10px Geist,system-ui,sans-serif;margin-top:13px;color:#55555f}
.theme-families button[aria-pressed=true]{background:#eee4fa;border-color:#b99bd9;color:#714394}
.theme-families button:hover{border-color:#b99bd9}
.theme-families button:focus-visible{outline:2px solid #4a34f5;outline-offset:3px}
.themes-browser .ix-list{display:flex;flex-wrap:wrap;gap:8px;overflow:visible;mask-image:none;padding:0;scroll-snap-type:none}
.themes-browser .ix-list button{flex:0 1 auto;min-height:0;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;padding:10px 14px;border-radius:7px;font-size:12px}
.themes-browser .ix-list button[hidden]{display:none}
.themes-browser .ix-list button .k,.themes-browser .ix-list button .d{display:none}
.themes-browser .ix-list button[aria-selected=true]{background:#8055aa;color:white;border-color:#8055aa}
@media(max-width:600px){.theme-families{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.theme-families button{padding:14px}.theme-families strong{font-size:13px}.theme-families small{font-size:9px}.themes-browser .ix-list button{font-size:11px;padding:9px 11px}}

.theme-families{align-items:stretch}
.theme-family-tile{margin:0;padding:22px;background:#fcfaff;border:1px solid #e8dff1;border-radius:12px;transition:border-color .2s,background .2s}
.theme-family-tile.active{border-color:#bda0da;background:#f6f0fc}
.theme-family-tile h4{display:flex;align-items:baseline;gap:10px;margin:0 0 16px;font:500 16px/1.4 Geist,system-ui,sans-serif;color:#715286;letter-spacing:-.02em}
.theme-family-tile .family-number{margin:0;flex-shrink:0}
.family-subthemes{display:flex;flex-direction:column;gap:3px}
.theme-families .family-subthemes button{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;padding:8px 9px;border:0;border-radius:5px;background:transparent;color:#55555f;font:12px/1.4 Geist,system-ui,sans-serif;text-align:left}
.family-subthemes button .k,.family-subthemes button .d{display:none}
.theme-families .family-subthemes button::after{content:'↗';color:#55555f;margin-left:8px}
.theme-families .family-subthemes button:hover{background:#eee4f7;color:#704a90}
.theme-families .family-subthemes button[aria-pressed=true]{background:#e8dcf4;color:#714394}
.theme-list-column[hidden]{display:none}
@media(max-width:800px){.theme-families{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-family-tile{padding:17px}.theme-family-tile h4{font-size:14px}}
@media(max-width:500px){.theme-families{grid-template-columns:1fr}.theme-family-tile{padding:20px}.theme-family-tile h4{font-size:16px}.theme-families .family-subthemes button{font-size:13px}}

.themes-browser{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.3fr);gap:22px;align-items:start}
.themes-browser>.theme-navigation{grid-column:1/-1;margin-bottom:0}
.family-selector{padding:12px;border:1px solid #e8dff1;border-radius:12px;background:#fcfaff}
.family-selector button{width:100%;display:flex;align-items:center;gap:13px;text-align:left;padding:17px 13px;border:0;border-radius:7px;background:transparent;color:#55555f;cursor:pointer;font-family:Geist,system-ui,sans-serif}
.family-selector button>span:first-child{font-size:10px;color:#55555f}
.family-selector button strong{font-size:14px;font-weight:500;line-height:1.4;flex:1}
.family-selector button>span:last-child{font-size:17px;color:#55555f}
.family-selector button[aria-pressed=true]{background:#ede2f9;color:#754698}
.family-selector button:hover{background:#f1e9f9}
.family-selector button:focus-visible{outline:2px solid #8054ad;outline-offset:2px}
.themes-browser .ix{gap:0;min-width:0}
.themes-browser .ix-stage{padding:0;background:none;border:0}
.themes-browser .ix-card{max-width:none;margin:0;padding:28px;border:1px solid #e4d7f0;border-radius:12px;background:#faf7fe;box-shadow:none;animation:none}
.themes-browser .ix-card h4{font-size:23px;color:#6b4884;line-height:1.3;margin:10px 0 20px}
.family-detail-rows{list-style:none;padding:0;margin:0}
.family-detail-rows li{padding:13px 0;border-top:1px solid #e9e0f1}
.family-detail-rows strong{font:500 13px/1.5 Geist,system-ui,sans-serif;color:#795a90}
.family-detail-rows p{font:12px/1.7 Geist,system-ui,sans-serif;color:#55555f;margin:4px 0 0}
@media(max-width:700px){.themes-browser{grid-template-columns:1fr;gap:16px}.family-selector{padding:8px}.family-selector button{padding:12px}.family-selector button strong{font-size:13px}.themes-browser .ix-card{padding:22px}.themes-browser .ix-card h4{font-size:21px}}
