﻿:root{
  --bg-1: #1a1c3b;
  --bg-2: #2d121e;
  --gold: #C9A96E;
  --gold-light: #E6C882;
  --gold-deep: #A07840;
  --gold-soft: rgba(201,169,110,0.55);
  --wine: #5a273d;
  --glass-border: rgba(255,255,255,0.16);
  --text: rgba(255,255,255,0.95);
  --text-dim: rgba(255,255,255,0.82);
  --text-faint: rgba(255,255,255,0.45);
  --serif: "Prata", serif;
  --sans: "Montserrat", sans-serif;
}

*{ box-sizing:border-box; }

html,body{
  margin:0;
  padding:0;
  background: var(--bg-1);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

/* A rolagem fica só na página (html). Se o body também tivesse overflow, ele viraria uma segunda
   área rolável e faria aparecer uma barra extra quando uma animação passa da altura da tela. */
html{
  overflow-x: hidden;
  /* Barra de rolagem sempre presente: a tela não "dá um tranco" ao trocar de etapa no desktop */
  overflow-y: scroll;
}

body{
  min-height:100vh;
  position: relative;
}

/* ---------- FUNDO ---------- */
.bg-layer{
  position: fixed;
  inset: 0;
  z-index: 0;
  will-change: opacity;
  transition: opacity .7s ease;
  pointer-events: none;
}
.bg-base{
  background:
    radial-gradient(circle at 85% 12%, rgba(201,169,110,0.12) 0%, rgba(201,169,110,0) 45%),
    radial-gradient(circle at 10% 90%, rgba(90,39,61,0.45) 0%, rgba(90,39,61,0) 55%),
    linear-gradient(to right bottom, var(--bg-1), var(--bg-2));
  opacity: 1;
}
.bg-intro{
  background:
    radial-gradient(circle at 50% 45%, rgba(201,169,110,0.4) 0%, rgba(90,39,61,0.3) 40%, rgba(0,0,0,0) 70%),
    linear-gradient(to right bottom, var(--bg-1), var(--bg-2));
  opacity: 0;
}
body.intro-bg .bg-intro{ opacity: 1; }
body.intro-bg .bg-base{ opacity: 0; }

/* Orbs desfocados e faíscas douradas subindo */
.bg-fx{
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
/* Os orbs usam degradê radial em vez de filter: blur (muito mais leve para a placa de vídeo) */
.bg-fx .orb{
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  will-change: transform;
  animation: float 14s ease-in-out infinite alternate;
}
.bg-fx .orb.a{
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(201,164,93,1) 0%, rgba(201,164,93,0) 68%);
  top: -2%; left: -12%;
  opacity: 0.2;
}
.bg-fx .orb.b{
  width: 660px; height: 660px;
  background: radial-gradient(circle, rgba(125,58,86,1) 0%, rgba(125,58,86,0) 68%);
  top: 10%; right: -16%;
  opacity: 0.5;
  animation-delay: -5s;
}
#sparks{ position: absolute; inset: 0; }
.spark{
  position: absolute;
  bottom: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 6px 1px rgba(230,200,130,0.6);
  opacity: 0;
  will-change: transform, opacity;
  animation: rise linear infinite;
}
@keyframes rise{
  0%{ transform: translateY(0); opacity: 0; }
  15%{ opacity: 0.9; }
  100%{ transform: translateY(-110vh); opacity: 0; }
}
@keyframes float{
  0%{ transform: translate3d(0,0,0); }
  100%{ transform: translate3d(40px,30px,0); }
}
@media (prefers-reduced-motion: reduce){
  .spark, .bg-fx .orb{ animation: none; }
  .spark{ opacity: 0; }
}

body::before{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.2);
  z-index: 0;
  pointer-events: none;
}
#cover-screen, #wizard{
  position: relative;
  z-index: 1;
}

/* ---------- COVER ---------- */
#cover-screen{
  height:100vh;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 60px 24px;
}
#cover-screen > div{
  position: relative;
  z-index: 1;
}
.kicker{
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 22px;
}
#cover-screen h1{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #ffffff 0%, #fff0c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
#cover-screen .sub{
  font-size: clamp(12px, 1.8vw, 15px);
  color: var(--text-dim);
  margin-top: 14px;
  font-weight: 300;
  letter-spacing: 0.04em;
}
#cover-screen .divider{
  width:72px;
  height:1px;
  margin: 22px auto 26px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}
.btn-primary{
  position: relative;
  overflow: hidden;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(to right, var(--gold), var(--gold-deep));
  border: none;
  border-radius: 999px;
  padding: 15px 36px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-primary::after{
  content:"";
  position: absolute;
  top: 0; left: 0;
  width: 35%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-120%) skewX(-20deg);
  will-change: transform, opacity;
  animation: shine 3s ease-in-out infinite;
  pointer-events: none;
  opacity: 0;
}
/* o brilho anda por transform (compositor), não por left (que força repintura) */
@keyframes shine{
  0%{ transform: translateX(-120%) skewX(-20deg); opacity: 0; }
  20%{ opacity: 1; }
  60%{ transform: translateX(320%) skewX(-20deg); opacity: 0; }
  100%{ transform: translateX(320%) skewX(-20deg); opacity: 0; }
}
.btn-primary:hover{
  box-shadow:
    0 12px 30px rgba(0,0,0,0.3),
    0 0 24px rgba(201,169,110,0.4);
  transform: translateY(-2px);
}
.btn-primary:active{
  box-shadow:
    0 6px 16px rgba(0,0,0,0.32),
    0 0 30px rgba(201,169,110,0.5);
  transform: translateY(0);
}
.btn-primary:disabled{ opacity:0.35; cursor:not-allowed; transform:none; }
.btn-primary:disabled:hover, .btn-primary:disabled:active{ box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.btn-primary:disabled::after{ animation: none; opacity: 0; }
#cover-screen .btn-primary{
  font-size: 11px;
  padding: 13px 32px;
}

.btn-ghost{
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  padding: 15px 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color .15s ease, color .15s ease, transform .15s ease, background .15s ease;
}
.btn-ghost:hover{ background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; transform: translateY(-2px); }
.btn-ghost:active{ background: rgba(255,255,255,0.18); transform: translateY(0); }

/* ---------- WIZARD SHELL ---------- */
#wizard{ display:none; }

.progress-shell{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 6px;
  z-index: 50;
}
.progress-track{
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.3);
}
.progress-fill{
  position: absolute;
  top: 0; left: 0;
  height: 6px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-deep) 0%, var(--gold) 50%, var(--gold-light) 100%);
  border-radius: 0 3px 3px 0;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(201,169,110,0.6);
  transition: width .6s cubic-bezier(.4,0,.2,1);
  z-index: 1;
}
/* brilho que atravessa a barra de tempos em tempos (por transform, sem repintar a barra) */
.progress-fill::after{
  content:"";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
  transform: translateX(-100%);
  will-change: transform;
  animation: progressShine 2.8s ease-in-out infinite;
}
@keyframes progressShine{
  0%{ transform: translateX(-100%); }
  60%, 100%{ transform: translateX(350%); }
}
.question-marker{
  position: absolute;
  top: 50%;
  width: 2px;
  height: 2.7px;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.28);
  opacity: 0.7;
  transition: background .25s ease, opacity .25s ease;
}
.question-marker.active{
  background: var(--gold);
  opacity: 1;
}
.block-marker{
  position: absolute;
  top: 0;
  width: 4px;
  height: 6px;
  background: rgba(255,255,255,0.6);
  transform-origin: center center;
  transition: background .3s ease;
}
.block-marker.active{
  background: #fff;
  box-shadow: 0 0 8px rgba(201,169,110,0.9), 0 0 14px rgba(201,169,110,0.55);
}
.block-marker.pulse{
  animation: pulseMarker .6s ease;
}
@keyframes pulseMarker{
  0%{ transform: scale(1); }
  50%{ transform: scale(2.5); }
  100%{ transform: scale(1); }
}

/* Cabeçalho da caixa: etapa à esquerda, contador à direita, linha fina embaixo */
.panel-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.panel-block{
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-faint);
  line-height: 1;
}
.panel-count{
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.steps-viewport{
  max-width: 720px;
  margin: 0 auto;
  padding: 46px 24px;
  min-height: 100vh;
  display:flex;
  align-items:center;
}

#stepsContainer{
  width: 100%;
}

.step{
  display:none;
  width:100%;
  animation: fadeUp .4s ease;
}
.step.active{ display:block; }

@keyframes fadeUp{
  from{ opacity:0; transform: translateY(14px); }
  to{ opacity:1; transform: translateY(0); }
}

.panel{
  /* Sem backdrop-filter: borrar o fundo animado a cada quadro pesa muito. O fundo mais opaco mantém o visual de vidro. */
  background: linear-gradient(145deg, rgba(26,28,59,0.88) 0%, rgba(37,44,91,0.7) 48%, rgba(45,18,30,0.82) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 34px clamp(24px, 5vw, 56px) 44px;
  box-shadow: 0 14px 44px rgba(8,6,22,0.22);
}

.q label{
  display:block;
  margin: 0 0 30px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-wrap: balance;
  color: #fff;
  font-weight: 400;
}
/* o número da pergunta já aparece no cabeçalho da caixa ("3 / 10") */
.q label .qnum{ display: none; }
.q label .optional{
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-faint);
}

/* Telas com mais de uma pergunta (dados básicos, filhos/empreende): rótulos menores e espaçamento entre elas */
.step-multi .q label{
  font-size: 18px;
  margin-bottom: 14px;
}
.step-multi .q + .q{ margin-top: 26px; }
.step-multi .step-nav{ margin-top: 34px; }

/* Campo "Outro: fale mais": só aparece quando a opção "Outro" está marcada */
.other-field{
  display: none;
  margin-top: 14px;
}
.other-field.show{
  display: block;
  animation: fadeIn .25s ease;
}

textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
select.phone-country{
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: 14px;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  padding: 18px 20px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea{
  line-height: 1.7;
  resize: none;
  min-height: 120px;
}
textarea::placeholder,
input::placeholder{ color: var(--text-faint); font-style: normal; }
textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select.phone-country:focus{
  outline:none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}

/* Telefone */
.phone-field{
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) 1.2fr;
  gap: 12px;
}
select.phone-country{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: rgba(26,28,59,0.9);
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%),
    linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
  cursor: pointer;
}
select.phone-country option{ color: #111; background: #fff; }

/* Escolhas */
.choice-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}
.choice-card{
  display: flex;
  align-items: center;
  min-height: 60px;
  text-align: left;
  cursor: pointer;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.02);
  color: var(--text-dim);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  transition: border-color .2s ease, background .2s ease, transform .15s ease, color .2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}
.choice-card:hover{ border-color: var(--gold-soft); transform: translateY(-2px); }
.choice-card.selected{
  border-color: var(--gold);
  background: rgba(201,169,110,0.12);
  color: #fff;
  box-shadow: 0 0 0 1px var(--gold) inset, 0 0 20px rgba(201,169,110,0.18);
}

/* Erros */
textarea.invalid, input.invalid{
  border-color: #ff5c5c;
  animation: shakeField .35s ease;
}
.q.has-invalid .phone-field input,
.q.has-invalid .phone-field select{
  border-color: #ff5c5c;
}
.q.has-invalid .choice-card{
  border-color: rgba(255,92,92,0.6);
}
.q.has-invalid .choice-card.selected{
  border-color: var(--gold);
}
@keyframes shakeField{
  0%, 100%{ transform: translateX(0); }
  25%{ transform: translateX(-5px); }
  75%{ transform: translateX(5px); }
}
.field-error{
  display:none;
  margin-top: 12px;
  font-size: 13px;
  color: #ff7a7a;
  font-weight: 500;
}
.field-error.show{ display:block; animation: fadeIn .25s ease; }
@keyframes fadeIn{
  from{ opacity:0; transform: translateY(-4px); }
  to{ opacity:1; transform: translateY(0); }
}

.submit-status{
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 500;
  min-height: 1.2em;
  color: var(--text-dim);
}
.submit-status.success{ color: #4ade80; }
.submit-status.error{ color: #ff7a7a; }

/* ---------- OVERLAY DE ENVIO ---------- */
.submit-overlay{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(10,11,23,0.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.submit-overlay.active{
  opacity: 1;
  pointer-events: all;
}
.submit-spinner{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.14);
  border-top-color: var(--gold);
  animation: submitSpin .85s linear infinite;
}
@keyframes submitSpin{
  to{ transform: rotate(360deg); }
}
.submit-overlay-text{
  margin-top: 22px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  font-weight: 500;
}
.submit-overlay-text.success{ color: #4ade80; }
.submit-overlay-text.error{ color: #ff7a7a; }

/* ---------- STEP NAV (inline, inside card) ---------- */
.step-nav{
  display:flex;
  align-items:center;
  gap: 14px;
  margin-top: 40px;
}

@media (max-width: 640px){
  .steps-viewport{ padding: 34px 16px; }
  .panel{ padding: 24px 20px 30px; }
  .q label{ font-size: 20px; margin-bottom: 24px; }
  .step-multi .q label{ font-size: 17px; margin-bottom: 12px; }
  .step-multi .q + .q{ margin-top: 22px; }
  .step-nav{ margin-top: 32px; }
  .choice-card{ min-height: 56px; }
  .btn-primary, .btn-ghost{ padding: 14px 22px; }
  .step-nav{ flex-wrap: wrap; }
  .choice-grid{ grid-template-columns: 1fr; }
  .phone-field{ grid-template-columns: 1fr; }
  .bg-fx .orb.a{ width: 380px; height: 380px; }
  .bg-fx .orb.b{ width: 440px; height: 440px; }
}

/* ---------- OBRIGADO ---------- */
.thank-you-note{
  max-width: 480px;
  margin: 0 auto 26px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-dim);
  font-weight: 300;
}
.btn-whatsapp{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-whatsapp:hover{
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3), 0 0 24px rgba(37,211,102,0.35);
}
.btn-whatsapp[hidden], .thank-you-note[hidden]{ display: none; }
.btn-whatsapp svg{
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ---------- MOVIMENTO E SUAVIDADE ---------- */

/* Troca de etapa: a atual sai e a nova entra pelo lado, conforme avança ou volta */
.step.from-right{ animation: slideInRight .42s cubic-bezier(.2,.7,.2,1) both; }
.step.from-left{ animation: slideInLeft .42s cubic-bezier(.2,.7,.2,1) both; }
.step.leaving{
  opacity: 0;
  transform: translateX(var(--out, -14px));
  pointer-events: none;
  animation: none;
  transition: opacity .15s ease, transform .15s ease;
}
@keyframes slideInRight{ from{ opacity: 0; transform: translateX(22px); } to{ opacity: 1; transform: none; } }
@keyframes slideInLeft{ from{ opacity: 0; transform: translateX(-22px); } to{ opacity: 1; transform: none; } }

/* Capa e formulário: transição entre os dois */
#cover-screen{ transition: opacity .3s ease, transform .3s ease; }
#cover-screen.leaving{ opacity: 0; transform: translateY(-12px); pointer-events: none; }
/* Só opacidade: um deslize para baixo aumentaria a altura da página por um instante e faria a barra piscar */
#cover-screen.entering{ animation: fadeIn .5s ease both; }
#wizard{ transition: opacity .25s ease; }
#wizard.leaving{ opacity: 0; pointer-events: none; }
#wizard.entering{ animation: fadeIn .45s ease both; }
@keyframes fadeIn{ from{ opacity: 0; } to{ opacity: 1; } }

/* Entrada escalonada dos elementos da capa e da página de obrigado */
.cover-inner > *{ animation: fadeUp .7s ease backwards; }
.cover-inner > :nth-child(1){ animation-delay: .05s; }
.cover-inner > :nth-child(2){ animation-delay: .15s; }
.cover-inner > :nth-child(3){ animation-delay: .25s; }
.cover-inner > :nth-child(4){ animation-delay: .35s; }
.cover-inner > :nth-child(5){ animation-delay: .45s; }
.cover-inner > :nth-child(6){ animation-delay: .55s; }
.cover-inner > :nth-child(7){ animation-delay: .65s; }

.cover-meta{
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
}
#cover-screen .btn-primary{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-arrow{
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
  position: relative;
  transition: transform .25s ease;
}
.btn-arrow::after{
  content:"";
  position: absolute;
  right: 0; top: 50%;
  width: 7px; height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn-primary:hover .btn-arrow{ transform: translateX(5px); }

/* Opções entram em cascata e afundam ao pressionar */
.choice-card{ animation: fadeUp .4s ease backwards; animation-delay: calc(var(--i, 0) * 60ms + 120ms); }
.choice-card:active{ transform: scale(0.985); }
.btn-ghost:active, .btn-primary:active{ transform: scale(0.97); }

/* Aviso rápido (ex.: bloco concluído) */
.toast{
  position: fixed;
  left: 50%;
  top: 26px;
  z-index: 150;
  max-width: calc(100vw - 32px);
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(26,28,59,0.94);
  border: 1px solid var(--gold-soft);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35), 0 0 18px rgba(201,169,110,0.15);
  opacity: 0;
  transform: translate(-50%, -14px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.toast.show{
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
  transition: opacity .25s ease, transform .25s ease, visibility 0s;
}

/* Envio: o spinner vira um check animado quando conclui */
.submit-icon{ position: relative; width: 52px; height: 52px; }
.submit-spinner{
  position: absolute;
  inset: 0;
  transition: opacity .25s ease, transform .25s ease;
}
.submit-overlay.done .submit-spinner{ opacity: 0; transform: scale(0.6); animation: none; }
.submit-check{
  position: absolute;
  inset: -6px;
  width: 64px;
  height: 64px;
  overflow: visible;
}
.submit-check-circle, .submit-check-mark{
  fill: none;
  stroke: #4ade80;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 145;
  stroke-dashoffset: 145;
}
.submit-check-mark{ stroke-dasharray: 40; stroke-dashoffset: 40; }
.submit-overlay.done .submit-check-circle{ animation: drawLine .6s ease .1s forwards; }
.submit-overlay.done .submit-check-mark{ animation: drawLine .4s ease .55s forwards; }
@keyframes drawLine{ to{ stroke-dashoffset: 0; } }

/* Obrigado: o botão do WhatsApp chama atenção com um pulso suave */
.btn-whatsapp{ position: relative; }
.btn-whatsapp::after{
  content:"";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(37,211,102,0.6);
  will-change: transform, opacity;
  animation: waPulse 2.4s ease-out 1.2s infinite;
  pointer-events: none;
}
/* anel que cresce e some (transform + opacity, sem repintar) */
@keyframes waPulse{
  0%{ transform: scale(1); opacity: 0.7; }
  70%, 100%{ transform: scale(1.18, 1.55); opacity: 0; }
}

@media (max-width: 640px){
  .panel-head{ padding-bottom: 16px; margin-bottom: 24px; }
  .panel-block{ letter-spacing: 0.22em; }
  .toast{ top: 22px; }
}

/* ---------- FOTO DA LIZ ---------- */

/* Capa (celular): foto no topo, esmaecendo para o texto logo abaixo */
#cover-screen.has-photo{
  flex-direction: column;
  height: auto;
  min-height: 100vh;
  padding: 28px 24px 44px;
}
.cover-photo{
  position: relative;
  z-index: 1;
  width: min(280px, 68vw);
  aspect-ratio: 1 / 1;
  margin-bottom: -34px;
  pointer-events: none;
  animation: photoIn 1.1s cubic-bezier(.2,.7,.2,1) .05s backwards;
}
.cover-photo::before{
  content:"";
  position: absolute;
  inset: 4% -6% 10%;
  z-index: -1;
  /* closest-side: o brilho apaga por completo antes de chegar às bordas da caixa, sem corte reto */
  background: radial-gradient(ellipse closest-side at 50% 45%, rgba(201,169,110,0.42) 0%, rgba(125,58,86,0.28) 50%, rgba(125,58,86,0) 100%);
}
.cover-photo img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
}
@keyframes photoIn{
  from{ opacity: 0; transform: translateY(26px) scale(0.97); }
  to{ opacity: 1; transform: none; }
}

/* Capa (desktop): foto à esquerda, colada na base da tela, e texto à direita */
@media (min-width: 900px){
  #cover-screen.has-photo{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 24px;
    height: 100vh;
    min-height: 0;
    padding: 0 clamp(32px, 6vw, 96px);
    text-align: left;
  }
  .cover-photo{
    order: 1;
    width: 100%;
    max-width: min(78vh, 600px);
    margin: 0;
    align-self: end;
    justify-self: center;
  }
  .cover-photo::before{ inset: 6% 0 0; }
  .cover-photo img{ -webkit-mask-image: none; mask-image: none; }
  #cover-screen.has-photo .cover-inner{
    order: 2;
    justify-self: start;
    max-width: 560px;
    text-align: left;
  }
  #cover-screen.has-photo .divider{ margin-left: 0; margin-right: 0; background: linear-gradient(90deg, var(--gold-soft), transparent); }
}

/* Obrigado: avatar redondo com aro dourado */
.avatar-ring{
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  box-shadow: 0 0 28px rgba(201,169,110,0.35);
}
.avatar-ring img{
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: radial-gradient(circle at 50% 35%, #6b3a5a 0%, #3a1c34 55%, #1f1a3a 100%);
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
