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

:root {
  --laranja: #F47B20;
  --laranja-claro: #FF9A4D;
  --laranja-escuro: #E06A0E;
  --azul: #0B2440;
  --azul-claro: #0C2543;
  --azul-faq: #081C33;
  --white: #F5F5F5;
  --green: #38CE58;
  --gray: #A8B3C4;
  --gray-light: #D9D9D9;
}

::selection { background: rgba(244, 123, 32, 0.35); }

html { scroll-behavior: smooth; }

body {
  font-family: 'Sora', sans-serif;
  background: var(--azul);
  color: var(--white);
  min-height: 100dvh;
  overflow-x: hidden;
}

/* -- Fundo aurora (brilhos animados) -- */
.aurora {
  position: fixed;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 32% at 78% 12%, rgba(244, 123, 32, 0.14), transparent 70%),
    radial-gradient(45% 40% at 12% 30%, rgba(35, 108, 190, 0.20), transparent 70%),
    radial-gradient(30% 26% at 22% 88%, rgba(244, 123, 32, 0.08), transparent 70%);
  animation: aurora 26s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2.5%, -2%, 0) scale(1.07); }
  100% { transform: translate3d(-2%, 2.5%, 0) scale(1.03); }
}

/* -- Header -- */
.header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(8, 28, 51, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}
.header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 8%, rgba(244, 123, 32, 0.65), transparent 92%);
}
.header .header-logo {
  height: 24px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

/* -- Screens -- */
.screen {
  display: none;
  flex-direction: column;
  align-items: center;
  min-height: calc(100dvh - 65px);
  padding: 40px 24px 60px;
  text-align: center;
}
.screen.active { display: flex; }

/* Entrada em cascata dos elementos de cada tela */
.screen.active > *:not(.spacer) {
  animation: riseIn 0.55s cubic-bezier(0.22, 0.9, 0.32, 1) both;
}
.screen.active > *:nth-child(2) { animation-delay: 0.04s; }
.screen.active > *:nth-child(3) { animation-delay: 0.10s; }
.screen.active > *:nth-child(4) { animation-delay: 0.16s; }
.screen.active > *:nth-child(5) { animation-delay: 0.22s; }
.screen.active > *:nth-child(6) { animation-delay: 0.28s; }
.screen.active > *:nth-child(7) { animation-delay: 0.34s; }
.screen.active > *:nth-child(8) { animation-delay: 0.40s; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes popIn {
  0%   { opacity: 0; transform: scale(0.55); }
  70%  { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

/* -- Hero -- */
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--laranja-claro), var(--laranja));
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 7px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
  box-shadow: 0 6px 18px rgba(244, 123, 32, 0.35);
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.12;
  margin-bottom: 16px;
}
.hero-title em,
.success-title em {
  font-style: normal;
  background: linear-gradient(92deg, var(--laranja-claro), var(--laranja) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 380px;
}

/* -- Cards de vantagem (vidro 3D) -- */
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 400px;
  margin-top: 36px;
  margin-bottom: 8px;
  perspective: 900px;
}
.screen.active > .benefits { animation: none; }
.screen.active .benefit-card { animation: riseIn 0.6s cubic-bezier(0.22, 0.9, 0.32, 1) both; }
.screen.active .benefit-card:nth-child(1) { animation-delay: 0.34s; }
.screen.active .benefit-card:nth-child(2) { animation-delay: 0.42s; }
.screen.active .benefit-card:nth-child(3) { animation-delay: 0.50s; }
.screen.active .benefit-card:nth-child(4) { animation-delay: 0.58s; }

.benefit-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 26px rgba(2, 8, 18, 0.30);
}
.benefit-card:hover {
  border-color: rgba(244, 123, 32, 0.45);
  box-shadow: 0 20px 44px rgba(2, 8, 18, 0.45), 0 0 26px rgba(244, 123, 32, 0.12);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(28px);
  filter: drop-shadow(0 6px 10px rgba(244, 123, 32, 0.25));
}
.benefit-icon svg { width: 32px; height: 32px; }

.benefit-card span {
  font-size: 13px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.35;
  transform: translateZ(16px);
}

/* -- Botoes -- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--laranja-claro), var(--laranja) 55%, var(--laranja-escuro));
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 14px;
  padding: 16px 40px;
  cursor: pointer;
  width: 100%;
  max-width: 360px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(244, 123, 32, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 36px rgba(244, 123, 32, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:active { transform: translateY(1px) scale(0.98); }

/* Brilho que percorre o CTA e o botao do WhatsApp */
.btn-cta::after,
.btn-whatsapp::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: sheen 4.2s ease-in-out infinite;
}
@keyframes sheen {
  0%   { left: -70%; }
  55%  { left: 140%; }
  100% { left: 140%; }
}

.btn-cta { margin-bottom: 4px; }

.btn-whatsapp {
  background: linear-gradient(135deg, #4ADE70, #38CE58 55%, #27AE44);
  box-shadow: 0 12px 28px rgba(56, 206, 88, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-whatsapp:hover {
  box-shadow: 0 18px 36px rgba(56, 206, 88, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-ghost {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  text-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
.btn-ghost:hover {
  filter: none;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 22px rgba(2, 8, 18, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--gray);
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 400;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 32px;
  cursor: pointer;
  width: 100%;
  max-width: 360px;
  transition: transform 0.15s, border-color 0.2s, color 0.2s;
  margin-top: 12px;
  text-decoration: none;
}
.btn-secondary:hover { border-color: rgba(255, 255, 255, 0.28); color: var(--white); }
.btn-secondary:active { transform: scale(0.97); }

/* -- Question screens -- */
.question-icon {
  width: 92px;
  height: 92px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, rgba(244, 123, 32, 0.22), rgba(244, 123, 32, 0.05) 62%, transparent 100%);
  border: 1px solid rgba(244, 123, 32, 0.30);
  box-shadow: inset 0 0 24px rgba(244, 123, 32, 0.10), 0 16px 34px rgba(2, 8, 18, 0.40);
}
.question-icon svg { width: 44px; height: 44px; }

/* Disco flutuando em 3D */
.screen.active .question-icon {
  animation:
    riseIn 0.55s 0.08s cubic-bezier(0.22, 0.9, 0.32, 1) both,
    coinFloat 6s 1.1s ease-in-out infinite;
}
@keyframes coinFloat {
  0%, 100% { transform: perspective(700px) translateY(0) rotateY(-10deg) rotateX(4deg); }
  50%      { transform: perspective(700px) translateY(-9px) rotateY(10deg) rotateX(-4deg); }
}

.question-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.question-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 36px;
  max-width: 340px;
}

.question-desc a {
  color: var(--laranja);
  text-decoration: none;
  font-weight: 600;
}
.question-desc a:hover { text-decoration: underline; }

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 360px;
}

/* -- Rejection -- */
.rejection-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 75, 75, 0.12);
  border: 1px solid rgba(255, 75, 75, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.screen.active .rejection-icon {
  animation: popIn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.rejection-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.rejection-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 340px;
}

/* -- Success -- */
.success-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.success-icon::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 206, 88, 0.22), transparent 68%);
  animation: glowPulse 2.4s ease-out infinite;
}
@keyframes glowPulse {
  0%   { transform: scale(0.85); opacity: 0.75; }
  60%  { transform: scale(1.12); opacity: 0.25; }
  100% { transform: scale(0.85); opacity: 0.75; }
}
.screen.active .success-icon {
  animation: popIn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* Check desenhado na tela */
.check-svg path {
  stroke-dasharray: 62;
  stroke-dashoffset: 62;
  animation: dash 0.6s 0.2s ease forwards;
}
.check-svg polyline {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  animation: dash 0.35s 0.72s ease forwards;
}
@keyframes dash { to { stroke-dashoffset: 0; } }

.success-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.success-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 36px;
  max-width: 340px;
}

/* -- Value input -- */
.value-input-wrap {
  width: 100%;
  max-width: 360px;
  margin-bottom: 24px;
}
.value-input-wrap label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  text-align: left;
}
.value-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px 18px;
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.value-input:focus {
  border-color: var(--laranja);
  box-shadow: 0 0 0 4px rgba(244, 123, 32, 0.16);
}
.value-input::placeholder {
  color: var(--gray);
  font-weight: 300;
  font-size: 16px;
}

/* -- Form fields (nome/whatsapp/datas) -- */
.form-field {
  width: 100%;
  margin-bottom: 12px;
}
.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: var(--laranja);
  box-shadow: 0 0 0 4px rgba(244, 123, 32, 0.16);
}
.form-input::placeholder { color: var(--gray); font-weight: 300; }
.date-picker {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
}
.date-select {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 40px 14px 18px;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F47B20' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.date-select:focus {
  border-color: var(--laranja);
  box-shadow: 0 0 0 4px rgba(244, 123, 32, 0.16);
}
.date-select option { background: var(--azul-claro); color: var(--white); }
.form-error {
  color: #FF6B6B;
  font-size: 13px;
  margin: 4px 0 10px;
  text-align: left;
}

/* -- Progress dots -- */
.progress {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.3s;
}
.progress-dot.active {
  background: linear-gradient(90deg, var(--laranja-claro), var(--laranja));
  width: 26px;
  border-radius: 4px;
  animation: dotGlow 1.8s ease-in-out infinite;
}
@keyframes dotGlow {
  0%, 100% { box-shadow: 0 0 6px rgba(244, 123, 32, 0.35); }
  50%      { box-shadow: 0 0 14px rgba(244, 123, 32, 0.65); }
}
.progress-dot.done {
  background: var(--green);
  box-shadow: 0 0 8px rgba(56, 206, 88, 0.35);
}

/* -- Footer -- */
.footer {
  text-align: center;
  padding: 24px;
  font-size: 11px;
  color: var(--gray);
  font-weight: 300;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  line-height: 1.6;
}

/* -- FAQ -- */
.faq-section {
  background: var(--azul-faq);
  padding: 48px 24px 64px;
}

.faq-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 20px;
  text-align: left;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.faq-section h2:first-child {
  padding-top: 0;
  border-top: none;
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item:hover { border-color: rgba(244, 123, 32, 0.30); }
.faq-item.open {
  border-color: rgba(244, 123, 32, 0.40);
  box-shadow: 0 10px 26px rgba(2, 8, 18, 0.30);
}

.faq-question {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  text-align: left;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(255, 255, 255, 0.07); }

.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: var(--laranja);
  transition: transform 0.25s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  background: rgba(255, 255, 255, 0.02);
}
.faq-answer-inner {
  padding: 14px 18px 18px;
  font-size: 14px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.6;
}

.faq-answer a {
  color: var(--laranja);
  text-decoration: none;
  font-weight: 600;
}
.faq-answer a:hover { text-decoration: underline; }

.faq-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244, 123, 32, 0.10);
  border: 1px solid rgba(244, 123, 32, 0.25);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--laranja);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.faq-badge:hover { background: rgba(244, 123, 32, 0.18); transform: translateY(-1px); }

/* -- Spacer -- */
.spacer { flex: 1; }

/* -- Celulares estreitos: botoes em uma linha so -- */
@media (max-width: 400px) {
  .btn-primary { font-size: 16px; padding: 15px 20px; }
  .btn-secondary { font-size: 13.5px; padding: 13px 20px; }
}

/* -- Celulares muito pequenos: titulos proporcionais -- */
@media (max-width: 360px) {
  .hero-title { font-size: 29px; }
  .question-title { font-size: 22px; }
  .success-title { font-size: 24px; }
  .hero-subtitle { font-size: 15px; }
  .question-icon { width: 84px; height: 84px; }
  .question-icon svg { width: 40px; height: 40px; }
}

/* -- Desktop -- */
@media (min-width: 1270px) {
  .header { height: 101px; }
  .header .header-logo { height: 38px; }
  .screen { min-height: calc(100dvh - 101px); padding: 60px 40px 80px; }
  .hero-title { font-size: 50px; }
  .hero-subtitle { font-size: 18px; max-width: 500px; }
  .benefits { max-width: 560px; gap: 16px; margin-top: 44px; }
  .benefit-card { padding: 24px 18px; }
  .benefit-card span { font-size: 15px; }
  .btn-primary { font-size: 20px; padding: 18px 48px; max-width: 420px; }
  .btn-secondary { max-width: 420px; }
  .question-icon { width: 104px; height: 104px; }
  .question-icon svg { width: 50px; height: 50px; }
  .question-title { font-size: 30px; }
  .success-title { font-size: 32px; }
  .value-input-wrap { max-width: 420px; }
  .faq-section { padding: 48px 40px 80px; }
  .faq-section h2 { font-size: 18px; }
  .faq-question { font-size: 15px; padding: 18px 22px; }
  .faq-answer { font-size: 15px; }
}

/* -- Acessibilidade: usuarios que preferem menos movimento -- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .check-svg path, .check-svg polyline {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}
