/* Carinefut theme layer, loaded last.
   One violet system for every section: tokens, headings, buttons, cards, media and the new sections
   from the Carine review (centred video hero, two paths, lesson sample). */

:root {
  /* Violet night: dark bands, from deepest to raised surfaces */
  --v-950: #0c0817;
  --v-900: #120b22;
  --v-850: #191030;
  --v-800: #22173f;
  /* Lavender light: paper bands and their cards */
  --l-50: #f6f3fc;
  --l-100: #eee8fa;
  --l-200: #e2d9f5;
  /* Action and accents */
  --violet-button: #7c3aed;
  --violet-button-hover: #8f52f5;
  --gold: #a970ff;          /* accent on dark (name kept so existing rules follow) */
  --gold-dark: #5b1fc4;     /* accent on light */
  --ink: #120b22;
  --paper: #f6f3fc;
  --muted: #5d5574;
  --line: rgba(46, 20, 90, .14);
  --text-on-dark: #f4f1fb;
  --muted-on-dark: #bdb4d6;
  --radius-card: 18px;
  --radius-small: 12px;
  --shadow-card: 0 24px 60px -32px rgba(18, 11, 34, .55);
  --ease-brand: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Surfaces: every band uses the same pair ---------- */
body { background: var(--l-50); color: var(--ink); }
.paper, .section.paper, .offer, .kx-arc { background: var(--l-50); }
.dark, .section.dark, .daily, .possibility, .transformation, .modules, .site-footer { background-color: var(--v-900); color: var(--text-on-dark); }
.possibility, .transformation { background: radial-gradient(70% 60% at 85% 20%, rgba(124, 58, 237, .18), transparent 70%), var(--v-900); }
.daily { background: radial-gradient(60% 60% at 10% 90%, rgba(124, 58, 237, .16), transparent 70%), var(--v-950); }
.modules { background: var(--v-950); }
.kx-glass { background-color: var(--v-950); }
.module-card { background: var(--v-850); border-color: rgba(169, 112, 255, .14); border-radius: var(--radius-card); overflow: hidden; }
.module-image { background: var(--v-800); }
.module-image::after { background: linear-gradient(0deg, rgba(18, 11, 34, .85), transparent 65%); }
.challenge-quote, .offer-card, .course-cover { background: var(--v-850); border-radius: var(--radius-card); }
.calendar-card { background: var(--l-50); color: var(--ink); border-radius: var(--radius-card); }
.offer-card { border: 1px solid rgba(169, 112, 255, .45); box-shadow: var(--shadow-card); }
.parents-card, .callout, .placeholder-card { background: var(--l-100); border-radius: var(--radius-card); }
.mobile-cta { background: rgba(12, 8, 23, .94); }
.site-header { background: linear-gradient(rgba(12, 8, 23, .55), transparent); }
.dark p, .daily p, .modules p, .transformation p { color: var(--muted-on-dark); }
.paper p, .offer p { color: var(--muted); }

/* ---------- Typography: one heading voice ---------- */
h2, .section h2, .kx-arc__copy h2 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .005em; line-height: .92; text-wrap: balance;
}
.section h2 { font-size: clamp(40px, 5.4vw, 76px); }
.section h2 span, .center-heading h2 span { color: var(--gold-dark); }
.dark h2 span, .section.dark h2 span, .modules h2 span { color: var(--gold); }
.eyebrow { letter-spacing: .14em; }

/* ---------- Buttons: violet pills everywhere ---------- */
.button { border-radius: 999px; }
.header-cta { border-color: rgba(169, 112, 255, .45); }
.header-cta:hover { background: rgba(124, 58, 237, .2); }
.status-pill { border-radius: 999px; }

/* ---------- Hero: centred copy over a violet duotone video ---------- */
.hero { display: flex; flex-direction: column; justify-content: center; text-align: center; background: var(--v-950); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--v-950) url("images/carine-hero-capa.webp") center 30% / cover no-repeat; }
.hero-media .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
  filter: grayscale(1) contrast(1.12) brightness(.82); }
.hero-tint { position: absolute; inset: 0; background: linear-gradient(160deg, #4c1d95, #7c3aed 55%, #2a0f5c); mix-blend-mode: multiply; }
.hero-shade { z-index: -1; background:
  radial-gradient(60% 55% at 50% 48%, rgba(12, 8, 23, .62), rgba(12, 8, 23, .2) 75%),
  linear-gradient(0deg, var(--v-950), transparent 30%),
  linear-gradient(180deg, rgba(12, 8, 23, .7), transparent 22%) !important; }
.hero-content { display: flex; flex-direction: column; align-items: center; margin-inline: auto; }
.hero h1 { max-width: none; margin-inline: auto; }
.hero-line > span, .hero-line > em { display: block; }
.hero-eyebrow, .hero-question, .hero-description { margin-inline: auto; max-width: 46ch; }
.hero-eyebrow { justify-content: center; max-width: none; }
.hero .button { margin-inline: auto; }
.hero-discover { justify-content: center; }
.motion-controls { justify-content: center; }
.hero-facts { justify-content: center; text-align: left; }
@media (min-width: 900px) {
  .hero h1 { font-size: clamp(120px, 11vw, 168px); }
  .hero-question { max-width: 32ch; }
}
@media (prefers-reduced-motion: reduce) { .hero-media .hero-video { display: none; } }

/* ---------- Shared media frame (all Carine videos) ---------- */
.media-frame { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-card); background: var(--v-850);
  box-shadow: 0 0 0 1px rgba(169, 112, 255, .35), var(--shadow-card); }
.media-frame--vertical { aspect-ratio: 9 / 16; }
.media-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-sound { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap; background: rgba(246, 243, 252, .94); color: var(--v-900);
  font: 700 12px/1 var(--body); letter-spacing: .04em; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .7); }
.media-sound .icon { width: 18px; height: 18px; color: var(--violet-button); }
.media-sound:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.is-sound .media-sound { display: none; }

/* ---------- Lesson sample inside "Como funciona" ---------- */
.lesson-sample { display: grid; gap: 34px; align-items: center; margin-top: 70px; padding-top: 60px; border-top: 1px solid var(--line); }
.lesson-sample__video { width: min(100%, 330px); justify-self: center; }
.lesson-sample__text h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(36px, 4vw, 54px); line-height: .92; margin: 10px 0 14px; color: var(--ink); }
.lesson-sample__note { color: var(--muted); max-width: 48ch; font-size: 14px; line-height: 1.7; }
.lesson-tips { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.lesson-tips li { display: flex; gap: 14px; align-items: baseline; padding: 14px 16px; border-radius: var(--radius-small); background: var(--l-100); color: var(--ink); font-size: 14px; line-height: 1.5; }
.lesson-tips span { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--gold-dark); min-width: 2ch; }
@media (min-width: 900px) { .lesson-sample { grid-template-columns: 340px 1fr; gap: 70px; } }

/* ---------- Two paths ---------- */
.paths { padding-block: 100px; }
.paths .center-heading { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.paths .center-heading h2 { margin: 12px 0 16px; }
.paths-grid { display: grid; gap: 18px; }
.path-option { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: var(--radius-card); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: transform .35s var(--ease-brand), box-shadow .35s, border-color .35s; }
.path-option:hover { transform: translateY(-4px); border-color: rgba(124, 58, 237, .45); }
.path-option--alt { background: var(--v-900); color: var(--text-on-dark); border-color: rgba(169, 112, 255, .3); }
.path-option__head { display: flex; justify-content: space-between; align-items: flex-start; }
.path-option__n { font-family: var(--display); font-weight: 700; font-size: 72px; line-height: .8; color: var(--gold-dark); }
.path-option--alt .path-option__n { color: var(--gold); }
.path-option__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--l-100); color: var(--gold-dark); }
.path-option--alt .path-option__icon { background: rgba(169, 112, 255, .16); color: var(--gold); }
.path-option__icon .icon { width: 22px; height: 22px; }
.path-option__tag { margin: 18px 0 4px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.path-option--alt .path-option__tag { color: var(--gold); }
.path-option h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 3.2vw, 42px); line-height: .95; margin: 0 0 22px; }
.path-option__facts { margin: 0 0 26px; display: grid; gap: 16px; }
.path-option__facts div { padding-top: 14px; border-top: 1px solid var(--line); }
.path-option--alt .path-option__facts div { border-top-color: rgba(169, 112, 255, .2); }
.path-option__facts dt { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.path-option--alt .path-option__facts dt { color: var(--muted-on-dark); }
.path-option__facts dd { margin: 0; font-size: 14px; line-height: 1.65; }
.path-option--alt .path-option__facts dd { color: #ddd6ee; }
.path-order { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: step; }
.path-order li { counter-increment: step; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: var(--l-100); color: var(--v-900); }
.path-order li::before { content: counter(step); font-family: var(--display); color: var(--gold-dark); }
.path-option--alt .path-order li { background: rgba(169, 112, 255, .16); color: #f4f1fb; }
.path-option--alt .path-order li::before { color: var(--gold); }
.path-option__cta { margin-top: auto; align-self: stretch; justify-content: center; }
.paths-note { display: flex; gap: 12px; align-items: flex-start; justify-content: center; max-width: 720px; margin: 30px auto 0; font-size: 14px; line-height: 1.6; color: var(--muted); text-align: left; }
.paths-note .icon { flex: none; width: 20px; height: 20px; color: var(--gold-dark); margin-top: 2px; }
@media (min-width: 900px) { .paths { padding-block: 120px; } .paths-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .path-option { padding: 38px 34px 32px; } }

/* ---------- "Quem é a Carine?": the page's own pieces (eyebrow, heading, media frame, cards, button) ---------- */
.about { position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(55% 60% at 18% 50%, rgba(124, 58, 237, .26), transparent 70%), var(--v-950); }
.about__grid { align-items: center; }
.about__media { width: 100%; max-width: 440px; margin-inline: auto; aspect-ratio: 468 / 576; }
.about__media video { object-position: 50% 30%; }
.about__media::after { content: ""; position: absolute; inset: auto 0 0; height: 38%; pointer-events: none; background: linear-gradient(transparent, rgba(12, 8, 23, .85)); }
.about__tag { position: absolute; left: 20px; bottom: 18px; z-index: 1; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.about__tag span { color: var(--gold); }
.about__content p:not(.eyebrow):not(.about__lead) { margin-top: 18px; max-width: 58ch; color: var(--muted-on-dark); font-size: 16px; line-height: 1.7; }
.about__content .about__lead { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.12; color: var(--gold); max-width: 24ch; margin-top: 20px; }
.about__stats { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.about-stat { display: flex; flex-direction: column; padding: 20px 18px; border-radius: var(--radius-card); background: var(--v-850); border: 1px solid rgba(169, 112, 255, .16);
  transition: transform .4s, border-color .4s; }
.about-stat:hover { transform: translateY(-4px); border-color: rgba(169, 112, 255, .45); }
.about-stat__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(124, 58, 237, .2); color: var(--gold); margin-bottom: 18px; }
.about-stat__icon .icon { width: 20px; height: 20px; }
.about-stat strong { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 4.4vw, 60px); line-height: .9; color: #fff; font-variant-numeric: tabular-nums; }
.about-stat__label { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--muted-on-dark); }
.about__cta { margin-top: 30px; }
@media (max-width: 640px) {
  .about__stats { gap: 8px; }
  .about-stat { padding: 16px 12px; }
  .about-stat__icon { width: 34px; height: 34px; margin-bottom: 14px; }
  .about-stat__label { font-size: 11.5px; }
  .about__content .about__lead { font-size: 25px; }
}
@media (min-width: 900px) { .about__grid { grid-template-columns: .85fr 1.15fr; } .about__content .about__lead { font-size: 34px; } }

/* ---------- Motion: one easing and duration family ---------- */
.button, .about-stat, .path-option, .module-card { transition-timing-function: var(--ease-brand); }

@media (max-width: 640px) {
  .paths { padding-block: 72px; }
  .path-option { padding: 26px 20px 22px; }
  .path-option__n { font-size: 58px; }
  .lesson-sample { margin-top: 50px; padding-top: 44px; }
}

/* Internal pending notes stay in the source (and in docs/02-lacunas.txt) but are not shown to visitors. */
.pending-inline, .review-pending, .faq-caption, .offer-status { display: none !important; }
/* The price card is dark inside a light band: keep its own colours. */
.offer-card p { color: #cfc7e6; }
.offer-card .price, .offer-card .price span { color: var(--gold); }

/* ---------- Offer: value stack + price card that asks for the decision ---------- */
.offer-layout--sell { align-items: start; }
.offer-copy h2 span { color: var(--gold-dark); }
.offer-lead { font-size: 16px; line-height: 1.7; max-width: 46ch; margin: 18px 0 30px; color: var(--muted); }
.value-stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.value-stack li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-small); background: #fff; border: 1px solid var(--line);
  transition: border-color .3s var(--ease-brand), transform .3s var(--ease-brand); }
.value-stack li:hover { border-color: rgba(124, 58, 237, .45); transform: translateX(4px); }
.value-stack__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--l-100); color: var(--gold-dark); }
.value-stack__icon .icon { width: 20px; height: 20px; }
.value-stack__body { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; }
.value-stack__body strong { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 20px; line-height: 1.05; color: var(--ink); }
.value-stack__body em { font-style: normal; justify-self: start; padding: 3px 9px; border-radius: 999px; background: var(--l-100); color: var(--gold-dark); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.value-stack__body span { grid-column: 1 / -1; margin-top: 4px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.day30 { display: flex; gap: 12px; align-items: center; margin-top: 22px; padding: 16px 18px; border-radius: var(--radius-small); background: var(--v-900); color: var(--text-on-dark); font-size: 15px; }
.day30 .icon { flex: none; width: 22px; height: 22px; color: var(--gold); }
.day30 strong { color: #fff; }
.day30 [data-day30] { color: var(--gold); }

.offer-card--sell { padding: 34px 26px 28px; text-align: center; }
.offer-card__tag { display: inline-block; margin: 0 auto 18px; padding: 7px 14px; border-radius: 999px; background: rgba(169, 112, 255, .16); color: var(--gold) !important; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.offer-card__lead { margin: 0; font-size: 15px; color: #cfc7e6; }
.offer-card--sell .price { justify-content: center; margin: 4px 0 6px; }
.offer-card__perday { margin: 0 0 24px; font-size: 15px; color: #cfc7e6 !important; }
.offer-card__perday strong { color: #fff; }
.offer-card__cta { width: 100%; max-width: none; justify-content: center; min-height: 62px; font-size: 13px; animation: cta-pulse 3.2s var(--ease-brand) infinite; }
@keyframes cta-pulse { 0%, 70%, 100% { box-shadow: 0 6px 28px rgba(124, 58, 237, .32); } 82% { box-shadow: 0 0 0 10px rgba(124, 58, 237, .18), 0 8px 34px rgba(124, 58, 237, .5); } }
.offer-card__trust { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(169, 112, 255, .22); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; text-align: left; }
.offer-card__trust li { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: #ece7f8; }
.offer-card__trust .icon { flex: none; width: 18px; height: 18px; color: var(--gold); }
.offer-card__fine { margin: 18px 0 0; font-size: 12px; line-height: 1.6; color: #a69dc2 !important; }
@media (min-width: 900px) {
  .offer-card--sell { padding: 44px 40px 34px; position: sticky; top: 110px; }
  .offer-layout--sell .offer-copy { padding-top: 10px; }
}
@media (max-width: 640px) { .offer-card__trust { grid-template-columns: 1fr; } .value-stack__body strong { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) { .offer-card__cta { animation: none; } }
.offer-layout--sell .kx-offer-stage { align-self: stretch; }
.day30 span { color: #d9d2ec !important; }
.guarantee__cta { margin-top: 20px; }
@media (min-width: 900px) { .guarantee { align-items: center; } }

/* ---------- Modules: stacked sticky chapters (from the kit's "Sobreposição Brutalism") ---------- */
.modules { overflow: clip; }
.mod-marquee { position: sticky; top: 50vh; height: 0; z-index: 0; pointer-events: none; overflow: visible; }
.mod-marquee__track { display: flex; gap: .5em; width: max-content; transform: translateY(-50%); white-space: nowrap;
  font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(90px, 13vw, 200px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(169, 112, 255, .22); animation: mod-marquee 38s linear infinite; }
.mod-marquee__track span::after { content: '/'; margin-left: .5em; -webkit-text-stroke-color: rgba(169, 112, 255, .4); }
@keyframes mod-marquee { from { translate: 0 0; } to { translate: -50% 0; } }

.module-stack { position: relative; z-index: 1; perspective: 1400px; }
.module-stack .module-card { box-shadow: 0 -18px 60px -24px rgba(0, 0, 0, .75), 0 0 0 1px rgba(169, 112, 255, .16);
  transform-origin: 50% 0; will-change: transform; }
.module-stack .module-card.is-stuck { position: sticky; top: calc(var(--stack-top, 96px) + var(--mi) * 14px); }
.module-stack .module-card .module-image img { transition: transform .6s var(--ease-brand); }
.module-stack .module-card:hover .module-image img { transform: scale(1.04); }
/* A card whose lesson list is open leaves the stack, so the list can be read and scrolled. */
.module-stack .module-card.is-open { position: relative; top: auto; transform: none !important; filter: none !important; }

@media (prefers-reduced-motion: reduce) {
  .mod-marquee__track { animation: none; }
  .module-stack .module-card { transform: none !important; filter: none !important; position: relative !important; top: auto !important; }
}
/* Phones and tablets: a shorter photo so each chapter fits on screen and can stack. */
@media (max-width: 899px) {
  .module-stack .module-image { height: 190px; min-height: 0; }
  .module-stack .module-body { padding-top: 22px; padding-bottom: 14px; }
  .module-stack .module-body .check-list { gap: 4px 12px; }
}
@media (max-width: 899px) and (min-width: 600px) { .module-stack .module-image { height: 240px; } }
