/* Cadre de page des studios gratuits : bande bleue en tête, zone d'application pleine largeur, texte SEO lisible, pied.
   CLAIR UNIQUEMENT (le site n'a pas de thème sombre ; décision de l'utilisateur, 2026-11-18) : fond blanc, bleu en écriture, traits fins bleu clair.
   La bande bleue reprend EXACTEMENT celle de /logiciels/ (site/hub.css, .hub-hero) : mêmes couleurs, même quadrillage, mêmes tailles de texte, même colonne de 1100 px
   alignée sur le menu du site. Si on change l'une, changer l'autre. */
:root {
  color-scheme: light;
  --p-primary: #085292; --p-navy: #06304f; --p-text: #12202d; --p-muted: #51667a; --p-bg: #fff; --p-surface: #f3f7fb; --p-border: #cfdeee;
  --p-hero: linear-gradient(135deg, #0b3a66 0%, #085292 100%);
  --p-m: 20px;   /* marge latérale du menu du site (repli ; le menu pose --amu-marge) */
}
@media (max-width: 1023px) { :root { --p-m: 16px; } }
@media (max-width: 420px) { :root { --p-m: 12px; } }
body { margin: 0; background: var(--p-bg); color: var(--p-text); font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; line-height: 1.6; }
.skip { position: absolute; left: -999px; top: 0; background: var(--p-primary); color: #fff; padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: 8px; top: 8px; }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.wrap--app { width: min(1500px, 100% - 24px); }

/* ---------- Bande bleue (même habillage que le héros de /logiciels/) ---------- */
.page-band { position: relative; overflow: hidden; background: var(--p-hero); color: #fff; padding: 20px 0 34px; }
.page-band::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: linear-gradient(90deg, transparent 5%, #000 70%); mask-image: linear-gradient(90deg, transparent 5%, #000 70%); }
.page-band .wrap { position: relative; width: calc(100% - 2 * var(--amu-marge, var(--p-m))); max-width: 1100px; }
.page-band :focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 4px; }
.page-head-top { margin-bottom: 26px; }
.page-eyebrow { margin: 0 0 8px; font-size: 11.5px; line-height: 1.5; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b9d9f6; }
.page-band h1 { margin: 0 0 12px; font-size: clamp(1.7rem, 1.1rem + 2vw, 2.3rem); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.lede { margin: 0; max-width: 70ch; font-size: 1.05rem; line-height: 1.55; color: #dcebf8; }
/* fil d'Ariane et notice de traduction, sur fond bleu */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; margin: 0; padding: 0; font-size: .85rem; color: #cfe5f8; }
.crumbs li + li::before { content: '›'; margin-right: .3rem; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-band .notice { margin: 0 0 16px; padding: .55rem .9rem; border: 1px solid rgba(255, 255, 255, .35); border-radius: 8px; background: rgba(255, 255, 255, .1); font-size: .85rem; color: #eaf4fd; }
.page-band .notice p { margin: .2rem 0; }

/* Mention « session en mémoire vive » : bandeau crème à filet brun, juste sous la bande bleue */
.page-ram { padding-top: 16px; }
.page-ram:empty { display: none; }
.ram { margin: 0; padding: .55rem .9rem; background: #fdf3e6; border-left: 4px solid #b45309; border-radius: 6px; font-size: .9rem; color: var(--p-text); }
main > .wrap--app { padding-top: 12px; }

.see { margin: 2rem 0 0; padding: 1rem 1.2rem; border: 1px solid var(--p-border); border-radius: 10px; background: var(--p-surface); }
.see h2 { margin: 0 0 .4rem; font-size: 1.1rem; }
.see h3 { margin: .8rem 0 .2rem; font-size: .95rem; color: var(--p-primary); }
.see ul { margin: 0; padding-left: 1.2rem; }
.see a { color: var(--p-primary); }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 1rem 0 2rem; }
.card { display: flex; flex-direction: column; gap: .4rem; padding: 1rem 1.1rem; border: 1px solid var(--p-border); border-radius: 12px; background: var(--p-bg); text-decoration: none; color: var(--p-text); }
.card:hover { border-color: var(--p-primary); box-shadow: 0 4px 16px rgba(6, 48, 79, .12); }
.card h2 { margin: 0; font-size: 1.1rem; color: var(--p-primary); }
.card p { margin: 0; font-size: .92rem; color: var(--p-muted); flex: 1; }
.card .go { font-weight: 600; color: var(--p-primary); }
.loading { color: var(--p-muted); padding: 2rem 0; }
.wrap--text { padding: 2rem 0 1rem; max-width: 820px; }
.seo h2, .faq h2 { color: var(--p-primary); margin: 2rem 0 .6rem; font-size: 1.35rem; line-height: 1.3; }
.seo h3 { color: var(--p-primary); margin: 1.2rem 0 .3rem; font-size: 1.08rem; }
.seo a, .faq a { color: var(--p-primary); }
.seo table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .92rem; }
.seo th, .seo td { border: 1px solid var(--p-border); padding: .4rem .6rem; text-align: left; }
.seo th { background: var(--p-surface); }
.faq details { border: 1px solid var(--p-border); border-radius: 8px; margin: .5rem 0; padding: .1rem .8rem; }
.faq summary { cursor: pointer; font-weight: 600; padding: .5rem 0; }
.page-foot { margin-top: 2rem; padding: 1.2rem 0 2rem; background: var(--p-surface); color: var(--p-muted); font-size: .85rem; }
.page-foot p { margin: .3rem 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lang-links { margin: 1.6rem 0 0; padding-top: 1rem; border-top: 1px solid var(--p-border); }
.lang-links ul { display: flex; flex-wrap: wrap; gap: .4rem .9rem; list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.lang-links a { text-decoration: underline; color: var(--p-primary); }
.lang-links [aria-current] { font-weight: 700; }
