:root {
  color-scheme: light;
  --base: #fffbef;
  --deep: #182747;
  --surface: #fffcf2;
  --line: #b2bdd1;
  --ink: #182747;
  --muted: #455773;
  --muted-strong: #2d4566;
  --accent: #ffca46;
  --accent-bright: #ffdc76;
  --blue: #2d58bd;
  --max: 78rem;
  --side: clamp(1.25rem, 5vw, 4rem);
  font-family: "Segoe UI", Inter, system-ui, sans-serif;
  font-synthesis: none;
  background: var(--base);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 2rem; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 3;
  left: 1rem;
  top: 1rem;
  transform: translateY(-200%);
  padding: .75rem 1rem;
  font-weight: 700;
  background: var(--accent);
  color: var(--deep);
}
.skip-link:focus { transform: none; }

.wrap {
  width: min(100% - 2 * var(--side), var(--max));
  margin-inline: auto;
}

h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -.061em;
  line-height: 1.03;
}
h1 { font-size: clamp(3.15rem, 5.8vw, 5.75rem); }
h2 { font-size: clamp(2.5rem, 4.9vw, 4.65rem); }
h3 { font-size: 1.37rem; letter-spacing: -.025em; line-height: 1.2; }
em { color: var(--blue); font-style: normal; }
p {
  color: var(--muted-strong);
  line-height: 1.65;
  font-size: 1.02rem;
}
.eyebrow {
  color: #244783;
  font-size: .875rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .13em;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.site-header { background: #b7effb; border-bottom: 2px solid #203b6570; }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.7rem;
}
.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .6rem;
  font-size: 1.21rem;
  font-weight: 800;
  letter-spacing: -.05em;
  white-space: nowrap;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  border-radius: .53rem;
  width: 2.15rem;
  height: 2.15rem;
  background: var(--accent);
  color: var(--deep);
  border: 2px solid var(--deep);
  box-shadow: 2px 2px 0 var(--deep);
  font-size: 1.48rem;
  line-height: 1;
}
.brand-studio { color: var(--muted); font-weight: 650; }
.site-nav, .footer-links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 3vw, 2.25rem);
}
.site-nav a, .footer-links a {
  color: var(--muted-strong);
  font-weight: 650;
  font-size: .94rem;
  text-decoration: none;
}
.site-nav a:hover, .footer-links a:hover { color: var(--blue); }
.header-action { justify-self: end; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .68rem 1.12rem;
  border: 2px solid var(--deep);
  border-radius: .63rem;
  font-size: .96rem;
  line-height: 1.2;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--deep);
  transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--deep); }
.button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--deep); }
.button-primary { background: var(--accent); color: var(--deep); }
.button-primary:hover { background: var(--accent-bright); }
.button-outline, .button-text { color: var(--ink); background: #fffdf4; }
.button-outline:hover, .button-text:hover { background: #eaf7ff; }
.header-action { min-height: 2.65rem; padding-inline: 1rem; }

.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(2.65rem, 5vw, 4.85rem) clamp(3.5rem, 6vw, 6rem);
  background:
    radial-gradient(ellipse at 76% 51%, #f3fcffbb 0, #f3fcff00 49%),
    linear-gradient(180deg, #7bd5f8 0%, #c2f0fc 70%, #fff0c8 100%);
  border-bottom: 2px solid #253e67;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: .7rem;
  z-index: -1;
  background: repeating-linear-gradient(90deg, #f5c76e 0 1.5rem, #fedf9f 1.5rem 3rem);
  border-top: 1px solid #b68c51;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
}
.hero-copy { position: relative; z-index: 1; }
.hero-highlight {
  display: inline-block;
  padding: .02em .15em .05em;
  margin-inline: .02em;
  background: var(--accent);
  color: var(--deep);
  border: 2px solid var(--deep);
  border-radius: .14em;
  box-shadow: 3px 4px 0 var(--deep);
  transform: rotate(-6deg);
  line-height: .88;
}
.hero-description {
  margin-top: 1.45rem;
  max-width: 30rem;
  font-size: clamp(1.07rem, 1.5vw, 1.27rem);
  line-height: 1.55;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.65rem;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  margin-top: clamp(1.65rem, 3vw, 2.7rem);
  border-top: 1px solid #24478352;
  max-width: 24rem;
}
.hero-stat strong {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1;
}
.hero-stat span { color: var(--muted); font-size: .9rem; line-height: 1.25; }
.hero-visual {
  display: grid;
  justify-items: center;
  min-width: 0;
}
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  container-type: inline-size;
  cursor: pointer;
}
.stage-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1.1rem .48rem #25486c51);
  transition: transform .28s cubic-bezier(.19, .8, .43, 1);
}
.stage[data-active] .stage-art { transform: translateY(-.25rem) scale(1.025); }
.stage-focus {
  position: absolute;
  width: clamp(.75rem, 3.6cqw, 1.6rem);
  aspect-ratio: 1;
  border: 2px solid #fffdf2;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 0 4px #234a9fd9;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: left .24s ease, top .24s ease, opacity .19s ease;
}
.stage[data-active] .stage-focus { opacity: 1; }
.stage[data-active="personagem"] .stage-focus { left: 29%; top: 40%; }
.stage[data-active="camera"] .stage-focus { left: 51%; top: 50%; }
.stage[data-active="cenario"] .stage-focus { left: 76%; top: 26%; }
.stage-caption {
  display: grid;
  justify-items: center;
  gap: .58rem;
  width: 100%;
}
.stage-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .45rem;
}
.stage-choice {
  min-height: 2.75rem;
  padding: .4rem .77rem;
  border: 2px solid var(--deep);
  border-radius: .55rem;
  background: #fffdf2;
  box-shadow: 0 2px 0 var(--deep);
  color: var(--deep);
  cursor: pointer;
  font-size: .875rem;
  font-weight: 750;
}
.stage-choice:hover, .stage-choice[aria-pressed="true"] { background: var(--accent); }
.stage-note {
  min-height: 2.6em;
  max-width: 34ch;
  text-align: center;
  color: var(--muted-strong);
  font-size: .88rem;
  line-height: 1.3;
}

.section-space { padding-block: clamp(3.35rem, 6.6vw, 6.4rem); }
.example {
  background: #fffbef;
}
.example-header {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.7rem, 8vw, 7rem);
  align-items: end;
  margin-bottom: 1.8rem;
}
.example-header > p { max-width: 30rem; }
.reel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.8rem, 2vw, 1.35rem);
  max-width: 63rem;
}
.reel-card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--deep);
  border-radius: .9rem;
  background: #fffdf5;
  box-shadow: 0 .34rem 0 var(--deep);
  overflow: hidden;
}
.reel-player {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--deep);
  object-fit: contain;
}
.reel-card figcaption {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 3.85rem;
  padding: .65rem .85rem;
  border-top: 2px solid var(--deep);
  font-size: .99rem;
  font-weight: 750;
  line-height: 1.18;
}
.demo-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.15rem 1.25rem 1.25rem;
  margin-top: 1.8rem;
  max-width: 63rem;
  border: 2px dashed #687a98;
  border-radius: .9rem;
  background: #fffdf5;
}
.demo-panel p { margin-top: .3rem; font-size: .95rem; }
.demo-frame-host {
  flex: 0 0 100%;
  max-width: 36rem;
  aspect-ratio: 16 / 9;
}
.demo-frame { width: 100%; height: 100%; border: 0; }
.section-intro h2 + p, .enrollment h2 + p {
  margin-top: 1rem;
  max-width: 34rem;
}

.course {
  background: #f0edff;
  border-block: 2px solid var(--deep);
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  gap: .9rem;
  margin: clamp(1.6rem, 4vw, 2.8rem) 0 0;
  padding: 0;
}
.course-card {
  min-width: 0;
  padding: clamp(1.25rem, 2.9vw, 2rem);
  border: 2px solid var(--deep);
  border-radius: .85rem;
  background: #fffff5;
  box-shadow: 0 .3rem 0 var(--deep);
}
.course-card:nth-child(2) { background: #e2f7fd; }
.course-card:nth-child(3) { background: #ffedab; }
.course-card h3 { color: var(--ink); }
.course-card p { margin-top: .65rem; color: var(--muted); font-size: .98rem; }

.enrollment {
  background: radial-gradient(ellipse at 88% 32%, #f3fbff, #d3eefc 77%);
  border-bottom: 2px solid var(--deep);
}
.enrollment-grid, .faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(1.65rem, 7vw, 6.75rem);
}
.enrollment-grid { align-items: center; }
.enrollment-card {
  padding: clamp(1.35rem, 4vw, 2.45rem);
  border: 2px solid var(--deep);
  border-radius: 1rem;
  background: #fffdf3;
  box-shadow: 0 .42rem 0 var(--deep);
}
.enrollment-card h3 + p { margin-top: .65rem; }
.enrollment-card .button { margin-top: 1.1rem; }
#checkout > p, #checkout > label { display: block; margin-top: .65rem; }
#checkout .price {
  color: var(--blue);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.2;
}
#checkout label { font-size: .93rem; font-weight: 700; }
#pix-code {
  width: 100%;
  min-height: 2.75rem;
  padding-inline: .6rem;
  margin-top: .35rem;
  border-radius: .5rem;
  border: 1px solid var(--line);
  background: #f4f8ff;
  color: var(--ink);
}
.pix-qr {
  object-fit: contain;
  width: min(100%, 180px);
  height: auto;
  margin-block: .85rem;
  border-radius: .45rem;
  background: white;
}
.copy-feedback:empty { display: none !important; }
.copy-feedback, .delivery-detail { font-size: .92rem; }
.contact-link { display: inline-block; margin-top: .8rem; color: var(--blue); }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  min-height: 3.9rem;
  padding-block: .65rem;
  font-weight: 750;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  color: var(--blue);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding-bottom: 1.15rem; }
.faq-list details a { color: var(--blue); text-underline-offset: .18em; }

.site-footer { background: #b7effb; border-top: 2px solid var(--deep); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.5rem;
}

@media (max-width: 65rem) {
  h1 { font-size: clamp(2.85rem, 6.15vw, 4.5rem); }
}

@media (max-width: 47rem) {
  .header-inner { display: flex; justify-content: space-between; min-height: 4.1rem; gap: .75rem; }
  .site-nav { display: none; }
  .hero-grid, .example-header, .enrollment-grid, .faq-grid { grid-template-columns: 1fr; }
  .example-header { gap: .75rem; }
  .reel-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(76vw, 17.5rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: .25rem .3rem .85rem;
    scrollbar-color: #7e91b5 #fff4d4;
  }
  .reel-card { scroll-snap-align: start; }
  .hero-copy { max-width: 39rem; }
  .hero-grid { gap: 1.65rem; }
  .hero { padding-top: 2.75rem; }
  .hero-break { display: none; }
  .hero-visual { width: 100%; }
  .course-grid { grid-template-columns: 1fr; gap: .95rem; }
}

@media (max-width: 24rem) {
  .hero .actions { gap: .25rem; }
  .hero .button { padding-inline: .78rem; }
  .brand { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
