/* MindraWarrior · hero
   Layout: one full-screen hero, content centered; animated gradient blobs on Mindra navy, a faint iris (brand rings) behind the name. */

/* Poppins, hosted with the site (no request to Google Fonts) */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/poppins-500.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/poppins-700.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/poppins-800.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 900; font-display: swap; src: url(fonts/poppins-900.woff2) format("woff2"); }

:root {
  /* Mindra palette */
  --navy: #12171F;
  --night: #07080C;
  --purple: #744ADC;
  --purple-ink: #A88CF6;
  --cream: #EFE7DE;
  --blush: #F9D4C9;
  --muted: #ABA5B4;
  --line: #252C3A;
  /* Darker purple used for the purple sections */
  --purple-deep-1: #2A1670;
  --purple-deep-2: #3D2199;
  --purple-deep-3: #4F2FB5;

  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; height: 100%; }

body {
  background: var(--night);
  color: var(--cream);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: max(72px, env(safe-area-inset-top, 0px)) 72px;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
  background: radial-gradient(120% 90% at 50% 10%, var(--navy) 0%, var(--night) 70%);
}

/* ---------- Animated background ---------- */

.bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.b1 {
  width: 56vmax; height: 56vmax;
  left: -14vmax; top: -18vmax;
  background: radial-gradient(circle, rgba(116, 74, 220, .5) 0%, rgba(116, 74, 220, .18) 40%, transparent 70%);
  animation: drift1 18s ease-in-out infinite alternate;
}
.b2 {
  width: 48vmax; height: 48vmax;
  right: -16vmax; bottom: -20vmax;
  background: radial-gradient(circle, rgba(60, 40, 140, .55) 0%, rgba(60, 40, 140, .2) 40%, transparent 70%);
  animation: drift2 22s ease-in-out infinite alternate;
}
.b3 {
  width: 30vmax; height: 30vmax;
  right: 8vmax; top: 6vmax;
  background: radial-gradient(circle, rgba(249, 212, 201, .1) 0%, transparent 70%);
  animation: drift3 26s ease-in-out infinite alternate;
}

/* Soft light that follows the pointer (position set in script.js) */
.glow {
  position: absolute;
  left: 0; top: 0;
  width: 46vmax; height: 46vmax;
  transform: translate3d(calc(var(--gx, 50vw) - 50%), calc(var(--gy, 45vh) - 50%), 0);
  will-change: transform;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 140, 246, .16), transparent 60%);
  transition: opacity .6s;
}

/* The photo: purple bag shot on the right, dissolving into the navy */
.photo {
  position: absolute;
  top: 0; right: 0;
  width: 62%; height: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(0deg, transparent 0%, #000 18%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(0deg, transparent 0%, #000 18%);
  mask-composite: intersect;
}
.photo img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  opacity: 0;
  transform-origin: center 60%;
  transition: opacity 1.8s ease;
}
.photo img.is-on {
  opacity: .95;
  animation: kenburns 7s ease-out both;
}
.photo::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(7, 8, 12, .15);
}

/* Fade the background into the next section */
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 160px;
  background: linear-gradient(0deg, var(--night), transparent);
  z-index: -1;
}

/* ---------- Content ---------- */

.content {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  justify-items: start;
  gap: 22px;
  text-align: left;
}
.content > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.content > :nth-child(2) { animation-delay: .1s; }
.content > :nth-child(3) { animation-delay: .25s; }
.content > :nth-child(4) { animation-delay: .4s; }

.eyebrow {
  margin: 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--purple-ink);
}

.name { margin: 0; line-height: 0; }
.name img {
  width: min(560px, 78vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 40px rgba(116, 74, 220, .35));
}

.tagline {
  margin: 4px 0 0;
  max-width: 34ch;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
  text-wrap: balance;
}

/* ---------- Buttons ---------- */

.ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s, background-color .2s, border-color .2s, box-shadow .2s;
}
.btn svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s;
}
.btn:focus-visible { outline: 3px solid var(--blush); outline-offset: 4px; }

.primary {
  background: var(--purple);
  color: var(--cream);
  box-shadow: 0 10px 40px -10px rgba(116, 74, 220, .8);
}
.primary:hover { background: #8459EC; transform: translateY(-2px); box-shadow: 0 14px 50px -10px rgba(116, 74, 220, .95); }
.primary:hover svg { transform: translateX(4px); }

.ghost {
  color: var(--cream);
  border: 1.5px solid rgba(239, 231, 222, .22);
  background: rgba(18, 23, 31, .35);
  backdrop-filter: blur(6px);
}
.ghost:hover { border-color: var(--purple-ink); transform: translateY(-2px); }

/* ---------- Sobre (the mirror of the hero: purple ground, dark elements) ---------- */

.about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(140deg, var(--purple-deep-1) 0%, var(--purple-deep-2) 55%, var(--purple-deep-3) 100%);
  color: var(--cream);
  padding-block: clamp(56px, 7vw, 88px);
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.about::before {
  content: "";
  position: absolute;
  width: 60vmax; height: 60vmax;
  right: -20vmax; top: -24vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 212, 201, .2) 0%, rgba(249, 212, 201, .06) 45%, transparent 70%);
  z-index: -2;
  animation: drift2 24s ease-in-out infinite alternate;
}
.about::after {
  content: "";
  position: absolute;
  width: 50vmax; height: 50vmax;
  left: -18vmax; bottom: -22vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 23, 31, .4) 0%, rgba(18, 23, 31, .12) 45%, transparent 70%);
  z-index: -2;
  animation: drift1 20s ease-in-out infinite alternate;
}

.about-in {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}
.about-head { text-align: left; }
.about-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ph { margin: 0; }
.ph img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(7, 8, 12, .3);
  box-shadow: 0 30px 60px -34px rgba(7, 8, 12, .85);
}
.about-text { max-width: 760px; }

.about .eyebrow { color: var(--blush); font-size: .85rem; }
.about h2 {
  margin: 10px 0 0;
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--cream);
}
.about .role {
  margin: 10px 0 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blush);
}
.about-text > p:not(.eyebrow):not(.role) {
  margin: 0 0 16px;
  max-width: 60ch;
  font-size: clamp(1.06rem, 1.6vw, 1.18rem);
  line-height: 1.7;
  color: rgba(239, 231, 222, .94);
}

.about .ctas { margin-top: 20px; }
.about .btn { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.dark {
  background: var(--night);
  color: var(--cream);
  box-shadow: 0 12px 40px -12px rgba(7, 8, 12, .7);
}
.dark:hover { background: var(--navy); transform: translateY(-2px); }
.dark:hover svg { transform: translateX(4px); }
.outline-dark {
  color: var(--cream);
  border: 1.5px solid rgba(239, 231, 222, .45);
}
.outline-dark:hover { background: rgba(239, 231, 222, .1); border-color: var(--cream); transform: translateY(-2px); }

@media (max-width: 820px) {
}
@media (max-width: 820px) {
}

/* ---------- Curso (dark again, cover on the left) ---------- */

.course {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(90% 80% at 20% 50%, #1A1440 0%, var(--night) 70%);
  color: var(--cream);
  padding-block: clamp(72px, 9vw, 120px);
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.course-in {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.course-badge { position: relative; max-width: 420px; width: 100%; justify-self: center; }
.course-badge::before {
  content: "";
  position: absolute; inset: 6%;
  border-radius: 50%;
  inset: -8%;
  background: radial-gradient(circle, rgba(116, 74, 220, .5) 0%, rgba(116, 74, 220, .15) 45%, transparent 70%);
  z-index: -1;
}
.course-badge { margin: 0; }
.course-badge img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--cream);
  outline: 2px solid var(--purple);
  outline-offset: 6px;
  box-shadow: 0 30px 60px -30px rgba(7, 8, 12, .8);
  animation: floaty 6s ease-in-out infinite alternate;
}

.course .eyebrow { margin: 0; }
.course h2 {
  margin: 12px 0 0;
  font-size: clamp(2.4rem, 5.6vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1;
}
.course-sub {
  margin: 10px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--purple-ink);
}
.course-lead {
  margin: 18px 0 0;
  max-width: 52ch;
  font-size: clamp(1.06rem, 1.6vw, 1.18rem);
  line-height: 1.7;
  color: var(--muted);
}

.course-buy {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}
.course-buy .price { margin: 0; font-size: .95rem; color: var(--muted); }
.course-buy .price b { color: var(--cream); font-size: 1.15rem; }

@media (max-width: 820px) {
  .course-in { grid-template-columns: minmax(0, 1fr); }
  .course-badge { max-width: 300px; }
}

/* ---------- Preparação individual (purple, photo on the right) ---------- */

.solo {
  background: linear-gradient(140deg, var(--purple-deep-1) 0%, var(--purple-deep-2) 55%, var(--purple-deep-3) 100%);
  color: var(--cream);
  padding-block: clamp(72px, 9vw, 120px);
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.solo-in {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.solo .eyebrow { margin: 0; color: var(--blush); }
.solo h2 {
  margin: 12px 0 0;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.solo-lead {
  margin: 18px 0 0;
  max-width: 52ch;
  font-size: clamp(1.06rem, 1.6vw, 1.18rem);
  line-height: 1.7;
  color: rgba(239, 231, 222, .94);
}
.solo-steps {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: s;
}
.solo-steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(7, 8, 12, .82);
}
.solo-steps li::before {
  content: counter(s);
  grid-row: span 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  background: var(--purple);
  color: var(--cream);
}
.solo-steps b { font-weight: 700; }
.solo-steps span { font-size: .93rem; color: var(--muted); }
.solo .ctas { margin-top: 26px; justify-content: flex-start; }
.solo-photo { margin: 0; }
.solo-photo img {
  width: 100%; height: auto; display: block;
  border-radius: 20px;
  border: 1px solid rgba(7, 8, 12, .3);
  box-shadow: 0 30px 60px -30px rgba(7, 8, 12, .85);
}

@media (max-width: 820px) {
  .solo-in { grid-template-columns: minmax(0, 1fr); }
  .solo-photo { order: -1; }
}

/* ---------- Ebook (dark, book cover on the left) ---------- */

.book {
  background: radial-gradient(80% 80% at 25% 50%, #1A1440 0%, var(--night) 70%);
  color: var(--cream);
  padding-block: clamp(72px, 9vw, 120px);
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.book-in {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.book-cover { margin: 0; justify-self: center; width: min(100%, 360px); perspective: 1200px; }
.book-cover img {
  width: 100%; height: auto; display: block;
  border-radius: 4px 12px 12px 4px;
  box-shadow: -6px 0 0 rgba(239, 231, 222, .08) inset, 0 40px 70px -30px rgba(116, 74, 220, .75), 0 20px 40px -20px rgba(0, 0, 0, .8);
  transform: rotateY(-12deg) rotateX(3deg);
  transition: transform .5s ease;
}
.book-cover:hover img { transform: rotateY(0) rotateX(0); }
.book h2 {
  margin: 12px 0 0;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.book .eyebrow { margin: 0; }
.book-lead {
  margin: 18px 0 0;
  max-width: 54ch;
  font-size: clamp(1.06rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  color: var(--muted);
}
.book-chapters {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  border-top: 1px solid var(--line);
}
.book-chapters li {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: .98rem;
}
.book-chapters span { font-weight: 800; color: var(--purple-ink); font-variant-numeric: tabular-nums; }
.book .ctas { margin-top: 28px; justify-content: flex-start; }
.btn svg.wa { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.book-note { margin: 12px 0 0; font-size: .86rem; color: var(--muted); }

@media (max-width: 820px) {
  .book-in { grid-template-columns: minmax(0, 1fr); }
  .book-cover { width: min(70%, 260px); }
  .book-chapters { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Motion ---------- */

@keyframes drift1 { to { transform: translate(10vmax, 8vmax) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-12vmax, -6vmax) scale(.92); } }
@keyframes drift3 { to { transform: translate(-8vmax, 10vmax) scale(1.2); } }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes floaty { to { transform: translateY(-10px); } }
@keyframes rise   { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 820px) {
  .hero { align-items: end; padding-top: 0; }
  .photo { width: 100%; height: 62%; }
  .photo {
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 35%);
    mask-image: linear-gradient(0deg, transparent 0%, #000 35%);
  }
  .content { padding-top: 46svh; }
}

@media (max-width: 520px) {
  .about-photos { gap: 8px; }
  .btn { width: 100%; }
  .ctas { width: 100%; }
}

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

/* ---------- Footer (all pages) ---------- */

.footer {
  background: var(--night);
  border-top: 1px solid var(--line);
  padding: 48px max(20px, env(safe-area-inset-right, 0px)) max(36px, env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
}
.footer-in {
  max-width: 1120px; margin: 0 auto;
  display: grid; justify-items: center; gap: 22px; text-align: center;
}
.footer-logo img { width: 170px; height: auto; display: block; opacity: .9; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; }
.footer-nav a { color: var(--cream); text-decoration: none; font-size: .92rem; font-weight: 500; opacity: .8; }
.footer-nav a:hover { opacity: 1; color: var(--purple-ink); }
.footer-copy { margin: 0; font-size: .8rem; color: var(--muted); }

/* ---------- Inner pages ---------- */

.page { height: auto; }

.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px max(20px, env(safe-area-inset-right, 0px)) 12px max(20px, env(safe-area-inset-left, 0px));
  background: rgba(7, 8, 12, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-logo img { width: 128px; height: auto; display: block; }
.topbar-link {
  color: var(--cream); text-decoration: none; font-weight: 600; font-size: .92rem;
  padding: 9px 18px; border-radius: 999px; background: var(--purple);
}
.topbar-link:hover { background: #8459EC; }

.solo-page { padding-block: clamp(48px, 7vw, 96px); }
.solo-h {
  margin: 12px 0 0;
  font-size: clamp(2.3rem, 5.4vw, 3.8rem);
  font-weight: 900; letter-spacing: -.035em; line-height: 1.02;
  text-wrap: balance;
}

.sec {
  padding-block: clamp(64px, 8vw, 104px);
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.sec-dark  { background: var(--navy); }
.sec-night { background: var(--night); }
.sec-apply { background: radial-gradient(90% 70% at 50% 0%, #1A1440 0%, var(--night) 75%); }
.sec-in { max-width: 1000px; margin: 0 auto; }
.sec-in.narrow { max-width: 720px; }
.sec-h {
  margin: 12px 0 0; max-width: 24ch;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
  text-wrap: balance;
}
.sec-lead { margin: 16px 0 0; max-width: 56ch; line-height: 1.7; color: var(--muted); }

.fit {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.fit li {
  position: relative;
  padding: 18px 18px 18px 52px;
  border-radius: 14px;
  background: rgba(239, 231, 222, .04);
  border: 1px solid var(--line);
  line-height: 1.55;
}
.fit li::before {
  content: ""; position: absolute; left: 18px; top: 21px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EFE7DE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.steps-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; }
.steps-wide li { background: var(--navy); border: 1px solid var(--line); padding: 20px; grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
.steps-wide li::before { grid-row: auto; margin-bottom: 8px; }

.plans {
  margin-top: 32px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  max-width: 760px;
}
.plan {
  position: relative;
  padding: 28px 26px;
  border-radius: 20px;
  background: var(--night);
  border: 1px solid var(--line);
}
.plan.is-main {
  border: 1.5px solid var(--purple);
  box-shadow: 0 24px 60px -30px rgba(116, 74, 220, .9);
}
.plan-tag {
  position: absolute; top: -12px; left: 26px; margin: 0;
  padding: 4px 12px; border-radius: 999px;
  background: var(--purple); color: var(--cream);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.plan-name { margin: 0; font-weight: 700; font-size: 1.05rem; }
.plan-price { margin: 14px 0 0; font-size: 2.6rem; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.plan-price small { font-size: 1rem; font-weight: 600; margin-right: 4px; color: var(--muted); }
.plan-per { margin: 6px 0 0; font-size: .88rem; color: var(--muted); }
.plan ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.plan li { font-size: .94rem; padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--purple-ink); }
.plans-note { margin: 18px 0 0; font-size: .88rem; color: var(--muted); }

.apply { margin-top: 32px; display: grid; gap: 26px; }
.field { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; min-width: 0; }
.q { padding: 0; font-weight: 600; font-size: 1rem; }
.q em { font-style: normal; font-weight: 400; font-size: .85rem; color: var(--muted); margin-left: 6px; }
.apply input[type="text"] {
  width: 100%; min-height: 54px; padding: 0 18px;
  border-radius: 14px; border: 1px solid var(--line);
  background: rgba(239, 231, 222, .05); color: var(--cream);
  font: inherit; font-size: 1rem;
}
.apply input[type="text"]::placeholder { color: #6E6878; }
.apply input[type="text"]:focus { outline: 2px solid var(--purple); outline-offset: 2px; border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px;
  border-radius: 999px; border: 1.5px solid var(--line);
  background: rgba(239, 231, 222, .03);
  font-size: .94rem; font-weight: 500;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chips label:hover span { border-color: var(--purple-ink); }
.chips input:checked + span { background: var(--purple); border-color: var(--purple); color: var(--cream); }
.chips input:focus-visible + span { outline: 3px solid var(--blush); outline-offset: 3px; }
.apply-error { margin: 0; color: var(--blush); font-size: .92rem; font-weight: 500; }
.apply .btn { justify-self: start; border: 0; cursor: pointer; }

.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--navy); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 52px 18px 20px; position: relative;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 500; color: var(--purple-ink);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 20px 20px; line-height: 1.7; color: var(--muted); }

@media (max-width: 820px) {
  .fit, .plans, .steps-wide { grid-template-columns: minmax(0, 1fr); }
  .plans { gap: 24px; }
}
@media (max-width: 520px) {
  .apply .btn { justify-self: stretch; }
  .topbar .topbar-link { width: auto; }
}

/* ---------- Aula gratuita (VSL) ---------- */

.vsl-page {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(40px, 6vw, 72px) max(20px, env(safe-area-inset-right, 0px)) clamp(64px, 8vw, 104px) max(20px, env(safe-area-inset-left, 0px));
  background: radial-gradient(90% 60% at 50% 0%, #1A1440 0%, var(--night) 70%);
}
.vsl-blob {
  position: absolute; z-index: -1; left: 50%; top: 18%;
  width: 70vmax; height: 40vmax; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 74, 220, .35), transparent 65%);
  pointer-events: none;
}
.vsl-in { max-width: 920px; margin: 0 auto; text-align: center; }
.vsl-h {
  margin: 14px auto 0; max-width: 22ch;
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  font-weight: 900; letter-spacing: -.035em; line-height: 1.06;
  text-wrap: balance;
}
.vsl-h span { color: var(--purple-ink); }

.vsl-video {
  position: relative; margin: clamp(26px, 4vw, 40px) auto 0;
  aspect-ratio: 16 / 9; width: 100%;
  border-radius: 20px; overflow: hidden;
  background: #000;
  border: 1px solid rgba(168, 140, 246, .35);
  box-shadow: 0 40px 100px -40px rgba(116, 74, 220, .9);
}
.vsl-video.is-vertical { aspect-ratio: 9 / 16; max-width: 420px; }
.vsl-video iframe, .vsl-video #vsl-player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vsl-placeholder { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; }
.vsl-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.vsl-placeholder p { position: relative; margin: 0; font-size: .9rem; font-weight: 500; color: var(--cream); opacity: .85; }
.vsl-play {
  position: relative; width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--purple); box-shadow: 0 0 0 12px rgba(116, 74, 220, .25);
}
.vsl-play svg { width: 34px; height: 34px; fill: var(--cream); margin-left: 4px; }

.vsl-gate {
  margin: 26px auto 0; max-width: 640px;
  padding: 22px 24px; border-radius: 20px;
  background: rgba(18, 23, 31, .8); border: 1px solid var(--line);
  text-align: left;
}
.gate-wait { display: flex; align-items: center; gap: 20px; }
.gate-ring { position: relative; flex: none; width: 88px; height: 88px; }
.gate-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gate-ring circle { fill: none; stroke-width: 7; }
.ring-bg { stroke: var(--line); }
.ring-fg { stroke: var(--purple); stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.gate-time {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums;
}
.gate-title { margin: 0; font-size: 1.15rem; font-weight: 800; }
.gate-text { margin: 6px 0 0; font-size: .94rem; line-height: 1.6; color: var(--muted); }

.vsl-gate.is-open { text-align: center; border-color: var(--purple); box-shadow: 0 24px 60px -30px rgba(116, 74, 220, .9); }
.gate-open .gate-title { margin-top: 6px; font-size: clamp(1.3rem, 3vw, 1.6rem); }
.gate-open .btn { margin-top: 18px; }
.btn-xl { min-height: 64px; padding: 0 36px; font-size: 1.08rem; }
.vsl-gate.pop { animation: pop .6s cubic-bezier(.2, 1.4, .4, 1); }
.vsl-gate.is-open .btn { animation: pulse 2.2s ease-in-out 1s infinite; }
@keyframes pop { from { transform: scale(.94); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(116, 74, 220, .22), 0 10px 40px -10px rgba(116, 74, 220, .8); } }

@media (max-width: 520px) {
  .vsl-video { border-radius: 14px; }
  .gate-wait { gap: 14px; }
  .gate-ring { width: 72px; height: 72px; }
  .gate-time { font-size: 1rem; }
}
.vsl-gate [hidden] { display: none !important; }
.vsl-video:not(.is-vertical) { max-width: 780px; }

/* Vertical video: video on the left, title and timer on the right (desktop); stacked on phones */
.vsl-video.is-vertical { max-width: 380px; }
@media (min-width: 821px) {
  .vsl-vertical {
    max-width: 1000px;
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    grid-template-areas: "video head" "video gate";
    grid-template-rows: auto 1fr;
    column-gap: clamp(40px, 6vw, 72px);
    text-align: left;
    align-items: start;
  }
  .vsl-vertical .vsl-head { grid-area: head; align-self: end; }
  .vsl-vertical .vsl-video { grid-area: video; margin: 0; }
  .vsl-vertical .vsl-gate { grid-area: gate; margin: 28px 0 0; max-width: none; }
  .vsl-vertical .vsl-h { margin-left: 0; font-size: clamp(2rem, 3.8vw, 3rem); }
  .vsl-vertical .vsl-gate.is-open { text-align: left; }
}
@media (max-width: 820px) {
  .vsl-video.is-vertical { max-width: min(380px, 86vw); }
}
/* Phones: the timer box sticks to the bottom of the screen while the vertical video plays */
@media (max-width: 820px) {
  .vsl-vertical .vsl-gate {
    position: sticky; bottom: max(12px, env(safe-area-inset-bottom, 0px)); z-index: 5;
    padding: 14px 16px;
    background: rgba(12, 14, 20, .92);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .vsl-vertical .gate-ring { width: 58px; height: 58px; }
  .vsl-vertical .gate-time { font-size: .9rem; }
  .vsl-vertical .gate-title { font-size: 1rem; }
  .vsl-vertical .gate-text { font-size: .84rem; margin-top: 2px; }
  .vsl-vertical .gate-open .btn { margin-top: 12px; min-height: 56px; }
}
.vsl-page { overflow: clip; }

/* ---------- Página de vendas (oferta) ---------- */

.offer-hero {
  padding: clamp(48px, 7vw, 96px) max(20px, env(safe-area-inset-right, 0px)) clamp(56px, 8vw, 104px) max(20px, env(safe-area-inset-left, 0px));
  background: radial-gradient(80% 80% at 20% 30%, #1A1440 0%, var(--night) 70%);
}
.offer-in {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.offer-badge { max-width: 400px; justify-self: center; }
.offer-h {
  margin: 12px 0 0;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900; letter-spacing: -.035em; line-height: 1.03; text-wrap: balance;
}
.offer-h span { color: var(--purple-ink); }
.offer-lead { margin: 18px 0 0; max-width: 50ch; font-size: clamp(1.04rem, 1.5vw, 1.15rem); line-height: 1.7; color: var(--muted); }
.offer-price {
  margin: 26px 0 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px;
  font-size: 3.4rem; font-weight: 900; letter-spacing: -.03em; line-height: 1;
}
.offer-price small { font-size: 1.2rem; font-weight: 700; color: var(--muted); }
.offer-price span { flex-basis: 100%; margin-top: 8px; font-size: .88rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.offer-price.center { justify-content: center; }
.offer-fine { margin: 12px 0 0; font-size: .85rem; color: var(--muted); }

.fit-one { grid-template-columns: minmax(0, 1fr); }
.sec-lead.strong { color: var(--cream); font-weight: 600; font-size: 1.1rem; }

.gets {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px;
}
.gets li {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start;
  padding: 20px; border-radius: 16px; background: var(--navy); border: 1px solid var(--line);
}
.gets b {
  height: 64px; display: grid; place-items: center; border-radius: 14px;
  background: rgba(116, 74, 220, .16); color: var(--purple-ink);
  font-size: 1.5rem; font-weight: 900;
}
.gets span { font-size: .93rem; line-height: 1.55; color: var(--muted); }
.gets strong { display: block; margin-bottom: 2px; font-size: 1rem; color: var(--cream); }

.testis { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.testi {
  margin: 0; padding: 24px; border-radius: 18px;
  background: var(--night); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
}
.testi blockquote { margin: 0; font-size: 1rem; line-height: 1.65; }
.testi figcaption { display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--muted); }
.testi figcaption b { display: block; color: var(--cream); font-size: .95rem; }
.t-avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: rgba(116, 74, 220, .25); }
.testi.is-empty { border: 1.5px dashed rgba(168, 140, 246, .45); background: transparent; }
.testi.is-empty blockquote { color: var(--muted); font-style: italic; }

.guide { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.guide-photo { margin: 0; }
.guide-photo img { width: 100%; height: auto; display: block; border-radius: 18px; }

.buy-card {
  padding: clamp(28px, 5vw, 44px); border-radius: 24px; text-align: center;
  background: var(--navy); border: 1.5px solid var(--purple);
  box-shadow: 0 40px 100px -40px rgba(116, 74, 220, .9);
}
.buy-card .sec-h { margin-inline: auto; }
.plan-list { list-style: none; margin: 26px auto 0; padding: 0; display: grid; gap: 10px; max-width: 360px; text-align: left; }
.plan-list li { position: relative; padding-left: 30px; }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--purple) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EFE7DE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.guarantee {
  margin: 26px auto 0; max-width: 460px; display: flex; gap: 14px; align-items: flex-start; text-align: left;
  padding: 16px; border-radius: 14px; background: rgba(7, 8, 12, .6);
}
.guarantee svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--purple-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.guarantee p { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--muted); }
.guarantee b { color: var(--cream); }

@media (max-width: 820px) {
  .offer-in, .guide { grid-template-columns: minmax(0, 1fr); }
  .offer-badge { max-width: 240px; }
  .testis { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Sessões: title on top, photo below; checkbox-style answers ---------- */

.ses-hero {
  padding: clamp(48px, 7vw, 88px) max(20px, env(safe-area-inset-right, 0px)) clamp(56px, 8vw, 96px) max(20px, env(safe-area-inset-left, 0px));
  background: linear-gradient(160deg, var(--purple-deep-1) 0%, var(--purple-deep-2) 55%, var(--purple-deep-3) 100%);
}
.ses-in { max-width: 860px; margin: 0 auto; text-align: center; }
.ses-hero .eyebrow { color: var(--blush); }
.ses-hero .solo-h { margin-inline: auto; max-width: 18ch; }
.ses-lead { margin: 16px auto 0; max-width: 52ch; font-size: clamp(1.04rem, 1.6vw, 1.18rem); line-height: 1.7; color: rgba(239, 231, 222, .94); }
.ses-photo { margin: clamp(28px, 4vw, 40px) 0 0; }
.ses-photo img {
  width: 100%; height: auto; display: block; border-radius: 20px;
  box-shadow: 0 30px 70px -30px rgba(7, 8, 12, .9);
}
.plans-cta { margin-top: 26px; }

.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.checks label {
  position: relative; display: flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 12px 14px; cursor: pointer;
  border-radius: 12px; border: 1.5px solid var(--line); background: rgba(239, 231, 222, .03);
  font-size: .95rem; font-weight: 500;
  transition: border-color .15s, background-color .15s;
}
.checks input {
  appearance: none; -webkit-appearance: none; margin: 0; flex: none;
  width: 22px; height: 22px; border-radius: 6px;
  border: 2px solid var(--muted); background: transparent; cursor: pointer;
  display: grid; place-items: center;
}
.checks input:checked {
  border-color: var(--purple); background: var(--purple)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EFE7DE' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4.5 4.5 8.5-10'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.checks input:focus-visible { outline: 3px solid var(--blush); outline-offset: 2px; }
.checks label:hover { border-color: var(--purple-ink); }
.checks label:has(input:checked) { border-color: var(--purple); background: rgba(116, 74, 220, .14); }
.plans { max-width: 1000px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Menu ---------- */

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
section[id] { scroll-margin-top: 64px; }

.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px;
  padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px));
  background: rgba(7, 8, 12, .88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav.is-float { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; transition: background-color .25s, border-color .25s; }
.nav.is-float.is-solid, .nav.is-float.is-open { background: rgba(7, 8, 12, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.nav-logo img { width: 124px; height: auto; display: block; }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.nav-links a {
  display: block; padding: 10px 16px; border-radius: 999px;
  color: var(--cream); text-decoration: none; font-size: .95rem; font-weight: 600;
  transition: color .15s, background-color .15s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--purple-ink); }
.nav-links a.is-active { background: rgba(116, 74, 220, .16); }
.nav-links a:focus-visible, .nav-toggle:focus-visible { outline: 3px solid var(--blush); outline-offset: 2px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px; background: var(--cream);
  transition: transform .2s, background-color .2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 16px max(20px, env(safe-area-inset-left, 0px));
    background: rgba(7, 8, 12, .97); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 16px 8px; border-radius: 10px; font-size: 1.05rem; }
}


/* ---------- Smoother running ---------- */

/* Pause looping animations of sections that are off screen (class set in script.js) */
.is-offscreen, .is-offscreen *, .is-offscreen::before, .is-offscreen::after { animation-play-state: paused !important; }

/* Cheaper sticky menu: solid background instead of live blur */
.nav, .nav.is-float.is-solid, .nav.is-float.is-open, .topbar { backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav, .nav.is-float.is-solid, .nav.is-float.is-open, .topbar { background: rgba(7, 8, 12, .95); }
.nav.is-float { background: transparent; }

/* Sections fade in once as they reach the screen */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Seamless joins between sections */
.about, .course, .solo, .book { position: relative; }

.apply textarea {
  width: 100%; min-height: 120px; padding: 14px 18px; resize: vertical;
  border-radius: 14px; border: 1px solid var(--line);
  background: rgba(239, 231, 222, .05); color: var(--cream);
  font: inherit; font-size: 1rem; line-height: 1.6;
}
.apply textarea::placeholder { color: #6E6878; }
.apply textarea:focus { outline: 2px solid var(--purple); outline-offset: 2px; border-color: transparent; }

/* Sessões: how it works */
.flow { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.flow li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px; border-radius: 16px; background: var(--night); border: 1px solid var(--line); }
.flow b { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--purple); color: var(--cream); font-weight: 800; }
.flow span { font-size: .93rem; line-height: 1.55; color: var(--muted); }
.flow strong { display: block; margin-bottom: 2px; font-size: 1rem; color: var(--cream); }
@media (max-width: 820px) { .flow { grid-template-columns: minmax(0, 1fr); } }
.testis.testis-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
@media (max-width: 820px) { .testis.testis-2 { grid-template-columns: minmax(0, 1fr); } }

/* VSL player hospedado no site: só play/pause + barra de progresso */
.vsl-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; cursor: pointer; display: block; }
.vsl-media::-webkit-media-controls { display: none !important; }
.vsl-cover {
  position: absolute; inset: 0; z-index: 2; width: 100%; padding: 24px;
  display: grid; place-items: center; align-content: center; gap: 18px;
  border: 0; cursor: pointer; font: inherit; color: var(--cream);
  background: rgba(7, 8, 12, .38);
  -webkit-tap-highlight-color: transparent;
}
.vsl-cover[hidden] { display: none; }
.vsl-cover.is-quiet { background: transparent; }
.vsl-cover.is-quiet > * { opacity: 0; animation: none; }
.vsl-cover:focus-visible { outline: 3px solid var(--blush); outline-offset: -6px; border-radius: 18px; }
.vsl-cover.is-start { background: linear-gradient(180deg, rgba(7, 8, 12, .15) 0%, rgba(7, 8, 12, .55) 55%, rgba(7, 8, 12, .8) 100%); }
.vsl-cover .vsl-play { transition: transform .2s ease; }
.vsl-cover.is-start .vsl-play { width: 96px; height: 96px; animation: vslPulse 2s ease-in-out infinite; }
.vsl-cover:hover .vsl-play, .vsl-cover:focus-visible .vsl-play { transform: scale(1.06); }
.vsl-cover-text {
  max-width: 15em; padding: 12px 22px; border-radius: 999px;
  background: var(--purple); color: var(--cream);
  font-weight: 800; font-size: 1.02rem; line-height: 1.3; text-align: center;
  box-shadow: 0 14px 40px -12px rgba(116, 74, 220, .95);
}
.vsl-cover:not(.is-start) .vsl-cover-text { background: rgba(18, 23, 31, .85); border: 1px solid rgba(168, 140, 246, .45); font-weight: 600; font-size: .95rem; }
@keyframes vslPulse { 50% { box-shadow: 0 0 0 20px rgba(116, 74, 220, .18); } }
.vsl-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 6px; background: rgba(239, 231, 222, .18); pointer-events: none; }
.vsl-bar-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--purple), var(--purple-ink)); transform-origin: 0 50%; transform: scaleX(0); }
.vsl-spin { position: absolute; z-index: 2; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: 4px solid rgba(239, 231, 222, .25); border-top-color: var(--purple-ink); opacity: 0; pointer-events: none; }
.vsl-video.is-loading.is-playing .vsl-spin { opacity: 1; animation: vslSpin .8s linear infinite; }
@keyframes vslSpin { to { transform: rotate(360deg); } }
/* Phones: video sized so it fits between the top bar and the sticky timer box (progress bar stays visible) */
@media (max-width: 820px) {
  .vsl-video.is-vertical { width: min(380px, 86vw, calc((100vh - 215px) * 9 / 16)); width: min(380px, 86vw, calc((100svh - 215px) * 9 / 16)); max-width: none; }
}
@media (min-width: 821px) {
  .vsl-vertical .vsl-video.is-vertical { width: min(380px, calc((100vh - 150px) * 9 / 16)); justify-self: center; }
}
.vsl-hold { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.vsl-hold[hidden], .vsl-diag[hidden] { display: none; }
.vsl-diag {
  position: absolute; left: 8px; right: 8px; bottom: 14px; z-index: 4; margin: 0; padding: 8px 10px;
  max-height: 42%; overflow: auto; border-radius: 10px;
  font: 10px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--cream);
  background: rgba(7, 8, 12, .88); white-space: pre-wrap; word-break: break-all; text-align: left;
}


/* ---------- Accessibility ---------- */

/* Text only for screen readers */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* "Skip to content": first stop for the keyboard, visible only when focused */
.skip-link {
  position: absolute; left: 12px; top: -120px; z-index: 100;
  padding: 12px 18px; border-radius: 10px;
  background: var(--cream); color: var(--night); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; outline: 3px solid var(--purple); outline-offset: 2px; }
main:focus { outline: none; }

/* One clear focus ring everywhere (keyboard only) */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--blush); outline-offset: 3px; border-radius: 6px;
}
.apply input[type="text"]:focus-visible, .apply textarea:focus-visible { outline: 3px solid var(--blush); outline-offset: 2px; }

/* Home: the floating menu sits on top of the photo; a soft dark fade behind it keeps the links readable */
.nav.is-float:not(.is-solid):not(.is-open) {
  background: linear-gradient(180deg, rgba(7, 8, 12, .84) 0%, rgba(7, 8, 12, .64) 62%, rgba(7, 8, 12, 0) 100%);
}

/* Comfortable touch targets */
.nav-links .lang a, .topbar-lang { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.footer-nav a { display: inline-block; padding: 10px 4px; }
.q small { font-weight: 500; color: var(--muted); font-size: .85em; }

/* Home: pause / resume the background photos */
.hero-pause {
  position: absolute; z-index: 3; right: max(16px, env(safe-area-inset-right, 0px)); top: 84px;
  width: 44px; height: 44px; border-radius: 50%; padding: 0; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(7, 8, 12, .55); border: 1px solid rgba(239, 231, 222, .28); color: var(--cream);
  opacity: .8; transition: opacity .2s, background-color .2s;
}
.hero-pause:hover, .hero-pause:focus-visible { opacity: 1; background: rgba(7, 8, 12, .8); }
.hero-pause svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-pause .i-play { display: none; fill: currentColor; stroke: none; }
.hero-pause.is-paused .i-pause { display: none; }
.hero-pause.is-paused .i-play { display: block; }

/* Windows high-contrast mode */
@media (forced-colors: active) {
  .btn, .vsl-cover-text, .topbar-lang, .nav-links .lang a, .hero-pause { border: 1px solid ButtonText; }
  .vsl-bar { background: Canvas; border-top: 1px solid CanvasText; }
  .vsl-bar-fill { background: Highlight; }
  .ring-fg { stroke: Highlight; }
}

/* Offer page: the checklist lines up with the title (it is centred only inside the price cards) */
.offer-text .plan-list { margin-left: 0; margin-right: 0; max-width: none; }

/* Language switch */
.nav-links .lang a { border: 1px solid rgba(168, 140, 246, .45); font-weight: 700; letter-spacing: .06em; }
.topbar-lang { margin-left: auto; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(168, 140, 246, .45);
  color: var(--cream); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-decoration: none; }
.topbar-lang:hover { color: var(--purple-ink); }
.topbar .topbar-lang + .topbar-link { margin-left: 10px; }
.vsl-soon { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; padding: 24px; text-align: center; }
.vsl-soon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.vsl-soon p { position: relative; margin: 0; color: var(--cream); font-weight: 700; font-size: 1.05rem; }
.vsl-soon small { position: relative; color: var(--muted); font-size: .85rem; }
.vsl-noscript { margin: 16px auto 0; max-width: 380px; text-align: center; color: var(--cream); font-weight: 600; }
