/* CMSSM · motif.css — direcția 2 „Cercul”, 2026-11-11.
   Un singur motiv, luat din logo: cercul din jurul dintelui. Apare la patru scări:
   discul uriaș din hero, cercurile în care stau pozele, forma butoanelor și buline la text.
   Se încarcă după site.css și îl suprascrie. Doar tokens. */

html, body { overflow-x: clip; }

/* ---------- tipografie: grotesc greu peste tot; propozițiile mari rămân text ---------- */
.statement, .lead, .prose blockquote { font-family: var(--font-text); font-weight: var(--weight-medium); letter-spacing: -0.015em; }
.row__date { font-weight: 700; letter-spacing: -0.02em; }
.page-head h1 { max-width: 13ch; }

/* ---------- motivul în componentele comune ---------- */
.btn, .filter button, .tabs button, .tabs a, .pager a, .pager span, .ptabs a, .buy__tags span, .badge, .sample-note { border-radius: var(--radius-round); }
.btn { min-height: 52px; padding: 0 26px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--teal-700); color: #fff; }
.page-plate, .tickets__info .pic { border-radius: var(--radius-round); }
.checklist li::before { border-radius: 50%; }

/* capul paginilor interioare: un disc deschis, tăiat de marginea ecranului */
.page-head { position: relative; isolation: isolate; clip-path: inset(-100vh -100vw 0 -100vw); } /* discul poate ieși în sus/dreapta, dar nu peste conținutul de dedesubt */
.page-head::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: clamp(260px, 36vw, 600px); aspect-ratio: 1; border-radius: 50%; background: var(--teal-100);
  right: calc(-1 * var(--page-margin) - 10vw); top: -45%;
}

/* ---------- header: o bară simplă ---------- */
.board { padding-top: 0; }
.bar { display: flex; align-items: center; gap: 12px; height: 88px; }
.bar > * { height: auto; }
.bar__logo { background: none; padding: 0; flex: none; }
.bar__logo img { max-height: 42px; }
.bar__right { display: flex; align-items: center; gap: 8px; }
.bar__nav a { font-weight: var(--weight-semibold); }
.bar__cart, .bar__cta { height: 48px; border-radius: var(--radius-round); }
.bar__cart { background: var(--mist); padding: 0 18px; }
.bar__cta { background: var(--ink); padding: 0 22px; }
@media (min-width: 1280px) {
  .bar__right { flex: 1; }
  .bar__nav { flex: none; background: none; padding: 0; margin: 0 auto 0 clamp(24px, 5vw, 96px); gap: 8px; }
}
@media (max-width: 1279px) {
  .bar__logo { flex: 1; }
  .bar__menu summary { height: 48px; border-radius: var(--radius-round); background: var(--mist); }
  .bar__menu nav { top: 100%; }
}
@media (max-width: 479px) {
  .bar { height: 72px; gap: 6px; }
  .bar__logo img { max-height: 32px; }
  .bar__cart, .bar__cta, .bar__menu summary { height: 44px; padding: 0 14px; }
}

/* ---------- header pe bleumarin (paleta din macheta clientului, 2026-11-11, pe tot site-ul) ---------- */
.board { max-width: none; background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,.08); }
.bar { max-width: 1280px; margin-inline: auto; } /* aceeași lățime ca pe homepage, pe toate paginile */
/* linkurile din meniu: pastile cu contur alb subțire, ca butonul coșului */
.bar__nav a { display: inline-flex; align-items: center; height: 48px; padding: 0 18px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-round); color: #fff; font-weight: var(--weight-medium); text-decoration: none; transition: background var(--dur-fast) linear, border-color var(--dur-fast) linear; }
.bar__nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.bar__nav a[aria-current] { border-color: var(--teal-500); }
.bar__cart { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); }
.bar__cart:hover { background: rgba(255,255,255,.08); color: #fff; }
.bar__cart[aria-current], .bar__cta[aria-current] { background: rgba(255,255,255,.14); color: #fff; }
.bar__cta { background: transparent; color: #dcc28a; border: 1px solid var(--teal-500); }
.bar__cta:hover { background: var(--teal-500); color: var(--navy-900); }
@media (max-width: 1279px) {
  .bar__menu summary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); }
}

/* ---------- hero: numele, următorul curs, afișul pe discul turcoaz ---------- */
.mo-hero { position: relative; margin-top: 0; overflow: clip; padding-block: clamp(16px, 3vh, 40px) clamp(56px, 9vh, 104px); }
.mo-hero__grid { display: grid; gap: 56px; align-items: center; }
.mo-hero h1 { font-size: clamp(1.9rem, 7.6vw, 3rem); line-height: 0.92; letter-spacing: -0.05em; text-wrap: nowrap; }
.mo-hero__sub { margin-top: clamp(20px, 3vh, 32px); font-size: var(--text-large); line-height: 1.4; font-weight: var(--weight-medium); letter-spacing: -0.015em; max-width: 34ch; }

.next { position: relative; margin-top: clamp(32px, 5vh, 56px); max-width: 640px; display: grid; gap: 14px; padding: clamp(24px, 2.4vw, 36px) clamp(28px, 3vw, 44px); background: var(--ink); color: #fff; }
.next::before, .next::after { content: ""; position: absolute; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--paper); }
.next::before { left: -14px; }
.next::after { right: -14px; }
.next h2 { font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.75rem); line-height: 1; letter-spacing: -0.04em; }
.next h2 a { color: inherit; text-decoration: none; }
.next h2 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.12em; }
.next__meta { color: var(--color-on-dark-soft); }
.next__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 10px; }
.next__price { font-size: var(--text-large); color: var(--color-on-dark-soft); }
.next__price b { color: #fff; font-size: var(--text-heading); font-weight: 800; letter-spacing: -0.03em; margin-right: 4px; }
.next__when { display: flex; align-items: center; gap: 10px; color: var(--teal-500); font-weight: var(--weight-semibold); }
.next__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal-500); flex: none; animation: pulse 2.4s var(--ease-inout) infinite; }
.next .btn { margin-left: auto; }

/* afișul: mare și simplu, ca o copertă — fără formă în spate, fără efecte */
.mo-hero__poster { display: block; justify-self: stretch; width: 100%; max-width: 520px; aspect-ratio: 2 / 3; }
.mo-hero__poster { perspective: 1200px; }
.mo-hero__poster img { width: 100%; height: 100%; object-fit: cover; border-radius: clamp(14px, 1.6vw, 24px);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  transition: transform 500ms var(--ease-out); will-change: transform; }
.mo-hero__poster.is-tilt img { transition-duration: 120ms; }
@media (prefers-reduced-motion: reduce) { .mo-hero__poster img { transform: none; transition: none; } }

@media (min-width: 600px) { .mo-hero h1 { font-size: clamp(2.5rem, 7.4vw, 4rem); } }
@media (min-width: 1000px) {
  .mo-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: clamp(640px, calc(100svh - 88px - 6vh), 920px); gap: var(--grid-gutter); }
  .mo-hero h1 { font-size: clamp(2.75rem, 4.7vw, 5.25rem); }
  .mo-hero__poster { width: auto; height: min(78svh, 820px); justify-self: end; }
}

/* ---------- colegiul, pe scurt ---------- */
.mo-about__ring { margin: 0; }
.ring-fade { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--teal-500); }
.ring-fade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: opacity 1600ms var(--ease-inout); }
.ring-fade img + img { opacity: 0; }
.ring-fade.is-b img + img { opacity: 1; }
.ring-fade.is-b img:first-child { opacity: 0; }
.mo-about__ring figcaption { margin-top: 14px; font-size: var(--text-small); color: var(--color-text-soft); padding-inline: var(--page-margin); }
.mo-about__ring { width: 86vw; margin-left: -10vw; }
.mo-about__ring figcaption { padding-left: calc(10vw + var(--page-margin)); }
.mo-about__text { margin-top: 48px; }

.mo-statement { margin-top: var(--block-gap); font-size: var(--text-heading); line-height: 1.2; font-weight: var(--weight-semibold); letter-spacing: -0.03em; max-width: 32ch; }
.thumb { display: inline-block; width: 1.6em; height: 0.86em; margin-inline: 0.1em; vertical-align: -0.1em; border-radius: var(--radius-round); overflow: hidden; background: var(--teal-500); }
.thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }

.points { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; gap: 28px 48px; }
@media (min-width: 640px) { .points { grid-template-columns: 1fr 1fr; } }
.points li { position: relative; display: grid; gap: 4px; padding-left: 28px; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.36em; width: 0.8em; height: 0.8em; border-radius: 50%; background: var(--teal-500); font-size: var(--text-large); }
.points li:nth-child(even)::before { background: var(--ink); }
.points b { font-size: var(--text-large); font-weight: 700; line-height: 1.3; }
.points > li > a { color: var(--ink); text-decoration: none; }
.points > li > a:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
.points span { color: var(--ink-soft); }
.points span a { color: var(--color-link); }

@media (min-width: 1000px) {
  .mo-about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; column-gap: clamp(32px, 4vw, 80px); }
  .mo-about__ring { width: calc(100% + 8vw); margin-left: -8vw; }
  .mo-about__ring figcaption { padding-left: calc(8vw + var(--page-margin)); }
  .mo-about__grid { margin: 0; padding-left: 0; max-width: none; }
  .mo-about__text { margin-top: 0; }
}

/* ---------- cursuri și congrese ---------- */
.mo-events { background: var(--mist); padding-block: clamp(64px, 9vw, 144px); }
.mo-events__grid { display: grid; gap: 48px; align-items: center; }
.mo-events__disc { width: min(100%, 640px); aspect-ratio: 1; justify-self: center; border-radius: 50%; background: var(--teal-500); display: grid; place-items: center; }
.mo-events__disc p { display: grid; justify-items: center; text-align: center; }
.mo-events__day { font-weight: 800; font-size: clamp(8rem, 3.5rem + 16vw, 18rem); line-height: 0.78; letter-spacing: -0.07em; margin-left: -0.07em; }
.mo-events__month { font-weight: 800; font-size: var(--text-title); line-height: 1; letter-spacing: -0.04em; margin-top: 0.3em; }
.mo-events__note { font-weight: var(--weight-semibold); margin-top: 14px; }
.mo-events__body { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.mo-events__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.mo-events__main { display: grid; gap: 20px; }
.mo-events__main h3 { font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.75rem); line-height: 1; letter-spacing: -0.04em; font-weight: 800; max-width: 22ch; }
.mo-events__main h3 a { color: inherit; text-decoration: none; }
.mo-events__main h3 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.12em; }
.mo-events__main > p { font-size: var(--text-large); line-height: 1.45; max-width: 48ch; }
.mo-facts { margin: 8px 0 0; display: grid; gap: 16px 32px; }
@media (min-width: 600px) { .mo-facts { grid-template-columns: 1fr 1fr; } }
.mo-facts dt { font-size: var(--text-small); color: var(--ink-soft); }
.mo-facts dd { margin: 2px 0 0; font-weight: var(--weight-semibold); }
.mo-events__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mo-events__actions .btn { min-height: 60px; padding: 0 32px; font-size: var(--text-large); }
.mo-events .btn--ghost { background: var(--paper); }
.mo-events .btn--ghost:hover { background: var(--teal-100); }
.mo-events__rows { margin-top: clamp(40px, 5vw, 72px); }
.mo-events .row { background: var(--paper); border-radius: var(--radius-round); padding-inline: 32px; }
.mo-events .row:hover { background: var(--teal-100); }
@media (min-width: 1000px) { .mo-events__grid { grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 112px); } }

/* ---------- banda: piața din 1911 ---------- */
.mo-band { margin: var(--section-gap) 0 0; }
.mo-band__pic { aspect-ratio: 16 / 9; border-radius: var(--radius-round); overflow: hidden; background: var(--teal-500); }
.mo-band__pic img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; animation: drift 30s var(--ease-inout) infinite alternate; }
.mo-band figcaption { margin-top: 14px; font-size: var(--text-small); color: var(--color-text-soft); text-align: center; }
@media (min-width: 900px) { .mo-band__pic { aspect-ratio: 1800 / 720; } }

/* ---------- capete de secțiune ---------- */
.mo-head { display: grid; gap: 16px var(--grid-gutter); margin-bottom: var(--block-gap); align-items: end; }
.mo-head p { max-width: 46ch; }
.mo-head .go { margin-left: 6px; }
@media (min-width: 900px) { .mo-head { grid-template-columns: 5fr 7fr; } }

/* ---------- anunțuri: data într-un cerc, rândul în formă de pastilă ---------- */
.news { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px 24px; }
@media (min-width: 900px) { .news { grid-template-columns: 1fr 1fr; } }
.news a { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; min-height: 100%; padding: 12px 36px 12px 12px; background: var(--mist); border-radius: var(--radius-round); color: var(--ink); text-decoration: none; transition: background var(--dur-fast) linear; }
.news a:hover { background: var(--teal-100); }
.news__date { width: 84px; height: 84px; border-radius: 50%; background: var(--teal-500); display: grid; place-content: center; text-align: center; font-weight: var(--weight-semibold); line-height: 1; transition: transform var(--dur-base) var(--ease-out); }
.news a:hover .news__date { transform: scale(1.06); }
.news__date b { display: block; font-size: var(--text-heading); font-weight: 800; letter-spacing: -0.05em; margin-bottom: 2px; }
.news__date--all { background: var(--ink); color: #fff; }
.news__date--all .ph { font-size: 1.75rem; }
.news__text b { display: block; font-size: var(--text-large); font-weight: 700; line-height: 1.25; }
.news__text span { display: block; margin-top: 4px; font-size: var(--text-small); color: var(--ink-soft); }
@media (max-width: 599px) { .news__date { width: 68px; height: 68px; } .news__date b { font-size: 1.625rem; } .news a { padding-right: 28px; gap: 16px; } }

/* ---------- informații utile ---------- */
.mo-docs__head { display: grid; gap: 24px; align-items: end; margin-bottom: 8px; }
.mo-docs__head .mo-head { margin-bottom: 0; }
.mo-docs__ring { width: clamp(140px, 17vw, 260px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--teal-500); }
.mo-docs__ring img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
@media (min-width: 900px) { .mo-docs__head { grid-template-columns: auto 1fr; align-items: center; column-gap: clamp(32px, 4vw, 64px); } }

/* ---------- footer: un disc în tonul următor al bleumarinului ---------- */
.foot { position: relative; overflow: clip; isolation: isolate; }
.foot__disc { position: absolute; z-index: -1; width: clamp(420px, 56vw, 960px); aspect-ratio: 1; border-radius: 50%; background: #1f2650; right: -14vw; bottom: -38%; }
.foot__legal { display: grid; grid-template-columns: 1fr auto; gap: 6px 32px; }
.home .foot { margin-top: var(--section-gap); }

@media (prefers-reduced-motion: reduce) {
  .next__dot, .mo-band__pic img { animation: none; }
  .ring-fade img { transition: none; }
}

/* cifrele (prețuri, totaluri) în greutatea titlurilor; buline rotunde */
.figure, .tier__price, .line__price { font-weight: var(--weight-display); letter-spacing: -0.03em; }
.spot__dot { border-radius: 50%; }
/* header sticky (cerut de client 2026-11-11); ancorele nu mai ajung sub el */
.board { position: sticky; top: 0; z-index: 100; }
html { scroll-padding-top: 104px; }
@media (max-width: 479px) { html { scroll-padding-top: 88px; } }
/* elementele sticky din pagini se opresc sub header, nu sub marginea ecranului */
:root { --sticky-top: 89px; }
@media (max-width: 479px) { :root { --sticky-top: 73px; } }
@media (min-width: 900px) {
  .side, .summary, .gallery { top: calc(var(--sticky-top) + var(--space-5)); }
}
.ptabs { top: var(--sticky-top); }
.page-head::before { top: -40px; width: clamp(220px, 30vw, 500px); }
@media (max-width: 599px) { .page-head::before { display: none; } } /* pe telefon nu are loc liber: ar intra peste text */
@media (max-width: 899px) { .mo-events .row { border-radius: 40px; } }


/* data mare din caseta evenimentului: se micșorează după lățimea casetei, nu a ecranului (cuvântul nu mai iese afară) */
.event__date { container-type: inline-size; }
.event__date .figure { font-size: min(var(--text-figure), 15cqi); }

/* taburile de pe pagina evenimentului: pe telefon încap toate patru, fără rând tăiat la margine */
@media (max-width: 599px) { .ptabs a { flex: 1 1 auto; padding: 12px 8px; text-align: center; font-size: 0.9375rem; } }

/* două linkuri de fișier unul după altul (PDF, DOCX): spațiu între ele */
.file + .file { margin-left: 16px; }

/* pagina evenimentului pe tabletă: afișul nu mai ocupă tot primul ecran, titlul urcă la vedere */
@media (min-width: 600px) and (max-width: 899px) { .gallery__main { aspect-ratio: auto; height: 56vh; } }

/* logo-ul nou (SVG, 2026-11-12): întreg la 60px pe desktop/tabletă, doar simbolul pe telefon */
.bar__logo img { height: 60px; max-height: none; width: auto; }
@media (max-width: 599px) { .bar__logo { min-width: 0; } .bar__logo img { height: auto; width: 100%; max-width: 230px; } } /* pe telefon: logo-ul întreg, cât încape */

/* coșul pe telefon: nu mai stă în header, ci jos în dreapta, fix, și apare doar când are produse (vezi FLOAT_CART în build.py) */
.fcart { display: none; }
@media (max-width: 599px) {
  .bar__cart { display: none; }
  .fcart { position: fixed; right: 16px; bottom: 16px; z-index: 150; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px; border-radius: var(--radius-round); background: var(--navy-900); color: #fff; text-decoration: none; font-weight: var(--weight-semibold); box-shadow: 0 10px 28px -10px rgba(21,26,54,.7); border: 1px solid rgba(255,255,255,.18); }
  .fcart .ph { font-size: 1.4rem; }
  .fcart b { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 13px; background: var(--teal-500); color: var(--navy-900); display: grid; place-items: center; font-size: 0.875rem; }
  .fcart:hover { color: #fff; background: #1f2650; }
  body:has(.buybar:not([hidden])) .fcart { bottom: 88px; } /* deasupra barei „Cumpără bilet” de pe pagina evenimentului */
}
