:root {
  --deep: #09081b;
  --night: #0c0a21;
  --board: #16102c;
  --gold: #ffd553;
  --yellow: var(--gold);
  --cyan: #71e7ee;
  --ink: #fff8ed;
  --muted: #c5bdd8;
  --black-edge: #42325f;
  --black-line: #2b2142;
  --map-artwork: url('/assets/trilha/campanha/mapa-henrique.webp');
}

body { background: radial-gradient(ellipse at 62% -20%, #231145, transparent 57%), var(--night); }
.header { background: #0a081ded; border-bottom-color: var(--black-edge); }
.nav { min-height: 68px; gap: 25px; }
.brand { gap: 8px; }
.brandlogo { width: 40px; height: 40px; }
.brand strong { font-size: 1.15rem; }
.navlinks { gap: clamp(12px, 2.1vw, 28px); }
.navlinks a { font-size: .9rem; padding: 20px 0; }
.navlinks a.active { box-shadow: inset 0 -2px var(--gold); }
.nav-group.btn { display: inline-flex; min-height: 39px; font-size: .88rem; padding: 7px 14px; }
.btn { min-height: 44px; gap: 8px; font-size: .94rem; line-height: 1.24; box-shadow: 3px 3px #8d5620; }
.btn:hover { box-shadow: 5px 5px #8d5620; }
.btn::after, .eyebrow::before { display: none; }
.btn.ghost { border-color: #817092; background: #150f2b9e; }
.btn.ghost:hover { border-color: var(--gold); box-shadow: none; }
.footer { border-top-color: var(--black-edge); margin-top: 58px; }
.footer-inner { font-size: .875rem; color: var(--muted); gap: 16px; }
.footer-inner .brand strong { font: 800 1.08rem/.95 'Barlow Condensed', Impact, sans-serif; color: var(--ink); }
.footer .filter { min-height: 40px; }
.black-kicker { display: inline-block; color: var(--cyan); font: 700 .875rem/1.5 'Space Mono', monospace; letter-spacing: .11em; }
.black-text-link { color: var(--cyan); font-weight: 800; text-underline-offset: .25em; }
.black-text-link:hover { text-decoration: underline; }
.black-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.pixel-frame { position: relative; margin: 0; border: 2px solid #93608e; box-shadow: 0 0 0 1px #0a0817, 5px 6px #100b24; }
.pixel-frame > img { display: block; width: 100%; height: 100%; object-fit: cover; }

.black-hero { padding: clamp(32px, 5vw, 65px) 0; background: radial-gradient(ellipse at 72% 55%, #472242 0, #1e1238 38%, transparent 72%); }
.black-hero-grid { display: grid; grid-template-columns: minmax(270px, .82fr) minmax(0, 1.32fr); gap: clamp(24px, 4.5vw, 66px); align-items: center; }
.black-hero-copy h1 { margin: 7px 0 14px; font-size: clamp(4.55rem, 8.4vw, 8rem); line-height: .79; font-weight: 900; letter-spacing: .008em; text-shadow: 4px 5px #402258; }
.black-hero-copy h1 span { display: inline-block; margin-top: .08em; color: var(--gold); text-shadow: 4px 5px #673354; }
.black-hero-copy .hero-deck { margin-top: 22px; color: var(--ink); font: 800 clamp(1.75rem, 3.3vw, 2.55rem)/.98 'Barlow Condensed', Impact, sans-serif; }
.black-hero-copy p { max-width: 42ch; margin: 11px 0 0; }
.black-hero-copy .black-actions { margin-top: 24px; }
.black-hero-copy .black-hero-links { margin-top: 14px; gap: 6px 20px; }
.black-hero-visual {
  aspect-ratio: 16 / 9;
  container-type: inline-size;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  background: #16102c;
  border-color: #ca8253;
  box-shadow: 0 0 0 5px #302042, 7px 8px #0a071a, 0 0 38px #ed7c3440;
}
.black-hero-visual > img { object-position: right center; }
.black-hero-motto {
  position: absolute;
  top: 47%;
  left: 6%;
  transform: translateY(-50%);
  color: var(--ink);
  font: 900 clamp(1.25rem, 3.6vw, 3.75rem)/.94 'Barlow Condensed', Impact, sans-serif;
  font-size: clamp(1.1rem, 6.7cqi, 3.75rem);
  letter-spacing: .015em;
  text-transform: uppercase;
  text-shadow: .055em .07em #463074;
}
.black-hero-motto span {
  display: block;
  width: max-content;
  animation: black-motto-reveal .38s steps(7, end) .18s both;
}
.black-hero-motto.is-compact { font-size: clamp(.95rem, 5.1cqi, 2.9rem); }
.black-hero-motto span:nth-child(2) { animation-delay: .56s; }
.black-hero-motto span:nth-child(3) { animation-delay: .94s; }
.black-hero-motto span:nth-child(4) { animation-delay: 1.32s; }
.black-hero-motto span:nth-child(5) { animation-delay: 1.7s; }
.black-hero-motto span:last-child { color: var(--gold); }
@keyframes black-motto-reveal {
  from { clip-path: inset(-.08em 100% -.16em -.08em); }
  to { clip-path: inset(-.08em -.14em -.16em -.08em); }
}
body.no-motion .black-hero-motto span { animation: none; }
.frame-corner { position: absolute; width: 24px; height: 24px; border-color: var(--gold); border-style: solid; pointer-events: none; }
.frame-corner-top { inset: -5px auto auto -5px; border-width: 4px 0 0 4px; }
.frame-corner-bottom { inset: auto -5px -5px auto; border-width: 0 4px 4px 0; }
.event-band { background: #171131; border-block: 1px solid #664583; }
.event-band-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; padding-block: 20px; }
.event-band h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--ink); }
.event-date { color: var(--gold); font-weight: 800; }
.event-band [data-live-status] { margin-top: 4px; }
#live-da-black, #fase-live, #fase-material, #fase-desafio, #ficha, #quem-sou { scroll-margin-top: 110px; }
.black-section { padding-block: clamp(37px, 5.4vw, 70px); border-bottom: 1px solid var(--black-line); }
.black-section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 17px; margin-bottom: 22px; }
.black-section h2, .black-close h2 { font-size: clamp(2.4rem, 5vw, 4.35rem); margin-top: 4px; }
.home-section-intro { max-width: 62ch; margin-top: 10px; }
.home-map-preview { display: block; aspect-ratio: 1670 / 941; margin-bottom: 18px; }
.black-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.black-days a { display: flex; flex-direction: column; height: 100%; padding-bottom: 12px; border: 1px solid var(--black-edge); background: #191230; }
.home-map-preview:hover, .black-days a:hover, .black-days a:focus-visible, .home-tools a:hover { border-color: var(--gold); box-shadow: 0 0 14px #ffd55338; }
.black-days a > span:first-child { aspect-ratio: 1.48; display: block; border-bottom: 1px solid var(--black-edge); }
.black-days .black-days-feature a { border-color: #bb8846; background: #301d35; }
.black-days small { display: block; margin: 9px 8px 3px; color: var(--gold); line-height: 1.25; font-size: .8rem; }
.black-days strong { padding: 0 8px; font: 800 clamp(1.18rem, 2.15vw, 2rem)/1 'Barlow Condensed', Impact, sans-serif; text-transform: uppercase; }
.black-days p { margin: 7px 8px 0; font-size: .86rem; line-height: 1.35; }
.black-method { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(18px, 5vw, 68px); align-items: center; }
.black-method-art { aspect-ratio: 16 / 9; }
.home-method-steps { display: grid; gap: 10px; margin: 16px 0 0; }
.home-method-steps div { padding-left: 13px; border-left: 2px solid var(--gold); }
.home-method-steps dt { font-weight: 800; color: var(--gold); }
.home-method-steps dd { margin: 0; color: var(--muted); }
.home-method-link { display: inline-block; margin-top: 16px; }
.home-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.home-tools a { display: grid; grid-template-rows: auto 1fr; height: 100%; border: 1px solid var(--black-edge); background: linear-gradient(145deg, #261738, #16112a); }
.home-tools a > img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #09081b; border-bottom: 1px solid var(--black-edge); }
.home-tools a > span { display: grid; align-content: start; gap: 4px; padding: 12px 14px; }
.home-tools strong { font: 800 clamp(1.25rem, 3vw, 1.65rem)/1.05 'Barlow Condensed', Impact, sans-serif; }
.tool-name { display: flex; align-items: center; gap: 8px; }
.tool-emblem, .catalog-emblem { flex: none; object-fit: contain; border-radius: 8px; }
.catalog-emblem { display: block; margin-bottom: 10px; }
.home-tools .tool-emblem { width: clamp(26px, 5vw, 36px); height: auto; }
.home-tools small { color: var(--muted); line-height: 1.4; }
.home-tools-all { display: inline-block; margin-top: 18px; }
.home-group { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 26px; padding: clamp(20px, 4vw, 40px); border: 1px solid #73518e; background: radial-gradient(ellipse at 90% 20%, #56334f, #241639 56%, #19112b); }
.home-group p { max-width: 62ch; margin-top: 12px; }
.home-founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(22px, 5vw, 64px); align-items: center; }
.home-founder-art > img { height: auto; }
.home-founder-art figcaption { padding: 10px 15px; border-top: 1px solid var(--black-edge); background: #211536; color: var(--gold); font-weight: 800; }
.home-founder p { margin-top: 12px; max-width: 57ch; }
.home-founder strong { color: var(--ink); }
.home-founder .home-founder-close { padding-left: 14px; border-left: 2px solid var(--gold); color: var(--gold); font-weight: 800; }
.home-founder-links { margin-top: 18px; }
.home-founder-links .btn { padding-inline: 13px; }
.black-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.black-paths article { padding: 19px; background: linear-gradient(145deg, #231735, #140f27); border: 1px solid var(--black-edge); }
.black-paths h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.black-paths p { margin: 8px 0 11px; }
.black-close { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 38px; padding: clamp(20px, 3.2vw, 36px); background: linear-gradient(115deg, #27153c, #19142d); border: 1px solid var(--black-edge); }
.black-close h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.black-close p { margin-top: 7px; }

body[data-page='programacao'] main, body[data-page='ferramentas'] main { background: transparent; }
.black-map-title { display: flex; align-items: end; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.black-map-title h1 { margin-block: 1px 7px; }
.arcade-map { grid-template-columns: minmax(0, 1fr); gap: 22px; }
.map-art { max-width: none; width: 100%; margin: 0; overflow: hidden; box-shadow: 0 0 0 2px #6b4c79, 0 5px #080619, 0 15px 32px #02031385; }
.map-art--landscape { aspect-ratio: 1670 / 941; }
.map-art--portrait { display: none; aspect-ratio: 941 / 1135; }
.map-canvas { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1670 / 941; }
.map-art--portrait .map-canvas { top: -47.31%; aspect-ratio: 941 / 1672; }
.map-art .map-background { display: block; width: 100%; height: 100%; object-fit: fill; }
.map-art .map-character { width: clamp(22px, 5.5%, 60px); filter: drop-shadow(2px 2px 1px #0c0619); }
.map-art--portrait .map-character { width: clamp(25px, 10%, 58px); }
.map-hotspot {
  width: max(44px, var(--w)); height: max(44px, var(--h));
  transform: translate(-50%, -50%);
  border-radius: 7px;
}
.map-hotspot:hover, .map-hotspot:focus-visible { border-color: var(--cyan); background: #1b103d4c; box-shadow: 0 0 13px #72edff99; }
.level-menu { scroll-margin-top: 116px; background: linear-gradient(145deg, #231634, #17112b); }
.level-menu-top { grid-template-columns: 1fr auto; }
.level-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.level-item { min-height: 67px; gap: 7px; grid-template-columns: 2.25rem 1fr auto; }
.level-name small { font-size: .875rem; }
.level-number { font-size: .75rem; }
.level-item:hover { transform: none; }
.level-preview p { margin: 5px 0 15px; }
.map-hotspot.is-completed::after { border-radius: 3px; }
[data-phase-entry][aria-disabled='true'] { cursor: default; }
.black-days [aria-disabled='true'], .level-item[aria-disabled='true'], .quest-checkpoints [aria-disabled='true'] { position: relative; }
.black-days [aria-disabled='true'], .black-days [aria-disabled='true']:hover,
.level-item[aria-disabled='true'], .level-item[aria-disabled='true']:hover,
.quest-checkpoints [aria-disabled='true'], .quest-checkpoints [aria-disabled='true']:hover,
.stage-pagination [aria-disabled='true'], .stage-pagination [aria-disabled='true']:hover {
  color: var(--muted);
  background: #19152b;
  border: 1px solid #524365;
  box-shadow: none;
  transform: none;
}
.black-days [aria-disabled='true'] > span:first-child { filter: saturate(.55) brightness(.75); }
.map-hotspot[aria-disabled='true'], .map-hotspot[aria-disabled='true']:hover { border-color: #bc9cc17a; background: #0c081570; box-shadow: none; }
.phase-lock { position: relative; flex: 0 0 auto; display: inline-block; width: 14px; height: 10px; margin-top: 5px; border-radius: 2px; background: var(--gold); box-shadow: 0 0 0 3px #241734; }
.phase-lock::before { content: ''; position: absolute; inset: -6px 3px auto; height: 6px; border: 2px solid var(--gold); border-bottom: 0; border-radius: 5px 5px 0 0; }
.black-days .phase-lock, .level-item .phase-lock, .quest-checkpoints .phase-lock, .map-hotspot .phase-lock { position: absolute; top: 10px; right: 7px; }
.level-item[aria-disabled='true'] .level-number { visibility: hidden; }
.phase-notice { min-height: 82svh; display: grid; place-items: center; padding-block: 24px; }
.phase-notice-card { width: min(100%, 38rem); padding: clamp(24px, 6vw, 48px); border-color: var(--gold); }
.phase-notice-card .black-kicker { display: flex; align-items: center; gap: 10px; }
.phase-notice-card h1 { margin: 14px 0; font-size: clamp(1.8rem, 5vw, 2.6rem); }
.phase-notice-card .black-actions { margin-top: 24px; }
.owner-panel { padding-block: 40px; }
.owner-panel h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
.owner-panel section { margin-block: 28px; }
.owner-panel h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.phase-controls { display: grid; gap: 6px; max-width: 580px; padding: 0; list-style: none; }
.phase-controls li { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 64px; padding: 9px 12px; border: 1px solid var(--black-edge); background: var(--board); }
.stage-screen { --stage-color: #96699c; }
.stage-screen--4 { --stage-color: #d49a54; }
.stage-screen--4 .stage-room { width: 68%; background: var(--map-artwork) 60% 72% / 240% auto no-repeat; }
.stage-screen--4 .stage-room::after { background: linear-gradient(90deg, #15112c, #15112c42 32%, transparent 55%), linear-gradient(0deg, #15112cad, transparent 30%); }
.stage-actions .btn { padding-inline: 16px; }
.stage-resources .campaign-card { background: linear-gradient(145deg, #211737, #130f28); }
.stage-challenge { margin-top: 14px; padding: clamp(20px, 4vw, 38px); border: 1px solid var(--black-edge); border-left: 3px solid var(--gold); background: linear-gradient(145deg, #211737, #130f28); }
.stage-challenge p { margin-block: 8px 14px; }

.black-subhero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(19px, 4vw, 56px); align-items: center; padding-block: clamp(26px, 5vw, 58px); }
.black-subhero h1, .black-subhero-heading h1 { font-size: clamp(3.05rem, 6.3vw, 6.7rem); margin: 6px 0 12px; }
.black-subhero p { max-width: 54ch; }
.black-subhero .black-actions, .black-subhero .quest-intro-actions { margin-top: 17px; }
.black-subhero figure { aspect-ratio: 16 / 9; }
.black-course-hero figure img { object-position: right; }
.course-included { display: inline-block; margin-bottom: 8px; padding: 7px 12px; border: 1px solid var(--gold); background: #2d2340; color: var(--gold); font-weight: 800; }
.course-included:hover { background: #43334c; }
.course-method { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.course-pillars { margin-top: clamp(20px, 4vw, 38px); }
.course-pillar-heading { display: flex; align-items: center; gap: 12px; }
.course-pillar-heading h3 { margin: 0; color: var(--gold); }
.course-pillar-heading img { width: 54px; height: 54px; object-fit: contain; }
.course-pillar dl { margin: 14px 0 0; }
.course-pillar dl > div { padding-block: 9px; border-top: 1px solid var(--black-edge); }
.course-pillar dt { font-weight: 800; }
.course-pillar dd { margin: 3px 0 0; color: var(--muted); }
.course-bonus { margin-top: 16px; }
.course-bonus strong { color: var(--ink); }
#modulos-titulo, #ferramentas-curso-titulo, .live-tool[id] { scroll-margin-top: 126px; }
.tool-hero-screens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 0; list-style: none; }
@media (max-width: 620px) { .tool-hero-screens { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tool-hero-screens a { display: flex; flex-direction: column; min-height: 100%; border: 1px solid var(--black-edge); background: var(--board); }
.tool-hero-screens a:hover, .tool-hero-screens a:focus-visible { border-color: var(--gold); }
.tool-hero-screens img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: var(--night); }
.tool-hero-screens span { padding: 6px 8px; color: var(--ink); font-size: .86rem; font-weight: 800; line-height: 1.25; }
.campaign-card { border-color: var(--black-edge); background: linear-gradient(135deg, #221634, #140f26); }
.tools-list { padding-top: clamp(30px, 5vw, 58px); }
.tool-details { width: 100%; margin-top: 14px; }
.tool-details dl { margin: 0 0 12px; }
.tool-details dl > div + div { margin-top: 10px; }
.tool-details dt { color: var(--ink); font-weight: 800; }
.tool-details dd { margin: 2px 0 0; color: var(--muted); }
.offer-menu { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.offer-menu a { display: inline-flex; align-items: center; min-height: 44px; padding: 7px 12px; border: 1px solid #765491; background: #271840; font-weight: 800; }
.offer-menu a:first-child { border-color: var(--gold); color: var(--gold); }
.offer-menu a:hover, .offer-menu a:focus-visible { border-color: var(--cyan); color: var(--cyan); }
.offer-demo { background: #160f2a; min-width: 0; }
.offer-demo-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; padding: 8px 12px; border-bottom: 1px solid var(--black-edge); }
.offer-demo-header h2 { font-size: clamp(1.25rem, 2.5vw, 1.65rem); line-height: 1.07; }
.offer-demo-pause, .offer-demo-options button { padding: 6px 9px; min-height: 36px; color: var(--muted); background: #211638; border: 1px solid #694f85; font-weight: 800; font-size: .875rem; line-height: 1.2; }
.offer-demo-pause { color: var(--cyan); }
.offer-demo-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px 12px; }
.offer-demo-options button { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-height: 44px; text-align: left; overflow-wrap: anywhere; }
.offer-demo-options img { display: block; width: 28px; height: 28px; object-fit: contain; border-radius: 5px; }
.offer-format-link { display: inline-block; margin-top: 9px; }
.offer-demo-screen a { display: block; }
.offer-menu[hidden], .offer-demo-options[hidden] { display: none; }
.offer-demo-options button[aria-pressed='true'] { color: #211132; border-color: var(--gold); background: var(--gold); }
.offer-demo-options button:hover, .offer-demo-pause:hover { border-color: var(--cyan); }
.black-offer-hero .offer-demo-screen { aspect-ratio: auto; margin: 0; }
.offer-demo-screen img { display: block; background: #0c0a1d; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; }
.offer-demo-screen figcaption { border-bottom: 1px solid var(--black-edge); padding: 6px 12px; color: var(--ink); font-size: .875rem; font-weight: 700; }
.offer-choice { --offer-accent: #c58af4; border-top: 3px solid var(--offer-accent); }
.offer-choice:first-child { --offer-accent: var(--gold); }
.offer-choice:last-child { --offer-accent: #72ded8; }
.offer-choice h2 { margin-bottom: .3em; }
.offer-choice h3 { font-size: 1.25rem; color: var(--gold); }
.offer-choice .offer-features { display: grid; gap: 7px; padding: 0; list-style: none; }
.offer-features li { padding-left: 11px; border-left: 2px solid #594474; color: var(--muted); line-height: 1.46; }
.offer-features strong, .offer-choice p strong { color: var(--ink); }
.offer-choice .offer-tools { width: 100%; display: grid; gap: 6px; padding: 0; list-style: none; }
.offer-tools li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: 9px; padding: 8px; border: 1px solid #4d3762; border-radius: 6px; background: #21162f; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.offer-tools img { width: 40px; height: 40px; border-radius: 6px; }
.offer-tools strong { display: block; color: var(--ink); margin-bottom: 2px; }
.offer-catalog-preview { display: block; width: 100%; height: auto; margin: 0 0 14px; border: 1px solid #5d4979; }
.offer-choice .offer-renewal { font-size: .875rem; }
.offer-buy { width: 100%; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--black-edge); }
.offer-buy .btn { width: 100%; text-align: center; }
.offer-price-block { display: grid; gap: 2px; margin-bottom: 12px; }
.offer-choice .campaign-price, .individual-offer .campaign-price { font-size: clamp(1.35rem, 2.5vw, 1.8rem); line-height: 1.2; margin: 0; }
.offer-price-block .offer-installment { margin: 0; color: var(--ink); font-size: .875rem; line-height: 1.4; }
.offer-price-block .offer-installment strong { color: #95edbd; }
.individual-offer { margin-top: 20px; padding: 16px; border: 1px solid var(--black-edge); border-left: 3px solid var(--gold); background: var(--board); }
.individual-offer .offer-renewal { margin: 0 0 12px; font-size: .875rem; }
.offer-buy .catalog-switch { margin-top: 9px; }
.offer-formats { scroll-margin-top: 110px; padding: clamp(17px, 3vw, 29px); margin-bottom: 26px; border: 1px solid var(--black-edge); background: #19112f; }
.offer-formats h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.matrix-section { padding: 0; }
.matrix-guide > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px clamp(14px, 3vw, 26px); cursor: pointer; list-style: none; }
.matrix-guide > summary::-webkit-details-marker { display: none; }
.matrix-guide > summary strong { display: block; color: var(--gold); font: 800 clamp(1.25rem, 3vw, 1.75rem)/1.1 'Barlow Condensed', sans-serif; }
.matrix-guide > summary span span { display: block; margin-top: 3px; color: var(--muted); }
.matrix-guide-icon { width: 10px; height: 10px; margin-right: 4px; flex: 0 0 10px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg); }
.matrix-guide[open] .matrix-guide-icon { transform: rotate(225deg); }
.matrix-guide-content { padding: 13px clamp(14px, 3vw, 26px) 22px; border-top: 1px solid var(--black-edge); }
.offer-format-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; margin: 0 0 12px; }
.offer-format-grid > div { padding: 10px 12px; border: 1px solid #57436f; }
.offer-format-grid dt { color: var(--gold); font-weight: 800; }
.offer-format-grid dd { margin: 3px 0 0; }
.matrix-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 18px; }
.matrix-filters label { display: grid; flex: 1 1 180px; gap: 4px; color: var(--ink); font-weight: 700; }
.matrix-filters select { width: 100%; min-height: 44px; padding: 7px 34px 7px 10px; appearance: none; color: var(--ink); background: linear-gradient(45deg, transparent 50%, var(--cyan) 50%) right 15px center / 5px 5px no-repeat, linear-gradient(135deg, var(--cyan) 50%, transparent 50%) right 10px center / 5px 5px no-repeat, #25183e; border: 1px solid #765491; }
.matrix-filters select:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.matrix-filters button { color: var(--ink); }
.matrix-results { margin-top: 12px; font-size: .875rem; }
.matrix-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 175px), 1fr)); gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.matrix-filters[hidden], .matrix-card[hidden] { display: none; }
.matrix-card { min-width: 0; border: 1px solid #57436f; border-radius: 9px; overflow: hidden; background: #221638; }
.matrix-tile { display: grid; place-items: center; height: 65px; border-bottom: 1px solid #57436f; background: radial-gradient(ellipse at top, #503377, #2b1a45); }
.matrix-silhouette { display: block; width: 39px; height: 39px; border: 2px solid #ffdf79; background: linear-gradient(135deg, #f7ad62, #d667a5); box-shadow: inset 0 0 0 3px #fff2ad72, 2px 3px #150d2a; }
.matrix-silhouette--redondo { border-radius: 50%; }
.matrix-silhouette--quadrado { border-radius: 8px; background: linear-gradient(135deg, #94e4d1, #4b9bbd); }
.matrix-silhouette--coracao { clip-path: polygon(50% 91%, 9% 52%, 2% 34%, 6% 18%, 19% 9%, 37% 9%, 50% 22%, 63% 9%, 81% 9%, 94% 18%, 98% 34%, 91% 52%); background: #fa8ab1; box-shadow: none; border: 0; }
.matrix-silhouette--retangulo { width: 49px; height: 29px; border-radius: 5px; }
.matrix-silhouette--oval { width: 47px; height: 32px; border-radius: 50%; }
.matrix-silhouette--estrela { clip-path: polygon(50% 1%, 64% 32%, 98% 37%, 73% 61%, 79% 95%, 50% 79%, 21% 95%, 27% 61%, 2% 37%, 36% 32%); background: #ffdf79; box-shadow: none; border: 0; }
.matrix-silhouette--camiseta { clip-path: polygon(30% 6%, 42% 6%, 50% 16%, 57% 6%, 70% 6%, 100% 28%, 87% 50%, 73% 42%, 73% 96%, 27% 96%, 27% 42%, 13% 50%, 0 28%); background: #92dbc8; box-shadow: none; border: 0; }
.matrix-card-copy { display: grid; gap: 5px; padding: 10px; }
.matrix-card h3 { font: 800 .9rem/1.2 'DM Sans', Arial, sans-serif; text-transform: none; color: var(--ink); }
.matrix-card h3 span { display: block; margin-top: 3px; color: var(--gold); font: 800 1.48rem/1.05 'Barlow Condensed', sans-serif; }
.matrix-card p, .matrix-card small { font-size: .875rem; line-height: 1.35; overflow-wrap: anywhere; }
.matrix-card small { color: var(--cyan); }
.matrix-help p, .campaign-faq details p { margin-top: 7px; }
.catalog-steps { padding-left: 1.5em; max-width: 72ch; }
.catalog-steps li + li { margin-top: 7px; }
body[data-page="ofertas"] :is(.offer-choice, .offer-tools li, .offer-menu a, .offer-demo-options button, .matrix-card, .matrix-guide > summary, .campaign-faq summary, .offer-buy .btn) {
  transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}
body[data-page="ofertas"] :is(.offer-menu a, .offer-demo-options button, .matrix-guide > summary, .campaign-faq summary, .offer-buy .btn):focus-visible,
body[data-page="ofertas"] .offer-choice:focus-within {
  box-shadow: 0 0 0 1px var(--offer-accent, var(--cyan)), 0 0 16px #71e7ee35;
}
@media (hover: hover) {
  body[data-page="ofertas"] :is(.offer-choice, .offer-tools li, .offer-menu a, .offer-demo-options button, .matrix-card, .matrix-guide > summary, .campaign-faq summary, .offer-buy .btn):hover {
    border-color: var(--offer-accent, var(--cyan));
    box-shadow: 0 0 0 1px var(--offer-accent, var(--cyan)), 0 0 18px #9b5cdd55;
  }
  body[data-page="ofertas"] :is(.offer-choice, .matrix-card):hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="ofertas"] :is(.offer-choice, .offer-tools li, .offer-menu a, .offer-demo-options button, .matrix-card, .matrix-guide > summary, .campaign-faq summary, .offer-buy .btn) { transition: none; }
  body[data-page="ofertas"] :is(.offer-choice, .matrix-card):hover { transform: none; }
}
@media (max-width: 530px) {
  .matrix-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .matrix-filters label { flex-basis: 100%; }
}
.catalog-upgrade { scroll-margin-top: 125px; margin-block: 34px; padding: clamp(19px, 4vw, 32px); background: linear-gradient(135deg, #241735, #140f26); border: 1px solid var(--black-edge); border-left: 3px solid var(--cyan); }
.catalog-upgrade h2 { margin-block: 5px 9px; font-size: clamp(1.9rem, 5vw, 3.15rem); }
.catalog-upgrade p { max-width: 72ch; margin-bottom: 8px; }
.catalog-upgrade .black-actions { margin-top: 15px; }
#amostra-catalogo, #catalogo-demo, #tamanhos-redondos { scroll-margin-top: 110px; }
.catalog-hero-count { margin-block: 12px 8px; color: var(--ink); font-weight: 800; }
.catalog-hero-count strong { display: block; color: var(--gold); font: 900 clamp(3.15rem, 7vw, 6rem)/.97 "Barlow Condensed", Impact, sans-serif; letter-spacing: -.01em; }
.catalog-hero-updates { color: var(--ink); font-weight: 800; }
.catalog-collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.catalog-collection-grid figure { display: flex; flex-direction: column; height: 100%; margin: 0; background: var(--board); border: 1px solid var(--black-edge); }
.catalog-collection-grid img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: var(--night); }
.catalog-collection-grid figcaption { display: grid; gap: 4px; padding: 12px clamp(9px, 2vw, 17px); border-top: 1px solid var(--black-edge); }
.catalog-collection-grid strong { color: var(--gold); line-height: 1.2; }
.catalog-collection-grid span { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.catalog-collection-feature figure { border-color: var(--gold); }
.catalog-sizes { margin-top: 22px; padding: clamp(16px, 3vw, 26px); border: 1px solid var(--black-edge); background: var(--board); }
.catalog-sizes h3 { margin-bottom: 9px; font-size: clamp(1.65rem, 4vw, 2.45rem); }
.catalog-sizes p { max-width: 72ch; }
.catalog-size-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(82px, 1fr)); gap: 7px; margin: 16px 0 0; padding: 0; list-style: none; }
.catalog-size-list li { display: grid; align-content: center; min-height: 52px; padding: 6px 4px; border: 1px solid #35607b; background: #101c34; color: var(--cyan); font-weight: 800; text-align: center; }
.catalog-size-list small { font-size: .8rem; font-weight: 700; line-height: 1.2; }
.catalog-size-list .catalog-size-kit { border-color: #a76035; color: #ffb47e; }
.catalog-size-list .catalog-size-default { border-color: var(--gold); background: #2d2434; color: var(--gold); }
.catalog-size-screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 620px; margin-top: 14px; }
.catalog-size-screens a { align-self: start; border: 1px solid var(--black-edge); }
.catalog-size-screens img { display: block; width: 100%; height: auto; }
.catalog-demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.catalog-demo-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(13px, 3vw, 24px); border: 1px solid var(--black-edge); background: var(--board); }
.catalog-demo-card h3 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.catalog-search-frame { display: block; width: 100%; height: 430px; border: 0; border-radius: 8px; background: var(--night); }
.catalog-sheet { align-self: center; width: min(100%, 252px); margin: 0; text-align: center; }
.catalog-sheet-preview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-content: center; gap: 4%; aspect-ratio: 210/297; padding: 8%; background: #fffaf0; border: 1px solid #b5a783; border-radius: 4px; }
.catalog-sheet-preview img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; }
.catalog-sheet figcaption { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.catalog-workflow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style-position: inside; padding: 0; margin: 22px 0 0; }
.catalog-workflow li { padding: 16px; border: 1px solid var(--black-edge); background: var(--board); }
.catalog-workflow li::marker { color: var(--gold); font-weight: 800; }
.catalog-workflow h3 { display: inline; font-size: clamp(1.3rem, 2.8vw, 1.85rem); }
.catalog-workflow p { margin-top: 8px; }
.catalog-official { flex-basis: 100%; }
.black-coupon-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: stretch; }
.black-subhero-heading { padding: clamp(28px, 7vw, 60px) 0 17px; }
.coupon-visual { align-self: start; aspect-ratio: 1672 / 941; }
.coupon-visual > .coupon-partner-logo { position: absolute; top: 8%; right: 9%; width: clamp(42px, 12%, 84px); height: auto; object-fit: contain; box-shadow: 0 0 0 2px var(--gold), 3px 4px #100b24; }
.black-registration { min-height: min(67vh, 660px); }
.registration-visual { aspect-ratio: 1.12; }
.registration-visual img { object-position: 81%; }
.registration-copy h1 { margin-block: 3px 11px; }
.registration-form label[for] { font-weight: 700; }
.registration-form input:focus-visible, .toolkit-search input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

@media (min-width: 721px) and (max-width: 920px) {
  .campaign-offers .campaign-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .campaign-offers #curso { grid-column: 1 / -1; }
  .campaign-offers #curso .offer-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .black-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .level-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
  .nav { flex-wrap: wrap; }
  .navlinks { order: 2; width: 100%; flex-wrap: wrap; justify-content: space-between; }
  .navlinks a { padding-block: 7px; }
  .catalog-workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 690px) {
  .catalog-demo-grid { grid-template-columns: minmax(0, 1fr); }
  .nav { min-height: 0; flex-wrap: wrap; padding-block: 8px 5px; gap: 4px 10px; }
  .brand strong { font-size: 1.03rem; }
  .brandlogo { width: 35px; height: 35px; }
  .navlinks { order: 2; width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 0 8px; }
  .navlinks a { font-size: .875rem; padding-block: 5px; }
  .nav-group.btn { min-height: 35px; }
  .black-hero { padding-block: 26px 30px; }
  .black-hero-grid, .black-method, .black-subhero, .black-coupon-grid, .home-founder { grid-template-columns: minmax(0, 1fr); }
  .black-hero-grid { gap: 24px; }
  .black-hero-copy h1 { font-size: clamp(4rem, 15.1vw, 6.5rem); }
  .black-hero-copy .hero-deck { margin-top: 16px; }
  .black-hero-copy .black-actions { margin-top: 17px; }
  .black-hero-copy .black-hero-links { margin-top: 12px; }
  .black-map-title { align-items: start; padding-block: 20px 14px; }
  .black-map-title h1 { font-size: clamp(3.15rem, 10vw, 5.25rem); }
  .map-art--landscape { display: none; }
  .map-art--portrait { display: block; max-width: 525px; margin-inline: auto; }
  .level-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .black-paths { grid-template-columns: minmax(0, 1fr); }
  .home-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-tools .tool-name { flex-wrap: wrap; }
  .catalog-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .black-subhero figure { max-width: 560px; }
  .black-registration { padding-top: 28px; }
  .registration-visual { aspect-ratio: 1.65; }
  .footer-inner { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .catalog-size-screens { grid-template-columns: minmax(0, 1fr); }
  .catalog-workflow { grid-template-columns: minmax(0, 1fr); }
  .course-pillars { grid-template-columns: minmax(0, 1fr); }
  .stage-screen--4 .stage-room { width: 100%; aspect-ratio: 1.35; }
  .stage-screen--4 .stage-room::after { background: linear-gradient(0deg, #15112c 0, transparent 33%); }
  .black-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .black-days .black-days-feature { order: 0; }
  .black-paths article { padding: 15px; }
}
@media (max-width: 365px) {
  .navlinks { column-gap: 5px; }
  .navlinks a { font-size: .76rem; }
  .level-list { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .map-hotspot { transition: none; }
  .black-hero-motto span { animation: none; }
}

.offer-time {
  padding: 12px 14px;
  border-left: 3px solid var(--gold);
  background: #211634;
}

#mapa-fase-1, #espelho-da-base, .base-stations > article { scroll-margin-top: 100px; }
.base-map {
  margin-block: 24px;
  padding: clamp(16px, 3.5vw, 36px);
  border: 1px solid #765491;
  background: radial-gradient(ellipse at 10% 0, #403053, transparent 64%), #18102d;
  box-shadow: 5px 6px #0a0818;
}
.base-map-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 14px 32px; }
.base-map-head h2 { margin: 0 0 6px; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; }
.base-map-head p { margin: 0; }
.base-live-link { display: inline-block; margin-top: 6px; }
p.base-welcome { color: var(--gold); font-weight: 800; margin-bottom: 7px; overflow-wrap: anywhere; }
.base-map-score { display: grid; gap: 5px; min-width: min(100%, 200px); color: var(--cyan); font-size: .9rem; font-weight: 800; }
.base-map-score progress { width: 100%; height: 10px; accent-color: var(--gold); }
.base-map-art { position: relative; margin-block: 20px 16px; background: #071429; }
.base-map-art > img { width: 100%; height: auto; }
.base-map-route { position: absolute; inset: 0; padding: 0; margin: 0; list-style: none; }
.base-map-route li {
  position: absolute;
  left: var(--station-x);
  top: var(--station-top, 13.5%);
  width: 26%;
  height: 33%;
  transform: translateX(-50%);
}
.base-map-route li:nth-child(1), .base-map-route li:nth-child(6) { --station-x: 20%; }
.base-map-route li:nth-child(2), .base-map-route li:nth-child(5) { --station-x: 50%; }
.base-map-route li:nth-child(3), .base-map-route li:nth-child(4) { --station-x: 79.5%; }
.base-map-route li:nth-child(n+4) { --station-top: 52%; }
.base-node {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: #241819;
  border-radius: 8px;
  line-height: 1.1;
  transition: box-shadow .18s;
}
.base-node:hover, .base-node:focus-visible, .base-node[aria-current="step"] {
  box-shadow: inset 0 0 0 2px #ffd553, 0 0 15px #ffd5538c;
}
.base-node-label {
  position: absolute;
  bottom: 1%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  font-size: clamp(.7rem, 1.28vw, .98rem);
  white-space: nowrap;
}
.base-node-number { font-weight: 900; }
.base-node.is-done .base-node-label {
  padding: 2px 5px;
  border-radius: 4px;
  background: #152f3a;
  color: #a8f8ee;
}
.base-node.is-done .base-node-number::after { content: ' ✓' / ''; }
.base-stations > article {
  padding: clamp(14px, 3vw, 26px);
  border: 1px solid #6d528b;
  background: #151025;
}
.base-stations > article + article { margin-top: 8px; }
.base-stations > article[hidden] + article { margin-top: 0; }
.base-stations h3 { margin: 0 0 8px; font-size: clamp(1.4rem, 3vw, 2rem); }
.base-stations p, .base-plan { margin: 0 0 10px; }
.base-map-controls, .base-plan-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 14px; }
.base-map-controls[hidden], .base-map-controls [hidden] { display: none; }
.base-plan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.base-plan label { display: grid; gap: 6px; align-content: start; color: var(--ink); font-weight: 700; }
.base-plan label:last-child { grid-column: 1 / -1; }
.base-plan textarea { min-height: 58px; width: 100%; resize: vertical; padding: 8px; font: inherit; color: var(--ink); background: #251a37; border: 1px solid #8a6da7; }
.base-plan textarea:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.base-exercise { margin-top: 14px; }
.base-exercise > summary + p { margin-top: 12px; }
.base-plan-actions p { margin: 0; color: var(--muted); font-size: .9rem; }
.base-plan-actions button:disabled { opacity: .72; cursor: default; box-shadow: none; }

@media (max-width: 760px) {
  .base-node-label { bottom: 0; justify-content: center; width: min(100%, 150px); min-height: 22px; padding: 2px 4px; background: #2f1d29; color: #fff3bd; border: 1px solid #e1a950; border-radius: 4px; font-size: .7rem; text-align: center; white-space: normal; }
  .base-node[aria-current="step"] .base-node-label { background: #ffd553; color: #241819; }
  .base-node.is-done:not([aria-current="step"]) .base-node-label { border-color: #71e7ee; }
}
@media (max-width: 610px) {
  .base-map { padding-inline: 12px; }
  .base-map-route li { height: 35%; }
  .base-plan { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .base-node-label { gap: 3px; font-size: .63rem; }
}
@media (prefers-reduced-motion: reduce) {
  .base-node { transition: none; }
}

.black-days [data-phase-entry="3"] strong { overflow-wrap: anywhere; }
.stage-screen--3 .stage-title h1 { font-size: clamp(2.35rem, 6.4vw, 5.2rem); }

.home-welcome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--black-edge);
}
.home-welcome[hidden], .live-platforms [hidden] { display: none; }
.home-welcome p { color: var(--gold); font-size: 1.15rem; font-weight: 800; overflow-wrap: anywhere; }
.live-platforms { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.live-platforms a[aria-disabled="true"] { color: var(--muted); cursor: default; border-color: var(--black-edge); box-shadow: none; }
.owner-panel #links-das-lives details { margin-top: 12px; padding: 12px 16px; border: 1px solid var(--black-edge); }
.owner-panel #links-das-lives summary { cursor: pointer; color: var(--cyan); font-weight: 700; }
.owner-live-form { display: grid; gap: 12px; max-width: 640px; margin-top: 12px; }
.owner-live-form label { display: grid; gap: 4px; }
.owner-live-form input { min-width: 0; padding: 8px; color: var(--ink); background: var(--board); border: 1px solid var(--black-edge); }
.owner-live-form button { justify-self: start; }
.owner-saved { color: var(--gold); }
