.page-home main { width: 100%; padding: 0; }
.page-home main > .notice { margin: 1rem var(--gutter); }
.home-course-call { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.home-course-call h2 { font: 400 clamp(1.8rem, 3vw, 2.85rem)/1 var(--editorial); letter-spacing: -.035em; }
.home-course-call .kicker { margin-bottom: .5rem; }
.home-course-call .button { flex: none; }
@media (max-width: 639px) { .home-course-call { display: grid; } }
.opening {
  position: relative; overflow: clip; isolation: isolate; color: #fff6ec;
  background: radial-gradient(ellipse at 80% 48%, #473239 0, #30242d 34%, #211b23 72%);
}
.opening::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-radial-gradient(ellipse at 90% 132%, transparent 0 89px, #f7bf8e14 90px, transparent 91px 137px);
  mask-image: linear-gradient(100deg, transparent 15%, #000 90%);
}
.opening-grid { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); align-items: center; gap: clamp(1.5rem,4.2vw,5rem); padding-block: clamp(3.1rem,5.9vw,6rem); }
.kicker { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.1rem; color: var(--accent); font: 700 .78rem/1.3 var(--body); letter-spacing: .15em; text-transform: uppercase; }
.kicker::before { content: ""; display: inline-block; width: 1.9rem; height: 1px; background: currentColor; }
.opening .kicker, .about-section .kicker { color: #f6c299; }
.opening h1, .home-section h2, .journey-title, .meeting h3 { font: 400 1rem/1 var(--editorial); letter-spacing: -.045em; }
.opening h1 { color: inherit; font-size: clamp(3.8rem,6.35vw,6.5rem); line-height: .96; }
.opening h1 em { color: #f6ba8c; }
.opening-intro { max-width: 37ch; margin: 1.35rem 0 1.7rem; font-size: clamp(1.05rem,1.4vw,1.28rem); line-height: 1.48; color: #e6dbd6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.3rem; }
.sun-button, .sun-button:hover { color: #2c1e23; background: #f4bb90; border-color: #f4bb90; font-weight: 700; }
.sun-button:hover { background: #ffcfaa; border-color: #ffcfaa; }
.sun-button span { padding-left: .8rem; font-family: system-ui,sans-serif; }
.hero-example-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; color: #fff1e4; text-decoration-color: #a78a82; font-weight: 600; }
.hero-example-link:hover { color: #f6ba8c; }
.opening :focus-visible, .about-section :focus-visible { outline-color: #ffe0c3; }
.photo-essay { min-width: 0; }
.photo-frame {
  position: relative; isolation: isolate; margin: 0; overflow: hidden;
  border-radius: clamp(3rem,7vw,7rem) .45rem .45rem .45rem; background: #49363a;
  box-shadow: 0 1rem 2.8rem #130f1526;
}
.photo-frame picture { display: block; aspect-ratio: 1.4; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 48%; display: block; }
.photo-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px #ffead026; border-radius: inherit; }
.photo-frame figcaption {
  position: absolute; inset: auto 0 0; display: flex; align-items: center; gap: .8rem; padding: 2.7rem 1.25rem .95rem;
  background: linear-gradient(transparent, #1c1519e6); color: #fff7ed; font-size: 1.05rem; font-weight: 600;
}
.scene-number { font: 500 .72rem/1 ui-monospace, monospace; color: #f8c39d; border-right: 1px solid #d0ae97; padding-right: .8rem; white-space: nowrap; }
.scene-switch { display: grid; grid-template-columns: repeat(3,1fr); margin-top: .7rem; gap: .7rem; }
.scene-switch[hidden] { display: none; }
.scene-switch button {
  position: relative; display: flex; align-items: center; min-height: 2.75rem; gap: .5rem; padding: .25rem .2rem; color: #dbcfcf; background: transparent;
  border: 0; border-bottom: 1px solid #7b686e; font: 600 1rem/1.2 var(--body); cursor: pointer;
}
.scene-switch button::before { content: ""; width: .42rem; height: .42rem; border: 1px solid currentColor; border-radius: 50%; }
.scene-switch button[aria-pressed="true"] { color: #ffd0a7; border-color: #ffc69b; }
.scene-switch button[aria-pressed="true"]::before { background: currentColor; }
.home-section { padding-block: clamp(3.2rem,6.4vw,6.4rem); }
.home-section h2 { font-size: clamp(2.9rem,4.8vw,4.7rem); line-height: .98; }
.home-section h2 em { color: #884b3f; }
.home-section [id] { scroll-margin-top: 1.4rem; }
.catalog-layout { display: grid; grid-template-columns: minmax(14rem,.72fr) minmax(0,1.65fr); gap: clamp(2rem,6vw,6rem); align-items: start; }
.catalog-guide > p:not(.kicker) { max-width: 29ch; margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }
.stage-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.3rem 0 0; max-width: 20rem; }
.stage-filters a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .4rem .95rem; border: 1px solid #cfc0b7; border-radius: 2rem; color: #4c3d40; font-weight: 600; text-decoration: none; }
.stage-filters a:hover { border-color: #875d52; }
.stage-filters [aria-current] { background: #392b31; border-color: #392b31; color: #fff3e6; }
.journeys { list-style: none; margin: 0; padding: 0; border-top: 1px solid #a89387; }
.journey { border-bottom: 1px solid #d3c6ba; }
.journey-preview summary, .meeting summary {
  display: flex; align-items: center; list-style: none; justify-content: space-between; gap: 1rem;
}
.journey-preview summary { color: var(--ink); padding: .9rem .25rem .9rem 0; }
.journey-preview summary:hover, .meeting summary:hover { text-decoration: none; }
.journey-preview summary::-webkit-details-marker, .meeting summary::-webkit-details-marker { display: none; }
.journey-preview .track-cover { width: clamp(7rem,10vw,9.75rem); aspect-ratio: 1.65; height: auto; object-fit: cover; border-radius: .4rem; }
.journey-info { display: grid; gap: .26rem; flex: 1; min-width: 0; }
.lesson-count { color: #854637; font-size: .72rem; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.journey-title { font-size: clamp(1.65rem,2.25vw,2.4rem); line-height: 1.06; }
.journey-description { color: var(--muted); font-weight: 400; line-height: 1.25; }
.toggle-mark { position: relative; flex: none; width: 2.15rem; height: 2.15rem; border: 1px solid #c8b6aa; border-radius: 50%; color: #704f43; }
.toggle-mark::before, .toggle-mark::after { position: absolute; content: ""; width: .72rem; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%,-50%); background: currentColor; }
.toggle-mark::after { transform: translate(-50%,-50%) rotate(90deg); }
details[open] > summary .toggle-mark { background: #382a31; border-color: #382a31; color: white; }
details[open] > summary .toggle-mark::after { transform: translate(-50%,-50%); }
.syllabus { margin: 0 0 1.1rem; padding: .9rem 1.2rem; background: #eee6df; border-left: 2px solid #ae7152; border-radius: 0 .5rem .5rem 0; }
.syllabus ol { margin: 0; padding-left: 1.3rem; }
.syllabus li { padding-block: .25rem; }
.syllabus a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 650; }
.method-section { background: #ede4dc; }
.method-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem,7vw,7rem); align-items: center; }
.method-steps { list-style: none; counter-reset: passos; margin: 1.8rem 0 0; padding: 0; }
.method-steps li { counter-increment: passos; position: relative; padding: 1rem 0 1rem 2.9rem; border-top: 1px solid #c8b8ad; }
.method-steps li::before { content: counter(passos,decimal-leading-zero); position: absolute; left: 0; top: 1rem; font: 400 1.5rem/1.2 var(--editorial); color: #825342; }
.method-steps h3 { font-size: 1.25rem; }
.method-steps p, .meeting-body > p:not(.kicker) { margin-top: .3rem; color: var(--muted); }
.meeting { background: #fff9f1; border-radius: .6rem; overflow: clip; }
.meeting > img { display: block; width: 100%; height: auto; aspect-ratio: 2.35; object-fit: cover; object-position: center 48%; }
.meeting-body { padding: clamp(1.25rem,2.4vw,2.2rem); }
.meeting-body h3 { font-size: clamp(2.05rem,3vw,2.85rem); }
.meeting-body .kicker { margin-bottom: .8rem; }
.meeting details:first-of-type { margin-top: 1rem; }
.meeting summary { border-top: 1px solid var(--line); padding-block: .65rem; }
.meeting .toggle-mark { width: 1.65rem; height: 1.65rem; }
.meeting details p { margin: 0 0 1rem; }
.about-section { background: #3e2b34; color: #fff1e1; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; }
.about-layout h2 { max-width: 14ch; color: inherit; }
.about-layout > div:last-child { max-width: 42ch; font-size: 1.15rem; }
.about-section .button { margin-top: 1rem; }
@media (min-width: 960px) { .catalog-guide { position: sticky; top: 6.25rem; } }
@media (max-width: 899px) {
  .opening-grid { gap: 1.5rem; }
  .opening h1 { font-size: clamp(3.1rem,6.6vw,4.4rem); }
  .catalog-layout { grid-template-columns: minmax(0,.8fr) minmax(0,1.4fr); gap: 1.5rem; }
  .journey-preview .track-cover { width: 6.1rem; }
  .journey-description { font-size: .94rem; }
}
@media (max-width: 719px) {
  .opening-grid, .catalog-layout, .method-layout, .about-layout { grid-template-columns: minmax(0,1fr); }
  .opening-grid { padding-block: 2.5rem 1.5rem; gap: 1.6rem; }
  .opening h1 { font-size: clamp(3.45rem,12vw,5rem); }
  .opening-intro { margin-block: .9rem 1rem; }
  .photo-frame { border-top-left-radius: 2.6rem; }
  .photo-frame picture { aspect-ratio: 1.88; }
  .photo-frame figcaption { padding: 2rem .85rem .65rem; }
  .scene-switch { margin-top: .25rem; }
  .home-section h2 br { display: none; }
  .catalog-guide > p:not(.kicker), .stage-filters { max-width: none; }
  .journey-preview summary { gap: .75rem; }
  .journey-preview .track-cover { width: 4.7rem; aspect-ratio: 1.05; }
  .journey-title { font-size: 1.5rem; }
  .journey-description { font-size: .9rem; }
  .toggle-mark { width: 1.65rem; height: 1.65rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .opening-copy { animation: erguer .65s ease-out both; }
  .photo-frame { animation: revelar-foto .8s cubic-bezier(.18,.75,.28,1) both; }
  .toggle-mark::after { transition: transform .2s ease; }
  @media (hover: hover) {
    .journey-info, .journey-preview .track-cover { transition: transform .24s ease; }
    .journey-preview summary:hover .journey-info { transform: translateX(3px); }
    .journey-preview summary:hover .track-cover { transform: rotate(-1.1deg); }
  }
  @keyframes erguer { from { transform: translateY(10px); opacity: .3; } }
  @keyframes revelar-foto { from { transform: translateY(12px); clip-path: inset(0 3% 7% 0 round 3rem .4rem .4rem .4rem); } to { clip-path: inset(0 round 0); } }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .method-steps > li, .about-layout > div {
      animation: acompanhar-leitura linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 90%;
    }
    @keyframes acompanhar-leitura { from { transform: translateY(14px); opacity: .7; } }
  }
}

.catalog-results { min-width: 0; }
.filter-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.stage-filters[aria-busy="true"] { cursor: progress; }

.home-library{display:grid;grid-template-columns:1fr 1.2fr;gap:clamp(2rem,5vw,5rem);align-items:center;padding-block:clamp(2rem,5vw,4.5rem)}
.home-library h2{font:400 clamp(2.8rem,5vw,4.7rem)/1 var(--editorial);margin:.7rem 0 1rem;letter-spacing:-.04em}.home-library em{color:#536747}
.home-library nav{display:grid;border-top:2px solid #526447}.home-library nav a{padding:.8rem .2rem;border-bottom:1px solid var(--line);text-decoration:none;color:#263c30}.home-library nav a:hover strong{text-decoration:underline}.home-library nav small{display:block;color:#78432b;font-weight:650}.home-library nav strong{font:400 clamp(1.45rem,2.5vw,2.12rem)/1.1 var(--editorial)}
@media(max-width:700px){.home-library{grid-template-columns:1fr;gap:1.2rem}}
