/* École Facile : pages Guides parents, Aide élèves et Ressources */
.g-page { background: #fffbf0; }
.g-header { background: var(--encre, #1f3c88); color: #fff; padding: 22px 18px 26px; text-align: center; }
.g-kicker { display: inline-block; font-size: .75rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.16); border-radius: 20px; padding: 4px 12px; margin-bottom: 10px; }
.g-header h1 { font-size: clamp(1.45rem, 4.5vw, 2.1rem); line-height: 1.2; margin: 0 auto 10px; max-width: 760px; font-weight: 900; }
.g-header p { margin: 0 auto; max-width: 680px; font-size: 1rem; opacity: .92; }
.g-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.g-tabs a { color: #fff; text-decoration: none; font-size: .8rem; font-weight: 800; border: 1.5px solid rgba(255,255,255,.4); border-radius: 20px; padding: 5px 14px; }
.g-tabs a[aria-current="page"] { background: #fff; color: var(--encre, #1f3c88); }
.g-main { max-width: 760px; margin: 0 auto; padding: 18px 16px 40px; color: #1e1b4b; font-size: 1.05rem; line-height: 1.65; }
.g-meta { font-size: .85rem; color: #5f6472; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 18px; }
.g-meta strong { color: #1e1b4b; }
.g-tldr { background: #fff; border: 2px solid #1f3c88; border-radius: 16px; padding: 16px 18px; margin: 0 0 26px; }
.g-main .g-tldr h2 { font-size: 1rem; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .04em; color: #1f3c88; }
.g-tldr ul { margin: 0; padding-left: 20px; }
.g-tldr li { margin: 4px 0; }
.g-main h2 { font-size: 1.35rem; line-height: 1.3; margin: 34px 0 10px; font-weight: 900; color: #172d66; }
.g-main h3 { font-size: 1.1rem; margin: 22px 0 6px; font-weight: 900; }
.g-main p { margin: 0 0 14px; }
.g-main ul, .g-main ol { margin: 0 0 16px; padding-left: 24px; }
.g-main li { margin: 5px 0; }
.g-main a { color: #1f3c88; font-weight: 700; }
.g-stat { display: flex; gap: 14px; align-items: center; background: #eef2ff; border-radius: 14px; padding: 14px 16px; margin: 18px 0; }
.g-stat b { font-size: 1.9rem; font-weight: 900; color: #1f3c88; white-space: nowrap; }
.g-stat span { font-size: .95rem; }
.g-stat small { display: block; color: #5f6472; margin-top: 3px; }
.g-quote { border-left: 5px solid #ff7f2a; background: #fff; border-radius: 0 14px 14px 0; padding: 12px 16px; margin: 18px 0; font-style: italic; }
.g-quote cite { display: block; font-style: normal; font-size: .85rem; color: #5f6472; margin-top: 6px; }
.g-tip { background: #ecfdf5; border: 2px solid #22c55e; border-radius: 14px; padding: 12px 16px; margin: 18px 0; }
.g-warn { background: #fff7ed; border: 2px solid #ff7f2a; border-radius: 14px; padding: 12px 16px; margin: 18px 0; }
.g-steps { counter-reset: st; list-style: none; padding-left: 0 !important; }
.g-steps > li { counter-increment: st; position: relative; padding: 10px 12px 10px 52px; background: #fff; border-radius: 14px; margin: 10px 0; box-shadow: 0 1px 0 #e5e7eb; }
.g-steps > li::before { content: counter(st); position: absolute; left: 12px; top: 10px; width: 30px; height: 30px; border-radius: 50%; background: #1f3c88; color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.g-table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: .95rem; background: #fff; border-radius: 12px; overflow: hidden; }
.g-table th, .g-table td { border: 1px solid #e5e7eb; padding: 8px 10px; text-align: left; vertical-align: top; }
.g-table th { background: #eef2ff; }
.g-table-wrap { overflow-x: auto; }
.g-cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: 16px 0 22px; }
.g-cta a { display: block; background: #fff; border: 2px solid #e0e7ff; border-radius: 14px; padding: 12px 14px; text-decoration: none; color: #1e1b4b; font-weight: 800; }
.g-cta a small { display: block; font-weight: 600; color: #5f6472; margin-top: 3px; }
.g-cta a:hover { border-color: #1f3c88; }
.g-faq details { background: #fff; border-radius: 14px; padding: 12px 16px; margin: 10px 0; box-shadow: 0 1px 0 #e5e7eb; }
.g-faq summary { font-weight: 800; cursor: pointer; }
.g-faq details p { margin: 10px 0 0; }
.g-sources { font-size: .88rem; color: #3f4352; background: #f8fafc; border-radius: 14px; padding: 12px 16px 6px; margin-top: 30px; }
.g-main .g-sources h2 { font-size: 1rem; margin: 0 0 8px; }
.g-sources li { margin: 4px 0; }
.g-author { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 14px 16px; margin-top: 18px; font-size: .9rem; border: 1px solid #e5e7eb; }
.g-author .g-av { font-size: 1.8rem; line-height: 1; }
.g-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 12px 0 26px; }
.g-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; padding: 14px 16px; text-decoration: none; color: #1e1b4b; border: 2px solid #e0e7ff; }
.g-card:hover { border-color: #1f3c88; }
.g-card .g-ico { font-size: 1.6rem; }
.g-card strong { font-size: 1.02rem; margin: 6px 0 4px; line-height: 1.3; }
.g-card span { font-size: .9rem; color: #4b5060; }
.g-card .g-dl { margin-top: auto; padding-top: 8px; font-size: .82rem; font-weight: 900; color: #1f3c88; }
.g-pill { display: inline-block; font-size: .72rem; font-weight: 900; background: #eef2ff; color: #1f3c88; border-radius: 10px; padding: 2px 8px; margin-right: 4px; }
@media (max-width: 520px) { .g-main { font-size: 1rem; } .g-stat { flex-direction: column; align-items: flex-start; gap: 4px; } }
@media print { .g-header .g-tabs, .nav-burger, .related-section { display: none !important; } }
