@font-face { font-family: Manrope; src: url('/fonts/Manrope-SemiBold.ttf'); font-weight: 600; font-display: swap; }
* { box-sizing: border-box; }
:root { color-scheme: dark; font: 16px/1.5 Manrope, system-ui, sans-serif; background: #0d0d0f; color: #f7f6f5; }
body { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid #ff7775; outline-offset: 4px; }
.shop-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem max(1.25rem, calc((100vw - 1120px)/2)); border-bottom: 1px solid #29292d; gap: 1rem; }
.shop-header img { display: block; width: min(30vw, 156px); height: auto; }
.shop-header > a:last-child { color: #d3d0ce; font-size: .9rem; text-underline-offset: .25rem; }
.layout { width: min(1120px, calc(100% - 2.5rem)); margin: clamp(1.5rem,5vw,4rem) auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(1.25rem,4vw,3rem); }
.course-summary, .checkout { border: 1px solid #333238; border-radius: 18px; overflow: hidden; background: #151517; }
.course-summary > img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 42%; }
.course-summary > div, .checkout { padding: clamp(1.1rem,3vw,2rem); }
.eyebrow { color: #ff7775; letter-spacing: .12em; font-size: .82rem; }
h1, h2, h3, p { margin: 0 0 .8rem; }
h1 { font-size: clamp(1.35rem,3vw,2rem); line-height: 1.18; }
h2 { font-size: clamp(1.65rem,4vw,2.25rem); }
.course-summary strong { display: block; font-size: 1.65rem; }
.course-summary div > p:not(.eyebrow), .checkout p { color: #d3d0ce; }
form, .methods { display: grid; gap: 1rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.field-grid > label:first-child { grid-column: 1/-1; }
.field-grid label { display: grid; gap: .3rem; }
.field-grid input { min-width: 0; width: 100%; padding: .65rem .75rem; background: #0d0d0f; border: 1px solid #54525a; border-radius: 8px; color: inherit; }
.account strong { display: block; color: #fff; overflow-wrap: anywhere; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: .65rem; font-weight: 700; }
.payment-option { display: flex; align-items: center; gap: .7rem; padding: .7rem; border: 1px solid #45434a; border-radius: 10px; background: #101012; }
.payment-option + .payment-option { margin-top: .45rem; }
.payment-option:has(input) { cursor: pointer; }
.payment-option:has(input:checked) { border-color: #ff7775; background: #261719; }
.payment-option input { accent-color: #ed4142; flex: none; margin: 0; }
.payment-option strong { margin-left: auto; white-space: nowrap; }
.pay-icon { width: 1.7rem; height: 1.3rem; flex: none; position: relative; }
.pix { color: #42ddc3; }
.pix::before, .pix::after { content: ''; display: block; position: absolute; border: 3px solid; border-radius: 4px; width: 9px; height: 9px; transform: rotate(45deg); top: 3px; }
.pix::before { left: 2px; } .pix::after { left: 10px; }
.card { border: 2px solid #f4c46c; border-radius: 4px; background: linear-gradient(transparent 23%, #f4c46c 23% 39%, transparent 39%); }
.barcode { background: repeating-linear-gradient(90deg,#ddd 0 2px,transparent 2px 4px,#ddd 4px 5px,transparent 5px 8px); }
.payment-button { display: inline-block; width: fit-content; background: #c2292b; border: 0; border-radius: 9px; color: #fff; padding: .8rem 1.1rem; text-decoration: none; cursor: pointer; font-weight: 700; }
.payment-button:hover { background: #ab2021; }
.methods { display: block; margin-top: 1.5rem; }
.payment-note { margin: 0; }
@media (max-width: 690px) {
  .layout { grid-template-columns: 1fr; }
  .course-summary { display: grid; grid-template-columns: 32% 1fr; }
  .course-summary > img { height: 100%; aspect-ratio: auto; }
  .course-summary > div { padding: .85rem; }
}
@media (max-width: 365px) {
  .field-grid { grid-template-columns: 1fr; }
  .payment-option { gap: .45rem; padding: .6rem; }
}
.directory { width: min(1120px, calc(100% - 2.5rem)); margin: 3rem auto; }
.table-scroll { overflow-x: auto; margin-block: 1rem; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: .7rem; border-bottom: 1px solid #45434a; }
.course-summary .price { display: flex; align-items: center; gap: .6rem; }
.cash-icon { display: grid; place-items: center; border: 2px solid #f4c46c; color: #f4c46c; border-radius: 4px; width: 2.35rem; height: 1.4rem; font-size: .75rem; font-style: normal; }

.light-checkout {
  min-height: 100vh;
  color-scheme: light;
  background: #fff;
  color: #171719;
}

.light-checkout .shop-header,
.light-checkout .course-summary,
.light-checkout .checkout,
.light-checkout .field-grid input,
.light-checkout .payment-option {
  background: #fff;
  border-color: #bfbcc0;
}

.light-checkout .shop-header > a:last-child,
.light-checkout .course-summary div > p:not(.eyebrow),
.light-checkout .checkout p {
  color: #49464a;
}

.light-checkout .account strong { color: inherit; }

.light-checkout .eyebrow,
.light-checkout .cash-icon { color: #a71924; }

.light-checkout .cash-icon,
.light-checkout .payment-option:has(input:checked) { border-color: #a71924; }

.light-checkout .pix { color: #06796b; }

.light-checkout .card {
  border-color: #835600;
  background: linear-gradient(transparent 23%, #835600 23% 39%, transparent 39%);
}

.light-checkout .barcode {
  background: repeating-linear-gradient(90deg, #49464a 0 2px, transparent 2px 4px, #49464a 4px 5px, transparent 5px 8px);
}
