/* Era Porto Bessa · páginas de qualificação · layout premium
   Tokens provisórios extraídos de era.pt (ver brand/guia-marca-era.md). */
:root {
  --era-red: #C8102E;
  --era-red-hover: #AA0E27;
  --era-red-active: #8A1538;
  --era-indigo: #250E62;
  --era-indigo-deep: #160843;
  --era-indigo-ink: #0E052E;
  --era-text: #2C323C;
  --era-grey: #68788C;
  --era-line: #E4E6EE;
  --era-border: #CDD4D9;
  --era-bg-soft: #EDEFF7;
  --era-paper: #FBFAFD;
  --era-success: #32BE3F;
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hero-img: none; /* definir na página: url('../assets/hero-clientes.webp') */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--era-text); background: var(--era-paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ───────────────────────── Layout ───────────────────────── */
.shell { min-height: 100vh; display: grid; grid-template-columns: 1fr; }

/* HERO (lado escuro) */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: 58vh; padding: 26px 24px 64px; display: flex; flex-direction: column;
  background: radial-gradient(120% 90% at 85% 0%, #3A1F8F 0%, transparent 55%),
              linear-gradient(165deg, var(--era-indigo) 0%, var(--era-indigo-deep) 60%, var(--era-indigo-ink) 100%);
}
.hero::before { /* foto (quando existir) */
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: var(--hero-img) center / cover no-repeat;
  transform: scale(1.04); animation: heroIn 1.6s var(--ease) both;
}
.hero::after { /* véu para legibilidade + grão */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,5,46,.55) 0%, rgba(14,5,46,.15) 35%, rgba(14,5,46,.85) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-roof { /* telhado ERA em traço fino, como elemento arquitetónico */
  position: absolute; z-index: -1; right: -12%; top: 14%; width: 92%; max-width: 760px; opacity: .09; pointer-events: none;
}
.hero-top { display: flex; align-items: center; justify-content: space-between; }
.hero-logo { height: 84px; width: auto; }
.hero-contact { font-family: var(--font-head); font-size: 12.5px; letter-spacing: .4px; opacity: .8; text-decoration: none; display: none; }
.hero-contact:hover { opacity: 1; }

.hero-body { margin-top: auto; padding-top: 48px; max-width: 620px; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 500;
  font-size: 11.5px; letter-spacing: 2.4px; text-transform: uppercase; color: rgba(255,255,255,.82); margin-bottom: 18px;
}
.kicker::before { content: ''; width: 28px; height: 2px; background: var(--era-red); }
.hero h1 {
  font-family: var(--font-head); font-weight: 300; font-size: clamp(32px, 8.4vw, 64px);
  line-height: 1.06; letter-spacing: -1.2px; margin-bottom: 18px; text-wrap: balance;
}
.hero h1 strong { font-weight: 600; position: relative; white-space: nowrap; }
.hero h1 strong::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: .09em; background: var(--era-red);
  transform-origin: left; animation: underline 1s .5s var(--ease) both;
}
.hero-sub { font-size: clamp(15px, 1.4vw, 17.5px); color: rgba(255,255,255,.78); max-width: 520px; }

.hero-proof {
  display: none; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 620px;
}
.proof-item b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 14px; color: #fff; margin-bottom: 2px; }
.proof-item span { font-size: 12.5px; color: rgba(255,255,255,.62); line-height: 1.4; display: block; }
.hero-foot { display: none; margin-top: 28px; font-size: 11.5px; color: rgba(255,255,255,.45); letter-spacing: .3px; }

/* PAINEL (lado claro) */
.panel {
  position: relative; background: var(--era-paper); margin-top: -32px; border-radius: 28px 28px 0 0;
  padding: 30px 20px 40px; box-shadow: 0 -18px 40px -24px rgba(14,5,46,.45);
}
.panel-inner { max-width: 470px; margin: 0 auto; }

.stepper { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 12px; color: var(--era-grey); margin-bottom: 22px; }
.stepper .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; border: 1.5px solid var(--era-border); color: var(--era-grey); }
.stepper .on { color: var(--era-indigo); font-weight: 500; }
.stepper .on .dot { background: var(--era-indigo); border-color: var(--era-indigo); color: #fff; }
.stepper .bar { flex: 1; height: 1px; background: var(--era-line); }

.panel h2 { font-family: var(--font-head); font-weight: 500; color: var(--era-indigo); font-size: 21px; line-height: 1.25; letter-spacing: -.3px; margin-bottom: 6px; }
.panel .lead { font-size: 14.5px; color: var(--era-grey); margin-bottom: 22px; }

/* Escolha de intenção */
.intent { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.intent input { position: absolute; opacity: 0; pointer-events: none; }
.intent label {
  position: relative; display: flex; flex-direction: column; gap: 10px; cursor: pointer; background: #fff;
  border: 1px solid var(--era-line); border-radius: 16px; padding: 16px 14px 14px;
  box-shadow: 0 1px 2px rgba(14,5,46,.04); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.intent label:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(37,14,98,.35); }
.intent .i-icon { width: 38px; height: 38px; border-radius: 12px; background: var(--era-bg-soft); display: grid; place-items: center; transition: background .25s; }
.intent .i-icon svg { width: 22px; height: 22px; }
.intent .i-title { font-family: var(--font-head); font-weight: 600; color: var(--era-indigo); font-size: 15px; line-height: 1.2; }
.intent .i-desc { font-size: 12.5px; color: var(--era-grey); line-height: 1.35; }
.intent label::after {
  content: ''; position: absolute; top: 14px; right: 14px; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--era-border); transition: all .25s;
}
.intent input:checked + label { border-color: var(--era-indigo); box-shadow: 0 0 0 1px var(--era-indigo), 0 14px 30px -18px rgba(37,14,98,.5); }
.intent input:checked + label .i-icon { background: var(--era-indigo); }
.intent input:checked + label .i-icon svg * { stroke: #fff; }
.intent input:checked + label::after { border-color: var(--era-red); background: var(--era-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5 9.3 2.6 2.6L13 6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.intent input:focus-visible + label { outline: 2px solid var(--era-indigo); outline-offset: 3px; }

/* Formulário */
.form { display: flex; flex-direction: column; gap: 14px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--era-indigo); margin-bottom: 7px; }
.field input {
  width: 100%; height: 52px; font: inherit; font-size: 16px; color: var(--era-text); background: #fff;
  border: 1px solid var(--era-line); border-radius: 12px; padding: 0 16px; transition: border-color .2s, box-shadow .2s;
}
.field input:hover { border-color: var(--era-border); }
.field input:focus { outline: none; border-color: var(--era-indigo); box-shadow: 0 0 0 4px rgba(37,14,98,.09); }
.field input::placeholder { color: #A3ADBA; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
.horario-especifico { margin-top: 14px; }
.horario-especifico label { letter-spacing: 0; text-transform: none; }

.phone-group { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.phone-group select {
  height: 52px; font: inherit; font-size: 15px; color: var(--era-text); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%2368788C' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 10px center / 12px no-repeat;
  border: 1px solid var(--era-line); border-radius: 12px; padding: 0 26px 0 12px; appearance: none; -webkit-appearance: none; cursor: pointer;
}
.phone-group select:focus { outline: none; border-color: var(--era-indigo); box-shadow: 0 0 0 4px rgba(37,14,98,.09); }
.phone-group select:disabled { background-image: none; color: var(--era-text); opacity: 1; cursor: default; }
.field-hint { font-size: 11.5px; color: var(--era-grey); margin-top: 6px; }
.seg.seg-4 { grid-template-columns: repeat(4, 1fr); }
.seg.seg-4 label { font-size: 12.5px; padding: 8px 2px; letter-spacing: -.1px; }
.seg label small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 10.5px; opacity: .75; margin-top: 1px; }
.link-btn { background: none; border: 0; padding: 8px 0 0; font: 500 13px var(--font-head); color: var(--era-indigo); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--era-red); }
.hora-exata { display: grid; grid-template-columns: 1fr 120px; gap: 8px; margin-top: 8px; animation: rise .3s var(--ease) both; }
.hora-exata[hidden] { display: none; }
.hora-exata select, .hora-exata input {
  height: 48px; font: inherit; font-size: 15px; color: var(--era-text); background: #fff; border: 1px solid var(--era-line); border-radius: 12px; padding: 0 12px; }
.hora-exata select:focus, .hora-exata input:focus { outline: none; border-color: var(--era-indigo); box-shadow: 0 0 0 4px rgba(37,14,98,.09); }
.seg.seg-off { opacity: .45; }
.seg.seg-off input:checked + label { background: transparent; box-shadow: none; color: var(--era-grey); }
.seg-label { font-family: var(--font-head); font-weight: 500; font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--era-indigo); margin-bottom: 7px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--era-bg-soft); border-radius: 12px; padding: 4px; gap: 4px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { text-align: center; font-family: var(--font-head); font-size: 13px; font-weight: 500; color: var(--era-grey); padding: 9px 4px; border-radius: 9px; cursor: pointer; transition: all .2s; }
.seg input:checked + label { background: #fff; color: var(--era-indigo); box-shadow: 0 2px 8px -2px rgba(14,5,46,.18); }
.seg input:focus-visible + label { outline: 2px solid var(--era-indigo); }

.privacy { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--era-grey); line-height: 1.5; margin-top: 2px; }
.privacy input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--era-indigo); flex: none; }
.privacy a { color: var(--era-indigo); text-underline-offset: 2px; }
.form-error { display: none; font-size: 13px; color: var(--era-red-active); background: rgba(200,16,46,.06); border-left: 3px solid var(--era-red); border-radius: 6px; padding: 10px 12px; }
.form-error.visible { display: block; }

.btn-cta {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  height: 58px; padding: 0 10px 0 22px; font-family: var(--font-head); font-weight: 500; font-size: 16px; letter-spacing: .2px; color: #fff;
  background: var(--era-red); border: 0; border-radius: 14px; cursor: pointer; margin-top: 4px;
  box-shadow: 0 14px 28px -14px rgba(200,16,46,.75); transition: background .25s, transform .15s, box-shadow .25s;
}
.btn-cta .arrow { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.16); display: grid; place-items: center; transition: transform .3s var(--ease); }
.btn-cta .arrow svg { width: 18px; height: 18px; }
.btn-cta:hover { background: var(--era-red-hover); }
.btn-cta:hover .arrow { transform: translateX(3px); }
.btn-cta:active { background: var(--era-red-active); transform: translateY(1px); }
.form-footer { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--era-grey); margin-top: 14px; }
.form-footer svg { width: 14px; height: 14px; }

.next { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--era-line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.next-item { font-size: 12px; color: var(--era-grey); line-height: 1.4; }
.next-item b { display: block; font-family: var(--font-head); font-weight: 600; color: var(--era-red); font-size: 12px; letter-spacing: 1px; margin-bottom: 4px; }

/* ───────────────────────── Chat ───────────────────────── */
.chat { display: none; }
.chat.visible { display: block; animation: rise .6s var(--ease) both; }
.chat-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.chat-avatar { position: relative; width: 46px; height: 46px; border-radius: 14px; flex: none; background: var(--era-indigo); display: grid; place-items: center; }
.chat-avatar img { width: 30px; height: auto; }
.chat-avatar::after { content: ''; position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--era-success); border: 2.5px solid var(--era-paper); }
.chat-name { font-family: var(--font-head); font-weight: 600; color: var(--era-indigo); font-size: 15px; line-height: 1.2; }
.chat-role { font-size: 12.5px; color: var(--era-grey); }

.chat-back {
  margin-left: auto; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px 0 8px;
  font: 500 13px var(--font-head); color: var(--era-indigo); background: #fff; border: 1px solid var(--era-line); border-radius: 10px; cursor: pointer; transition: border-color .2s, background .2s;
}
.chat-back svg { width: 16px; height: 16px; }
.chat-back:hover { border-color: var(--era-indigo); }
.chat-back:disabled { opacity: .4; cursor: default; }
.chat-progress { margin-bottom: 14px; }
.chat-progress[hidden] { display: none; }
.chat-progress-label { display: flex; justify-content: space-between; font-family: var(--font-head); font-size: 11.5px; letter-spacing: .4px; color: var(--era-grey); margin-bottom: 8px; }
.chat-progress-label b { color: var(--era-indigo); font-weight: 600; }
.chat-progress-bar { height: 4px; border-radius: 4px; background: var(--era-line); overflow: hidden; }
.chat-progress-fill { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--era-indigo), var(--era-red)); transition: width .8s var(--ease); }

.chat-window { background: #fff; border: 1px solid var(--era-line); border-radius: 20px; box-shadow: 0 24px 50px -32px rgba(14,5,46,.4); overflow: hidden; }
.chat-messages { display: flex; flex-direction: column; gap: 10px; height: min(58vh, 520px); overflow-y: auto; padding: 18px 16px 12px; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 12px 15px; border-radius: 18px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; animation: rise .4s var(--ease) both; }
.msg.bot { align-self: flex-start; background: var(--era-bg-soft); color: var(--era-text); border-bottom-left-radius: 6px; }
.msg.user { align-self: flex-end; background: var(--era-indigo); color: #fff; border-bottom-right-radius: 6px; }
.msg.typing { display: flex; gap: 5px; padding: 15px 16px; }
.msg.typing .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--era-indigo); opacity: .35; animation: blink 1.2s infinite; }
.msg.typing .dot:nth-child(2) { animation-delay: .2s; }
.msg.typing .dot:nth-child(3) { animation-delay: .4s; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: stretch; padding-left: 2px; animation: rise .4s var(--ease) both; }
.chip {
  font: inherit; font-family: var(--font-head); font-size: 13.5px; font-weight: 500; color: var(--era-indigo); background: #fff;
  border: 1px solid #CFCBE3; border-radius: 99px; padding: 9px 15px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.chip:hover { border-color: var(--era-indigo); transform: translateY(-1px); }
.chip:focus-visible { outline: 2px solid var(--era-indigo); outline-offset: 2px; }
.chip[aria-pressed="true"] { background: var(--era-indigo); color: #fff; border-color: var(--era-indigo); }
.chip[aria-pressed="true"]::before { content: '✓ '; }
.chip-confirm { background: var(--era-red); border-color: var(--era-red); color: #fff; }
.chip-confirm:hover { background: var(--era-red-hover); border-color: var(--era-red-hover); }
.chip-confirm:disabled { opacity: .4; cursor: default; transform: none; }
.chips-hint { width: 100%; font-size: 12px; color: var(--era-grey); }

.chat-input-row { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--era-line); background: #fff; }
.chat-input { flex: 1; min-width: 0; font: inherit; font-size: 16px; border: 0; background: var(--era-paper); border-radius: 12px; padding: 0 14px; height: 46px; }
.chat-input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--era-indigo); }
.chat-send { width: 46px; height: 46px; flex: none; border-radius: 12px; border: 0; background: var(--era-red); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.chat-send:hover { background: var(--era-red-hover); }
.chat-send:disabled { background: var(--era-border); cursor: default; }
.chat-send svg { width: 18px; height: 18px; }
.chat-note { text-align: center; font-size: 11.5px; color: var(--era-grey); margin-top: 12px; }

/* ───────────────────────── Agradecimento ───────────────────────── */
.thanks { display: none; }
.thanks.visible { display: block; animation: rise .7s var(--ease) both; }
.thanks-badge { width: 56px; height: 56px; border-radius: 18px; background: var(--era-indigo); display: grid; place-items: center; margin-bottom: 20px; box-shadow: 0 14px 30px -14px rgba(37,14,98,.7); }
.thanks-badge svg { width: 26px; height: 26px; }
.thanks h2 { font-family: var(--font-head); font-weight: 300; color: var(--era-indigo); font-size: clamp(26px, 6vw, 32px); line-height: 1.15; letter-spacing: -.6px; margin-bottom: 12px; }
.thanks h2 strong { font-weight: 600; }
.thanks > p { font-size: 15px; margin-bottom: 18px; }

.profile-card { background: #fff; border: 1px solid var(--era-line); border-radius: 18px; padding: 18px 18px 6px; margin: 6px 0 18px; box-shadow: 0 20px 40px -30px rgba(14,5,46,.45); }
.profile-card h3 { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-head); font-weight: 600; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--era-indigo); margin-bottom: 8px; }
.profile-card h3 span { font-size: 11px; letter-spacing: .5px; text-transform: none; font-weight: 500; color: var(--era-grey); }
.profile-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--era-line); font-size: 14px; }
.profile-row:first-of-type { border-top: 0; }
.profile-row dt { color: var(--era-grey); }
.profile-row dd { color: var(--era-text); font-weight: 600; text-align: right; }

.timeline { list-style: none; margin: 4px 0 20px; }
.timeline li { position: relative; padding: 0 0 16px 36px; font-size: 14px; color: var(--era-text); }
.timeline li::before { content: attr(data-n); position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%; background: var(--era-bg-soft); color: var(--era-indigo); font: 600 11.5px var(--font-head); display: grid; place-items: center; }
.timeline li::after { content: ''; position: absolute; left: 11.5px; top: 26px; bottom: 2px; width: 1px; background: var(--era-line); }
.timeline li:last-child::after { display: none; }
.timeline b { font-family: var(--font-head); font-weight: 500; color: var(--era-indigo); display: block; font-size: 14px; }

.store-card { display: flex; gap: 14px; align-items: center; background: var(--era-indigo); color: #fff; border-radius: 18px; padding: 16px; margin-top: 4px; }
.store-card img { width: 44px; flex: none; }
.store-card .s-name { font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.store-card .s-meta { font-size: 12.5px; opacity: .75; line-height: 1.45; }
.store-card a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.btn-ghost { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; margin-top: 12px; border-radius: 14px; border: 1px solid var(--era-indigo); color: var(--era-indigo); font: 500 14.5px var(--font-head); text-decoration: none; transition: background .2s, color .2s; }
.btn-ghost:hover { background: var(--era-indigo); color: #fff; }
.thanks .note { font-size: 12.5px; color: var(--era-grey); margin-top: 16px; }

/* Plano de Compra · Valor real da zona */
.tool-card { position: relative; background: #fff; border: 1px solid var(--era-line); border-radius: 20px; padding: 20px 18px 16px; margin: 4px 0 18px; box-shadow: 0 24px 50px -34px rgba(14,5,46,.5); overflow: hidden; }
.tool-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--era-indigo), var(--era-red)); }
.tool-head h3 { font-family: var(--font-head); font-weight: 600; color: var(--era-indigo); font-size: 18px; letter-spacing: -.2px; margin: 8px 0 4px; }
.tool-head p { font-size: 13.5px; color: var(--era-grey); margin-bottom: 14px; }
.tool-tag { display: inline-block; font: 600 10.5px var(--font-head); letter-spacing: 1.4px; text-transform: uppercase; color: var(--era-red); background: rgba(200,16,46,.07); padding: 4px 9px; border-radius: 99px; }
.range-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--era-grey); margin-bottom: 8px; }
.range-label b { font: 600 20px var(--font-head); color: var(--era-indigo); letter-spacing: -.3px; }
input[type="range"] { --p: 30%; -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; margin: 4px 0 16px; cursor: pointer;
  background: linear-gradient(90deg, var(--era-indigo) var(--p), var(--era-line) var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--era-indigo); box-shadow: 0 4px 10px -2px rgba(14,5,46,.35); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--era-indigo); }
input[type="range"]:focus-visible { outline: 2px solid var(--era-indigo); outline-offset: 6px; }
.tool-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--era-line); font-size: 14px; }
.tool-row span { color: var(--era-grey); }
.tool-row em { font-style: normal; font-size: 11px; color: var(--era-success); background: rgba(50,190,63,.1); padding: 1px 6px; border-radius: 99px; margin-left: 4px; }
.tool-row b { font-weight: 600; color: var(--era-text); white-space: nowrap; }
.tool-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px -18px 0; padding: 14px 18px; background: var(--era-indigo); color: #fff; }
.tool-total { flex-wrap: wrap; }
.tool-total span { font-size: 13px; opacity: .8; flex: 1 1 150px; }
.tool-total b { font: 600 19px var(--font-head); white-space: nowrap; }
.tool-chip { font-size: 13px; color: var(--era-text); background: var(--era-bg-soft); border-radius: 12px; padding: 10px 12px; margin-top: 10px; }
.tool-highlight { font-size: 13px; line-height: 1.5; color: var(--era-text); background: rgba(50,190,63,.08); border-left: 3px solid var(--era-success); border-radius: 8px; padding: 10px 12px; margin-top: 10px; }
.tool-highlight.alt { background: rgba(37,14,98,.06); border-left-color: var(--era-indigo); }
.tool-highlight b { color: var(--era-indigo); }
.tool-note { font-size: 11.5px; color: var(--era-grey); line-height: 1.5; margin-top: 12px; }
.zone-big { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.zone-big b { font: 600 34px var(--font-head); color: var(--era-indigo); letter-spacing: -1px; }
.zone-big span { font-size: 13px; color: var(--era-grey); }
.zone-trend { display: inline-block; font: 600 12px var(--font-head); padding: 3px 9px; border-radius: 99px; margin: 6px 0 16px; }
.zone-trend.up { color: #1F8A2B; background: rgba(50,190,63,.1); }
.zone-trend.down { color: var(--era-red); background: rgba(200,16,46,.08); }
.zone-scale { position: relative; height: 10px; border-radius: 10px; background: var(--era-line); }
.zone-band { position: absolute; top: 0; bottom: 0; border-radius: 10px; background: linear-gradient(90deg, rgba(37,14,98,.35), var(--era-indigo)); }
.zone-scale i { position: absolute; top: -4px; width: 4px; height: 18px; margin-left: -2px; border-radius: 2px; background: var(--era-red); }
.zone-legend { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--era-grey); margin: 8px 0 4px; }
.zone-legend span:nth-child(2) { text-align: center; }
.zone-legend span:first-child, .zone-legend span:last-child { font-weight: 600; color: var(--era-text); white-space: nowrap; }

.legal { text-align: center; font-size: 11px; color: var(--era-grey); margin-top: 26px; line-height: 1.6; }
.demo-flag { position: fixed; bottom: 10px; right: 10px; z-index: 9; font: 600 11px var(--font-head); background: #FFC107; color: #2C323C; padding: 5px 9px; border-radius: 6px; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes heroIn { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: scale(1.04); } }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: .8; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ───────────────────────── Desktop ───────────────────────── */
@media (min-width: 980px) {
  .shell { grid-template-columns: minmax(0, 1.08fr) minmax(480px, .92fr); }
  .hero { position: sticky; top: 0; height: 100vh; min-height: 640px; padding: 40px 56px 44px; }
  .hero-logo { height: 104px; }
  .hero-contact { display: inline-block; }
  .hero-proof { display: grid; }
  .hero-foot { display: block; }
  .panel { margin: 0; border-radius: 0; box-shadow: none; padding: 64px 56px 48px; display: flex; flex-direction: column; justify-content: center; min-height: 100vh; }
  .panel-inner { width: 100%; }
  .chat-messages { height: min(52vh, 540px); }
}
@media (min-width: 1400px) { .hero { padding: 48px 80px 52px; } .panel { padding: 72px 80px; } }

/* etiqueta com o nome da loja escrito normalmente */
.tool-tag--mixed { text-transform: none; letter-spacing: .6px; }

/* Zonas que encaixam */
.zone-list { list-style: none; display: grid; gap: 10px; }
.zone-list li { border-top: 1px solid var(--era-line); padding-top: 10px; }
.zone-list b { font: 600 15px var(--font-head); color: var(--era-indigo); }
.zone-list span { font-size: 12px; color: var(--era-grey); margin-left: 8px; }
.zone-list p { font-size: 13.5px; color: var(--era-text); margin-top: 2px; }
/* Viabilidade */
.tool-row em.v-justo { color: #9A6A00; background: rgba(230,160,0,.12); }
.tool-row em.v-apertado { color: var(--era-red); background: rgba(200,16,46,.08); }
/* Retrato do candidato */
.retrato { display: grid; gap: 14px; }
@media (min-width: 560px) { .retrato { grid-template-columns: 1fr 1fr; } }
.retrato-col h4 { font: 600 12px var(--font-head); letter-spacing: .6px; color: var(--era-grey); margin-bottom: 6px; }
.retrato-col ul { list-style: none; display: grid; gap: 6px; }
.retrato-col li { font-size: 13.5px; padding: 8px 10px; border-radius: 10px; background: var(--era-bg-soft); }
.retrato-col.forte li { background: rgba(50,190,63,.08); border-left: 3px solid var(--era-success); }
.retrato-col.dev li { background: rgba(37,14,98,.05); border-left: 3px solid var(--era-indigo); }
/* Retomar conversa */
.resume-banner { display: grid; gap: 10px; background: #fff; border: 1px solid var(--era-line); border-left: 3px solid var(--era-red); border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; font-size: 14px; }
.resume-banner b { font-family: var(--font-head); font-weight: 600; color: var(--era-indigo); }
.resume-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.resume-actions button { font: 600 13px var(--font-head); border-radius: 99px; padding: 8px 14px; cursor: pointer; border: 1px solid var(--era-indigo); background: var(--era-indigo); color: #fff; }
.resume-actions button + button { background: transparent; color: var(--era-indigo); }
.primeiro-acesso { margin-top: 0; }
/* Consultor com cara */
.consultor-card { display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 16px; align-items: center; background: #fff; border: 1px solid var(--era-line); border-radius: 20px; padding: 16px 18px; margin: 4px 0 18px; }
.consultor-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.consultor-card span { display: block; font: 600 10.5px var(--font-head); letter-spacing: 1.2px; text-transform: uppercase; color: var(--era-red); }
.consultor-card b { font: 600 17px var(--font-head); color: var(--era-indigo); }
.consultor-card p { font-size: 13.5px; color: var(--era-grey); }
/* Testemunhos */
.quotes { display: grid; gap: 16px; }
.quote { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 4px 14px; border-top: 1px solid var(--era-line); padding-top: 14px; }
.quote img { grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote blockquote { font-size: 14px; font-style: italic; color: var(--era-text); }
.quote figcaption { font-size: 12.5px; color: var(--era-grey); }
.quote figcaption b { color: var(--era-indigo); font-weight: 600; }
.btn-agenda { text-decoration: none; justify-content: center; margin: 4px 0 18px; }
.retrato-col:only-child { grid-column: 1 / -1; }
.tool-row em.v-info { color: var(--era-grey); background: var(--era-bg-soft); }

.svc-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.svc-list li { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px; border-radius: 12px; background: var(--era-bg-soft); }
.svc-list b { font: 600 14px var(--font-head); }
.svc-list p { margin: 2px 0 0; font-size: 12.5px; color: var(--era-text); }
.svc-btn { flex: none; border: 1px solid var(--era-indigo); color: var(--era-indigo); background: #fff; border-radius: 10px; padding: 8px 10px; font: 500 12.5px var(--font-head); cursor: pointer; }
.svc-btn[aria-pressed="true"] { background: var(--era-indigo); color: #fff; }
