:root{
  --bg:#f7f3ec;
  --card:#ffffff;
  --text:#172033;
  --muted:#6b7280;
  --line:#e7e7ea;
  --gold:#d0aa1a;
  --gold-dark:#bd9710;
  --gold-soft:#fff8dc;
  --green:#16a34a;
  --red:#dc2626;
  --shadow:0 26px 72px rgba(15,23,42,.10);
}

*{
  box-sizing:border-box;
  -webkit-tap-highlight-color:transparent;
}

html,
body{
  margin:0;
  min-height:100%;
}

body{
  font-family:'Poppins',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  background:
    radial-gradient(circle at top left, rgba(208,170,26,.12), transparent 30%),
    linear-gradient(180deg, #fffdf8 0%, var(--bg) 100%);
  color:var(--text);
}

button,
input{
  font:inherit;
}

button{
  border:none;
}

svg{
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.page-shell{
  width:100%;
  min-height:100dvh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 16px;
}

.simulator-card{
  width:100%;
  max-width:560px;
  min-height:710px;
  background:var(--card);
  border:1px solid rgba(231,231,234,.95);
  border-radius:34px;
  box-shadow:var(--shadow);
  padding:24px 30px 28px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

.brand-header{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
}

.logo{
  width:208px;
  max-width:76%;
  height:auto;
  display:block;
  opacity:.88;
}

.brand-caption{
  margin:0;
  color:#8b94a3;
  font-size:12.5px;
  line-height:1.45;
  text-align:center;
}

.progress{
  width:100%;
  height:8px;
  background:#eef1f4;
  border-radius:999px;
  overflow:hidden;
  margin-bottom:16px;
}

.progress-bar{
  width:0%;
  height:100%;
  background:linear-gradient(90deg,var(--gold),#e6bf38);
  border-radius:999px;
  transition:width .3s ease;
}

.step{
  flex:1;
  display:flex;
  min-height:0;
  animation:fadeUp .28s ease;
}

.step.hidden{
  display:none;
}

.step-body{
  width:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:20px;
  padding:8px 0 2px;
}

.intro-body{
  justify-content:center;
  gap:26px;
}

.loading-body{
  justify-content:center;
  gap:20px;
}

.step-copy{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.step-copy.centered{
  text-align:center;
  align-items:center;
}

.eyebrow{
  margin:0;
  color:var(--gold);
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

h1{
  margin:0;
  font-size:33px;
  line-height:1.16;
  font-weight:700;
  letter-spacing:-.02em;
  color:var(--text);
}

.lead{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.66;
  font-weight:400;
}

.step-tip{
  margin:0;
  color:#8a93a2;
  font-size:12.5px;
  line-height:1.45;
  font-weight:500;
}

.info-card{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:16px 18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fcfcfd;
  color:#505a6b;
  font-size:14px;
  line-height:1.6;
}

.info-icon{
  flex:0 0 38px;
  width:38px;
  height:38px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:var(--gold-soft);
  color:#ae8b0f;
}

.info-icon svg{
  width:18px;
  height:18px;
}

.option-grid{
  display:grid;
  gap:12px;
}

.option-card{
  width:100%;
  min-height:74px;
  padding:15px 46px 15px 18px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  color:var(--text);
  text-align:left;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  transition:border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
  position:relative;
}

.option-card::after{
  content:'';
  position:absolute;
  right:18px;
  top:50%;
  width:10px;
  height:10px;
  border-right:2px solid #c9cdd4;
  border-bottom:2px solid #c9cdd4;
  transform:translateY(-50%) rotate(-45deg);
}

.option-card span{
  font-size:16px;
  line-height:1.4;
  font-weight:600;
}

.option-card small{
  display:block;
  color:#7b8494;
  font-size:12.5px;
  line-height:1.42;
  font-weight:400;
}

.option-card:hover{
  transform:translateY(-1px);
  border-color:#d6c171;
  background:#fffef9;
  box-shadow:0 14px 30px rgba(208,170,26,.08);
}

.option-card.active{
  border-color:var(--gold);
  background:var(--gold-soft);
  box-shadow:0 14px 30px rgba(208,170,26,.10);
}

.option-card.active::after{
  border-color:#aa8610;
}

.form-block{
  display:flex;
  flex-direction:column;
  gap:0;
}

.field-label{
  display:block;
  margin:0 0 9px;
  color:#374151;
  font-size:13px;
  line-height:1;
  font-weight:600;
}

.field-label + .input-wrap{
  margin-bottom:16px;
}

.input-wrap{
  position:relative;
}

.input-icon{
  position:absolute;
  left:16px;
  top:50%;
  transform:translateY(-50%);
  width:18px;
  height:18px;
  color:#9ca3af;
  pointer-events:none;
}

input{
  width:100%;
  min-height:56px;
  padding:16px 16px 16px 46px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  color:var(--text);
  font-size:15px;
  line-height:1.3;
  font-weight:500;
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input::placeholder{
  color:#a0a8b5;
  font-weight:400;
}

input:hover{
  border-color:#d6dae1;
}

input:focus{
  border-color:var(--gold);
  box-shadow:0 0 0 4px rgba(208,170,26,.12);
}

.button-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:4px;
}

.primary-btn,
.secondary-btn,
.whatsbtn{
  width:100%;
  min-height:56px;
  padding:15px 18px;
  border-radius:18px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-size:15px;
  line-height:1.2;
  font-weight:600;
  transition:transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.primary-btn{
  margin-top:0;
  background:var(--gold);
  color:#fff;
  box-shadow:0 16px 30px rgba(208,170,26,.20);
}

.primary-btn svg,
.inline-btn svg,
.secondary-btn svg,
.whatsbtn svg{
  width:17px;
  height:17px;
}

.primary-btn:hover{
  transform:translateY(-1px);
  background:var(--gold-dark);
}

.secondary-btn{
  background:#fff;
  color:#8b6d06;
  border:1px solid rgba(208,170,26,.35);
}

.secondary-btn:hover{
  transform:translateY(-1px);
  border-color:var(--gold);
  background:#fffaf0;
}

.step-actions{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.loading-card{
  padding:26px 22px 20px;
  border:1px solid var(--line);
  border-radius:28px;
  background:linear-gradient(180deg,#ffffff 0%, #fcfcfd 100%);
  box-shadow:0 18px 40px rgba(15,23,42,.05);
}

.loading-card-lg{
  min-height:360px;
}

.loader-block{
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  width:110px;
  height:110px;
  margin:0 auto 18px;
}

.loader-ring{
  width:110px;
  height:110px;
  border-radius:50%;
  border:7px solid #eef1f4;
  border-top-color:var(--gold);
  animation:spin .95s linear infinite;
}

.loader-center{
  position:absolute;
  color:#b69210;
  font-size:24px;
  font-weight:700;
}

.loading-feed{
  position:relative;
  height:148px;
  overflow:hidden;
  margin-top:8px;
}

.loading-feed-item{
  position:absolute;
  left:0;
  width:100%;
  padding:16px 16px;
  border-radius:18px;
  border:1px solid #edf0f3;
  background:#fff;
  box-shadow:0 10px 24px rgba(15,23,42,.04);
  opacity:0;
  transform:translateY(42px) scale(.98);
  transition:all .45s ease;
}

.loading-feed-item strong{
  display:block;
  color:#233146;
  font-size:14.5px;
  line-height:1.35;
  font-weight:600;
}

.loading-feed-item small{
  display:block;
  margin-top:4px;
  color:#7b8494;
  font-size:12.5px;
  line-height:1.4;
  font-weight:400;
}

.loading-feed-item.is-active{
  top:72px;
  opacity:1;
  transform:translateY(0) scale(1);
  border-color:#ead58c;
  background:#fffef9;
}

.loading-feed-item.is-top{
  top:0;
  opacity:.72;
  transform:translateY(0) scale(.98);
}

.loading-feed-item.is-hidden{
  top:-68px;
  opacity:0;
  transform:translateY(-24px) scale(.96);
}

.privacy-note,
.disclaimer{
  margin:12px 0 0;
  color:#7b8494;
  font-size:12.5px;
  line-height:1.55;
  font-weight:400;
}

.result-main{
  padding:22px 22px 20px;
  border-radius:22px;
  background:linear-gradient(180deg,#f1fdf5,#ffffff);
  border:1px solid #b7e8c7;
}

.result-main span{
  display:block;
  color:var(--green);
  font-size:42px;
  line-height:1;
  font-weight:700;
  letter-spacing:-.03em;
}

.result-main small{
  display:block;
  margin-top:8px;
  color:#207245;
  font-size:13px;
  line-height:1.4;
  font-weight:500;
}

.compare{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.compare-box{
  padding:16px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
}

.compare-title{
  display:block;
  margin-bottom:8px;
  color:#7b8494;
  font-size:11px;
  line-height:1.2;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.compare-box strong{
  font-size:21px;
  line-height:1;
  font-weight:700;
}

.old{ color:var(--red); }
.new{ color:var(--green); }

.note-box{
  padding:15px 16px;
  border-radius:18px;
  background:#fcfcfd;
  border:1px solid var(--line);
  color:#566173;
  font-size:13px;
  line-height:1.58;
  font-weight:400;
}

.note-box strong{
  color:var(--text);
  font-weight:700;
}

.whatsbtn{
  background:#25D366;
  color:#fff;
  box-shadow:0 16px 30px rgba(37,211,102,.18);
}

.whatsbtn:hover{
  transform:translateY(-1px);
  background:#1ebe5b;
}

#resultado .step-body{
  gap:14px;
  justify-content:flex-start;
}

#resultado .step-copy{
  gap:8px;
}

.error-message{
  margin-top:14px;
  padding:13px 14px;
  border-radius:14px;
  background:#fff5f5;
  border:1px solid #fecaca;
  color:#b91c1c;
  font-size:13px;
  line-height:1.5;
  font-weight:500;
}

.is-shaking{
  animation:shake .28s ease;
}


/* Ajuste v5: CTA final mais longo sem quebrar o layout */
.whatsbtn{
  min-height:54px;
  padding-left:14px;
  padding-right:14px;
  font-size:14px;
  line-height:1.25;
  text-align:center;
}

.whatsbtn span{
  display:block;
}
