@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body { font-family: 'Roboto', -apple-system, sans-serif; color: #1f2430; }

/* ── Layout ────────────────────────────────── */
.layout { display: flex; min-height: 100vh; }

/* ── Painel esquerdo (branco) ──────────────── */
.panel-left {
  width: 44%;
  min-height: 100vh;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pl-header { padding: 26px 32px; flex-shrink: 0; }

.brand-link {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
}

.brand-logo { height: 48px; width: auto; display: block; }

.brand-text {
  font-family: 'Roboto', sans-serif;
  font-weight: 900; font-size: 24px; color: #9D90F5; letter-spacing: -.01em;
}
.brand-text b { color: #2D1B6E; }

.pl-content {
  flex: 1; display: flex; flex-direction: column;
  min-height: 0; padding: 0 50px;
}

.hero-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700; font-size: 34px; line-height: 1.22;
  color: #5548E8; margin: 0 0 16px; flex-shrink: 0;
  text-align: center;
}

.hero-video {
  flex: 0 0 auto;
  aspect-ratio: 10 / 11;
  overflow: hidden;
  background: #e8e6f0; border-radius: 14px;
  margin-bottom: 50px;
  width: 100%;
}

.hero-video video {
  width: 100%; height: 100%; object-fit: contain; display: block;
}

.pl-footer {
  padding: 16px 32px; flex-shrink: 0;
  border-top: 1px solid #eeece8;
}

.pl-footer nav {
  display: flex; flex-wrap: wrap; gap: 5px 18px; margin-bottom: 6px;
}

.pl-footer nav a {
  font-size: 12px; color: #767a85; text-decoration: none; font-weight: 400;
}
.pl-footer nav a:hover { color: #1f2430; }

.pl-footer p { font-size: 11px; color: #9a9da8; margin: 0; }

/* ── Painel direito (roxo) ─────────────────── */
.panel-right {
  flex: 1; min-height: 100vh;
  background: #5548E8;
  display: flex; align-items: center; justify-content: center;
  padding: 48px 36px;
}

.rp-box { width: 100%; max-width: 380px; text-align: center; }

.rp-icon {
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
}

.rp-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 900; font-size: 28px; color: #fff; margin: 0 0 8px;
}

.rp-sub {
  font-size: 14px; color: rgba(255,255,255,0.72);
  margin: 0 0 28px; line-height: 1.5;
}

/* ── Campos de formulário ──────────────────── */
.form-group { margin-bottom: 16px; text-align: left; }
.form-label { display: block; font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.7); margin-bottom: 7px; }

.input-field, .phone-ddi {
  padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.96);
  color: #1f2430; font-size: 15px; font-family: 'Roboto', sans-serif;
  transition: border-color 0.15s;
}
.input-field { width: 100%; }
.phone-ddi { width: 72px; text-align: center; }
.input-field:focus, .phone-ddi:focus { outline: none; border-color: #fff; }

.phone-row { display: flex; gap: 8px; }

/* ── OTP ───────────────────────────────────── */
.code-row { display: flex; gap: 8px; justify-content: center; margin-bottom: 24px; }
.code-digit {
  width: 48px; height: 58px; border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.14);
  color: #fff; font-size: 24px; text-align: center;
  font-family: 'Roboto', sans-serif; font-weight: 700;
  transition: border-color 0.15s, background 0.15s;
}
.code-digit:focus {
  outline: none; border-color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.22);
}

/* ── Botão primário ────────────────────────── */
.btn-primary {
  width: 100%; padding: 15px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.13);
  color: #fff; font-family: 'Roboto', sans-serif;
  font-weight: 700; font-size: 15px; cursor: pointer;
  transition: background 0.15s; letter-spacing: 0.02em;
}
.btn-primary:hover { background: rgba(255,255,255,0.23); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }

/* ── Voltar ────────────────────────────────── */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,0.62);
  text-decoration: none; cursor: pointer; margin-bottom: 22px;
}
.back-link:hover { color: #fff; }

.form-error { font-size: 12.5px; color: #ffb3b3; margin: 10px 0 0; min-height: 16px; text-align: left; }
.step { display: none; }
.step.active { display: block; }

/* ── Conteúdo informativo (sobre/privacidade/termos) ── */
.rp-content { text-align: left; }

.rp-content h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700; font-size: 16px; color: #fff;
  margin: 22px 0 7px; text-transform: uppercase; letter-spacing: .06em;
}
.rp-content h2:first-child { margin-top: 0; }

.rp-content p, .rp-content li {
  font-size: 15px; color: rgba(255,255,255,0.8);
  line-height: 1.65; margin: 0 0 8px;
}
.rp-content ul { padding-left: 18px; margin: 0 0 8px; }
.rp-content li { margin: 0 0 5px; }
.rp-content a { color: #c5beff; }
.rp-content .eff-date { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 18px; }

/* Sobre — plataformas */
.platforms {
  display: flex; justify-content: center; gap: 14px; margin: 22px 0;
}
.plat {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
}
.plat-tiktok { background: #010101; }
.plat-instagram { background: linear-gradient(45deg,#fdca4c,#e0356e,#833ab4); }
.plat-pinterest { background: #e60023; }
.plat-facebook { background: #1877F2; }

/* ── Cookie Banner ─────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 40px); max-width: 620px;
  background: #1a1d27; border-radius: 14px;
  padding: 16px 20px; display: flex; align-items: center; gap: 16px;
  z-index: 9999;
  box-shadow: 0 8px 32px -8px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.07);
  animation: slideUp 0.3s ease;
}
.cookie-banner.hidden { display: none; }

@keyframes slideUp {
  from { transform: translateX(-50%) translateY(16px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0);    opacity: 1; }
}

.cookie-text { flex: 1; font-size: 12px; color: rgba(255,255,255,0.75); line-height: 1.5; }
.cookie-text a { color: #a89ff0; text-decoration: none; }
.cookie-text strong { color: #fff; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

.btn-ck-ess {
  padding: 8px 14px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18); background: transparent;
  color: rgba(255,255,255,0.75); font-size: 12px; font-weight: 600;
  cursor: pointer; font-family: 'Roboto', sans-serif; white-space: nowrap;
  transition: background 0.15s;
}
.btn-ck-ess:hover { background: rgba(255,255,255,0.1); }

.btn-ck-all {
  padding: 8px 14px; border-radius: 8px; border: none;
  background: #5548E8; color: #fff;
  font-size: 12px; font-weight: 700; cursor: pointer;
  font-family: 'Roboto', sans-serif; white-space: nowrap;
  transition: background 0.15s;
}
.btn-ck-all:hover { background: #4438d4; }

/* oculto em desktop, visível só no mobile */
.pl-footer-mobile { display: none; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 800px) {
  .layout { flex-direction: column; }

  .panel-left {
    width: 100%;
    min-height: unset;
    overflow: visible;
  }

  .pl-content { padding: 0 24px; }

  .hero-video { margin-bottom: 0; border-radius: 12px; }

  .pl-footer { display: none; }

  .panel-right {
    min-height: unset;
    padding: 32px 24px 48px;
    justify-content: flex-start;
  }

  .rp-box { max-width: 100%; }

  .pl-footer-mobile {
    display: block;
    padding: 16px 24px;
    background: #5548E8;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .pl-footer-mobile nav {
    display: flex; flex-wrap: wrap; gap: 5px 16px; margin-bottom: 6px;
  }
  .pl-footer-mobile nav a {
    font-size: 12px; color: rgba(255,255,255,0.55); text-decoration: none;
  }
  .pl-footer-mobile p { font-size: 11px; color: rgba(255,255,255,0.35); margin: 0; }

  .cookie-banner { flex-direction: column; gap: 10px; }
  .cookie-actions { width: 100%; }
  .btn-ck-ess, .btn-ck-all { flex: 1; text-align: center; }
}
