:root {
  --biolab-primary: #0d6efd;
  --biolab-deep: #04133b;
  --biolab-deep-alt: #051a4a;
  --biolab-green: #18b768;
  --biolab-green-soft: #1fd070;
  --biolab-card-radius: 28px;
}

html, body {
  height: 100%;
}

body {
  background: radial-gradient(1200px 800px at 0% 0%, rgba(60, 179, 113, 0.3), transparent 55%),
              radial-gradient(1200px 800px at 100% 40%, rgba(13, 110, 253, 0.25), transparent 55%),
              #020822;
  color: #fff;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Landing page background (Ref 1) */
.page-landing {
  background: radial-gradient(1100px 700px at 50% -10%, rgba(74, 173, 255, 0.22), transparent 55%),
              radial-gradient(900px 600px at 0% 0%, rgba(0, 255, 176, 0.18), transparent 55%),
              linear-gradient(180deg, #1f4e8f 0%, #122560 55%, #0b1143 100%);
}
.page-landing::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 92px;
  background: #36b248;
  z-index: -1;
}

.brand {
  font-weight: 700;
  letter-spacing: .2px;
}

.video-card {
  border: 0;
  box-shadow: 0 20px 40px rgba(0,0,0,.28);
  border-radius: var(--biolab-card-radius);
}

video.preview {
  width: 100%;
  border-radius: 18px;
  background: #000;
}

.step {
  display: none;
}
.step.active {
  display: block;
}

.progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
.progress-bar {
  border-radius: 999px;
}

.collab-item {
  cursor: pointer;
  background: rgba(10, 17, 53, 0.9);
  border: 0;
  color: #fff;
}
.collab-item + .collab-item {
  margin-top: 6px;
}
.collab-item .form-check-input {
  transform: scale(1.2);
}

/* Landing (Ref 1) */
.landing-hero {
  min-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.landing-top-brand {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}

.landing-logo-img {
  width: auto;
  height: auto;
}

.landing-logo {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.landing-logo-sub {
  font-size: .6rem;
  letter-spacing: .34em;
  opacity: .95;
  margin-top: 2px;
}

.landing-headline {
  width: 100%;
  text-align: center;
  padding: 6px 6px 14px;
}

.landing-headline-title {
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 10px;
  color: #ffffff;
}

.landing-headline-subtitle {
  font-size: .95rem;
  line-height: 1.45;
  margin: 0;
  color: rgba(255,255,255,.78);
}

.landing-card {
  width: 100%;
  margin-top: 8px;
  padding: 0;
  background: linear-gradient(180deg, rgba(43,47,125,0.98), rgba(39,45,120,0.98));
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.55);
  color: #f8f9ff;
  overflow: hidden;
}

.landing-hero-image {
  width: 100%;
  height: 250px;
  background-image: url("../img/ATIVB%201.png");
  background-size: cover;
  background-position: center 45%;
}

.landing-body {
  background: transparent;
  padding: 16px 18px 12px;
}

.landing-kicker {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.landing-section-title {
  font-size: 22px; /* ~21.9px */
  font-weight: 700;
  line-height: 26px;
  letter-spacing: 0;
  margin-bottom: 12px;
  color: #2ad56a;
}
.landing-section-title span {
  color: inherit;
}

.landing-copy {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0;
  color: #CDD6DE;
  margin-bottom: 12px;
}
.landing-copy strong {
  font-weight: 700;
}

.landing-cta {
  padding: 10px 18px 18px;
  display: flex;
  justify-content: center;
}

.landing-cta-img {
  width: 92%;
  max-width: 440px;
  display: block;
  text-decoration: none;
  user-select: none;
}

.landing-cta-img img {
  display: block;
  width: auto;
  height: auto;
  margin: 0 auto;
}

.cta-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.16);
}

.btn-cta-green {
  border-radius: 999px;
  border: 0;
  background: linear-gradient(90deg, #1cc96b, #20d56f);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(32, 213, 111, 0.35), 0 22px 46px rgba(0,0,0,0.35);
  position: relative;
}
.btn-cta-green::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-cta-green:hover {
  color: #fff;
  filter: brightness(1.05);
}

.btn-outline-soft {
  border-radius: 999px;
  border-width: 1px;
  border-color: rgba(255,255,255,.35);
  background: transparent;
  color: #fff;
}

/* Instructions (Ref 2) */
.instructions-hero {
  min-height: calc(100vh - 48px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.instructions-card {
  margin-top: 8px;
  padding: 24px 20px 28px;
  background: linear-gradient(170deg, rgba(4,19,59,0.98), rgba(6,30,90,0.98));
  border-radius: var(--biolab-card-radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  color: #f8f9ff;
}

.step-eyebrow {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #9fb5ff;
  margin-bottom: 4px;
}

.instructions-title {
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.instructions-title span {
  color: #9ae6ff;
}

.instructions-subtitle {
  font-size: .95rem;
  color: #c6d3ff;
}

.stepper {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(2,8,34,0.9);
}

.stepper-pill {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  border-radius: 999px;
  color: #9fb5ff;
  font-size: .8rem;
}

.stepper-pill.active {
  background: rgba(24,183,104,0.18);
  color: #fff;
}

.stepper-icon {
  font-size: 1.1rem;
}

.stepper-label {
  font-size: .75rem;
}

.instructions-box {
  padding: 12px 12px 10px;
  border-radius: 18px;
  background: rgba(5,19,63,0.9);
}

.instructions-pill {
  font-size: .9rem;
  color: #9ae6ff;
  margin-bottom: 6px;
}

.instructions-list {
  padding-left: 18px;
  margin: 0;
  font-size: .9rem;
  color: #d2dbff;
}
.instructions-list li + li {
  margin-top: 4px;
}

/* Choose (Ref 3) */
.choose-hero {
  min-height: calc(100vh - 48px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.choose-card {
  margin-top: 8px;
  padding: 24px 20px 28px;
  background: linear-gradient(180deg, rgba(4,19,59,0.98), rgba(5,25,78,0.98));
  border-radius: var(--biolab-card-radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}

.choose-header {
  text-align: left;
}

.choose-eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .8rem;
  color: #a1b5ff;
  margin-bottom: 2px;
}

.choose-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.choose-subtitle {
  font-size: .9rem;
  color: #d0dcff;
}

.choose-label {
  font-size: .9rem;
  color: #d2dbff;
}

.choose-search {
  border-radius: 999px;
  border: none;
}

.choose-list {
  margin-top: 8px;
}

/* Record (Ref 4/5) */
.record-hero {
  min-height: calc(100vh - 48px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.record-card {
  margin-top: 8px;
  padding: 18px 16px 24px;
  background: linear-gradient(180deg, rgba(4,19,59,0.98), rgba(5,22,70,0.98));
  border-radius: var(--biolab-card-radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}

.record-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.record-back {
  border-radius: 999px;
  border: none;
  padding-inline: 14px;
}

.record-title {
  text-align: right;
  font-size: 1rem;
  line-height: 1.2;
  text-transform: uppercase;
  color: #9fb5ff;
}
.record-title span {
  font-size: 1.1rem;
  color: #fff;
}

.record-frame {
  margin-top: 10px;
  border-radius: 24px;
  background: rgba(2,8,34,0.9);
  padding: 6px;
}

.record-progress {
  margin-top: 6px;
}

.record-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.26);
  background: radial-gradient(circle at 30% 30%, #ffffff, #ff4d4f);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.13), 0 14px 30px rgba(0,0,0,0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.record-button-inner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
}

.record-hint {
  color: #d2dbff !important;
}

/* Success modal (Ref 6) */
.success-card {
  border-radius: 32px;
  border: none;
  background: linear-gradient(180deg, rgba(4,19,59,0.98), rgba(5,25,78,0.98));
  color: #fff;
}

.success-icon {
  font-size: 2.4rem;
}

/* Shared campaign screens (Refs 2-6) */
.page-instructions,
.page-choose,
.page-record,
.page-watch {
  background: radial-gradient(1100px 700px at 50% -10%, rgba(74, 173, 255, 0.18), transparent 60%),
              radial-gradient(900px 700px at 100% 10%, rgba(0, 255, 176, 0.16), transparent 60%),
              linear-gradient(180deg, #0c2b53 0%, #0b1545 55%, #070c2a 100%);
}
.page-instructions::after,
.page-record::after,
.page-watch::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 84px;
  background: #36b248;
  z-index: -1;
}

/* Ref 3 uses footer green stripe, not fixed */
.page-choose::after {
  content: none;
}

/* Record uses provided artwork as background */
.page-record {
  background: url("../img/rodape.png") center / cover no-repeat fixed;
}
.page-record::after {
  content: none;
}

.campaign-screen {
  min-height: calc(100vh - 48px);
}

.campaign-top-hero {
  width: 100%;
  height: 240px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}

.campaign-top-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.campaign-stepper-float {
  margin-top: -26px;
  display: flex;
  justify-content: center;
}

.campaign-stepper-img {
  width: 86%;
  max-width: 420px;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.25));
}

.campaign-body {
  padding-top: 20px;
}

.campaign-title {
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 12px;
}

.campaign-title-green {
  color: #2ad56a;
  font-size: 2.15rem;
}

.campaign-title-white {
  color: #ffffff;
  font-size: 2.05rem;
}

.campaign-subtitle {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 auto 16px;
  max-width: 24ch;
}

.campaign-duration-pill {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.9);
  margin-bottom: 18px;
}

.campaign-tips {
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  font-size: 1.02rem;
}

.campaign-footer {
  margin-top: 26px;
  padding: 16px 4px 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.campaign-footer--p2 {
  margin-top: 22px;
  padding: 16px 2px 20px;
}

.campaign-footer-biolab {
  width: 140px;
  height: auto;
  display: block;
  opacity: .95;
}

.campaign-footer-ativb {
  width: 110px;
  height: auto;
  display: block;
  opacity: .95;
}
.footer-biolab {
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1;
}
.footer-biolab-sub {
  font-size: .55rem;
  letter-spacing: .34em;
  opacity: .9;
}
.footer-ativb {
  font-weight: 900;
  font-size: 1.9rem;
  letter-spacing: .06em;
}

.btn-cta-wide {
  width: 88%;
  margin-inline: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
}

/* Choose (Ref 3) */
.choose-screen {
  min-height: calc(100vh - 48px);
}
.choose-hero {
  position: relative;
  /* Important: override older .choose-hero min-height rules */
  min-height: 0;
  display: block;
  height: 260px;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
}
.choose-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/p2-mulher-segurando-flor.png");
  background-size: cover;
  background-position: center 35%;
  filter: saturate(1.05);
  z-index: 0;
}
.choose-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 86px;
  background: linear-gradient(180deg, rgba(54,178,72,0) 0%, rgba(54,178,72,0.96) 55%, rgba(54,178,72,0.96) 100%);
  z-index: 1;
}
.choose-hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 18px 18px;
  z-index: 2; /* texto acima do verde */
}
.choose-hero-title {
  color: #fff;
  font-weight: 900;
  font-size: 2.15rem;
  line-height: 1.02;
  letter-spacing: .02em;
  text-shadow: 0 10px 24px rgba(0,0,0,.55);
  text-align: center;
}

.choose-sheet {
  margin-top: 0;
  background: #ffffff;
  border-radius: 0;
  padding: 18px 16px 14px;
  color: #101828;
  box-shadow: none;
}
.choose-h1 {
  text-align: center;
  font-weight: 800;
  font-size: 1.45rem;
  margin: 10px 0 8px;
}
.choose-p {
  text-align: center;
  color: rgba(16,24,40,.65);
  margin: 0 0 16px;
}
.choose-search-wrap {
  position: relative;
  margin-bottom: 16px;
}
.choose-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .55;
  display: inline-flex;
  width: 18px;
  height: 18px;
}
.choose-search-icon img {
  width: 18px;
  height: 18px;
  display: block;
}
.choose-search {
  border-radius: 14px;
  padding-left: 44px !important;
  border: 1px solid rgba(16,24,40,.14);
  background: #fff;
}
.choose-cta-img {
  width: 92%;
  max-width: 440px;
  margin-inline: auto;
  display: block;
  background: transparent;
  border: 0;
  padding: 0;
}
.choose-cta-img img {
  width: 100%;
  height: auto;
  display: block;
}
.choose-cta-img:disabled {
  opacity: .55;
  filter: grayscale(.2);
}
.choose-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 2px 10px;
  font-size: .95rem;
}
.choose-selected {
  color: rgba(16,24,40,.65);
}
.choose-count {
  font-weight: 700;
}
.choose-results {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 10px 2px 6px;
}
.choose-person {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px;
  border-radius: 16px;
  background: #eef2f5;
  cursor: pointer;
  user-select: none;
}
.choose-person-name {
  font-size: 1.15rem;
  font-weight: 700;
}
.choose-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choose-person-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(28,201,107,.14);
  color: #1cc96b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .12s ease, transform .12s ease;
}
.choose-person.is-selected .choose-person-mark {
  opacity: 1;
  transform: scale(1);
}
.choose-person.is-selected {
  box-shadow: inset 0 0 0 2px rgba(28,201,107,.35);
}
.choose-empty {
  color: rgba(16,24,40,.6);
  padding: 10px 6px;
  text-align: center;
}

.choose-footer {
  background: #0b1545;
  margin-top: 8px;
}
.choose-footer-inner {
  padding: 14px 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.choose-footer-green {
  height: 18px;
  background: #36b248;
}
.choose-footer-biolab {
  width: 140px;
  height: auto;
  display: block;
  opacity: .95;
}
.choose-footer-ativb {
  width: 110px;
  height: auto;
  display: block;
  opacity: .95;
}

/* Record (Refs 4/5) */
.record-screen {
  min-height: calc(100vh - 48px);
  padding-top: 10px;
  padding-bottom: 24px;
}
.record-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px 2px 10px;
}
.record-back {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 1.2rem;
}
.record-top-title {
  text-align: center;
  flex: 1;
  margin-right: 44px;
  font-weight: 900;
  letter-spacing: .04em;
  font-size: 1.7rem;
  line-height: 1.05;
}
.record-top-title span {
  display: inline-block;
  margin-top: 4px;
}
.record-stage {
  padding: 4px 2px 0;
}
.record-frame {
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
  padding: 10px;
  height: 64vh;
  max-height: 520px;
}
.record-frame video.preview {
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}
.step.is-sending .record-frame video.preview {
  pointer-events: none;
}
.step.is-sending .record-frame {
  opacity: .85;
}
.record-bottom {
  position: relative;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.record-shutter-img {
  border: 0;
  background: transparent;
  background-color: transparent;
  padding: 0;
  line-height: 0;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
.record-shutter-img img {
  width: 150px;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,.55));
}
.record-shutter-img.is-recording img {
  filter: drop-shadow(0 22px 46px rgba(220,53,69,.5)) hue-rotate(-115deg) saturate(1.15) brightness(1.05);
  transform: scale(1.02);
}
.record-hint {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  text-align: center;
}
.record-timer {
  margin-top: 10px;
  text-align: right;
  font-weight: 700;
  color: rgba(255,255,255,.65);
}

.record-bottom--preview {
  padding-top: 18px;
  gap: 12px;
}
.btn-white-pill {
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: none;
  color: #101828;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

.btn-cta-img {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(420px, 100%);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.btn-cta-img img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.35));
}
.btn-cta-img:disabled {
  cursor: default;
}
.btn-cta-img:disabled img {
  opacity: .65;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.25));
}

/* Success modal (Ref 6) */
.success-modal {
  border: none;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(34,45,120,.98);
  color: #fff;
}
.success-hero {
  height: 140px;
  background-image: url("../img/success-hero-ai.jpg");
  background-size: cover;
  background-position: center;
}
.success-check {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #1cc96b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 900;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 140px;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.success-title {
  font-weight: 900;
  line-height: 1.1;
}
.success-text {
  color: rgba(255,255,255,.75);
  line-height: 1.5;
  margin: 0 auto;
  max-width: 34ch;
}
.success-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: .9;
}

/* Final modal (Container + ButtonVoltarInicio) */
.final-modal {
  border: none;
  background: transparent;
  box-shadow: none;
}
.final-modal-card {
  position: relative;
  width: min(360px, 92vw);
  margin: 0 auto;
}
.final-modal-bg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
}
.final-modal-btn {
  position: absolute;
  left: 50%;
  top: 62%;
  transform: translate(-50%, -50%);
  border: 0;
  padding: 0;
  background: transparent;
  width: min(280px, 76%);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.final-modal-btn:active {
  transform: translate(-50%, -50%) scale(.99);
}
.final-modal-btn img {
  width: 100%;
  height: auto;
  display: block;
}

/* Watch */
.watch-hero {
  position: relative;
  height: 180px;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
}
.watch-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/choose-hero-ai.jpg");
  background-size: cover;
  background-position: center 30%;
  filter: saturate(1.05);
}
.watch-hero-title {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  font-size: 1.5rem;
  font-weight: 900;
  text-shadow: 0 10px 24px rgba(0,0,0,.55);
}
.watch-sheet {
  margin-top: -18px;
  background: rgba(255,255,255,.95);
  border-radius: 24px 24px 0 0;
  padding: 18px 16px 16px;
  color: #101828;
  box-shadow: 0 -12px 40px rgba(0,0,0,.22);
}
.watch-sheet .text-secondary {
  color: rgba(16,24,40,.65) !important;
}

