/* [DEMO-CHOOSER-V5-2026-11-28] Page de choix du secteur, liste groupée */
:root {
    color-scheme: dark;
    --demo-violet: #a99bff;
    --demo-violet-deep: #7c6cf0;
    --demo-ink: #f5f5f7;
    --demo-muted: rgba(255, 255, 255, 0.62);
}

* { box-sizing: border-box; }

html { background: #121016; }

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    color: var(--demo-ink);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(120% 60% at 50% -10%, rgba(124, 108, 240, 0.28), transparent 60%),
        linear-gradient(180deg, rgba(18, 16, 22, 0.80), rgba(18, 16, 22, 0.92) 45%, #121016),
        var(--demo-bg-image) center top / cover no-repeat fixed,
        #121016;
    padding: max(1.2rem, env(safe-area-inset-top)) 1.1rem max(2rem, env(safe-area-inset-bottom));
}

.demo-wrap {
    max-width: 60rem;
    margin: 0 auto;
}

.demo-logo {
    display: block;
    width: 150px;
    margin: 0 auto 1.6rem;
    opacity: 0.95;
}

.demo-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.demo-kick {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--demo-violet);
}

.demo-kick i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--demo-violet);
    box-shadow: 0 0 10px var(--demo-violet);
}

h1 {
    font-size: 1.75rem;
    line-height: 1.15;
    font-weight: 650;
    letter-spacing: -0.02em;
    margin: 0.5rem 0 0.45rem;
}

.demo-lead {
    margin: 0 0 1.6rem;
    color: var(--demo-muted);
    font-size: 1rem;
    line-height: 1.45;
}

.demo-groups {
    display: grid;
    gap: 1.3rem;
}

.demo-grp h2 {
    margin: 0 0 0.5rem 0.2rem;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.demo-list {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.demo-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.72rem 0.9rem;
    min-height: 60px;
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.18s ease;
}

.demo-row + .demo-row {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-row:hover,
.demo-row:active {
    background: rgba(169, 155, 255, 0.10);
}

.demo-row:focus-visible {
    outline: 2px solid #64a8ff;
    outline-offset: -2px;
}

.demo-row svg {
    width: 30px;
    height: 30px;
    flex: none;
}

.demo-row svg .a { display: none; }

.demo-row svg .l {
    fill: none;
    stroke: var(--demo-violet);
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.demo-row b {
    display: block;
    font-size: 1rem;
    font-weight: 620;
    letter-spacing: -0.01em;
}

.demo-row small {
    display: block;
    font-size: 0.8rem;
    color: var(--demo-muted);
    margin-top: 0.1rem;
    line-height: 1.35;
}

.demo-row .demo-go {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
    flex: none;
}

.demo-foot {
    margin: 1.8rem 0 0;
    text-align: center;
    color: var(--demo-muted);
    font-size: 0.92rem;
}

.demo-foot a {
    color: var(--demo-ink);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 1px;
}

.demo-foot a:hover,
.demo-foot a:focus-visible {
    border-bottom-color: rgba(255, 255, 255, 0.7);
}

.demo-foot a:focus-visible {
    outline: 2px solid #64a8ff;
    outline-offset: 3px;
    border-radius: 2px;
}

@media (min-width: 900px) {
    body { padding-top: 2.4rem; }
    .demo-logo { width: 180px; margin-bottom: 2.2rem; }
    .demo-head { text-align: center; }
    h1 { font-size: 2.4rem; }
    .demo-lead { font-size: 1.1rem; margin-bottom: 2.2rem; }
    .demo-groups {
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
        gap: 1.4rem 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .demo-row,
    .demo-foot a { transition: none; }
}
