/* A quiet, task-oriented editorial system. */
html { scroll-padding-top:100px; }
body { -webkit-font-smoothing:antialiased; }
main h1, main h2, main h3 { text-wrap:balance; }
main h1 { letter-spacing:-.04em; }
main p { text-wrap:pretty; }
[hidden] { display:none !important; }
body > header { position:sticky; top:0; z-index:1100; }
body > header .brand { white-space:nowrap; }
.brand .logo { background:none; box-shadow:none; }
.qgb-menu-toggle { display:none; border:1px solid var(--line); background:var(--card); color:var(--ink); border-radius:999px; padding:10px 16px; min-height:44px; font:700 15px/1.2 inherit; cursor:pointer; }
.qgb-stage-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; }
.qgb-stage { display:flex; flex-direction:column; overflow:hidden; border-radius:20px; background:var(--card); color:var(--ink); text-decoration:none; border:1px solid var(--line); }
.qgb-stage img { width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }
.qgb-stage-copy { display:flex; flex-direction:column; flex:1; padding:18px; }
.qgb-stage small { color:var(--sage-2); font-weight:800; margin-bottom:12px; }
.qgb-stage h3 { font-size:1.13rem; line-height:1.3; margin-bottom:8px; }
.qgb-stage p { font-size:.9rem; line-height:1.55; color:var(--ink-2); margin-bottom:20px; }
.qgb-stage-copy > span { margin-top:auto; font-size:.9rem; font-weight:800; color:var(--violet-2); }
.qgb-paths { padding:64px 0; }
.qgb-text-link { display:inline-block; padding:16px 0; margin-top:12px; color:var(--violet-2); font-weight:800; text-underline-offset:5px; }
.qgb-home-photo { min-height:580px; }
.intro.qgb-home-photo h1 { max-width:17ch; font-size:clamp(2.7rem,4.8vw,4.6rem); line-height:1.06; color:#fff; }
.intro.qgb-home-photo .lead { font-size:1.12rem; line-height:1.65; max-width:43ch; color:#fff; }
.qgb-home-photo .cta-row { align-items:center; }
.qgb-home-photo .btn2 { padding:15px 22px; }
.qgb-search-panel { padding-top:28px; padding-bottom:28px; }
.qgb-search-panel label { display:block; font-weight:800; margin-bottom:10px; }
.qgb-search-row { display:flex; gap:10px; max-width:720px; }
.qgb-search-row input { flex:1; min-width:0; padding:15px 18px; border:1px solid var(--line); border-radius:12px; background:var(--card); color:var(--ink); font:inherit; }
.qgb-reset { padding:12px 18px; border:1px solid var(--line); border-radius:12px; background:var(--card); color:var(--ink); font:inherit; cursor:pointer; }
.qgb-search-count { margin-top:10px; font-size:.9rem; color:var(--ink-2); }
.qgb-search-empty { padding:24px 0; }
.qgb-toc { margin:24px 0 36px; padding:18px 22px; border:1px solid var(--line); background:var(--card); border-radius:16px; }
.qgb-toc summary { font-weight:800; cursor:pointer; }
.qgb-toc nav { display:grid; gap:12px; padding-top:18px; }
.qgb-toc a { color:var(--ink); text-underline-offset:4px; }
.qgb-catalog .guide { box-shadow:0 2px 4px #18312504; }
.qgb-catalog .guide h3 { font-size:1.13rem; }
.qgb-catalog .gx-step { scroll-margin-top:110px; }
.qgb-catalog .gx-jump { z-index:100; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .qgb-stage { transition:transform 180ms ease,box-shadow 180ms ease; }
  .qgb-stage:hover { transform:translateY(-3px); box-shadow:0 10px 30px #18312512; }
  .qgb-stage img { transition:transform 300ms ease; }
  .qgb-stage:hover img { transform:scale(1.035); }
}
@media (max-width:1100px) {
  .qgb-enhanced .qgb-menu-toggle { display:block; margin-left:auto; }
  .qgb-enhanced header #qgb-navigation { display:none; }
  .qgb-enhanced header #qgb-navigation.qgb-nav-open { display:flex; position:absolute; top:100%; left:16px; right:16px; flex-direction:column; align-items:stretch; gap:4px; padding:16px; max-height:calc(100dvh - 100px); overflow:auto; background:var(--card); border:1px solid var(--line); border-radius:18px; box-shadow:0 16px 40px #18312525; }
  #qgb-navigation.qgb-nav-open a { display:block; padding:12px 16px; min-height:44px; }
  #qgb-navigation.qgb-nav-open .theme-sw { margin:8px 16px; }
  .qgb-stage-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:640px) {
  .qgb-paths { padding:40px 0; }
  .qgb-stage-grid { grid-template-columns:1fr; gap:12px; }
  .qgb-stage { flex-direction:row; }
  .qgb-stage img { width:112px; height:auto; aspect-ratio:auto; object-fit:cover; }
  .qgb-stage-copy { padding:16px; }
  .qgb-stage small { display:none; }
  .qgb-stage p { margin-bottom:8px; }
  .qgb-home-photo { min-height:600px; padding:36px 0; }
  .qgb-home-photo > .qgb-banner { object-position:65% center; }
  .qgb-home-photo::before { background:linear-gradient(90deg,#15291ee8,#15291eb8 65%,#15291e70); }
  .intro.qgb-home-photo h1 { font-size:2.8rem; }
  .intro.qgb-home-photo .lead { font-size:1rem; }
  .qgb-home-photo .cta-row { flex-direction:column; align-items:stretch; }
  .qgb-home-photo .btn2 { text-align:center; justify-content:center; }
  .qgb-catalog .guides { grid-template-columns:1fr; }
  .qgb-catalog .guide .g-img { aspect-ratio:3/2; }
  .qgb-search-row { gap:8px; }
  .qgb-reset { padding:12px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto !important; }
  *,*::before,*::after { animation:none !important; transition:none !important; }
}
@media print { .qgb-menu-toggle,.qgb-search-panel { display:none !important; } body > header { position:static; } }

footer .f-mail{margin-top:6px;font-size:13.5px}footer .f-mail a{color:inherit;text-decoration:underline;text-underline-offset:2px;font-weight:700}
.chou-hero .ph-img{object-fit:contain;max-height:300px;width:auto;justify-self:center;border-radius:0;box-shadow:none;background:none}

/* sombre refonte */
html[data-theme="dark"]{--violet:#B4512F;--violet-2:#E3967A;--violet-tint:#3B2620;--sage:#7FA06D;--sage-2:#9BC2A3;--sage-tint:#1E2B22;--mint-tint:#1E2B22;--night:#2D5640;--night-2:#26302A;--bg:#121511;--card:#1F231E;--line:#353A31}
html[data-theme="dark"] #creches .qgb-directions{color:#9BC2A3}
html[data-theme="dark"] :is(.page-hero,.art-hero){background:linear-gradient(160deg,#1B231D 0%,#1A1C18 55%,#2A1F1A 100%)}
html[data-theme="dark"] .res{background:linear-gradient(155deg,#9A4429 0%,#6E3B26 55%,#2F4A38 100%)}

/* logo chou */
.brand .logo img{display:block;width:40px;height:40px;object-fit:contain}

/* creches live */
#creches .search .btn{padding:10px 18px;border-radius:12px;border:0;background:#a84225;color:#fff;cursor:pointer;font:inherit;font-weight:700}
#creches .search input{flex:1 1 220px}
.cr-ex{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0 0;font-size:14px;color:var(--mute)}
.cr-ex button,.cr-pick button{border:1.5px solid var(--line);background:var(--card,#fff);color:var(--ink);border-radius:999px;padding:6px 12px;font:inherit;font-size:14px;cursor:pointer;min-height:36px}
.cr-ex button:hover,.cr-pick button:hover{border-color:#a84225}
.cr-status{min-height:1.4em;margin:10px 0 0;font-size:14px;color:var(--ink-2)}
.cr-pick{padding:16px}.cr-pick p{margin:0 0 10px;font-weight:600}.cr-pick button{margin:0 8px 8px 0}
#creches .cr .qgb-directions{display:inline-block;margin-right:16px}
#creches .demo a{color:inherit;text-decoration:underline}
html[data-theme="dark"] .cr-ex button,html[data-theme="dark"] .cr-pick button{background:#1F231E;color:var(--ink);border-color:var(--line)}
