:root {
  --petroleo: #0E4A5A;
  --coral: #E8582A;
  --coral-hover: #D44C20;
  --menta: #2FBF8F;
  --menta-escuro: #1F9E74;
  --ambar: #F2B33D;
  --areia: #FBF7F1;
  --tinta: #14262E;
  --cinza: #5B6B72;
  --linha: #E6E1D8;
  --branco: #FFFFFF;
  --raio: 16px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--areia);
  color: var(--tinta);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
h1, h2, h3, .wm, .score-num { font-family: 'Plus Jakarta Sans', Arial, sans-serif; }
button { font-family: inherit; }

/* Barra de progresso */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 6px; background: rgba(14, 74, 90, .12); z-index: 50; }
.progress-fill { height: 100%; width: 0; background: var(--menta); border-radius: 0 4px 4px 0; transition: width .45s ease; }
.progress.hidden { display: none; }

/* Topo com marca */
.top { display: flex; justify-content: center; padding: 22px 16px 6px; }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand svg { width: 30px; height: 30px; flex: none; }
.wm { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; line-height: 1; }
.wm-a { color: var(--petroleo); }
.wm-b { color: var(--menta-escuro); }

.app { max-width: 560px; margin: 0 auto; padding: 8px 16px 48px; }
.screen { animation: fadeUp .35s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.block-label { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--menta-escuro); margin: 14px 0 6px; }
.q-title { font-size: 26px; line-height: 1.2; font-weight: 800; margin: 0 0 8px; color: var(--tinta); }
.q-sub { color: var(--cinza); margin: 0 0 18px; }

/* Opções */
.options { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: var(--branco); border: 2px solid var(--linha); border-radius: 14px;
  padding: 16px 16px; font-size: 16px; font-weight: 600; color: var(--tinta);
  cursor: pointer; transition: border-color .15s, background .15s, transform .1s;
}
.opt:hover { border-color: var(--petroleo); }
.opt:active { transform: scale(.99); }
.opt .mark { width: 22px; height: 22px; flex: none; border: 2px solid var(--petroleo); border-radius: 50%; display: grid; place-items: center; }
.opt.multi .mark { border-radius: 6px; }
.opt.selected { border-color: var(--menta-escuro); background: #EAF8F2; }
.opt.selected .mark { background: var(--menta-escuro); border-color: var(--menta-escuro); }
.opt.selected .mark::after { content: ''; width: 8px; height: 8px; background: #fff; border-radius: 50%; }
.opt.multi.selected .mark::after { width: 10px; height: 6px; background: none; border-radius: 0; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }

.btn {
  display: block; width: 100%; border: 0; border-radius: 14px; padding: 17px 20px;
  background: var(--coral); color: #fff; font-size: 18px; font-weight: 700; cursor: pointer;
  box-shadow: 0 6px 0 rgba(0,0,0,.08); transition: background .15s, transform .1s; text-align: center; text-decoration: none;
}
.btn:hover { background: var(--coral-hover); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: #C9C2B8; cursor: not-allowed; box-shadow: none; }
.btn-sec { background: var(--petroleo); }
.btn-sec:hover { background: #0B3C49; }
.mt { margin-top: 18px; }

/* Intro */
.intro { text-align: center; padding-top: 18px; }
.intro .hero-icon { width: 96px; height: 96px; margin: 10px auto 14px; }
.intro h1 { font-size: 30px; line-height: 1.15; margin: 0 0 12px; }
.intro p { color: var(--cinza); margin: 0 0 22px; font-size: 17px; }
.intro .note { font-size: 14px; color: var(--cinza); margin-top: 12px; }
.pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.pill { background: #fff; border: 1px solid var(--linha); border-radius: 99px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--petroleo); }

/* Dato */
.fact { background: #fff; border-radius: var(--raio); padding: 22px; border: 2px solid var(--linha); margin-top: 24px; }
.fact .tag { display: inline-block; background: #FFF4DA; color: #8A5B00; font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; margin-bottom: 10px; }
.fact p { font-size: 19px; font-weight: 600; margin: 0; line-height: 1.4; }

/* Chat */
.chat { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; padding-bottom: 8px; }
.chat-head { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 12px; border: 1px solid var(--linha); }
.chat-head .av { width: 38px; height: 38px; }
.chat-head b { display: block; font-size: 15px; }
.chat-head small { color: var(--menta-escuro); font-weight: 600; }
.msg { display: flex; gap: 8px; align-items: flex-end; max-width: 92%; animation: fadeUp .25s ease both; }
.msg .av { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.msg .av svg { width: 30px; height: 30px; }
.av-oficial { background: var(--tinta); color: #fff; }
.bubble { background: #fff; border: 1px solid var(--linha); border-radius: 16px 16px 16px 4px; padding: 10px 14px; font-size: 16px; }
.bubble .who { display: block; font-size: 12px; font-weight: 700; color: var(--cinza); margin-bottom: 2px; }
.msg.oficial .bubble { background: #EEF3F5; border-color: #D5E1E5; font-weight: 600; }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.msg.user .bubble { background: var(--petroleo); color: #fff; border-color: var(--petroleo); border-radius: 16px 16px 4px 16px; }
.msg.good .bubble { border-color: #9ADBC3; background: #EAF8F2; }
.msg.bad .bubble { border-color: #F7C9B6; background: #FFF1EB; }
.typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing i { width: 7px; height: 7px; background: #9AA8AE; border-radius: 50%; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.chat-options { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.chat-options .opt { padding: 13px 14px; font-size: 15px; border-radius: 12px; }

/* Captura */
.form { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.form label { font-size: 14px; font-weight: 600; color: var(--tinta); }
.form input[type=text], .form input[type=email], .form input[type=tel] {
  width: 100%; padding: 15px 14px; border-radius: 12px; border: 2px solid var(--linha); font-size: 16px; background: #fff; color: var(--tinta);
}
.form input:focus { outline: none; border-color: var(--petroleo); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--cinza); font-weight: 400 !important; }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.err { color: #B3261E; font-size: 14px; min-height: 18px; }
.lock { text-align: center; font-size: 13px; color: var(--cinza); }

/* Loading */
.loading { text-align: center; padding-top: 60px; }
.spinner { width: 64px; height: 64px; border-radius: 50%; border: 6px solid rgba(14,74,90,.15); border-top-color: var(--menta); margin: 0 auto 22px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading p { font-size: 18px; font-weight: 600; }

/* Resultado */
.result-head { text-align: center; margin-top: 8px; }
.result-head .hello { font-size: 18px; color: var(--cinza); margin: 0; }
.ring { position: relative; width: 200px; height: 200px; margin: 14px auto 6px; }
.ring svg { width: 200px; height: 200px; transform: rotate(-90deg); }
.ring .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.score-num { font-size: 56px; font-weight: 800; line-height: 1; }
.score-max { font-size: 16px; color: var(--cinza); font-weight: 600; }
.meters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.meter { background: #fff; border-radius: 14px; padding: 12px 14px; border: 1px solid var(--linha); }
.meter b { font-size: 15px; } .meter small { display: block; color: var(--cinza); font-size: 12px; }
.meter .val { font-family: 'Plus Jakarta Sans', Arial, sans-serif; font-weight: 800; font-size: 22px; margin-top: 4px; }
.bar { height: 8px; border-radius: 6px; background: #EFEAE2; margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; width: 0; transition: width 1s ease; }
.card { background: #fff; border-radius: var(--raio); padding: 18px; border: 1px solid var(--linha); margin-top: 14px; }
.card h2 { font-size: 21px; line-height: 1.25; margin: 0 0 8px; }
.card h3 { font-size: 16px; margin: 0 0 10px; }
.card p { margin: 0; color: #33464E; }
.card ul { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.card li { display: flex; gap: 10px; align-items: flex-start; }
.card li .dot { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; margin-top: 1px; }
.dot-warn { background: #FFF1D6; color: #8A5B00; }
.dot-q { background: #E6EEF1; color: var(--petroleo); }
.notice { background: #EAF8F2; border-color: #9ADBC3; }
.tip { background: #FFF8EC; border-color: #F5DDAA; }
.small-note { font-size: 12px; color: var(--cinza); text-align: center; margin-top: 16px; }
.sticky-cta { position: sticky; bottom: 12px; margin-top: 18px; }

/* VSL */
.vsl-wrap { max-width: 860px; margin: 0 auto; padding: 8px 16px 48px; }
.vsl-head { text-align: center; margin: 8px 0 14px; }
.vsl-head h1 { font-size: 26px; line-height: 1.2; margin: 6px 0 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--linha); border-radius: 99px; padding: 6px 12px; font-weight: 700; font-size: 14px; color: var(--petroleo); }
.video { position: relative; width: 100%; padding-top: 56.25%; border-radius: 14px; overflow: hidden; background: #0b1a1f; box-shadow: 0 10px 30px rgba(14,74,90,.18); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cta-area { max-width: 560px; margin: 22px auto 0; }
.cta-area .btn { font-size: 19px; padding: 19px 20px; }
.cta-hidden { display: none; }
.cta-show { animation: pop .45s ease both; }
@keyframes pop { 0% { opacity: 0; transform: scale(.94); } 100% { opacity: 1; transform: none; } }
.footer { text-align: center; font-size: 12px; color: var(--cinza); margin: 28px 0 0; }

@media (min-width: 640px) {
  .q-title { font-size: 30px; }
  .intro h1 { font-size: 36px; }
}
