body.home{--console-accent:#205648;--console-muted:#4e6b6c;--console-bg:#f2f7f5;--console-panel:#fff;background:var(--console-bg)}
html[data-theme=dark] body.home{--console-accent:#bae8d5;--console-muted:#a1bbbd;--console-bg:#0c1a21;--console-panel:#142830}
body.home>header,body.home>main,body.home>footer{max-width:1600px;width:100%;margin-inline:auto;padding-left:clamp(18px,3.2vw,56px);padding-right:clamp(18px,3.2vw,56px)}
body.home>main{padding-top:30px}.home .home-intro{display:flex;align-items:end;justify-content:space-between;gap:28px;margin:0 0 22px;padding:0;border:0;background:none}.home .home-intro>div{max-width:760px}.home .home-intro h1{font-size:clamp(23px,2.4vw,37px);line-height:1.25;margin:0;letter-spacing:-.8px}.home .home-intro>p{display:none}.home .eyebrow{font-size:10px;letter-spacing:2px;margin-bottom:10px}.catalogue-search{flex:0 1 355px}.catalogue-search input{width:100%;min-height:50px;border:1px solid #6b929255;border-radius:10px;background:var(--console-panel);color:inherit;padding:12px 17px;font-size:14px}.home #apps-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.catalogue-categories{display:flex;gap:9px;overflow-x:auto;padding:2px 0 13px;margin-bottom:15px;scrollbar-width:thin;scrollbar-color:var(--console-accent) transparent}.catalogue-categories button{white-space:nowrap;border:1px solid #6b929255;border-radius:7px;padding:8px 13px;background:transparent;color:var(--console-muted);font-size:12px;min-height:40px}.catalogue-categories button[aria-pressed=true]{background:var(--console-accent);color:var(--console-bg);font-weight:700}
.catalogue-hero{position:relative;display:grid;grid-template-columns:45% 55%;height:350px;margin:0 0 24px;border:1px solid #35605e;border-radius:19px;overflow:hidden;background:radial-gradient(ellipse at 70% 55%,#306c61,#183b3f 50%,#102b33 85%);color:#edf6f5}.hero-copy{position:relative;padding:38px 62px;z-index:2}.hero-tag{display:inline-flex;font-size:10px;letter-spacing:.6px;font-weight:700;text-transform:uppercase;border-radius:4px;padding:5px 8px;background:#c4eed7;color:#214b3c}.home .hero-copy h2{font-size:clamp(30px,3.7vw,49px);line-height:1.1;letter-spacing:-1px;margin:17px 0 12px;color:#edf6f5}.hero-description{font-size:14px;line-height:1.6;color:#d1e4de;max-width:355px}.hero-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.hero-buttons a{display:inline-flex;align-items:center;padding:11px 15px;border-radius:7px;font-size:12px;min-height:44px;text-decoration:none;font-weight:700}.hero-launch{background:#a5e8cc;color:#17392f!important}.hero-demo{border:1px solid #81b5a9;background:#23473f;color:#e7f5ed!important}.hero-count{position:absolute;left:62px;bottom:20px;font-size:10px;letter-spacing:1px;color:#a8cec1}.hero-art{height:350px;display:flex;align-items:center;justify-content:center;overflow:hidden}.hero-art img{width:106%;height:122%;object-fit:contain;transform:rotate(-9deg);filter:drop-shadow(0 18px 25px #061511aa)}.catalogue-hero[data-slide=scrumanji] img{width:94%;height:auto;max-height:90%;transform:none;border-radius:12px}.catalogue-hero[data-slide=music-quiz]{background:radial-gradient(ellipse at 70% 55%,#365775,#203747 50%,#122b36 85%)}.catalogue-hero[data-slide=sprint-stories]{background:radial-gradient(ellipse at 70% 55%,#715563,#3b303e 50%,#182831 85%)}.hero-symbol{font-size:190px;color:#c2d9e7;transform:rotate(-12deg);text-shadow:0 15px 60px #85b5e540}.hero-arrow,.rail-arrow{display:grid;place-items:center;min-width:35px;min-height:44px;border:1px solid #98bdb74a;border-radius:7px;background:#0a242c70;color:#d8f3e8;font:30px/1 system-ui;cursor:pointer}.hero-arrow{position:absolute;top:calc(50% - 22px);z-index:5}.hero-arrow.previous{left:13px}.hero-arrow.next{right:13px}.hero-navigation{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);z-index:5;display:flex;gap:12px;align-items:center}.hero-dots{display:flex;gap:2px}.hero-dots button{display:block;width:26px;min-height:28px;border:0;background:transparent;padding:0;position:relative}.hero-dots button:after{content:'';position:absolute;left:9px;top:10px;width:8px;height:8px;border-radius:50%;background:#83a99a}.hero-dots button.selected:after{left:3px;width:20px;border-radius:6px;background:#bae8d5}.hero-name{font-size:10px;color:#d0e7de;white-space:nowrap}.home button:focus-visible,.home a:focus-visible,.home input:focus-visible,.catalogue-hero:focus-visible{outline:2px solid var(--console-accent);outline-offset:4px}
.catalogue-filters{display:flex;gap:8px;margin:0 0 8px}.catalogue-filters button{border:0;border-bottom:2px solid transparent;background:none;color:var(--console-muted);border-radius:0;padding:8px 10px;font-size:12px}.catalogue-filters button[aria-pressed=true]{color:var(--console-accent);border-color:var(--console-accent)}.catalogue-result{font-size:11px;color:var(--console-muted);margin:0 0 18px}
.home .spaces{display:block}.home .space{border:0;padding:0;margin-bottom:30px;background:none;box-shadow:none;border-radius:0}.home .space-top{display:flex;align-items:center;gap:10px;margin:0 0 5px}.home .space-top h3{font-size:20px}.home .space-icon{display:none}.home .space-description{font-size:12px;color:var(--console-muted);margin:0 0 12px}.rail-navigation{margin-left:auto;display:flex;gap:8px}.rail-arrow{color:var(--console-accent);background:var(--console-panel);font-size:25px}.home .app-list{display:flex;gap:15px;overflow-x:auto;overflow-y:hidden;max-height:none!important;padding:3px 3px 12px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:var(--console-accent) transparent;align-items:stretch}.home .app-tile{display:flex;flex-direction:column;align-items:stretch;flex:0 0 clamp(200px,18vw,290px);width:auto;min-height:230px;border:0;border-radius:10px;background:transparent;box-shadow:none;padding:0;gap:0;text-align:left;scroll-snap-align:start;position:relative}.home .app-tile-icon{display:flex;align-items:center;justify-content:center;position:relative;width:100%;height:130px;margin:0 0 10px;border:1px solid #ffffff22;border-radius:10px;overflow:hidden;color:#d2e9dc;background:radial-gradient(ellipse at top,#355f77,#193449)}.home .app-tile-icon svg{width:55px;height:55px}.home .app-tile-icon img{width:100%;height:100%;object-fit:cover;opacity:.85}.home .app-tile[data-cover=agile-word-search] .app-tile-icon{background:radial-gradient(ellipse at top,#64583d,#322f22)}.home .app-tile[data-cover=sprint-stories] .app-tile-icon{background:radial-gradient(ellipse at top,#624558,#352535)}.home .announced .app-tile-icon{background:repeating-linear-gradient(140deg,#22303a,#22303a 10px,#203039 10px,#203039 20px);color:#9eafb8}.home .app-tile h4{font-size:14px;line-height:1.4;margin:0 0 5px;color:inherit}.home .app-tile .app-summary{font-size:12px;line-height:1.5;color:var(--console-muted);margin:0 0 8px}.home .app-tile .status{position:absolute;top:102px;left:9px;font-size:9px;line-height:1.3;padding:4px 7px;border-radius:4px;background:#c4eed7;color:#214b3c;max-width:90%}.home .announced .status{color:#e3e9ed;background:#33414b;border:1px solid #71838b}.home .app-tile .status.unavailable,.home .app-tile .status.maintenance{background:#efc8b0;color:#632d17}.home .app-tile .coming{font-size:10px;margin:0;color:var(--console-muted)}.home [hidden]{display:none!important}.home .community,.home .support-card{margin-top:30px}.home .community,.home .support-card{width:100%;max-width:none}
.home .hero-art{background:none;border-radius:0;box-shadow:none;border:0}
.home #catalogue .space{display:block;background:transparent!important}
.home #catalogue .space .app-list{display:flex!important;overflow-x:auto;overflow-y:hidden;max-height:none;width:100%;min-width:0;gap:15px;padding:3px 3px 12px;scrollbar-gutter:auto;align-items:stretch;scrollbar-color:var(--console-accent) transparent}
.home #catalogue .space .app-tile{display:flex;flex:0 0 clamp(200px,18vw,290px);width:auto;height:auto;min-height:230px;padding:0;background:transparent!important;border:0;box-shadow:none;align-items:stretch}
.home #catalogue .space .app-tile:hover{background:transparent!important}
.home #catalogue .space .app-tile-icon{width:100%;height:130px;margin:0 0 10px;border-radius:10px;background:radial-gradient(ellipse at top,#355f77,#193449)}
.home #catalogue .space .announced .app-tile-icon{background:repeating-linear-gradient(140deg,#22303a,#22303a 10px,#203039 10px,#203039 20px)}
.home #catalogue .space .app-tile-icon svg{width:55px;height:55px}
.home #catalogue .space .app-tile h4{font-size:14px;margin:0 0 5px;line-height:1.4}
.home #catalogue .space .app-tile .app-summary{font-size:12px;margin:0 0 8px;line-height:1.5}
.home #catalogue .space .app-tile .status{margin:0}
.home #catalogue .space .app-tile .coming{border:0;background:none;padding:0;font-size:10px;text-align:left;min-height:0}
.home #catalogue .space .app-tile-icon img{object-fit:cover;opacity:1;width:100%;height:100%}
.home #catalogue .space .app-list::-webkit-scrollbar{height:6px;width:6px}
.rail-arrow:disabled{opacity:.3;cursor:default}.home #catalogue .space.expanded .rail-navigation{display:none}
.catalogue-rail{position:relative;min-width:0}.catalogue-rail .rail-navigation{position:absolute;inset:0;display:block;margin:0;pointer-events:none;z-index:3}.catalogue-rail .rail-arrow{position:absolute;top:45px;pointer-events:auto;background:#0d2933e8;border:1px solid #95c0b2aa;color:#e3f2eb;box-shadow:0 3px 12px #06191a55}.catalogue-rail .rail-arrow:first-child{left:7px}.catalogue-rail .rail-arrow:last-child{right:7px}.catalogue-rail .rail-arrow:disabled{opacity:0;pointer-events:none}.home #catalogue.all-expanded .category-view-all{display:none}
.home #catalogue.theme-view .category-view-all{display:none}
.home #catalogue.theme-view .space .app-list{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:24px 18px;overflow:visible;scroll-snap-type:none}
.home #catalogue.theme-view .space .app-tile{width:100%;min-width:0}
@media(max-width:520px){.home #catalogue.theme-view .space .app-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.home #catalogue.theme-view .space .app-tile-icon{height:auto;aspect-ratio:16/9}}
@media(max-width:520px){.home #catalogue.theme-view .space .app-tile .status{position:static;align-self:flex-start;order:1;margin:0 0 7px}.home #catalogue.theme-view .space .app-tile h4{order:2}.home #catalogue.theme-view .space .app-tile .app-summary{order:3}.home #catalogue.theme-view .space .app-tile .coming{order:4}}
.catalogue-header-nav{display:flex;align-items:center;gap:26px;margin-left:30px}.catalogue-header-nav a{font-size:13px;color:var(--console-muted);text-decoration:none;white-space:nowrap}.catalogue-header-nav a:first-child{color:var(--console-accent);font-weight:700}.home .catalogue-filters .catalogue-view-all{margin-left:auto;color:var(--console-accent);font-weight:700;border:1px solid #6b929255;border-radius:7px;padding:8px 13px}.category-view-all{margin-left:auto;background:none;border:0;color:var(--console-accent);font-size:12px;padding:10px 8px;white-space:nowrap}.category-view-all+.rail-navigation{margin-left:0}.home #catalogue .space.expanded .app-list{flex-wrap:wrap;overflow:visible;scroll-snap-type:none}.catalogue-about{border-top:1px solid #6b929233;padding-top:24px;margin-top:32px;max-width:1100px}.catalogue-about h2{font-size:20px;margin-bottom:10px}.catalogue-about p{font-size:14px;line-height:1.6;color:var(--console-muted)}
@media(max-width:1050px){.catalogue-header-nav{gap:16px;margin-left:0;flex-basis:100%;flex-wrap:wrap}.home .station-header-row{flex-wrap:wrap}}
@media(max-width:800px){.home .catalogue-filters{flex-wrap:wrap}.home .catalogue-filters .catalogue-view-all{margin-left:0}.category-view-all{font-size:11px;padding:8px 4px}}
@media(max-width:520px){.home #catalogue .space .app-tile{flex-basis:210px}.home #catalogue .space.expanded .app-tile{flex:1 1 150px}.home .space-top{flex-wrap:wrap}.home .space-top h3{flex-basis:100%}.category-view-all{margin-left:0}}
@media(min-width:1600px){.catalogue-hero{height:390px}.hero-art{height:390px}.hero-copy{padding-top:50px}}
@media(max-width:800px){.home .home-intro{flex-direction:column;align-items:stretch;gap:18px}.catalogue-search{flex-basis:auto}.catalogue-hero{grid-template-columns:60% 40%;height:360px}.hero-copy{padding:28px 47px}.hero-count{left:47px}.hero-art{height:360px}.hero-art img{width:180%;max-width:none}.hero-navigation{left:auto;right:20px;transform:none}.hero-name{display:none}.home .hero-copy h2{font-size:32px}.hero-buttons{margin-top:15px}.hero-buttons a{padding:9px 11px}.hero-symbol{font-size:100px}}
@media(max-width:520px){.catalogue-hero{display:block;height:410px}.hero-copy{padding:26px 45px;max-width:100%;height:100%;background:linear-gradient(90deg,#102b33ef,#102b338c);z-index:2}.hero-art{position:absolute;right:-60px;bottom:0;width:70%;height:100%;opacity:.25;z-index:0}.hero-art img{width:180%}.hero-description{font-size:14px}.hero-tag{font-size:9px}.hero-count{bottom:18px;left:45px}.hero-navigation{bottom:12px;right:15px}.hero-buttons{flex-direction:column;align-items:start}.home .app-tile{flex-basis:210px}.home .space-top h3{font-size:18px}.rail-navigation{gap:5px}.rail-arrow{min-width:32px}.catalogue-filters button{font-size:11px;padding:8px}.home .home-intro h1{font-size:24px}}

.home #catalogue .space{background:transparent;border:0;box-shadow:none}.home #catalogue .space-icon{display:none}.home .hero-art .hero-poster{width:140px;height:210px;object-fit:cover;transform:rotate(-8deg);border-radius:8px;border:1px solid #ffffff40;margin:0 10px;box-shadow:0 15px 35px #0005}.home .hero-art .hero-poster:nth-child(2){transform:rotate(8deg);height:235px}@media(max-width:800px){.home .hero-art .hero-poster{width:95px;height:160px;margin:0 4px}.home .hero-art .hero-poster:nth-child(2){height:175px}}

.catalogue-hero[data-slide=music-quiz] .hero-art img{width:94%;height:auto;max-height:90%;transform:none}

.catalogue-hero:is([data-slide=agile-project-guide],[data-slide=story-mapping],[data-slide=audit-produit]) .hero-art img{width:94%;height:auto;max-height:90%;transform:none}

.catalogue-hero[data-slide=retro-kart] .hero-art img{width:112%;height:100%;max-width:none;object-fit:contain;transform:none}

.catalogue-hero:is([data-slide=story-mapping],[data-slide=audit-produit]) .hero-tag{background:#f5d66f;color:#30270d;border:1px solid #e8c453;box-shadow:0 0 14px #f5d66f22}
/* Navigation des catégories : bleu profond des tuiles en thème clair. */
/* Mobile : illustration, texte et navigation ont chacun leur espace. */
@media(max-width:520px){
 .home .catalogue-hero{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:170px auto auto;height:auto;min-height:0}
 .home .catalogue-hero .hero-art{position:relative;grid-row:1;right:auto;bottom:auto;width:calc(100% - 100px);height:170px;margin-inline:auto;opacity:1}
 .home .catalogue-hero .hero-art img{width:100%;height:100%;max-height:160px;max-width:100%;object-fit:contain;transform:none}
 .home .catalogue-hero .hero-art img.hero-poster{width:80px;height:125px;margin:0 4px;transform:rotate(-8deg)}
 .home .catalogue-hero .hero-art img.hero-poster:nth-child(2){height:135px;transform:rotate(8deg)}
 .home .catalogue-hero .hero-copy{grid-row:2;height:auto;padding:0 22px 18px;background:none;min-width:0}
 .home .catalogue-hero .hero-copy h2{margin-top:0;font-size:29px}
 .home .catalogue-hero .hero-buttons{flex-direction:row;align-items:stretch;gap:8px}
 .home .catalogue-hero .hero-buttons a{justify-content:center;flex:1 1 125px}
 .home .catalogue-hero .hero-arrow{top:63px}
 .home .catalogue-hero .hero-navigation{position:static;grid-row:3;transform:none;justify-content:center;padding:0 12px 12px}
}
html:not([data-theme=dark]) .home .catalogue-categories{--console-accent:#193449}
/* Sur téléphone, la navigation occupe sa propre ligne sous le logo. */
@media(max-width:720px){
 body.home>header .station-header-left,body.home>header .station-header-row{display:contents}
 body.home>header .brand{grid-column:1;grid-row:1;font-size:17px;min-width:0}
 body.home>header .station-header-right{grid-column:2;grid-row:1}
 body.home>header .catalogue-header-nav{grid-column:1/-1;grid-row:2;min-width:0;max-width:100%;flex-basis:auto;flex-wrap:wrap;gap:12px 16px;margin:0}
}
/* Administration conserve le même bord gauche que les autres rangées. */
.home #catalogue .space.admin{padding:0}
