/* Ritmul Clasei — paginile de prezentare pe niveluri (gradinita, primar, gimnaziu).
   Sunt pagini de citit, pentru educatoare si profesori; aplicatia propriu-zisa foloseste app.css. */

@font-face { font-family: "Baloo 2"; src: url("../fonts/baloo-2-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Baloo 2"; src: url("../fonts/baloo-2-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-ext.woff2") format("woff2"); font-weight: 200 1000; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F; }

:root {
  --ink: #1f2340; --ink-2: #555a7a; --cream: #fff6e9; --paper: #ffffff; --sand: #fbeeda;
  --teal: #2ec4b6; --teal-d: #17786f; --coral: #ff6b5e; --coral-d: #e2493c; --sun: #ffd23f;
  --display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --text: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 26px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
a { color: var(--teal-d); font-weight: 700; }

.wrap { max-width: 920px; margin: 0 auto; padding: clamp(16px, 3vw, 32px) clamp(16px, 4vw, 40px) 56px; }

/* antet */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-mark rect { fill: var(--teal); }
.brand-mark circle { fill: #fff; }
.brand-mark circle:nth-of-type(2) { fill: var(--sun); }
.brand-mark circle:nth-of-type(3) { fill: var(--coral); }
.brand-name { font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 4.6vw, 1.45rem); letter-spacing: -0.01em; white-space: nowrap; }
.top-open { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--paper);
  box-shadow: inset 0 0 0 2px rgba(31, 35, 64, 0.14); color: var(--ink); font-weight: 800; text-decoration: none; white-space: nowrap; }
@media (max-width: 420px) { .brand { gap: 9px; } .brand-mark { width: 38px; height: 38px; } .top-open { padding: 0 14px; font-size: 0.95rem; } }

/* cele trei niveluri */
.levels { display: flex; gap: 8px; flex-wrap: wrap; margin: clamp(18px, 3vw, 30px) 0 0; padding: 0; list-style: none; }
.levels a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--sand);
  color: var(--ink); font-weight: 800; text-decoration: none; }
.levels a[aria-current="page"] { background: var(--ink); color: #fff; }

/* inceputul paginii */
.lede { margin: clamp(20px, 4vw, 40px) 0 clamp(26px, 5vw, 48px); }
.kicker { margin: 0 0 10px; font-weight: 800; font-size: 0.86rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--teal-d); }
h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 5.4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 16px; text-wrap: balance; }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.3rem); line-height: 1.55; color: var(--ink-2); margin: 0 0 24px; max-width: 44rem; text-wrap: pretty; }
.cta { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; }
.go { display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 28px; border-radius: 999px; background: var(--coral); color: #fff;
  font-family: var(--display); font-weight: 600; font-size: 1.3rem; text-decoration: none; box-shadow: 0 5px 0 var(--coral-d); }
.go:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--coral-d); }
.go svg { width: 22px; height: 22px; fill: currentColor; }
.cta-note { margin: 0; color: var(--ink-2); font-weight: 700; }

/* sectiuni */
section { margin: 0 0 clamp(34px, 6vw, 60px); }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 10px; text-wrap: balance; }
.sec-lead { font-size: 1.08rem; line-height: 1.6; color: var(--ink-2); margin: 0 0 20px; max-width: 44rem; }
p, li { font-size: 1.06rem; line-height: 1.62; }
p { margin: 0 0 12px; }

/* jocurile */
.moments { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .moments { grid-template-columns: 1fr 1fr; gap: 18px; } }
.moment { background: var(--paper); border-radius: var(--r); padding: 22px 24px 20px; box-shadow: 0 12px 30px -22px rgba(31, 35, 64, 0.35);
  display: flex; flex-direction: column; }
.moment-when { margin: 0 0 4px; font-weight: 800; font-size: 0.95rem; color: var(--teal-d); }
.moment h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.12; margin: 0 0 8px; }
.moment p { margin: 0 0 14px; color: var(--ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: auto 0 0; padding: 0; list-style: none; }
.chips li { font-size: 0.9rem; font-weight: 800; line-height: 1; padding: 8px 12px; border-radius: 999px; background: var(--sand); color: var(--ink); }
.chips li:first-child { background: #fff3c4; }

/* cei patru pasi */
.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: pas; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: pas; background: var(--sand); border-radius: 22px; padding: 18px 18px 16px; font-size: 1rem; line-height: 1.5; }
.steps li::before { content: counter(pas); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 10px;
  background: var(--teal); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.steps b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.2rem; margin-bottom: 2px; }

/* liste de citit */
.plain { margin: 0; padding-left: 1.25em; max-width: 46rem; }
.plain li { margin-bottom: 10px; }
.faq { max-width: 46rem; }
.faq h3 { font-family: var(--display); font-weight: 600; font-size: 1.22rem; line-height: 1.2; margin: 22px 0 4px; }
.faq h3:first-child { margin-top: 0; }
.faq p { margin: 0; color: var(--ink-2); }

/* celelalte niveluri */
.others { display: grid; gap: 14px; }
@media (min-width: 760px) { .others { grid-template-columns: 1fr 1fr; } }
.others a { display: block; background: var(--paper); border-radius: var(--r); padding: 20px 24px; text-decoration: none; color: var(--ink);
  box-shadow: 0 12px 30px -22px rgba(31, 35, 64, 0.35); }
.others b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.3rem; line-height: 1.15; margin-bottom: 4px; color: var(--teal-d); }
.others span { font-weight: 400; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }

/* incheiere */
.closing { background: var(--sand); border-radius: var(--r); padding: clamp(22px, 4vw, 36px); }
.closing h2 { margin-bottom: 8px; }
.closing p { color: var(--ink-2); max-width: 40rem; margin-bottom: 20px; }
.foot { color: var(--ink-2); font-size: 0.95rem; line-height: 1.55; }
.foot p { font-size: inherit; margin: 0 0 4px; }
.foot b { color: var(--ink); }

/* paginile pe jocuri */
.crumbs { margin: clamp(18px, 3vw, 30px) 0 0; font-weight: 700; color: var(--ink-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.moment h3 a { color: inherit; font-weight: inherit; text-decoration: none; }
.moment h3 a:hover { color: var(--teal-d); text-decoration: underline; }
.chips-top { margin: 0 0 22px; }
.howto { margin: 0; padding: 0; list-style: none; counter-reset: pas; max-width: 46rem; display: grid; gap: 10px; }
.howto li { counter-increment: pas; position: relative; background: var(--paper); border-radius: 20px; padding: 14px 18px 14px 62px; min-height: 58px;
  box-shadow: 0 10px 28px -22px rgba(31, 35, 64, 0.35); }
.howto li::before { content: counter(pas); position: absolute; left: 16px; top: 13px; display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.others a span { display: block; }
.all { margin: 16px 0 0; }
