@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/schibsted-grotesk.woff2") format("woff2"); }
@font-face { font-family: "Work Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/work-sans.woff2") format("woff2"); }
@font-face { font-family: "Covered By Your Grace"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/covered-by-your-grace.woff2") format("woff2"); }

:root {
  --pink: #ea336e;
  --pink-text: #f73e79;
  --pink-badge: #ff4681;
  --ink: #1c1c1c;
  --ink-2: #151515;
  --muted: #555;
  --cream: #fffbf8;
  --font: "Schibsted Grotesk", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: #000; /* área escura começa no fim do fundo creme (Figma: y 897) */
}
img { display: block; }
a { color: inherit; text-decoration: none; }

/* Faixa de oferta */
.offer-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--pink);
  color: #fff;
  font-size: 16px;
  letter-spacing: -0.16px;
}
.offer-bar__badge {
  padding: 4px 16px;
  border-radius: 900px;
  background: #fff;
  color: var(--pink-badge);
  font-weight: 700;
  font-size: 15px;
  line-height: 23.2px;
  white-space: nowrap;
}
.offer-bar__text strong { font-weight: 700; }

/* Hero */
.hero {
  position: relative;
  padding: 24px 24px 0;
}
.dark-glow {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - var(--cream-cut));
  height: 1500px;
  overflow: hidden;
  pointer-events: none;
}
.dark-glow img { position: absolute; left: -777px; top: -213.7px; width: 1507px; height: 1507px; max-width: none; }
.fold { z-index: 1; }
.hero {
  /* onde o fundo creme termina: 55% da altura do vídeo acima do fim dele (Figma: y 897) */
  --cream-cut: calc(0.2658 * min(1186px, 100vw - 48px));
}
.hero__bg {
  position: absolute;
  inset: 0 0 var(--cream-cut);
  background: var(--cream) url("assets/hero-bg.webp") center top / max(100%, 1440px) auto no-repeat;
  pointer-events: none;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 4px; }
.logo__mark { position: relative; width: 30.5px; height: 30.5px; flex: none; }
.logo__frame {
  position: absolute;
  inset: 1.05px;
  border: 0.571px solid #4ac9ff;
  background: linear-gradient(to bottom, rgba(74, 201, 255, 0.19), rgba(74, 201, 255, 0));
}
.logo__frame i {
  position: absolute;
  width: 2.857px;
  height: 2.857px;
  background: #fff;
  border: 0.571px solid #4ac9ff;
}
.logo__frame i:nth-child(1) { top: -1.62px; left: -1.62px; }
.logo__frame i:nth-child(2) { top: -1.62px; right: -1.62px; }
.logo__frame i:nth-child(3) { bottom: -1.62px; left: -1.62px; }
.logo__frame i:nth-child(4) { bottom: -1.62px; right: -1.62px; }
.logo__icon { position: absolute; top: 2.11px; left: 2.11px; }
.logo__type {
  font-family: "Work Sans", sans-serif;
  font-size: 27.574px;
  line-height: 22.059px;
  letter-spacing: -1.3787px;
  color: rgba(0, 0, 0, 0.53);
  white-space: nowrap;
}
.logo__type b { font-weight: 700; color: #2b2b2b; }

.btn-outline {
  padding: 14px 32px;
  border: 1px solid #000;
  border-radius: 85px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.btn-outline:hover { background: var(--ink-2); color: #fff; }

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 721px;
  margin: 31px auto 0;
  text-align: center;
}

.social-proof { display: flex; align-items: center; gap: 8px; }
.avatars { display: flex; }
.avatars img {
  width: 40.364px;
  height: 40.364px;
  border-radius: 50%;
}
.avatars img + img { margin-left: -10.091px; }
/* "e + 2800" em Figma Hand, exportado do Figma como contorno */
.social-proof__count { display: block; width: 58px; height: 12px; }

.hero__title {
  margin: 12px 0 16px;
  font-weight: 700;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.093;
  letter-spacing: -0.06em;
  color: var(--ink);
}
.hero__title em { font-style: normal; color: var(--pink-text); }
.hero__title .line { display: block; }

.hero__lead {
  margin: 0;
  max-width: 655px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: var(--muted);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 6px 6px 6px 24px;
  border-radius: 85px;
  background: var(--pink);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  transition: transform .2s;
}
.btn-primary img { transition: transform .2s; }
.btn-primary:hover img { transform: translateX(3px); }

/* ===== Moving glow: luz que percorre a borda do botão ===== */
@property --glow-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.btn-primary {
  position: relative;
  isolation: isolate;
}
.btn-primary::before,
.btn-primary::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(
    from var(--glow-angle),
    transparent 0deg,
    transparent 250deg,
    rgba(255, 196, 216, 0.6) 300deg,
    #fff 335deg,
    rgba(255, 196, 216, 0.6) 350deg,
    transparent 360deg
  );
  animation: glow-spin 3.2s linear infinite;
}
/* traço de luz fino em cima da borda */
.btn-primary::before {
  inset: -1.5px;
  padding: 1.5px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* halo difuso que vaza para fora do botão */
.btn-primary::after {
  inset: -4px;
  z-index: -1;
  background: conic-gradient(
    from var(--glow-angle),
    transparent 0deg,
    transparent 260deg,
    rgba(255, 70, 129, 0.55) 310deg,
    #ff4681 335deg,
    rgba(255, 70, 129, 0.55) 350deg,
    transparent 360deg
  );
  filter: blur(12px);
}
@keyframes glow-spin {
  to { --glow-angle: 360deg; }
}

/* ===== Fold ===== */
.fold {
  position: relative;
  max-width: 1186px;
  margin: 48px auto 0;
  perspective: 2200px;
  perspective-origin: 50% 50%;
}
.fold__card {
  --p: 0; /* 0 = dobrado, 1 = aberto (definido via JS) */
  position: relative;
  aspect-ratio: 1186 / 573.233;
  border: 6.918px solid rgba(255, 255, 255, 0.14);
  border-radius: 31.627px;
  overflow: hidden;
  transform-origin: 50% 50%;
  transform:
    rotateX(calc((1 - var(--p)) * 22deg))
    scale(calc(0.94 + var(--p) * 0.06));
  will-change: transform;
  box-shadow: 0 calc(var(--p) * 40px) calc(var(--p) * 80px) rgba(28, 12, 4, calc(var(--p) * 0.12));
}
.fold__card::after {
  /* sombra da dobra: escurece enquanto a placa está inclinada */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .18), rgba(0, 0, 0, 0) 60%);
  opacity: calc(1 - var(--p));
  pointer-events: none;
}
.fold__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24.7px;
}

.next-placeholder { position: relative; z-index: 1; height: 100vh; margin-top: -1px; background: #fff; } /* -1px: evita fresta preta entre seções brancas */

/* ===== Entrada ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  animation: reveal-in .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms) forwards;
}
.reveal--fade { transform: translateY(40px); filter: none; animation-duration: 1.1s; }
@keyframes reveal-in {
  to { opacity: 1; transform: none; filter: blur(0); }
}

@media (prefers-reduced-motion: reduce) {
  .fold__card { --p: 1 !important; }
  .reveal { animation: none; opacity: 1; transform: none; filter: none; }
  .btn-primary::before, .btn-primary::after { animation: none; }
}

@media (max-width: 720px) {
  .offer-bar { font-size: 13px; }
  .offer-bar__badge { font-size: 12px; padding: 2px 10px; }
  .btn-outline { padding: 10px 18px; font-size: 14px; }
  .logo__type { font-size: 22px; }
  .hero__lead br { display: none; }
  .hero__title .line { display: inline; }
  .fold { margin-top: 32px; perspective: 1200px; }
  .fold__card { border-radius: 18px; border-width: 4px; }
  .fold__media { border-radius: 14px; }
}


/* =====================================================================
   Seção 2 — o que você leva
   ===================================================================== */
.learn {
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: #fff;
  padding: 49px 0 0; /* termina rente ao fim da vitrine (sem faixa preta embaixo) */
}
.learn__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: content-box;
}

/* Benefícios */
.features {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature { width: 238px; }
.feature__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.feature__text {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #afafaf;
}

.learn__divider {
  height: 1px;
  margin: 48px 0 57px;
  border: 0;
  background: rgba(255, 255, 255, 0.17);
}

/* Tag "projetos" com hover nos ícones */
.outcome { display: flex; flex-direction: column; gap: 20px; }
.projects-tag {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  align-self: flex-start;
  cursor: default;
  outline: none;
}
.projects-tag__pills { display: flex; align-items: center; }
.pill { position: relative; display: block; }
.pill img { display: block; transition: opacity .25s ease; }
.pill__hover { position: absolute; inset: 0; opacity: 0; }
.pill--desktop { width: 58px; height: 35px; margin-right: -8px; }
.pill--mobile { width: 58px; height: 35px; }
.projects-tag:hover .pill__hover,
.projects-tag:focus-visible .pill__hover { opacity: 1; }

.projects-tag__text {
  display: grid;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.4px;
  color: rgba(255, 255, 255, 0.68);
  white-space: nowrap;
}
.projects-tag__text b { font-weight: 600; }
.projects-tag__default,
.projects-tag__hover {
  grid-area: 1 / 1;
  transition: opacity .25s ease;
}
.projects-tag__hover { opacity: 0; }
.projects-tag:hover .projects-tag__default,
.projects-tag:focus-visible .projects-tag__default { opacity: 0; }
.projects-tag:hover .projects-tag__hover,
.projects-tag:focus-visible .projects-tag__hover { opacity: 1; }

/* Texto que acende palavra por palavra no scroll */
.outcome__text {
  margin: 0;
  max-width: 1142px;
  font-size: clamp(30px, 3.34vw, 48px);
  font-weight: 700;
  line-height: 1.1667;
  letter-spacing: -0.05em;
  color: #696969;
}
.outcome__text .w { transition: color .35s ease; }
.outcome__text .w.is-on { color: #fff; }

/* Vitrine: palco de 1440 × 627 (Figma "image_project") escalado pela largura da tela */
.showcase {
  position: relative;
  margin-top: 57px;
  height: calc(627px * var(--s, 1));
}
.showcase__stage {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1440px;
  height: 627px;
  transform: translateX(-50%) scale(var(--s, 1));
  transform-origin: 50% 0;
  overflow: hidden;
}
.showcase__figma {
  position: absolute;
  left: 130.66px;
  top: 63.62px;
  width: 1181.78px;
  height: 578.736px;
  border-radius: 7.48px;
  overflow: hidden;
}
.showcase__figma img {
  position: absolute;
  left: -0.16%;
  top: -0.19%;
  width: 100.16%;
  height: 112.33%;
  max-width: none;
}
.showcase__lp2,
.showcase__nexa {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase__lp2 { left: 468.29px; top: 51.3px; width: 888.761px; height: 1142.318px; }
.showcase__nexa { left: 176.476px; top: 15px; width: 819.948px; height: 1066.237px; }
.showcase__lp2 img,
.showcase__nexa img { flex: none; max-width: none; object-fit: cover; }
.showcase__lp2 img { width: 757.181px; height: 1052.003px; border-radius: 30.853px; transform: rotate(7.55deg); }
.showcase__nexa img { width: 756.377px; height: 1020.033px; transform: rotate(-3.66deg); }
.showcase__fade {
  position: absolute;
  left: 0;
  top: 5px;
  width: 1440px;
  height: 680px;
  background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.01) 47.268%, rgba(0, 0, 0, 0) 72.721%);
  pointer-events: none;
}
/* anotação "Figma + processo de design" exportada do Figma (fonte Figma Hand em contorno) */
.showcase__note {
  position: absolute;
  left: 973px;
  top: 0;
  width: 186px;
  height: 49px;
  max-width: none;
  pointer-events: none;
}

/* ===== Seção 3: para quem nunca usou o Figma ===== */
.beginner {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #fff;
  padding-top: 88px;
}
.beginner__intro {
  width: min(720.654px, 100% - 48px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.beginner__title {
  margin: 0;
  max-width: 705px;
  font-size: 48px;
  font-weight: 700;
  line-height: 52px;
  letter-spacing: -2.88px;
  color: #1c1c1c;
}
.beginner__accent { color: #ea336e; }
.beginner__title .t { transition: opacity .35s ease, filter .35s ease; }
.beginner__lead {
  margin: 16px 0 0;
  max-width: 619px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.16px;
  color: #555;
}

/* Rosto do instrutor: no hover o título apaga e aparece o bilhete "Andrey, seu instrutor <3" */
.instructor {
  position: relative;
  display: inline-block;
  width: 55px;
  height: 52px;
  margin: 0 8px;
  vertical-align: top;
  outline: none;
  cursor: default;
}
.instructor__face {
  position: absolute;
  /* PNG do Figma já traz a borda branca e a sombra: 55px de rosto dentro de 85.8px */
  left: -15.4px;
  top: calc(1px - 11.4px);
  width: 85.8px;
  height: 85.8px;
  max-width: none;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1.2);
}
.instructor__note {
  position: absolute;
  left: 55px;
  top: -41px;
  width: 142px;
  height: 47px;
  max-width: none;
  pointer-events: none;
  opacity: 0;
  transform: translate(-6px, 6px) rotate(-4deg);
  clip-path: inset(0 100% 0 0);
  transition: opacity .25s ease, transform .45s cubic-bezier(.2, .8, .2, 1), clip-path .55s cubic-bezier(.4, 0, .2, 1);
}
.instructor:hover .instructor__face,
.instructor:focus-visible .instructor__face { transform: scale(1.08) rotate(-3deg); }
.instructor:hover .instructor__note,
.instructor:focus-visible .instructor__note { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.beginner__title:has(.instructor:hover) .t,
.beginner__title:has(.instructor:focus-visible) .t { opacity: .1; filter: blur(3.25px); }

/* Mural de módulos: palco 1440 × 435 (Figma) escalado pela largura da tela */
.modules {
  position: relative;
  margin-top: 74px;
  height: calc(435px * var(--s, 1));
}
.modules__stage {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1440px;
  height: 435px;
  transform: translateX(-50%) scale(var(--s, 1));
  transform-origin: 50% 0;
}
.modules__wall {
  position: absolute;
  left: -148px;
  top: 14px;
  width: 1685px;
  height: 421px;
  overflow: hidden;
  /* bordas do mural somem aos poucos (esquerda, direita e topo), sem corte seco */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 70px, #000 calc(100% - 50px), transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 70px, #000 calc(100% - 50px), transparent);
  mask-composite: intersect;
}
.cg {
  display: flex;
  flex-direction: column;
  gap: 9.368px;
  opacity: .4;
}
.cg__line {
  display: flex;
  align-items: center;
  gap: 13.272px;
  transform: translateX(calc(var(--drift, 0) * 1px));
  will-change: transform;
}
.cg__col { display: flex; flex-direction: column; gap: 9.368px; width: 827.529px; flex: none; }
.cg__row { display: flex; gap: 9.368px; }
.cg img { display: block; flex: none; max-width: none; object-fit: cover; border-radius: 12.491px; }
.cg__b { width: 415.846px; height: 233.913px; }
.cg__s { width: 199.856px; height: 112.419px; }
.cg--sh {
  box-shadow: -1.561px 6.246px 13.272px rgba(0, 0, 0, .2), -7.026px 23.421px 24.982px rgba(0, 0, 0, .17),
    -15.614px 53.087px 33.57px rgba(0, 0, 0, .1), -28.105px 94.463px 39.815px rgba(0, 0, 0, .03);
}
.modules__fade {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1503px;
  height: 299px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

/* Cards em destaque: entram "distribuídos" como cartas e depois flutuam de leve */
.mcard {
  position: absolute;
  display: block;
  max-width: none;
  object-fit: cover;
  border-radius: 24px;
  --rot: -6deg;
  opacity: 0;
  transform: translate3d(0, 70px, 0) rotate(var(--rot)) scale(.9);
  transition:
    opacity .7s ease calc(var(--i) * 130ms + 150ms),
    transform 1s cubic-bezier(.2, .9, .25, 1.12) calc(var(--i) * 130ms + 150ms);
}
.mcard--1 { left: 184px; top: 148px; width: 370px; height: 208px; z-index: 0; --rot: -7deg; }
.mcard--3 { left: 838px; top: 186px; width: 370px; height: 208px; z-index: 0; --rot: 5deg; }
.mcard--2 { left: 323px; top: 0; width: 464.232px; height: 261.131px; z-index: 2; --rot: -4deg; }
.mcard--4 { left: 1009px; top: 97px; width: 370px; height: 208px; z-index: 2; --rot: 6deg; }
.modules__fade { z-index: 1; }
.modules.is-visible .mcard {
  opacity: 1;
  transform: translate3d(0, var(--float, 0px), 0);
}
/* depois de entrar, cada card flutua no seu ritmo */
.modules.is-floating .mcard { animation: mcard-float var(--dur, 6s) ease-in-out var(--delay, 0s) infinite; }
.mcard--1 { --dur: 7s; --delay: -1s; }
.mcard--2 { --dur: 6s; --delay: -3s; }
.mcard--3 { --dur: 8s; --delay: -2s; }
.mcard--4 { --dur: 6.5s; --delay: -4.5s; }
/* fora da tela a flutuação pausa (não gasta nada) */
.modules.is-offscreen .mcard { animation-play-state: paused; }
@keyframes mcard-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

/* Entrada ao aparecer na tela */
.in-view { opacity: 0; transform: translateY(24px); transition: opacity .8s ease var(--d, 0ms), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.in-view.is-visible { opacity: 1; transform: none; }

/* ===== Seção 4: como o curso funciona (3 fases) ===== */
.phases { position: relative; z-index: 1; margin-top: -1px; padding-top: 91px; background: #fff; } /* 90px do mural (+1 da sobreposição) */
.phases__inner { width: min(1201px, 100% - 48px); margin: 0 auto; }
.phases__eyebrow { margin: 0 0 8px; font-size: 14px; letter-spacing: 1.96px; text-transform: uppercase; color: #555; }
.phases__row { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.phases__title { margin: 0; width: 411px; flex: none; font-size: 48px; line-height: 52px; letter-spacing: -2.88px; font-weight: 700; color: var(--ink); }
.phases__title span { color: var(--pink); }
.phases__lead { margin: 0; width: 530px; max-width: 100%; font-size: 16px; line-height: 24px; letter-spacing: -.16px; color: #555; }

.phases__list { list-style: none; margin: 53px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.phase {
  position: relative; height: 360px; overflow: hidden; isolation: isolate;
  padding: 31px 31px 0; border: 1px solid #efefef; border-radius: 24px;
  background: linear-gradient(#fff, #f3f3f3);
}
.phase__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 14.84px; letter-spacing: .84px; text-transform: uppercase; white-space: nowrap; }
.phase__meta b { font-weight: 600; color: var(--pink-text); }
.phase__meta span { font-weight: 500; color: #a5a5a5; }
.phase__title { margin: 16px 0 0; font-size: 24px; line-height: 30px; letter-spacing: -1.2px; font-weight: 700; color: #0f0f0f; white-space: nowrap; }
.phase__text { margin: 8px 0 0 1px; max-width: 288px; font-size: 16px; line-height: 24px; letter-spacing: -.16px; color: #555; }
.phase:first-child .phase__text { max-width: 277px; }

/* composição de telas: coordenadas do Figma (card 389 × 360), presa ao canto superior esquerdo */
.phase__art { position: absolute; left: -1px; top: -1px; width: 389px; height: 360px; z-index: -1; pointer-events: none; }
.ph-l { position: absolute; display: block; max-width: none; }
.ph-l, .ph-l img { border-radius: var(--rad, 6px); }
.p1-panels { left: 36px; top: 208px; width: 438px; height: 241px; }
.p1-tall { left: 176.4px; top: 190.4px; width: 157px; height: 300px; --rad: 9px; border: 1px solid #f0f0f0; box-shadow: 0 42px 36.1px rgba(0,0,0,.23); }
.p1-small { left: 82.2px; top: 235.8px; width: 123.9px; height: 133.7px; --rad: 9px; box-shadow: 0 42px 36.1px rgba(0,0,0,.23); }
.p2-main, .p3-main { left: 30.95px; width: 356.92px; height: 190.63px; --rad: 7.24px; overflow: hidden; box-shadow: 0 12.5px 16.3px rgba(0,0,0,.1), 0 34px 32px rgba(0,0,0,.08); }
.p2-main { top: 208.1px; }
.p3-main { top: 208px; }
.p2-main img, .p3-main img { position: absolute; left: 0; top: -.17%; width: 100%; height: 105.27%; max-width: none; }
.p2-main i { position: absolute; left: 8.56px; top: .5px; width: 68.15px; height: 4.94px; background: #e9e9e9; }
.p2-a { left: 18.8px; top: 277.5px; width: 61.3px; height: 107.6px; }
.p2-b { left: 133px; top: 314px; width: 66.8px; height: 103px; }
.p2-a, .p2-b, .p2-c, .p3-tall { --rad: 3.3px; box-shadow: 5.6px 4.3px 16.8px rgba(0,0,0,.1); }
.p2-c { left: 55.8px; top: 194.1px; width: 58.6px; height: 72.1px; --rad: 3.6px; }
.p2-headspace { left: 193.25px; top: 261.6px; width: 213.7px; height: auto; --rad: 5.27px; box-shadow: 0 1.2px 16.7px rgba(0,0,0,.11); }
.p3-tall { left: 257.4px; top: 192px; width: 103.2px; height: 222px; --rad: 6px; }

/* entrada: o card sobe; depois as telas "pousam" uma a uma, girando até o ângulo final */
.phase { opacity: 0; transform: translate3d(0, 48px, 0); transition: opacity .8s ease, transform 1s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 140ms); }
.ph-l {
  opacity: 0;
  transform: translate3d(0, 56px, 0) rotate(calc(var(--r, 0deg) - 6deg)) scale(.94);
  transition: opacity .6s ease, transform .9s cubic-bezier(.2, .9, .25, 1.1), translate .5s cubic-bezier(.2, .8, .2, 1);
  transition-delay: calc(var(--i) * 140ms + 320ms + var(--j) * 90ms), calc(var(--i) * 140ms + 320ms + var(--j) * 90ms), 0ms;
}
.p1-tall { --o: .7; }
.phase.is-in { opacity: 1; transform: none; }
.phase.is-in .ph-l { opacity: var(--o, 1); transform: rotate(var(--r, 0deg)); }
/* hover: as telas soltas sobem um pouco, como se o card "respirasse" */
.phase:hover .ph-l--float { translate: 0 calc(-6px - var(--j) * 2px); }
.phase:hover .ph-l:not(.ph-l--float) { translate: 0 -3px; }

@media (max-width: 1240px) {
  .phases__row { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 1000px) {
  .phases__list { grid-template-columns: 1fr; max-width: 389px; }
  .phase { --i: 0 !important; } /* empilhados: cada card anima quando ele aparece, sem atraso extra */
}
@media (max-width: 720px) {
  .phases { padding-top: 64px; }
  .phases__title { width: auto; font-size: 32px; line-height: 36px; letter-spacing: -1.6px; }
  .phases__list { margin-top: 32px; }
  .phase { padding-left: 24px; padding-right: 24px; }
  .phase__title { white-space: normal; }
}

/* ===== Seção 5: projetos práticos (pilha de cards no scroll) ===== */
.projects { position: relative; z-index: 1; margin-top: -1px; padding: 181px 0 0; background: #fff; } /* 180px dos cards das fases; o espaço de baixo fica no cronograma */
.projects__head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 0 24px; }
.projects__title { margin: 0; width: 531px; max-width: 100%; font-size: 48px; line-height: 52px; letter-spacing: -2.88px; font-weight: 700; color: var(--ink); }
.projects__title span { color: var(--pink); }
.projects__lead { margin: 0; width: 547px; max-width: 100%; font-size: 16px; line-height: 24px; letter-spacing: -.16px; color: #555; }

.projects__list { list-style: none; margin: 50px auto 0; padding: 0; width: min(1200px, 100% - 48px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
/* cada card gruda um pouco abaixo do anterior: a borda dos de trás fica aparecendo */
.pj { position: sticky; top: calc(max(24px, (100vh - 610px) / 2) + var(--i) * 20px); }
.pj__card {
  --sc: 1; --br: 1;
  position: relative; height: 565px; overflow: hidden; isolation: isolate; border-radius: 24px;
  transform: scale(var(--sc)); transform-origin: 50% 0; filter: brightness(var(--br));
  will-change: transform, filter;
}
.pj--pinterest .pj__card { background: #fbf9f7; }
.pj--headspace .pj__card { background: #e66719; }
.pj--nexa .pj__card {
  height: 610px;
  background: radial-gradient(560px 540px at var(--nx-at, 983px 267px), #e26519 0, #ad5017 25%, #793a14 50%, #5e2f13 62.5%, #442512 75%, #291a10 87.5%, #0f0f0f 100%);
}

.pj__body { position: absolute; left: 62px; top: 56px; width: 393px; height: 453px; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; }
.pj--nexa .pj__body { top: 101px; }
.pj__eyebrow { margin: 0; font-size: 14px; line-height: 17px; letter-spacing: 1.96px; text-transform: uppercase; font-weight: 600; color: var(--pj-eyebrow); }
.pj__title { margin: 8px 0 0; font-size: 40px; line-height: 44px; letter-spacing: -2.4px; font-weight: 700; color: var(--pj-ink); }
.pj__text { margin: 17px 0 0; width: 384px; max-width: 100%; font-size: 16px; line-height: 24px; letter-spacing: -.16px; color: var(--pj-soft); }
.pj__stats { margin: 0; display: flex; align-items: center; gap: 24px; }
.pj__stats > div:not(.pj__files) { display: flex; flex-direction: column; }
.pj__stats > * + * { padding-left: 24px; border-left: 1px solid var(--pj-line); }
.pj__stats dt { font-size: 28px; line-height: 35px; letter-spacing: -1.68px; font-weight: 700; color: var(--pj-ink); }
.pj__stats dd { margin: 0; font-size: 16px; line-height: 20px; letter-spacing: -.16px; color: var(--pj-soft); }
.pj__files { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 20px; letter-spacing: -.16px; color: var(--pj-soft); white-space: nowrap; }
.pj__files img { display: block; flex: none; }
.pj__files dd { margin: 0; display: flex; align-items: center; gap: 12px; }
.pj__stats > div:not(.pj__files) { min-height: 55px; }
.pj__stats > .pj__files { align-self: stretch; }
.pj--pinterest { --pj-eyebrow: #93887d; --pj-ink: #1c1c1c; --pj-soft: #6d6257; --pj-line: #dbdbdb; }
.pj--headspace { --pj-eyebrow: #fff5ea; --pj-ink: #fff; --pj-soft: #ffede1; --pj-line: rgba(219,219,219,.2); }
.pj--nexa { --pj-eyebrow: #a2a2a2; --pj-ink: #fff; --pj-soft: #c1c1c1; --pj-line: rgba(219,219,219,.2); }

.pj__bonus {
  position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 54px; margin: 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #eb7229; color: #fff; font-size: 16px; line-height: 24px; letter-spacing: -.16px; font-weight: 600;
}
.pj__bonus img { display: block; flex: none; }

/* composição: coordenadas do Figma a partir de x 533 do card (1200 de largura) */
.pj__art { position: absolute; left: 533px; top: 0; width: 947px; height: 100%; pointer-events: none; }
.pj-l { position: absolute; display: block; max-width: none; }
.pj-screen { left: 0; top: 58px; width: 947px; height: 531px; border-radius: 12px; object-fit: cover; box-shadow: -4px 13px 59.7px rgba(0,0,0,.18); }
.pj--nexa .pj-screen { top: 101px; object-position: 50% 100%; }
.pj-topics { left: 212.8px; top: 34.06px; width: 263.67px; height: 211px; }
.pj-phone { left: 76px; top: 292px; width: 163.21px; height: 286.12px; border-radius: 15.17px; box-shadow: 0 3.37px 40px rgba(0,0,0,.25); }
.pj-signup { left: 433.7px; top: 15.64px; width: 232.67px; height: 526.67px; }
.pj-nphone { left: 90.08px; top: 338.69px; width: 150.01px; height: 284.04px; border-radius: 5.86px; box-shadow: 0 2.93px 26.2px rgba(0,0,0,.25); }
.pj-lp { left: 203px; top: 192px; width: 580px; height: 494px; }
/* Headspace: tela + celular inclinado + landing por cima (Figma 21:3796) */
.pj-hsphone { left: 83.27px; top: 315.97px; width: 150.53px; height: 232.01px; overflow: hidden; border-radius: 10px; box-shadow: 0 3.37px 40px rgba(0,0,0,.25), 17px 13px 51px rgba(0,0,0,.1); }
.pj-hsphone img { position: absolute; left: -.92%; top: -.09%; width: 100.92%; height: 101.08%; max-width: none; }
.pj-hslp { left: 203px; top: 149px; width: 580px; height: 494px; filter: drop-shadow(-9px 13px 33px rgba(0,0,0,.25)); }

/* entrada: as telas sobem e "pousam" em cascata quando o card aparece */
.pj-l {
  opacity: 0; transform: translate3d(0, 48px, 0) rotate(calc(var(--r, 0deg) - 4deg)) scale(.96);
  transition: opacity .7s ease calc(150ms + var(--j) * 110ms), transform 1s cubic-bezier(.2, .8, .2, 1) calc(150ms + var(--j) * 110ms);
}
.pj-screen { transform: translate3d(0, 32px, 0); }
.pj.is-in .pj-l { opacity: 1; transform: rotate(var(--r, 0deg)); }

@media (max-width: 1000px) {
  .projects { padding-top: 120px; }
  .pj { position: relative; top: 0; }
  .pj__card, .pj--nexa .pj__card { height: auto; transform: none; filter: none; padding: 40px 32px 0; }
  .pj--nexa .pj__card { padding-top: 94px; --nx-at: 85% 78%; }
  .pj__body, .pj--nexa .pj__body { position: relative; left: 0; top: 0; width: auto; max-width: 480px; height: auto; gap: 40px; }
  .pj__art { position: relative; left: 0; height: 460px; margin-top: 32px; }
  .pj-screen, .pj--nexa .pj-screen { top: 24px; }
  .pj-topics, .pj-signup { display: none; }
  .pj-phone { top: 150px; }
  .pj-nphone { top: 150px; }
  .pj-lp { top: 80px; }
  .pj-hsphone { top: 150px; }
  .pj-hslp { top: 80px; }
}
@media (max-width: 720px) {
  .projects { padding: 80px 0 0; }
  .projects__title { font-size: 32px; line-height: 36px; letter-spacing: -1.6px; }
  .projects__list { width: calc(100% - 32px); margin-top: 32px; gap: 16px; }
  .pj__card, .pj--nexa .pj__card { padding-left: 24px; padding-right: 24px; }
  .pj__title { font-size: 30px; line-height: 34px; letter-spacing: -1.6px; }
  .pj__title br { display: none; }
  .pj__stats { flex-wrap: wrap; row-gap: 16px; }
  .pj__stats > .pj__files { flex-basis: 100%; padding-left: 0; border-left: 0; }
  .pj__bonus { height: auto; min-height: 54px; padding: 12px 20px; font-size: 14px; line-height: 20px; text-align: left; }
  .pj__art { transform: scale(.62); transform-origin: 0 0; margin-bottom: -175px; } /* 460 × .38 */
}

@media (prefers-reduced-motion: reduce) {
  .pj-l { opacity: 1; transform: rotate(var(--r, 0deg)); transition: none; }
  .pj__card { transform: none; filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .phase, .ph-l { opacity: 1; transform: none; transition: none; }
  .ph-l { transform: rotate(var(--r, 0deg)); opacity: var(--o, 1); }
  .in-view { opacity: 1; transform: none; transition: none; }
  .outcome__text .w { color: #fff; transition: none; }
  .mcard { opacity: 1; transform: none; transition: none; animation: none !important; }
  .cg__line { transform: none; }
  .beginner__title .t, .instructor__face, .instructor__note { transition: none; }
}

@media (max-width: 1100px) {
  .features { flex-wrap: wrap; row-gap: 32px; }
  .feature { width: calc(50% - 16px); }
  .br-desk { display: none; }
}
@media (max-width: 720px) {
  .feature { width: 100%; }
  .learn__divider { margin: 40px 0; }
  .projects-tag { flex-direction: column; align-items: flex-start; gap: 12px; }
  .projects-tag__text { font-size: 16px; white-space: normal; }
  .showcase { margin-top: 40px; }
  .beginner { padding-top: 56px; }
  .beginner__title { font-size: 32px; line-height: 36px; letter-spacing: -1.6px; }
  .beginner__title br { display: none; }
  .instructor { width: 38px; height: 36px; margin: 0 4px; }
  .instructor__face { left: -10.6px; top: -7.9px; width: 59.3px; height: 59.3px; }
  .instructor__note { left: 18px; top: -46px; }
  .modules { margin-top: 48px; }
}

/* ===== Seção 6: cronograma das aulas (Figma 30:3947, aberto 30:4941) ===== */
.modules-list { position: relative; z-index: 1; overflow: hidden; padding: 130px 0 150px; background: #010101; /* 130px do card do Nexatrack até o título */ color: #fff; }
/* brilho rosa à esquerda (Figma: elipse 504px em x -166 / y 159, blur 300) */
.modules-list::before {
  content: ""; position: absolute; left: -166px; top: 159px; width: 504px; height: 504px; border-radius: 50%;
  background: rgba(237, 77, 124, .16); filter: blur(150px); pointer-events: none; opacity: var(--glow, 1);
}
.modules-list__inner { position: relative; width: min(1208px, 100% - 48px); margin: 0 auto; }
.modules-list__head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.modules-list__title { margin: 0; width: 531px; max-width: 100%; font-size: 48px; line-height: 52px; letter-spacing: -2.88px; font-weight: 700; color: #fff; }
.modules-list__lead { margin: 0; width: 509px; max-width: 100%; font-size: 16px; line-height: 24px; letter-spacing: -.16px; color: #c1c1c1; }
.modules-list__items { display: grid; gap: 18px; margin-top: 56px; }

.mod {
  position: relative; border: 1px solid rgba(255, 255, 255, .06); border-radius: 24px;
  background: linear-gradient(90deg, rgba(58, 58, 58, .12), rgba(218, 218, 218, .12));
  transition: background-color .3s ease;
}
.mod:hover { background-color: rgba(255, 255, 255, .02); }
.mod__h { margin: 0; font: inherit; }
.mod__head {
  display: flex; align-items: center; gap: 24px; width: 100%; padding: 23px; margin: 0; /* 24px com a borda: no Figma ela fica por dentro */
  background: none; border: 0; border-radius: 23px; color: inherit; font: inherit; text-align: left; cursor: pointer; user-select: none;
}
.mod__head:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.mod__icon { position: relative; flex: none; width: 48px; height: 48px; border-radius: 16px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.mod__icon--bare { background: none; border-radius: 0; overflow: visible; }
.mod__glyph { position: absolute; display: block; max-width: none; }
.mod__title { flex: 1; min-width: 0; font-size: 20px; line-height: 1.2; font-weight: 600; color: #fff; }
.mod__meta { flex: none; margin-right: -8px; font-size: 15px; line-height: 1.2; font-weight: 600; text-transform: uppercase; color: #fff; white-space: nowrap; } /* 16px até o ícone */
.mod__toggle { position: relative; flex: none; width: 28px; height: 28px; }
.mod__toggle img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .4s, transform .4s; }
.mod__minus { opacity: 0; transform: rotate(-90deg); }
.mod.is-open .mod__plus { opacity: 0; transform: rotate(90deg); }
.mod.is-open .mod__minus { opacity: 1; transform: none; }

/* abre/fecha com altura animada (grid 0fr → 1fr) */
.mod__panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s cubic-bezier(.25, 1, .5, 1), opacity .4s; }
.mod.is-open .mod__panel { grid-template-rows: 1fr; opacity: 1; }
.mod__panel[hidden] { display: none; }
.mod__clip { min-height: 0; overflow: hidden; }
.mod__content { padding: 5px 26px 39px 96px; } /* Figma: lista a 100px do topo, alinhada ao título */
.mod__lessons { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.mod__lessons li { display: flex; align-items: center; gap: 9px; font-size: 16px; line-height: 20px; font-weight: 500; color: #fff; }
.mod__lessons li::before { content: ""; flex: none; width: 20px; height: 20px; background: url("assets/modulos/play.svg") center / contain no-repeat; }
.mod__rule { margin: 32px 0 24px; border: 0; border-top: 1px solid #363636; }
.mod__learn { margin: 0 0 12px; font-size: 15px; line-height: 24px; font-weight: 600; text-transform: uppercase; color: #fff; }
.mod__text { margin: 0; font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, .7); }

@media (max-width: 767px) {
  .modules-list { padding: 64px 0 96px; }
  .modules-list::before { left: -200px; width: 320px; height: 320px; }
  .modules-list__title { font-size: 36px; line-height: 40px; letter-spacing: -1.8px; }
  .modules-list__items { gap: 12px; margin-top: 40px; }
  .mod__head { gap: 16px; padding: 16px; }
  .mod__icon { transform: scale(.84); margin: -4px; }
  .mod__title { font-size: 17px; }
  .mod__meta { display: none; }
  .mod__content { padding: 4px 20px 28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .mod, .mod__panel, .mod__toggle img { transition: none; }
}

/* Transição projetos → cronograma: o fundo branco escurece enquanto o card do Nexatrack está preso */
.projects { background: color-mix(in srgb, #010101 calc(var(--dk, 0) * 100%), #fff); }

/* ===== Seção 7: depoimentos (Figma 30:5784) ===== */
.proof { position: relative; z-index: 1; padding: 90px 0 0; background: #fff; overflow: hidden; } /* 90px do bloco anterior */
.proof__head { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; }
.proof__stars { display: flex; gap: 0; }
.proof__stars img { display: block; width: 24px; height: 24px; margin-left: -2px; } /* Figma: uma a cada 22px */
.proof__stars img:first-child { margin-left: 0; }
.proof__title { margin: 8px 0 0; width: 577px; max-width: 100%; font-size: 48px; line-height: 52px; letter-spacing: -2.88px; font-weight: 700; color: #1c1c1c; }
.proof__title span { color: var(--pink); }
.proof__lead { margin: 16px 0 0; width: 547px; max-width: 100%; font-size: 16px; line-height: 24px; letter-spacing: -.16px; color: #555; }

/* esteira de publicações do LinkedIn */
.li-slider { position: relative; margin-top: 39px; height: 494px; display: flex; align-items: center; overflow: hidden; }
.li-slider::before, .li-slider::after { content: ""; position: absolute; top: 0; bottom: 0; z-index: 2; width: min(240px, 18vw); pointer-events: none; }
.li-slider::before { left: 0; background: linear-gradient(90deg, #fff 15%, rgba(255,255,255,0)); }
.li-slider::after { right: 0; background: linear-gradient(270deg, #fff 15%, rgba(255,255,255,0)); }
.li-slider__track { display: flex; gap: 18px; width: max-content; margin: 0; padding: 0 0 0 18px; list-style: none; animation: li-belt 70s linear infinite; }
.li-slider:hover .li-slider__track { animation-play-state: paused; }
.li-post { flex: none; width: 360px; height: 400px; overflow: hidden; border-radius: 16px; background: #414141; transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; }
.li-post img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.li-post:hover { transform: translateY(-6px); box-shadow: 0 16px 25.5px rgba(0, 0, 0, .09); }
@keyframes li-belt { to { transform: translateX(-50%); } }

/* nota manuscrita + seta */
.proof__note { margin-top: 15px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.proof__note p { margin: 0; font-family: "Covered By Your Grace", cursive; font-size: 22px; line-height: 22px; color: #080808; text-align: center; }
.proof__note img { display: block; width: 24px; height: 50px; }

/* mural de conversas (3 colunas de 386,66px, 20px entre elas) */
.chat-wall { width: min(1200px, 100% - 48px); margin: 40px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.chat-wall__col { display: flex; flex-direction: column; gap: 20px; }
.chat-wall img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 9px 16px rgba(0, 0, 0, .05); }

@media (max-width: 900px) {
  /* abaixo de 900px as 3 colunas viram 2 (ou 1) colunas corridas */
  .chat-wall { display: block; columns: 2; column-gap: 16px; }
  .chat-wall__col { display: contents; }
  .chat-wall img { margin-bottom: 16px; break-inside: avoid; }
}
@media (max-width: 720px) {
  .proof { padding: 64px 0 80px; }
  .proof__title { font-size: 32px; line-height: 36px; letter-spacing: -1.6px; }
  .li-slider { height: 380px; margin-top: 24px; }
  .li-post { width: 270px; height: 300px; }
  .li-slider::before, .li-slider::after { width: 48px; }
  .chat-wall { width: calc(100% - 32px); columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .li-slider__track { animation: none; }
  .li-slider { overflow-x: auto; }
}

/* ===== Seção 8: instrutor (Figma 33:5968) ===== */
.inst { position: relative; z-index: 1; padding: 179px 0 0; background: #fff; overflow: hidden; } /* 179px do mural de conversas */
.inst__inner { width: min(1200px, 100% - 48px); margin: 0 auto; display: flex; align-items: center; gap: 54px; }
.inst__copy { flex: none; width: 600px; }
.inst__eyebrow { margin: 0; font-size: 14px; letter-spacing: 1.96px; text-transform: uppercase; color: #555; }
.inst__title { margin: 3px 0 0; width: 572px; max-width: 100%; font-size: 48px; line-height: 52px; letter-spacing: -2.88px; font-weight: 700; color: #232323; }
.inst__title span { color: var(--pink); }
.inst__list { list-style: none; margin: 24px 0 0; padding: 0; width: 572px; max-width: 100%; display: grid; gap: 35px; }
.inst__item h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; line-height: 20px; letter-spacing: -.5px; font-weight: 700; color: #202020; }
.inst__item h3 img { flex: none; width: 24px; height: 24px; object-fit: contain; }
.inst__item p { margin: 8px 0 0; font-size: 16px; line-height: 24px; letter-spacing: -.16px; color: #555; }
.inst__rule { margin: 29px 0 0; border: 0; border-top: 1px solid #ececec; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1) .5s; }
.inst.is-in .inst__rule { transform: none; }
.inst__logos { margin-top: 37px; display: flex; align-items: flex-end; gap: 50.7px; }
.inst__logos img { display: block; height: auto; }

/* fotos (coordenadas do Figma, quadro de 546 × 586) */
.inst__media { position: relative; flex: none; width: 546px; height: 586px; }
.inst__photo { position: absolute; margin: 0; overflow: hidden; border-radius: 16px; background: #eee; }
.inst__photo img { position: absolute; left: 0; width: 100%; max-width: none; }
.inst__photo--main { left: 18px; top: 18px; width: 316.8px; height: 480px; }
.inst__photo--main img { top: -1.83%; height: 103.66%; }
.inst__photo--top { left: 355.92px; top: 18px; width: 190.08px; height: 230px; }
.inst__photo--top img { top: -7.3%; height: 114.6%; }
.inst__photo--bottom { left: 355.92px; top: 268px; width: 190.08px; height: 230px; }
.inst__photo--bottom img { top: 0; height: 114.6%; }
.inst__star { position: absolute; left: 0; top: 0; z-index: 2; width: 50px; height: 50px; }
.inst__students {
  position: absolute; left: 18px; top: 518px; width: 528px; height: 68px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; gap: 14px; padding: 0 24px; /* conteúdo centralizado, como no Figma */
  background: rgba(151, 151, 151, .08); -webkit-backdrop-filter: blur(1.2px); backdrop-filter: blur(1.2px);
  font-size: 16px; line-height: 24px; letter-spacing: -.16px; color: #222;
}
.inst__avatars { display: flex; }
.inst__count { margin: 0; font-size: 15px; line-height: 18px; letter-spacing: -.15px; color: #222; white-space: nowrap; }
.inst__count b { display: block; font-weight: 600; }
.inst__avatars img { width: 34px; height: 34px; margin-right: -2px; border-radius: 50%; }
.inst__avatars img:last-child { margin-right: 0; }

/* Entrada das fotos: abrem como uma cortina de baixo para cima enquanto a foto desinfla
   (zoom 1.15 → 1); a estrela gira e pousa; os alunos entram um a um. */
.inst__photo { clip-path: inset(100% 0 0 0 round 16px); transition: clip-path 1.1s cubic-bezier(.65, 0, .25, 1) var(--d); }
.inst__photo img { transform: scale(1.15); transition: transform 1.6s cubic-bezier(.2, .8, .2, 1) var(--d); }
.inst.is-in .inst__photo { clip-path: inset(0 0 0 0 round 16px); }
.inst.is-in .inst__photo img { transform: none; }
.inst__photo:hover img { transform: scale(1.04); transition-duration: .8s; transition-delay: 0s; }
.inst__star { opacity: 0; transform: rotate(-180deg) scale(.3); transition: opacity .5s ease .55s, transform 1.1s cubic-bezier(.2, 1.4, .4, 1) .55s; }
.inst.is-in .inst__star { opacity: 1; transform: none; animation: inst-spin 18s linear 2s infinite; }
@keyframes inst-spin { to { transform: rotate(360deg); } }
.inst__students { opacity: 0; transform: translateY(20px); transition: opacity .7s ease .6s, transform .9s cubic-bezier(.2, .8, .2, 1) .6s; }
.inst.is-in .inst__students { opacity: 1; transform: none; }
.inst__avatars img { opacity: 0; transform: translateX(-8px) scale(.6); transition: opacity .35s ease, transform .5s cubic-bezier(.2, 1.4, .4, 1); transition-delay: calc(.8s + var(--k) * 55ms); }
.inst.is-in .inst__avatars img { opacity: 1; transform: none; }
/* leve parallax nas fotos menores (o JS controla --py) */
.inst__photo[data-parallax] { translate: 0 var(--py, 0px); }

@media (max-width: 1240px) {
  .inst__inner { flex-direction: column; align-items: flex-start; gap: 56px; }
  .inst__copy { width: 100%; max-width: 600px; }
  .inst__media { align-self: center; }
}
@media (max-width: 720px) {
  .inst { padding: 96px 0 0; }
  .inst__title { font-size: 32px; line-height: 38px; letter-spacing: -1.6px; }
  .inst__logos { flex-wrap: wrap; gap: 24px 32px; }
  .inst__logos img { transform: scale(.85); transform-origin: 0 100%; }
  /* o quadro de fotos encolhe proporcionalmente (o JS define --s) */
  .inst__media { align-self: flex-start; transform: scale(var(--s, 1)); transform-origin: 0 0; margin: 0 calc(-546px * (1 - var(--s, 1))) calc(-586px * (1 - var(--s, 1))) 0; }
}
@media (prefers-reduced-motion: reduce) {
  .inst__photo, .inst__photo img, .inst__star, .inst__students, .inst__avatars img, .inst__rule { transition: none; clip-path: none; transform: none; opacity: 1; animation: none; }
}

/* ===== Seção 9: certificado (Figma 33:7232) ===== */
.cert { position: relative; z-index: 1; padding: 139px 0 120px; background: #fff; overflow: hidden; } /* 139px da seção do instrutor */
.cert__head { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; }
.cert__eyebrow { margin: 0; font-size: 14px; letter-spacing: 1.96px; text-transform: uppercase; color: #555; }
.cert__title { margin: 12px 0 0; width: 577px; max-width: 100%; font-size: 48px; line-height: 52px; letter-spacing: -2.88px; font-weight: 700; color: #232323; }
.cert__title span { color: var(--pink); }
.cert__lead { margin: 16px 0 0; width: 547px; max-width: 100%; font-size: 16px; line-height: 24px; letter-spacing: -.16px; color: #555; }
.cert__body { width: min(843px, 100% - 48px); margin: 47px auto 0; display: grid; gap: 20px; }
.cert__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 32px; border-radius: 20px; background: #f7f7f7; font-size: 16px; line-height: 24px; letter-spacing: -.16px; color: #555; }
.cert__bar-l { display: flex; align-items: center; gap: 12px; }
.cert__bar-l img { flex: none; display: block; }
.cert__bar b { font-weight: 600; white-space: nowrap; }

/* palco 3D: o JS define --rx/--ry (inclinação) e --mx/--my (posição do mouse, 0–1) */
.cert__stage { perspective: 1200px; }
.cert__card {
  --rx: 0deg; --ry: 0deg; --mx: .5; --my: .5;
  position: relative; aspect-ratio: 843 / 601; border-radius: 24px;
  transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), box-shadow .6s;
  box-shadow: 0 30px 60px -20px rgba(234, 51, 110, .25);
  will-change: transform;
}
.cert__card.is-hover { transition: transform .12s linear, box-shadow .6s; box-shadow: 0 40px 70px -18px rgba(234, 51, 110, .35); }
.cert__img { display: block; width: 100%; height: auto; border-radius: 24px; }
/* selo: posição do Figma (centro em 638,4 × 238,4 num certificado de 843 × 601), "acima" do papel */
.cert__seal { position: absolute; left: calc(563.99 / 843 * 100%); top: calc(164 / 601 * 100%); width: calc(148.87 / 843 * 100%); transform: translateZ(0); transition: transform .6s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.cert__card.is-hover .cert__seal { transform: translateZ(45px); } /* no hover o selo "sai" do papel */
.cert__seal img { display: block; width: 100%; height: auto; animation: cert-spin 22s linear infinite; }
@keyframes cert-spin { to { transform: rotate(360deg); } }
/* brilho que acompanha o mouse */
.cert__glare { position: absolute; inset: 0; border-radius: 24px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(600px circle at calc(var(--mx) * 100%) calc(var(--my) * 100%), rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 45%);
  mix-blend-mode: screen; transform: translateZ(1px); }
.cert__card.is-hover .cert__glare { opacity: 1; }

@media (max-width: 720px) {
  .cert { padding: 96px 0 80px; }
  .cert__title { font-size: 32px; line-height: 36px; letter-spacing: -1.6px; }
  .cert__bar { padding: 16px 18px; font-size: 14px; line-height: 20px; }
  .cert__bar b { font-size: 13px; }
  .cert__card, .cert__img, .cert__glare { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .cert__seal img { animation: none; }
  .cert__card { transition: none; transform: none !important; }
}

/* ===== Seção 10: oferta / vagas abertas (Figma 47:3609) ===== */
/* painel flutuante: o preto é um bloco arredondado dentro da página branca (sem corte reto entre as seções) */
.offer { position: relative; z-index: 1; isolation: isolate; margin-top: -1px; padding: 100px 0 144px; background: #fff; color: #fff; overflow: hidden; } /* 100px do topo do bloco preto */
.offer::before { content: ""; position: absolute; z-index: -2; inset: 0 24px 24px; border-radius: 48px; background: #0e0e0e; }
.offer::after { content: ""; position: absolute; z-index: -1; left: 50%; top: -260px; width: 900px; height: 520px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(247, 62, 121, .35), rgba(247, 62, 121, 0)); pointer-events: none; }
.offer__wrap { width: min(1200px, 100% - 112px); margin: 0 auto; }
.offer__head { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.offer__lead { width: 665px; max-width: 100%; }
.offer__meta { display: flex; align-items: center; gap: 12px; }
.offer__faces { display: flex; }
.offer__faces img { display: block; width: 40.364px; height: 40.364px; margin-right: -10.091px; }
.offer__faces img:last-child { margin-right: 0; }
.offer__live { position: relative; display: flex; align-items: center; gap: 8px; font-size: 15px; letter-spacing: -.32px; color: rgba(255, 255, 255, .89); white-space: nowrap; }
.offer__live i { position: relative; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #3dc66b; }
.offer__live i::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: rgba(61, 198, 107, .1); } /* halo do Figma (12px) */
.offer__live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3dc66b; animation: offer-ping 2s ease-out infinite; }
@keyframes offer-ping { to { transform: scale(3.2); opacity: 0; } }
.offer__title { margin: 12px 0 0; font-size: 46px; line-height: normal; letter-spacing: -2.76px; font-weight: 700; }
.offer__title span { color: #c2c2c2; }
.offer__note { display: flex; align-items: center; gap: 7px; width: 282px; margin: 0 0 0 auto; font-size: 16px; line-height: 24px; letter-spacing: -.32px; color: rgba(255, 255, 255, .89); }
.offer__note img { flex: none; display: block; }
.offer__note b { font-weight: 700; }

.offer__card { display: grid; grid-template-columns: 679px minmax(0, 1fr); min-height: 710px; margin-top: 62px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(211.1deg, #ffecf2 1.85%, #fff 73.1%); color: #543c43; }

/* mosaico: o export já vem com os cards inclinados; o comentário flutua por cima */
.offer__media { position: relative; overflow: hidden; background: #000; }
.offer__mosaic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: offer-drift 26s ease-in-out infinite alternate; }
@keyframes offer-drift { from { transform: scale(1.06) translate3d(-1.5%, -1%, 0); } to { transform: scale(1.06) translate3d(1.5%, 1%, 0); } }
.offer__comment { position: absolute; left: 15%; top: 38.86%; width: 70.1%; height: auto; border-radius: 21.76px; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .55);
  transform: rotate(-2.64deg) translateY(28px) scale(.92); opacity: 0;
  transition: transform .9s cubic-bezier(.2, .8, .2, 1) .5s, opacity .6s ease .5s; }
.offer__card.is-visible .offer__comment { opacity: 1; transform: rotate(-2.64deg); animation: offer-float 6s ease-in-out 1.5s infinite; }
@keyframes offer-float { 50% { transform: rotate(-2.64deg) translateY(-8px); } }

.offer__panel { display: flex; flex-direction: column; padding: 40px; }
.offer__top { display: flex; align-items: center; justify-content: space-between; }
.offer__logo { gap: 4px; transform: scale(.885); transform-origin: left center; }
.offer__logo .logo__type { color: rgba(0, 0, 0, .53); }
.offer__logo .logo__type b { color: #2b2b2b; }
.offer__tag { font-size: 14px; font-weight: 500; color: #442f35; }

.offer__from { margin: 23px 0 0; font-size: 18px; letter-spacing: -.36px; color: #5e474f; }
.offer__from b { font-weight: 600; }
.offer__price { display: flex; align-items: center; margin-top: 6px; color: #5e474f; }
.offer__inst { display: flex; flex-direction: column; font-size: 18px; font-weight: 600; letter-spacing: -.36px; line-height: normal; }
.offer__num { margin-left: 11px; font-size: 64px; line-height: 1; letter-spacing: -1.28px; font-weight: 700; color: #269b4d; }
.offer__cash { display: flex; align-items: center; gap: 16px; margin-left: 20px; font-size: 18px; letter-spacing: -.36px; }
.offer__cash b { font-weight: 700; }
.offer__cash::before { content: ""; width: 1px; height: 32px; background: rgba(99, 76, 84, .16); }

.offer__list { list-style: none; display: grid; gap: 20px; margin: 34px 0 0; padding: 25px 0 0; border-top: 1px solid rgba(199, 165, 175, .16); }
.offer__list li { display: flex; align-items: center; gap: 11px; font-size: 16px; line-height: 24px; letter-spacing: -.32px; font-weight: 500; color: #543c43; }
.offer__list li img { flex: none; display: block; }
.offer__list b { font-weight: 700; }

.offer__cta { display: flex; margin-top: 28px; padding-top: 8px; padding-bottom: 8px; } /* mesmo botão do hero, em largura total */
.offer__cta span { flex: 1; text-align: center; padding-left: 40px; } /* compensa a seta para o texto ficar no centro */
.offer__guar { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 25px 0 0; font-size: 16px; line-height: 23px; letter-spacing: -.32px; color: #41393c; }
.offer__guar img { flex: none; display: block; }

@media (max-width: 1240px) {
  .offer__card { grid-template-columns: minmax(0, 1fr) minmax(0, 521px); }
}
@media (max-width: 1000px) {
  .offer__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .offer__note { margin: 0; }
  .offer__card { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .offer__media { aspect-ratio: 679 / 520; }
}
@media (max-width: 720px) {
  .offer { padding: 56px 0 92px; }
  .offer::before { inset: 0 12px 12px; border-radius: 32px; }
  .offer::after { width: 600px; height: 400px; top: -220px; }
  .offer__wrap { width: calc(100% - 56px); }
  .offer__title { font-size: 32px; letter-spacing: -1.6px; }
  .offer__faces img { width: 30px; height: 30px; margin-right: -8px; }
  .offer__live { font-size: 13px; }
  .offer__card { margin-top: 40px; }
  .offer__panel { padding: 28px 20px; }
  .offer__num { font-size: 52px; }
  .offer__cash { gap: 12px; margin-left: 14px; font-size: 16px; }
  .offer__list { margin-top: 24px; padding-top: 24px; gap: 14px; }
  .offer__list li { font-size: 15px; line-height: 21px; }
  .offer__guar { font-size: 14px; gap: 8px; }
}
@media (max-width: 400px) {
  .offer__price { flex-wrap: wrap; row-gap: 8px; }
  .offer__cash { width: 100%; margin-left: 0; }
  .offer__cash::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .offer__mosaic, .offer__card.is-visible .offer__comment, .offer__live i::after { animation: none; }
  .offer__comment { transition: none; opacity: 1; transform: rotate(-2.64deg); }
}
@media (max-width: 720px) { .offer__cta { margin-top: 26px; } }
.offer__m { display: none; }
@media (max-width: 720px) {
  .offer__top { display: none; }
  .offer__d { display: none; }
  .offer__m { display: inline; }
  .offer__from { margin: 4px 0 0; text-align: center; font-size: 18px; letter-spacing: -.36px; }
  .offer__from b { font-weight: 400; }
  .offer__price { flex-wrap: wrap; justify-content: center; row-gap: 6px; margin-top: 2px; }
  .offer__inst { font-size: 18px; font-weight: 400; line-height: 1.15; letter-spacing: -.36px; }
  .offer__num { margin-left: 12px; font-size: 64px; letter-spacing: -2.24px; }
  .offer__cash { width: 100%; justify-content: center; margin-left: 0; font-size: 18px; letter-spacing: -.36px; }
  .offer__cash::before { display: none; }
}

/* ===== Seção 11: FAQ + rodapé (Figma 49:3835) ===== */
.faq { position: relative; z-index: 1; margin-top: -1px; padding: 66px 0 0; background: #fff; } /* 24px de margem do painel da oferta + 66 = 90px */
.faq__wrap, .footer__wrap { width: min(1201px, 100% - 48px); margin: 0 auto; }
.faq__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.faq__eyebrow { margin: 0; font-size: 14px; letter-spacing: 1.96px; text-transform: uppercase; color: #555; }
.faq__title { margin: 12px 0 0; font-size: 48px; line-height: 52px; letter-spacing: -2.88px; font-weight: 700; color: #232323; }
.faq__lead { margin: 16px 0 0; max-width: 547px; font-size: 16px; line-height: 24px; letter-spacing: -.16px; color: #555; }

.faq__list { margin-top: 60px; }
.faq__item { border-bottom: 1px solid #ebebeb; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 24px 0; border: 0; background: none; cursor: pointer; text-align: left;
  font: 600 20px/23.4px "Schibsted Grotesk", sans-serif; letter-spacing: -.5px; color: #161616; transition: color .25s; }
.faq__item:first-child .faq__q { padding-top: 0; }
.faq__q img { flex: none; display: block; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.faq__q:hover { color: var(--pink); }
.faq__item.is-open .faq__q img { transform: rotate(45deg); } /* + vira × */
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2, .8, .2, 1); }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 0 24px; max-width: 980px; font-size: 16px; line-height: 24px; letter-spacing: -.16px; color: #555; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .4s; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a a { color: #232323; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(247, 62, 121, .5); text-underline-offset: 3px; }
.faq__a a:hover { color: var(--pink); }
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: .08s; }

.footer { position: relative; z-index: 1; padding: 100px 0 48px; background: #fff; }
.footer__wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer__legal { display: flex; align-items: center; gap: 16px; margin: 0; font-size: 16px; line-height: 24px; letter-spacing: -.16px; color: #555; text-align: center; }
.footer__legal i { flex: none; width: 4px; height: 4px; border-radius: 50%; background: #d6d6d6; }
.footer__link { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; letter-spacing: inherit; color: inherit; white-space: nowrap; transition: color .2s; }
.footer__link:hover { color: var(--pink); }

@media (max-width: 1000px) {
  .footer__wrap { flex-direction: column; gap: 20px; }
  .footer__legal { flex-direction: column; gap: 6px; font-size: 14px; line-height: 20px; }
  .footer__legal i { display: none; }
}
@media (max-width: 720px) {
  .faq { padding-top: 78px; } /* 12 + 78 = 90px */
  .faq__title { font-size: 32px; line-height: 36px; letter-spacing: -1.6px; }
  .faq__list { margin-top: 40px; }
  .faq__q { padding: 20px 0; font-size: 17px; line-height: 22px; letter-spacing: -.3px; }
  .faq__a p { padding-bottom: 20px; font-size: 15px; line-height: 22px; }
  .footer { padding: 64px 0 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .faq__a, .faq__a p, .faq__q img { transition: none; }
}

/* ===== Cookies: modal de preferências ===== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ck-btn { height: 44px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer; font: 600 14.5px/1 "Schibsted Grotesk", sans-serif; letter-spacing: -.2px; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s, transform .2s; }
.ck-btn:active { transform: scale(.98); }
.ck-btn--pink { background: var(--pink); color: #fff; box-shadow: 0 8px 18px -8px rgba(247, 62, 121, .7); }
.ck-btn--pink:hover { background: #e02d68; }
.ck-btn--line { background: #fff; color: #232323; box-shadow: inset 0 0 0 1px #e2e2e2; }
.ck-btn--line:hover { box-shadow: inset 0 0 0 1px #bdbdbd; }
.ck-btn--ghost { background: none; color: #555; padding: 0 10px; }
.ck-btn--ghost:hover { color: #232323; }

/* modal */
.ck-modal { width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: #232323; overflow: auto;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .5); font-family: "Schibsted Grotesk", sans-serif; }
.ck-modal::backdrop { background: rgba(14, 14, 14, .55); backdrop-filter: blur(6px); }
.ck-modal[open] { animation: ck-in .45s cubic-bezier(.2, .8, .2, 1); }
.ck-modal[open]::backdrop { animation: ck-fade .3s ease; }
@keyframes ck-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes ck-fade { from { opacity: 0; } }
.ck-modal__box { margin: 0; padding: 28px; }
.ck-modal__head { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; }
.ck-modal__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #ffecf2; color: var(--pink); }
.ck-modal__head h2 { margin: 2px 0 0; font-size: 22px; line-height: 26px; letter-spacing: -.8px; font-weight: 700; }
.ck-modal__head p { margin: 6px 0 0; font-size: 14.5px; line-height: 21px; color: #6b6b6b; }
.ck-modal__close { display: grid; place-items: center; width: 34px; height: 34px; margin: -4px -6px 0 0; border: 0; border-radius: 50%; background: #f4f4f4; color: #555; cursor: pointer; transition: background .2s; }
.ck-modal__close:hover { background: #ebebeb; color: #232323; }

.ck-list { list-style: none; margin: 22px 0 0; padding: 0; border-radius: 16px; background: #f8f8f8; }
.ck-list li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; }
.ck-list li + li { border-top: 1px solid #ececec; }
.ck-list b { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -.3px; }
.ck-list span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 19px; color: #6b6b6b; }
.ck-always { flex: none; margin: 0 !important; font-size: 12.5px !important; font-weight: 600; color: #269b4d !important; }

.ck-switch { position: relative; flex: none; width: 44px; height: 26px; cursor: pointer; }
.ck-switch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.ck-switch i { position: absolute; inset: 0; border-radius: 999px; background: #d9d9d9; transition: background .25s; pointer-events: none; }
.ck-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.ck-switch input:checked + i { background: var(--pink); }
.ck-switch input:checked + i::after { transform: translateX(18px); }
.ck-switch input:focus-visible + i { outline: 2px solid var(--pink); outline-offset: 2px; }

.ck-modal__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.ck-modal__foot > div { display: flex; gap: 8px; }

@media (max-width: 520px) {
  .ck-modal__box { padding: 22px 18px; }
  .ck-modal__foot { flex-direction: column-reverse; align-items: stretch; }
  .ck-modal__foot > div { flex-direction: column-reverse; }
  .ck-modal__foot .ck-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ck-modal[open], .ck-modal[open]::backdrop { animation: none; }
}

/* ===== Checkout: modal de planos (Figma 51:3859) ===== */
.co-modal { width: min(549px, calc(100% - 24px)); max-width: none; max-height: calc(100% - 24px); margin: auto; padding: 0; border: 0; border-radius: 16px; background: #fff; overflow: auto;
  font-family: "Schibsted Grotesk", sans-serif; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); }
.co-modal::backdrop { background: rgba(0, 0, 0, .7); }
.co-modal[open] { animation: co-in .45s cubic-bezier(.2, .8, .2, 1); }
.co-modal[open]::backdrop { animation: co-fade .3s ease; }
@keyframes co-in { from { opacity: 0; transform: translateY(20px) scale(.97); } }
@keyframes co-fade { from { opacity: 0; } }
.co-modal__box { padding: 40px 40px 48px; }
.co-modal__top { display: flex; align-items: center; justify-content: space-between; }
.co-modal__logo { transform: scale(.88); transform-origin: left center; }
.co-modal__logo .logo__type, .co-modal__logo .logo__type b { color: #2f2f2f; }
.co-modal__close { display: block; padding: 0; border: 0; background: none; border-radius: 8.7px; cursor: pointer; transition: transform .2s, filter .2s; }
.co-modal__close img { display: block; }
.co-modal__close:hover { filter: brightness(.94); }
.co-modal__close:active { transform: scale(.94); }
.co-modal__title { margin: 16px 0 0; font-size: 24px; line-height: normal; letter-spacing: -.96px; font-weight: 700; color: #3c3c3c; }
.co-modal__text { margin: 12px 0 0; font-size: 15px; line-height: 22px; letter-spacing: -.3px; color: #727272; }
.co-modal__text b { font-weight: 700; }

.co-plans { display: grid; gap: 16px; margin-top: 24px; }
.co-plan { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: 16px; background: #efefef; }
.co-plan__price { position: relative; display: flex; flex-direction: column; line-height: normal; }
.co-plan__from { font-size: 15px; color: #747474; margin-bottom: -2px; }
.co-plan__price strong { font-size: 32px; letter-spacing: -.64px; font-weight: 700; color: #212121; }
.co-plan__cash { margin-top: 4px; font-size: 16px; font-weight: 600; color: #666; }
.co-plan__btn { position: relative; flex: none; display: flex; align-items: center; justify-content: center; gap: 10px; width: 211px; height: 52px; border-radius: 900px;
  background: #f73e79; color: #fff; font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .25s, box-shadow .25s, background .25s; }
.co-plan__btn img { display: block; flex: none; }
.co-plan__btn:hover { transform: translateY(-2px); background: #ea336e; box-shadow: 0 12px 22px -10px rgba(247, 62, 121, .7); }

.co-plan--life { background: linear-gradient(90deg, #1d1d1d, #18181a); }
.co-plan__bg { position: absolute; left: 169px; top: -107.24px; width: 340px; height: 340px; pointer-events: none; }
.co-plan--life .co-plan__from, .co-plan--life .co-plan__cash { color: #b7b7b7; }
.co-plan--life .co-plan__price strong { color: #ffe6b4; }
.co-plan--life .co-plan__btn { background: #ffdb96; color: #332915; filter: drop-shadow(0 1px 11.15px rgba(235, 203, 141, .49)); }
.co-plan--life .co-plan__btn:hover { background: #ffe3ad; box-shadow: none; filter: drop-shadow(0 4px 16px rgba(235, 203, 141, .65)); }

@media (max-width: 520px) {
  .co-modal__box { padding: 24px 20px 28px; }
  .co-modal__title { font-size: 21px; letter-spacing: -.8px; }
  .co-plan { flex-direction: column; align-items: stretch; padding: 20px; }
  .co-plan__btn { width: 100%; }
  .co-plan__bg { left: auto; right: -120px; }
}
@media (prefers-reduced-motion: reduce) {
  .co-modal[open], .co-modal[open]::backdrop { animation: none; }
}
html.has-modal, html.has-modal body { overflow: hidden; }

/* ===== Ajustes de celular (dez/2026) ===== */
@media (max-width: 720px) {
  /* Safari iOS recorta o halo com blur num retângulo: no celular, sombra simples no lugar */
  .btn-primary::after { display: none; }
  .btn-primary { box-shadow: 0 12px 26px -10px rgba(247, 62, 121, .6); }

  /* depoimentos: só os 4 mais fortes, nesta ordem */
  .chat-wall { display: flex; flex-direction: column; gap: 16px; }
  .chat-wall img { margin-bottom: 0; }
  .chat-wall img:not(.is-pick) { display: none; }
  .chat-wall img.is-pick { order: var(--o); }
}
@media (max-width: 1000px) {
  /* topo da oferta centralizado quando empilha */
  .offer__head { align-items: center; text-align: center; }
  .offer__lead { width: auto; display: flex; flex-direction: column; align-items: center; }
  .offer__note { justify-content: center; text-align: left; width: auto; }
}
@media (max-width: 720px) {
  .offer__title { font-size: 28px; line-height: 32px; letter-spacing: -1.3px; }
  .offer__note { display: none; } /* no celular, sem a nota de oferta por tempo limitado */
}

/* ===== CTA flutuante (só mobile) ===== */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: max(16px, calc(env(safe-area-inset-bottom) - 10px));
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 7px 7px 24px; border-radius: 999px;
    background: rgba(24, 24, 27, .6); -webkit-backdrop-filter: blur(24px) saturate(1.2); backdrop-filter: blur(24px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .5);
    color: #fff; opacity: 0; transform: translateY(24px); pointer-events: none;
    transition: opacity .35s ease, transform .5s cubic-bezier(.2, .8, .2, 1); }
  .sticky-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }
  html.has-modal .sticky-cta { opacity: 0; transform: translateY(24px); pointer-events: none; }
  .sticky-cta__price { line-height: 1.15; }
  .sticky-cta__price small { display: block; font-size: 12px; color: rgba(255, 255, 255, .6); }
  .sticky-cta__price s { color: rgba(255, 255, 255, .45); }
  .sticky-cta__price b { font-size: 17px; font-weight: 700; letter-spacing: -.3px; }
  .sticky-cta__price em { font-style: normal; color: #4ade80; }
  .sticky-cta__btn { display: flex; align-items: center; height: 50px; padding: 0 26px; border-radius: 999px; background: #fff; color: #141416;
    font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform .2s; }
  .sticky-cta__btn:active { transform: scale(.97); }
}
@media (max-width: 720px) and (prefers-reduced-motion: reduce) { .sticky-cta { transition: opacity .2s; transform: none; } }
