/* Box landing page: hierarchy, spacing and navigation refinements. */
@media (min-width: 761px) {
  .site-header nav > a[href="#oferta"]:not(:hover):not(:focus-visible) { color: #a1a1ad; }
}
#produtos .course-chapter-head > p {
  font: 400 clamp(1.1rem,2vw,1.55rem)/1.1 BoxFslDisplay, Impact, sans-serif;
  letter-spacing: .065em;
}
#produtos .course-chapter-count > b {
  font-size: clamp(2.75rem,5vw,5.25rem);
}
/* Secondary navigation uses the same shape without competing with the buy button. */
#produtos .box-secondary-action,
#duvidas .box-secondary-action {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; gap: .45rem; padding: .42rem .75rem;
  color: var(--secondary-ink, inherit);
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 45%, transparent);
  border-radius: .55rem;
  font: 700 .875rem/1.15 BoxSans, Arial, sans-serif;
  text-align: center; text-decoration: none; white-space: nowrap;
}
.box-secondary-icon {
  width: 1rem; height: 1rem; flex: 0 0 1rem;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
#produtos .box-secondary-action:focus-visible,
#duvidas .box-secondary-action:focus-visible {
  outline: 2px solid currentColor; outline-offset: 3px;
}
@media (hover: hover) {
  #produtos .box-secondary-action:hover,
  #duvidas .box-secondary-action:hover {
    border-color: currentColor;
    background: color-mix(in srgb, currentColor 8%, transparent);
  }
}
#produtos .course-chapter-head .course-lessons-link { flex: none; }
#produtos .syllabus-list-group { min-width: 0; }
#produtos .course-return { margin-top: .85rem; }
#duvidas .faq-back { --secondary-ink: #6f0086; gap: .7rem; }
/* Two vertically adjacent steps: select a case, then respond in its panel. */
#laboratorio .lab-stack { width: min(92%, 59rem); margin-inline: auto; }
#laboratorio #lab-title { margin: 0 0 clamp(1rem, 2.5vw, 1.7rem); }
#laboratorio .lab-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.32rem, 1vw, .75rem);
  margin-bottom: .7rem;
}
#laboratorio .lab-logic { --lab-accent: #ac1738; --lab-wash: #fff0f3; }
#laboratorio .lab-bias { --lab-accent: #234bb4; --lab-wash: #edf2ff; }
#laboratorio .lab-story { --lab-accent: #a21b69; --lab-wash: #fceef7; }
#laboratorio .lab-tab, #laboratorio .lab-choices button {
  min-width: 0;
  min-height: 48px;
  border: 1px solid #6d6d76;
  border-radius: .6rem;
  background: #fff;
  color: #18181d;
  font-weight: 700;
  line-height: 1.2;
}
#laboratorio .lab-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.23rem, 1vw, .55rem);
  padding: .5rem .25rem;
  font-size: clamp(.81rem, 2.4vw, 1.1rem);
}
#laboratorio .lab-number {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  min-width: 1.36rem;
  min-height: 1.36rem;
  padding-inline: .15rem;
  border-radius: .28rem;
  background: var(--lab-accent);
  color: #fff;
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
}
#laboratorio .lab-tab[aria-selected="true"],
#laboratorio .lab-choices button[aria-pressed="true"] {
  border-color: var(--lab-accent);
  box-shadow: inset 0 0 0 1px var(--lab-accent);
  background: var(--lab-wash);
  color: var(--lab-accent);
}
#laboratorio .lab-tab:focus-visible,
#laboratorio .lab-choices button:focus-visible {
  outline: 3px solid #17171c;
  outline-offset: 2px;
}
@media (hover: hover) {
  #laboratorio .lab-tab:hover, #laboratorio .lab-choices button:hover {
    background: var(--lab-wash);
    border-color: var(--lab-accent);
  }
}
#laboratorio .lab-example {
  background: #fff;
  border: 1px solid #c6c6ca;
  border-top: 4px solid var(--lab-accent);
  border-radius: .9rem;
  padding: clamp(1rem, 3vw, 2rem);
  margin: 0;
}
#laboratorio .lab-example + .lab-example { margin-top: .7rem; }
#laboratorio .lab-case {
  margin: 0 0 .75rem;
  max-width: 66ch;
  color: #26262b;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.5;
}
#laboratorio .lab-prompt {
  margin: 0 0 .8rem;
  font-family: BoxSans, Arial, sans-serif;
  font-size: clamp(1.12rem, 2.4vw, 1.45rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: normal;
}
#laboratorio .lab-choices {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
#laboratorio .lab-choices button {
  border-color: var(--lab-accent);
  padding: .55rem .8rem;
  font-size: .9375rem;
  text-align: left;
}
#laboratorio .lab-result {
  margin-top: .85rem;
  padding: .85rem 1rem;
  border-left: 3px solid var(--lab-accent);
  border-radius: .35rem;
  background: var(--lab-wash);
}
#laboratorio .lab-result p {
  margin: 0;
  max-width: 66ch;
  color: #27272e;
  font-size: 1rem;
  line-height: 1.55;
}
#laboratorio .lab-result .lab-insight {
  margin-bottom: .35rem;
  color: var(--lab-accent);
  font-weight: 800;
}
#laboratorio .lab-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#laboratorio [hidden] { display: none; }
@media (max-width: 480px) {
  #laboratorio .lab-choices { display: grid; grid-template-columns: minmax(0, 1fr); }
}
@media (forced-colors: active) {
  #laboratorio .lab-example, #laboratorio .lab-result, #laboratorio .lab-tab, #laboratorio .lab-choices button { border-color: ButtonText; }
  #laboratorio .lab-tab[aria-selected="true"], #laboratorio .lab-choices button[aria-pressed="true"] { outline: 2px solid Highlight; outline-offset: -2px; }
  #laboratorio .lab-tab:focus-visible, #laboratorio .lab-choices button:focus-visible { outline: 3px solid Highlight; outline-offset: 2px; }
}
#compra {
  border-block-end: 0;
  background:
    linear-gradient(transparent calc(100% - 3rem), #0c0c0e),
    radial-gradient(ellipse at 83% 20%, #121220 0, #0b0b12 37%, #08080c 71%);
}
#compra .offer-card {
  background: linear-gradient(150deg,#1d1e28,#12121a 53%,#101016);
  box-shadow: 0 12px 26px #0005;
}
#compra .offer-card::before { opacity: .25; }
.teacher .teacher-badge {
  right: auto;
  max-width: calc(100% - 1.25rem);
  padding: .5rem .75rem;
  gap: .5rem;
}
.teacher .teacher-badge strong { font-size: 1.15rem; margin-top: .12rem; }
.teacher .teacher-badge .badge-star { font-size: 1.25rem; }
#grupo.whatsapp-section { padding-block: clamp(2rem,5vw,4.5rem); }
#grupo .whatsapp-panel { gap: clamp(1rem,4vw,3.5rem); }
#grupo .whatsapp-copy h2 { font-size: clamp(2rem,4.15vw,3.45rem); margin-bottom: .7rem; }
#grupo .whatsapp-copy > p { margin-bottom: 0; }
#grupo .whatsapp-card { padding: clamp(.85rem,2vw,1.35rem); border-color: #487180; box-shadow: 0 8px 20px #0005; }
#grupo .whatsapp-symbol { width: 50px; height: 50px; margin-bottom: .6rem; }
#grupo .whatsapp-symbol svg { width: 31px; height: 31px; }
#grupo .whatsapp-status { margin: .65rem 0 .25rem; }
#duvidas .faq-back-after { display: none; }
.site-footer { padding-top: clamp(1.75rem,4vw,3rem); }
.site-footer .footer-main { gap: clamp(1rem,3vw,2.2rem); padding-bottom: 1rem; }
.site-footer .footer-brand p { margin-top: .65rem; }
.site-footer .footer-nav > div,
.site-footer .social-links { gap: .5rem; }
.site-footer .footer-nav strong { margin-bottom: .2rem; }
.site-footer .footer-bottom { padding-top: .8rem; }
@media (max-width: 760px) {
  #inicio.launch-hero { gap: 12px; padding-block-end: 20px; }
  #inicio .hero-lead { margin-bottom: 8px; }
  #inicio .hero-summary .description { margin-bottom: 0; }
  #inicio .hero-actions { margin-top: 10px; }
  .intro-transition .ticker { padding-block: 12px; }
  .intro-transition .ticker-group { font-size: 1.5rem; }
  #produtos .box-index { padding-block-start: clamp(1.6rem,6vw,2.6rem); }
  #produtos .box-index-heading { margin-bottom: 1.1rem; gap: .65rem; }
  #produtos .box-index-item { padding-block: .65rem; gap: .32rem; }
  #produtos .course-chapter-head { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: .55rem; }
  #produtos .course-chapter-head > p { grid-column: 2; grid-row: 1; padding-inline-start: 0; border-inline-start: 0; }
  #produtos .course-chapter-head .course-lessons-link { grid-column: 3; grid-row: 1; justify-self: end; margin: 0; padding-inline: .48rem; }
  #produtos .course-chapter-head .course-lessons-link svg { width: .8rem; flex: 0 0 .8rem; }
  #compra .box-purchase-intro { margin-bottom: .75rem; }
  #duvidas .faq-back-after { display: inline-flex; justify-self: start; margin-top: .65rem; }
  .site-footer .footer-nav { gap: .75rem 1.5rem; }
  .site-footer .footer-closing { padding-top: .65rem; }
  .site-footer .footer-bottom p { margin-bottom: .55rem; }
  .site-footer .footer-bottom > div { gap: .35rem .75rem; }
}
@media (max-width: 360px) {
  #produtos .course-chapter-head > p { font-size: 1rem; }
}
