html, body, .app {
  width: 100%;
  max-width: 100%;
}
/* =========================
   Design System — Superei
   ========================= */
:root{
  --azul:#3399FF; --verde:#6BBF59; --amarelo:#F7BA5C;
  --branco:#FFFFFF; --cinza-suave:#F8F4EC; --cinza-profundo:#333852; --cinza-medio:#6C6F7F;
  --shadow-sm:0 4px 12px rgba(0,0,0,.06); --shadow-md:0 10px 30px rgba(0,0,0,.08);
  --radius-lg:18px; --radius-md:14px; --radius-sm:12px;
  --transition-fast:160ms cubic-bezier(.22,.61,.36,1);
  --transition-slow:320ms cubic-bezier(.22,.61,.36,1);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  color: var(--cinza-profundo);
  background: var(--branco);
}

/* Layout base */
.app{ min-height:100dvh; display:grid; grid-template-rows:auto 1fr auto; }

.app-header{
  position: sticky; top:0; z-index:10;
  background:
    radial-gradient(120% 60% at 100% 100%, rgba(107,191,89,.10) 0%, rgba(107,191,89,0) 60%),
    radial-gradient(120% 60% at 0% 100%, rgba(51,153,255,.12) 0%, rgba(51,153,255,0) 60%),
    var(--branco);
  border-bottom: 1px solid rgba(0,0,0,.04);
  padding: 14px 16px 10px;
}

/* Botão voltar */
.back-btn{
  position:absolute; left:12px; top:14px;
  width:44px; height:44px; border:0; background:transparent;
  border-radius:999px; display:inline-grid; place-items:center;
  cursor:pointer; transition:transform var(--transition-fast), filter var(--transition-fast);
}
.back-btn:hover{ transform: translateX(-1px); filter: brightness(1.02); }
.back-btn__icon{ width:44px; height:44px; }
.back-btn.is-hidden{ visibility:hidden; pointer-events:none; }

/* Logo (PNG transparente) */
.brand{ display:flex; align-items:center; justify-content:center; padding:4px 0 10px; }
.brand-logo{
  width:72px; height:72px; border-radius:16px; object-fit:contain;
  background:
    radial-gradient(70% 70% at 50% 50%, rgba(51,153,255,.06) 0%, rgba(51,153,255,0) 70%),
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,0));
  padding:8px; box-shadow: var(--shadow-sm);
}

/* Progress */
.progress{ display:grid; gap:8px; }
.progress__track{
  width:100%; height:9px; background:linear-gradient(180deg,#F0F5FF 0%,#EAF2FF 100%);
  border-radius:999px; box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
}
.progress__bar{
  height:100%; width:0%;
  background: linear-gradient(90deg, var(--azul) 0%, var(--verde) 100%);
  border-radius:999px; transition: width var(--transition-slow);
  box-shadow: 0 4px 14px rgba(51,153,255,.35);
}
.progress__meta{ display:flex; justify-content:flex-end; }
.progress__text{ font-size:.84rem; color: var(--cinza-medio); }

/* Steps */
.steps{ padding:18px 16px 24px; max-width:720px; width:100%; margin:0 auto; }
.step{ display:none; animation: fadeIn var(--transition-slow); }
.step.is-active{ display:block; }

@keyframes fadeIn{ from{opacity:0; transform:translateY(6px)} to{opacity:1; transform:translateY(0)} }

.step__head{ margin-bottom:14px; }
.step__head.center{ text-align:center; }
.step__media{ display:flex; justify-content:center; margin:8px 0 10px; }
.step__media img{ max-width:280px; height:auto; border-radius:14px; box-shadow:var(--shadow-sm); }
.step__title{
  font-family:Poppins, Inter, sans-serif; font-weight:800;
  font-size: clamp(1.18rem, 1.6vw + 1rem, 1.6rem); line-height:1.2;
  margin:0 0 6px; letter-spacing:.2px;
}
.step__subtitle{ margin:0 0 6px; color: var(--cinza-medio); font-size:.98rem; }
.step__hint{ margin:2px 0 12px; color: var(--cinza-medio); font-size:.92rem; text-align:center; }

/* Cards com imagem (etapa 1) */
.grid-opts{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:14px 0 10px; }
.option-card{
  display:grid; place-items:center; gap:10px; background:var(--branco);
  border:1px solid rgba(51,153,255,.18); border-radius: var(--radius-lg);
  padding:12px 10px; box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  cursor:pointer;
}
.option-card:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }
.option-card.is-selected{ border-color: var(--azul); box-shadow: 0 8px 28px rgba(51,153,255,.22); }
.option-card:focus-visible{ outline:2px solid var(--azul); outline-offset:2px; }

.img-wrap{
  width:100%; max-width:200px; aspect-ratio:200/288;
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(51,153,255,.06) 0%, rgba(51,153,255,0) 70%),
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,0));
  border-radius:14px; display:grid; place-items:center; padding:8px;
}
.option-card__img{ width:100%; height:100%; object-fit:contain; display:block; }
.option-card__label{ font-weight:600; font-size:1rem; }

/* Opções em linha (single-select) */
.stack-opts{ display:grid; gap:10px; margin:12px 0; }
.option-line{
  width:100%; text-align:center; background:var(--branco);
  border:1px solid rgba(108,111,127,.25); border-radius: var(--radius-md);
  padding:14px; font-size:1rem; color: var(--cinza-profundo);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
  cursor:pointer;
}
.option-line:hover{ transform: translateY(-1px); box-shadow: var(--shadow-md); border-color: rgba(51,153,255,.35); }
.option-line.is-selected{
  border-color: var(--azul);
  box-shadow: 0 8px 28px rgba(51,153,255,.20);
  background: linear-gradient(0deg, rgba(51,153,255,0.06), rgba(51,153,255,0.06)), var(--branco);
}

/* =========================
   Etapa 13 — MULTI-SELEÇÃO
   ========================= */
.multi-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 12px 0;
}
@media (min-width: 480px){
  .multi-grid{ grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px){
  .multi-grid{ grid-template-columns: 1fr 1fr; }
}

.multi-card{
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  background: var(--branco);
  border: 1.5px solid rgba(108,111,127,.28);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.multi-card:hover{ transform: translateY(-1px); box-shadow: var(--shadow-md); border-color: rgba(51,153,255,.35); }
.multi-card__check{
  width: 24px; height: 24px; border-radius: 6px;
  background: linear-gradient(180deg,#fff,#fbfbfb);
  border: 1.5px solid rgba(108,111,127,.35);
  display: inline-grid; place-items: center;
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.multi-card__check svg{
  width: 16px; height: 16px; opacity: 0; transform: scale(.8); transition: opacity var(--transition-fast), transform var(--transition-fast);
}
.multi-card__label{
  text-align: left;
  font-size: .98rem;
  color: var(--cinza-profundo);
}

/* Selecionado */
.multi-card.is-selected{
  border-color: var(--azul);
  background: linear-gradient(0deg, rgba(51,153,255,0.05), rgba(51,153,255,0.05)), var(--branco);
  box-shadow: 0 8px 28px rgba(51,153,255,.16);
}
.multi-card.is-selected .multi-card__check{
  background: linear-gradient(90deg, var(--azul), var(--verde));
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(51,153,255,.35);
}
.multi-card.is-selected .multi-card__check svg{
  opacity: 1; transform: scale(1);
}

/* Botões */
.actions{ margin-top:10px; display:flex; gap:10px; justify-content:center; }
.btn{
  --btn-pad:14px 16px;
  appearance:none; border:0; border-radius:999px; padding:var(--btn-pad);
  font-weight:700; font-size:1rem; line-height:1;
  cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:8px;
  transition: filter var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.btn--primary{ background: var(--azul); color: var(--branco); box-shadow: 0 10px 24px rgba(51,153,255,.30); }
.btn--primary:hover{ filter: brightness(1.05); }
.btn[disabled]{ opacity:.6; cursor:not-allowed; filter: grayscale(.08); }

/* =========================
   Etapa 14 — Balão de citação + grid 2x2
   ========================= */
.quote-balloon{
  margin: 10px auto 14px;
  max-width: 720px;
  background: var(--cinza-suave);
  border: 1px solid rgba(108,111,127,.18);
  border-radius: 16px;
  padding: 14px 14px 16px;
  box-shadow: var(--shadow-sm);
  color: var(--cinza-profundo);
}
.quote-balloon em{
  display:block;
  font-style: italic;
}

/* Grid 2x2 de cartões com imagem quadrada */
.likert-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0;
}
.likert-card{
  display:grid;
  grid-template-rows: auto auto;
  justify-items:center;
  gap: 8px;
  background: var(--branco);
  border: 1.5px solid rgba(108,111,127,.28);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.likert-card:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(51,153,255,.35); }

.likert-card__imgwrap{
  width: 100%;
  max-width: 120px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(51,153,255,.06) 0%, rgba(51,153,255,0) 70%),
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,0));
  display:grid; place-items:center;
}
.likert-card__imgwrap img{
  width: 100%; height: 100%; object-fit: contain; display:block;
}
.likert-card__label{
  font-weight: 600;
  text-align: center;
  color: var(--cinza-profundo);
  font-size: .96rem;
}

/* Selecionado */
.likert-card.is-selected{
  border-color: var(--azul);
  background: linear-gradient(0deg, rgba(51,153,255,0.05), rgba(51,153,255,0.05)), var(--branco);
  box-shadow: 0 8px 28px rgba(51,153,255,.16);
}

/* Footer decorativo */
.app-footer{ height:72px; position:relative; }
.footer-gradient{
  position: absolute;
  inset: 0;
  /* degradê curto, só no final da página */
  background: radial-gradient(
    80% 65% at 50% 100%,
    rgba(247,186,92,0.16) 0%,
    rgba(247,186,92,0.10) 35%,
    rgba(247,186,92,0.00) 80%
  );
  pointer-events: none;
}

/* Acessibilidade — foco visível em todos botões */
button:focus-visible{ outline: 2px solid var(--azul); outline-offset: 2px; }

/* Responsivo */
@media (min-width:480px){
  .brand-logo{ width:78px; height:78px; }
  .option-card__label{ font-size:1.06rem; }
  .option-line{ padding:16px; font-size:1.02rem; }
}
@media (min-width:768px){
  .steps{ padding:22px 18px 30px; }
  .step__title{ font-size:1.8rem; }
}

/* ===== Termômetro (etapa 17) ===== */
.thermo{ display:grid; gap:12px; margin:16px 0 8px; }
.thermo__labels{ display:flex; justify-content:space-between; font-size:.9rem; color:var(--cinza-medio); }
.thermo__label-left,.thermo__label-right{ max-width:45%; }

.thermo__track{
  position:relative; height:18px; border-radius:999px;
  background:linear-gradient(180deg,#F0F5FF 0%,#EAF2FF 100%);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
  outline:none;
}
.thermo__fill{
  position:absolute; left:0; top:0; bottom:0; width:0%;
  border-radius:999px;
  background:linear-gradient(90deg, var(--azul) 0%, var(--verde) 100%);
  box-shadow: 0 4px 14px rgba(51,153,255,.35);
  transition: width var(--transition-slow);
}

/* 7 segmentos “clique/arraste” */
.thermo__seg{
  position:absolute; top:-8px; bottom:-8px; width:14.2857%;
  background:transparent; border:0; cursor:pointer;
}
.thermo__seg:focus-visible{ outline:2px solid var(--azul); outline-offset:2px; border-radius:8px; }

.thermo__seg:nth-of-type(1){ left:0%; }
.thermo__seg:nth-of-type(2){ left:14.2857%; }
.thermo__seg:nth-of-type(3){ left:28.5714%; }
.thermo__seg:nth-of-type(4){ left:42.8571%; }
.thermo__seg:nth-of-type(5){ left:57.1428%; }
.thermo__seg:nth-of-type(6){ left:71.4285%; }
.thermo__seg:nth-of-type(7){ left:85.7142%; right:0; }

.thermo__bubble{
  position:absolute; top:-44px; transform:translateX(-50%);
  padding:6px 10px; font-size:.9rem; font-weight:600; color:var(--branco);
  background:linear-gradient(90deg, var(--azul) 0%, var(--verde) 100%);
  border-radius:var(--radius-sm); box-shadow:var(--shadow-sm); white-space:nowrap;
  left:50%;
}
.thermo__hint{ text-align:center; color:var(--cinza-medio); font-size:.9rem; }

/* ===== Etapa 17 — Likert de círculos ===== */
.likert-circles{
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center;
  gap:10px; margin:12px 0 6px;
}
.likert-circles__edge{
  font-size:.9rem; color:var(--cinza-medio);
  white-space:nowrap;
}
.likert-circles__edge--left{ justify-self:start; }
.likert-circles__edge--right{ justify-self:end; color:var(--verde); font-weight:600; }

.likert-circles__dots{
  display:flex; align-items:center; gap:12px;
  padding:8px 10px; border-radius:999px;
  background: linear-gradient(180deg,#F0F5FF 0%,#EAF2FF 100%);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
}

.circle-dot{
  --size: 30px;
  width: var(--size); height: var(--size);
  border-radius:999px; border:2px solid rgba(51,153,255,.6);
  background:#fff;
  box-shadow: var(--shadow-sm);
  cursor:pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.circle-dot:hover{ transform: translateY(-1px); box-shadow: var(--shadow-md); }
.circle-dot:focus-visible{ outline:2px solid var(--azul); outline-offset:2px; }

.circle-dot--sm{ --size: 24px; }
.circle-dot--md{ --size: 30px; }
.circle-dot--lg{ --size: 36px; }
.circle-dot--xl{ --size: 44px; }
@media (max-width: 420px){
  .circle-dot--xl{ --size:40px; } .circle-dot--lg{ --size:34px; }
  .circle-dot--md{ --size:28px; } .circle-dot--sm{ --size:22px; }
  .likert-circles__edge{ font-size:.85rem; }
}

/* ===== Etapa 18 — Grade de Remédios ===== */
.meds-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr)); /* 4 fixo e nunca estoura */
  gap:8px;
  margin: 6px 0 10px;
}
@media (min-width:768px){ .meds-grid{ grid-template-columns: repeat(5, 1fr); } }

.med-card{
  display:grid; grid-template-rows: auto auto; gap:8px; justify-items:center;
  background: var(--branco);
  border: 1px solid rgba(108,111,127,.20);
  border-radius: 10px;
  padding:6px;
  box-shadow: var(--shadow-sm);
  cursor:pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.med-card:hover{ transform: translateY(-1px); box-shadow: var(--shadow-md); border-color: rgba(51,153,255,.35); }
.med-card:focus-visible{ outline:2px solid var(--azul); outline-offset:2px; }

.med-card__img{
  width:100%; aspect-ratio:1/1; border-radius:8px;
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(51,153,255,.06) 0%, rgba(51,153,255,0) 70%),
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,0));
  display:grid; place-items:center;
}
.med-card__img img{ width:80%; height:80%; object-fit:contain; display:block; }

.med-card__label{
  font-size:.76rem; line-height:1.15; letter-spacing:.1px; text-align:center; color: var(--cinza-profundo); font-weight:600;
}

.med-card.is-selected{
  border-color: transparent;
  background: linear-gradient(0deg, rgba(51,153,255,0.05), rgba(51,153,255,0.05)), var(--branco);
  box-shadow: 0 8px 28px rgba(51,153,255,.16);
}
.med-card.is-selected .med-card__img{
  box-shadow: 0 8px 24px rgba(51,153,255,.18);
  background: linear-gradient(90deg, var(--azul) 0%, var(--verde) 100%);
}
.med-card.is-selected .med-card__img img{ filter: brightness(1.0) saturate(1.02); }

@media (max-width: 360px){
  .meds-grid{ gap:6px; }
  .med-card{ padding:5px; border-radius:9px; }
  .med-card__img img{ width:78%; height:78%; }
  .med-card__label{ font-size:.72rem; }
}

/* Etapa 19 — caixa “outros sintomas” */
.other-input{
  width:100%; border-radius:12px; border:1.5px solid rgba(108,111,127,.28);
  padding:10px 12px; font-size:.95rem; color:var(--cinza-profundo);
  box-shadow: var(--shadow-sm);
}
.other-input:focus{ outline:2px solid var(--azul); outline-offset:2px; }

/* ===== Etapa 17 — Classificador refinado ===== */
.realiz{ display:grid; gap:12px; justify-items:center; margin: 8px 0 6px; }
.realiz__track{ width:100%; max-width:580px; padding: 8px 6px 2px; }
.realiz__dots{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  align-items:center;
  justify-items:center;
  gap: clamp(6px, 1.6vw, 12px);
}
.realiz__labels{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width:100%;
  max-width:580px;
  font-size:.92rem;
}
.realiz__label-left,
.realiz__label-right{
  display:inline-grid;
  justify-items:start;
  color: var(--cinza-medio);
}
.realiz__label-left { text-align:left; color:#E15241; }
.realiz__label-right{ text-align:right; color:#35B24D; justify-items:end; }
.label-line{ display:block; line-height:1.05; }

.circle-dot[data-value="0"]{ --dot:#E15241; --size: clamp(30px, 5.2vw, 40px); border-color: #E15241; }
.circle-dot[data-value="1"]{ --dot:#EA6A3C; --size: clamp(28px, 4.9vw, 38px); border-color: #EA6A3C; }
.circle-dot[data-value="2"]{ --dot:#F08A3C; --size: clamp(26px, 4.6vw, 36px); border-color: #F08A3C; }
.circle-dot[data-value="3"]{ --dot:#F2B23D; --size: clamp(24px, 4.3vw, 34px); border-color: #F2B23D; }
.circle-dot[data-value="4"]{ --dot:#B9D64A; --size: clamp(26px, 4.6vw, 36px); border-color: #B9D64A; }
.circle-dot[data-value="5"]{ --dot:#7BC96F; --size: clamp(28px, 4.9vw, 38px); border-color: #7BC96F; }
.circle-dot[data-value="6"]{ --dot:#35B24D; --size: clamp(30px, 5.2vw, 40px); border-color: #35B24D; }

.circle-dot.is-selected{
  background: var(--dot);
  border-color: var(--dot);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--dot) 40%, transparent);
  outline: 3px solid color-mix(in srgb, var(--dot) 18%, white);
  outline-offset: 2px;
}

/* ===== IA Funcionando (Etapa 23) ===== */
.ia-loader { display:flex; flex-direction:column; align-items:center; margin:28px 0; text-align:center; }
.ia-loader__imgwrap { width:100px; height:100px; display:grid; place-items:center; }
.ia-loader__img {
  width:80%; height:80%; opacity:.4; animation: iaPulseSoft 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(51,153,255,0.15));
}
@keyframes iaPulseSoft {
  0%,100% { transform: scale(0.92); opacity:.35; filter: brightness(0.7); }
  50% { transform: scale(1.08); opacity:.9; filter: brightness(1.1); }
}
.ia-loader__text {
  font-size:.94rem; color: rgba(0,0,0,0.45); margin-top:10px; font-weight:400;
  display:flex; align-items:center; gap:2px; letter-spacing:.3px; transition: opacity .4s ease;
}
.dots3{ display:inline-flex; align-items:flex-end; height:1em; margin-left:3px; }
.dots3 span{ width:5px; height:5px; margin:0 1px; border-radius:50%; background:var(--azul); opacity:.15; animation:blinkDot 1.4s infinite; }
.dots3 span:nth-child(2){ animation-delay:.2s; }
.dots3 span:nth-child(3){ animation-delay:.4s; }
@keyframes blinkDot{ 0%,80%,100%{ opacity:.2; transform:translateY(0) } 40%{ opacity:.9; transform:translateY(-3px) } }

.ia-result { display:flex; align-items:flex-start; gap:12px; margin-top:28px; opacity:0; animation: fadeIn .8s ease forwards; }
.ia-result__avatar { width:60px; height:60px; border-radius:50%; background: linear-gradient(135deg, rgba(51,153,255,.1), rgba(107,191,89,.1)); display:grid; place-items:center; box-shadow:0 4px 14px rgba(0,0,0,.1); }
.ia-result__avatar img { width:70%; height:70%; object-fit:contain; }
.ia-result__bubble {
  background: var(--cinza-suave); border:1px solid rgba(0,0,0,.08); border-radius:18px 18px 18px 6px;
  padding:12px 16px; box-shadow:var(--shadow-sm); position:relative; animation: fadeInUp .8s ease forwards;
}
.ia-result__bubble::before{
  content:""; position:absolute; left:-8px; bottom:10px; width:0; height:0;
  border-right:10px solid var(--cinza-suave); border-top:10px solid transparent; border-bottom:10px solid transparent;
}
.ia-result__bubble p{ margin:0; color:var(--cinza-profundo); font-size:1rem; font-weight:500; }

@keyframes fadeInUp { from{opacity:0; transform:translateY(10px)} to{opacity:1; transform:translateY(0)} }

/* ===== Etapa 23 — Gráfico Saúde Mental (versão final unificada) ===== */
.mental-chart {
  background: var(--cinza-suave);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 14px;
  margin-top: 20px;
  text-align: center;
  animation: fadeInUp .6s ease forwards;
}
.mental-chart__panel {
  position: relative;
  padding: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  border: 1px solid rgba(51, 153, 255, 0.10);
  border-radius: 16px;
  box-shadow: inset 0 1px 3px rgba(51,153,255,0.12), 0 6px 18px rgba(0,0,0,0.04);
}
#mentalChartCanvas {
  display: block;
  width: 100%;
  height: 280px;              /* bem mais alto */
  border-radius: 14px;
}
.mental-chart__title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--cinza-profundo);
  margin: 0 0 10px;
}
.mental-chart__badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 8px;
  position: relative;
}
.mental-chart__badge-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #E17E33;
  box-shadow: 0 0 0 2px #fff, 0 0 12px rgba(225,126,51,.45);
  animation: pulseDot 1.5s ease-in-out infinite;
}
.mental-chart__badge-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #B94A00;
  background: #FFF4EC;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #F1B089;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(247,186,92,.25);
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
}
.mental-chart__note {
  background: #FFF8F3;
  border: 1px solid #F2A679;
  color: #9A3E00;
  font-weight: 500;
  border-radius: 14px;
  padding: 12px;
  margin-top: 10px;
}
.mental-chart__desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #9A3E00;
}

@media (max-width: 360px){
  #mentalChartCanvas { height: 230px; }
}

/* ===== Utilidades ===== */
html, body, .app { overflow-x: clip; } /* evita scroll lateral */
@media (max-width: 380px){
  .steps{ padding-left:12px; padding-right:12px; }
}
/* ===== Avaliação dos Desencadeadores ===== */
.trigger-report {
  margin-top: 22px;
  background: var(--cinza-suave);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  animation: fadeInUp .8s ease forwards;
}
.trigger-report__title {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 800;
  text-align: center;
  color: var(--cinza-profundo);
}
.trigger-report__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Item */
.trigger-item {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
}
.trigger-item__head {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--cinza-profundo);
  font-size: .95rem;
}
.trigger-item__bar {
  height: 10px;
  border-radius: 999px;
  background: #F0F4FA;
  margin: 6px 0;
  overflow: hidden;
}
.trigger-item__bar .fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg,var(--azul) 0%,var(--verde) 100%);
  transition: width 1s ease;
}
.trigger-item__level {
  font-size: .86rem;
  font-weight: 600;
  text-align: right;
  color: var(--cinza-medio);
}

/* ===== Cores e destaques por intensidade ===== */

/* Alta – tons alaranjados de atenção */
.trigger-item.alto .fill {
  background: linear-gradient(90deg, #F7BA5C, #F29E3E);
}
.trigger-item.alto {
  border-color: rgba(247,186,92,.45);
  box-shadow: 0 6px 18px rgba(247,186,92,.18);
}
.trigger-item.alto .trigger-item__level {
  color: #C96900;
  font-weight: 600;
}

/* Acima do ideal – ainda é alto, então usa tom amarelado-avermelhado */
.trigger-item.acima .fill {
  background: linear-gradient(90deg, #F5C16E, #E68A3C);
}
.trigger-item.acima {
  border-color: rgba(230,138,60,.35);
  box-shadow: 0 6px 18px rgba(230,138,60,.18);
}
.trigger-item.acima .trigger-item__level {
  color: #B35400;
  font-weight: 600;
}

/* Muito alto – destaque intenso e animação pulsante */
.trigger-item.muito-alto .fill {
  background: linear-gradient(90deg, #E15241, #F7BA5C);
  box-shadow: 0 0 14px rgba(225,82,65,.45);
  animation: pulseFill 1.6s ease-in-out infinite;
}
.trigger-item.muito-alto {
  border: 1.5px solid rgba(225,82,65,.45);
  box-shadow: 0 8px 24px rgba(225,82,65,.25);
  transform: scale(1.02);
}
.trigger-item.muito-alto .trigger-item__name {
  color: #E15241;
  font-weight: 700;
}
.trigger-item.muito-alto .trigger-item__level {
  color: #E15241;
  font-weight: 700;
}

/* Animação de pulso para destaque */
@keyframes pulseFill {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.35); }
}
.is-hidden{ display:none !important; }

/* ===== Página de vendas da E24 ===== */
.sale24{
  overflow-x: hidden;
  display:grid;
  gap:18px;
  margin-top:5px;
}

/* ---------- FEATURES (ícones pequenos ao lado do texto) ---------- */
.sale24__features{
  display:grid;
  gap:12px;
  grid-template-columns: 1fr;
}
@media (min-width:640px){
  .sale24__features{ grid-template-columns: 1fr 1fr; }
}
.feature{
  display:grid;
  grid-template-columns: 44px 1fr; /* ícone à esquerda, texto à direita */
  align-items:center;
  gap:12px;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  padding:12px;
  box-shadow: var(--shadow-sm);
}
.feature__icon{
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius:10px;
  background: linear-gradient(180deg,#F0F5FF 0%,#EAF2FF 100%);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
}
.feature__icon .ico{ width:24px; height:24px; display:block; }
.feature__text{
  margin:0;
  font-weight:600;
  color: var(--cinza-profundo);
  line-height:1.25;
}

/* ---------- ANTES / DEPOIS (sempre lado a lado) ---------- */
.sale24__ba{
  margin-top: clamp(32px, 6vh, 64px);
  display:grid;
  gap:12px;
  grid-template-columns: 1fr 1fr; /* nunca empilha no mobile */
  align-items:start;
}
.ba-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:16px;
  padding:12px;
  box-shadow: var(--shadow-sm);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.ba-title{ margin:0; font-size:1rem; font-weight:800; }
.ba-title--before{ color:#E15241; }
.ba-title--after{  color:#35B24D; }

.ba-img{
  width:100%;
  max-width:240px;            /* imagens menores e contidas */
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:12px;
  margin-inline:auto;
}

/* Barras EMBAIXO dos rótulos (mais largas mesmo com pouco espaço) */
.ba-bars{ display:grid; gap:10px; }
.bar{
  display:grid;
  grid-template-rows: auto auto; /* rótulo em cima, barra embaixo */
  grid-template-columns: 1fr;
}
.bar > span{
  font-size:.92rem;
  color: var(--cinza-profundo);
  margin-bottom:4px;
  font-weight:600;
}
.bar__fill{
  height:12px;
  border-radius:999px;
  background:#E9EEF6;
}
.bar__fill--low-red{  background:linear-gradient(90deg,#E15241,#F7BA5C); }
.bar__fill--high-green{ background:linear-gradient(90deg,#7BC96F,#35B24D); }

/* ultra-estreitas */
@media (max-width:360px){
  .ba-img{ max-width:200px; }
}

/* ---------- CARTÃO DE OFERTA (wizard → loading → oferta) ---------- */
.offer-card{
  position:relative;
  background: linear-gradient(180deg,#FFFFFF 0%, #F7FAFF 100%);
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  padding:18px 16px;
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
}
.offer-card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(51,153,255,.45), rgba(107,191,89,.45), rgba(247,186,92,.45));
  filter: blur(10px);
  opacity: .35;
  z-index: -1;
}
.offer-card__title{
  margin:0 0 12px;
  font-size:1.12rem;
  font-weight:900;
  background: linear-gradient(90deg, var(--azul), var(--verde));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.offer-step{ display:grid; gap:12px; }
.offer-q{
  font-weight:800; color:#1d2b4f; font-size:1rem; margin:2px 0 6px;
}
/* Perguntas no estilo das etapas */
.offer-grid{
  display:grid; gap:10px;
}
.option-line.offer-opt{
  border-radius:12px; padding:12px 14px; text-align:left;
  border:1px solid #e4ecf9; background:#fff; color:#304057;
  font-weight:700; transition:transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.option-line.offer-opt:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
  border-color:#cfe1ff;
}
@media (min-width:560px){
  .offer-grid{ grid-template-columns: 1fr 1fr; }
}
.offer-opt{
  width:100%;
  text-align:center;
  background: var(--branco);
  border:1px solid rgba(108,111,127,.25);
  border-radius: var(--radius-md);
  padding:14px;
  font-weight:700;
  color: var(--cinza-profundo);
  box-shadow: var(--shadow-sm);
  cursor:pointer;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
}
.offer-opt:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border-color: rgba(51,153,255,.35);
}

/* Loading simulado (revisão por especialista) */
.offer-loading{
  background: linear-gradient(180deg,#ffffff 0%, #f9fbff 100%);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 16px 14px;
  box-shadow: var(--shadow-sm);
  display:grid; gap:12px;
}
.rev-title{
  font-weight:800; color:#1d2b4f; font-size:.98rem;
}
.rev-card{
  display:grid; grid-template-columns: 44px 1fr; gap:10px; align-items:center;
  background:#fff; border:1px solid #e9eef7; border-radius:12px; padding:10px 12px;
}
.rev-badge{
  width:44px; height:44px; border-radius:10px; background: linear-gradient(180deg,#f7fbff 0%,#eef7ff 100%);
}
.rev-badge::after{
  content:""; position:absolute; inset:0; border-radius:50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.9), transparent 60%);
}
.rev-info strong{ display:block; font-size:.98rem; }
.rev-info small{ color:#667389; }

.rev-progress-wrap{ display:grid; gap:8px; }
.rev-progress-bar{
  background:#eef3fb; border-radius:999px; height:8px; overflow:hidden;
}
.rev-progress-bar span{
  display:block; height:100%; background: linear-gradient(90deg, var(--azul), var(--verde));
  border-radius:999px; box-shadow: 0 6px 14px rgba(51,153,255,.35);
}
.rev-progress-text{ font-size:.9rem; color:#304057; }

/* Oferta final */
.offer-final {
  text-align: center;
  background: #fff;
  border-radius: 20px;
  padding: 28px 22px 36px;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
  max-width: 420px;
  margin: 40px auto 0;
  transition: all .3s ease;
}
.deal{ background: linear-gradient(180deg,#ffffff 0%, #f9fbff 100%); border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px; padding: 16px 14px; box-shadow: var(--shadow-sm); position: relative; }
.deal--revamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.deal-timer--top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;           /* permite quebrar em 2 linhas se precisar */
  text-align: center;
  line-height: 1.2;
  margin-bottom: 12px;       /* espaço do timer para o card */
}
.deal-timer--below{ justify-content:center; }
.deal-timer__label{
  opacity: .95;           /* leve destaque */
  letter-spacing: 0.3px;
}
.deal-timer__value {
  font-size: inherit;
  font-weight: 800;
  color: #FF6D00;
}
.price-hero--centered {
  margin-top: 4px;
}
.price-hero__oldnew {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.price-hero__oldnew .new {
  font-size: 40px;
  font-weight: 800;
  color: #00C853;
}
.price-hero__oldnew .cents {
  font-size: 22px;
}
.price-hero__oldnew .old {
  font-size: 18px;
  text-decoration: line-through;
  color: #999;
}
.deal-copy{
  margin:8px auto 10px;
  font-size:.9rem; line-height:1.45; color:#40536B;
  max-width: 32ch; text-align:center;
}
.btn-offer {
  margin-top: 4px;
  background: linear-gradient(90deg, #00C853 0%, #4CAF50 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  transition: transform .2s ease;
}
.btn-offer:hover {
  transform: scale(1.05);
}
.deal-copy--muted{
  margin:8px auto 10px;
  font-size:.9rem; line-height:1.45; color:#40536B;
  max-width: 34ch; text-align:center; opacity:.9;
}
.deal-trust {
  font-size: 13px;
  color: #666;
  margin-top: 8px;
}
.sale24__subtitle{
  margin: 6px 2px 4px;
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--cinza-profundo);
  text-align: left;
}
/* ===== Títulos principais da E24 ===== */
.sales-title{
  margin: 26px 0 12px;
  text-align: center;
  font-family: Poppins, Inter, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.2vw + 1rem, 1.8rem);
  letter-spacing: .2px;
  line-height: 1.15;
  color: #1d2b4f;
  position: relative;
}
@media (min-width: 420px){
  .sales-title { font-size: 1.6rem; }
}
.sales-title::after{
  content:"";
  display:block;
  width: 86px;
  height: 5px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #3399FF, #6BBF59);
  opacity:.85;
}
/* ---------- Sticky Showcase (sem moldura) ---------- */
.appshowcase{
  position: relative;
  margin: 20px 0;
  padding: 8px 0 0;
  border-radius: 22px;
  background:
    radial-gradient(120% 140% at 50% 0%, #eef7ff 0%, transparent 60%),
    linear-gradient(180deg, #f9fcff 0%, #f6fbf7 100%);
  overflow: hidden;
}

.appshowcase h3{
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0 16px 12px;
  background: linear-gradient(90deg, var(--azul, #0ea5e9), var(--verde, #22c55e));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.appshowcase__wrap{
  position: sticky;
  top: 12vh;          /* gruda perto do topo no mobile */
  height: 46vh;       /* área visível do showcase */
  display: grid;
  place-items: center;
  isolation: isolate;
}

/* telas empilhadas e centralizadas */
.appshowcase__screens{
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}
.appshowcase__screens img{
  position: absolute;
  width: min(84vw, 360px);   /* responsivo (mobile-first) */
  height: auto;
  opacity: 0;
  transform: translateY(6px) scale(.985);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
  pointer-events: none;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.18)); /* destaque */
}
.appshowcase__screens img.is-active{
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* halo/aquarela atrás – contido, não usa left/right negativos */
.appshowcase__halo{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(70% 60% at 30% 50%, color-mix(in srgb, var(--azul, #0ea5e9) 40%, white) 0%, transparent 60%),
    radial-gradient(70% 60% at 70% 50%, color-mix(in srgb, var(--verde, #22c55e) 40%, white) 0%, transparent 60%);
  filter: blur(26px) saturate(1.05);
  opacity: .8;
  clip-path: ellipse(120% 48% at 50% 50%);
  transform: rotate(-2deg) scaleX(1.18);
}

@media (min-width: 768px){
  .appshowcase__wrap{ top: 8vh; height: 64vh; }
  .appshowcase__markers{ padding-bottom: 28vh; gap: 30vh; }
}
#offerBtn{
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, #3399FF, #00A7FF);
  box-shadow: 0 12px 28px rgba(0,153,255,.40);
}
#offerBtn::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.4) 40%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .6s ease;
}
#offerBtn:hover::after{ transform: translateX(120%); }
#offerBtn:hover{ transform: translateY(-2px) rotate(-.2deg); }
.deal-trust .lock {
  margin-right: 4px;
}
.deal-pay {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.pay-badge {
  background: #F5F5F5;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  color: #333;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
@media (min-width:420px){
  .deal{ padding:18px 16px; }
  .deal-price .new{ font-size:2.6rem; }
}
/* Preço herói, com moeda/centavos menores */
.price-hero{
  display:grid; gap:6px; justify-items:center; margin-top: 6px;
}
.price-hero__old{
  display:flex; align-items:center; gap:8px;
  color:#8AA0B6; font-weight:800; opacity:.85;
}
.price-hero__new{
  display:flex; align-items:flex-end; justify-content:center;
}
.price-hero .new{
  font-size: 2.6rem;          /* maior que o padrão do projeto */
  font-weight: 900;
  color: #35B24D;
  line-height: 1;
  letter-spacing: .3px;
  text-shadow: 0 2px 12px rgba(53,178,77,.22);
}
.price-hero .old{
  font-size: 1.05rem;
  opacity: .65;
  text-decoration: line-through;
}
@media (min-width:420px){
  .price-hero .new{ font-size:2.8rem; }
}
.price-hero .old small{ font-size:.95em; opacity:.85; }
.price-hero .old-amount{ text-decoration: line-through; }   /* risca só “57” */
.price-hero .cents{ font-size:.55em; font-weight:900; margin-left:1px; opacity:.9; }
/* ---------- Seções auxiliares (FAQ + Garantia) ---------- */

.section-title{
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 1.25rem 0 .75rem;
  letter-spacing: .2px;
}

.section-title--tight{
  margin: 0;
}

.section-title__icon{
  font-size: 1.1em;
}

/* FAQ */
.faq-section{
  margin-top: 18px;
}

.faq{
  display: grid;
  gap: 10px;
}

.faq__item{
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
}

.faq__q{
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  background: linear-gradient(180deg,#F0F5FF 0%, #EAF2FF 100%);
  border: 0;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background .2s ease, color .2s ease;
  color: #304057;
}

.faq__item:is(:hover, .is-open) .faq__q{
  background: linear-gradient(180deg, rgba(51,153,255,.14), rgba(51,153,255,.06));
  color: #1d2b4f;
}

.faq__chev{
  transition: transform .2s ease;
}

.faq__item.is-open .faq__chev{
  transform: rotate(180deg);
}

.faq__a{
  padding: 0 16px 14px 16px;
  color: #40536B;
  line-height: 1.55;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}

.faq__item.is-open .faq__a{
  grid-template-rows: 1fr;
}

.faq__a > *{
  overflow: hidden;
}

/* Garantia */
.guarantee-section{
  margin-top: 18px;
}
.faq__a p{
  margin: 10px 0 0;
  line-height: 1.55;
}
.guarantee-card{
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(140% 120% at 0% 0%, rgba(255,193,90,.22), transparent 65%),
    radial-gradient(120% 120% at 100% 0%, rgba(79,195,247,.18), transparent 55%),
    #FFF9EF; /* bege claro */
  border: 1px solid #EEDCC2;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 24px;
  color: #304057;
  transition: transform .25s ease, box-shadow .25s ease;
}
.guarantee-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 42px rgba(0,0,0,.12);
}
.guarantee-titles{
  flex: 1;
  min-width: 240px;
}
.guarantee-head{
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.guarantee-card__head{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.section-title.section-title--tight{
  margin: 0;
  font-size: 1.5rem;      /* ~24px */
  font-weight: 800;
  color: #1d2b4f;          /* azul principal */
  line-height: 1.2;
  letter-spacing: .2px;
}
.guarantee-subtitle{
  margin-top: 4px;
  font-weight: 600;
  font-style: italic;
  font-size: 1rem;
  color: #0A8F5A;          /* verde confiança */
}
.guarantee-seal{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  min-width: 110px;
  background: linear-gradient(135deg, #FFE7B0, #FFC15A);
  color: #3A2A12;
  font-weight: 800;
  border: 1px solid #FFD894;
  box-shadow: 0 4px 12px rgba(255,138,0,.25);
  transition: transform .25s ease, box-shadow .25s ease;
}
.guarantee-seal:hover{
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(255,193,90,.4);
}
.guarantee-seal svg{
  margin-bottom: 6px;
  color: #3A2A12;
}
.guarantee-body{
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.guarantee-verified{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ECF5FF;      /* azul clarinho */
  color: #2f5da8;
  font-weight: 700;
  border: 1px solid #D7E7FF;
  font-size: .9rem;
}
.guarantee-card.is-appear{
  animation: gFloatIn .35s ease-out both;
}
.guarantee-body p{
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #40536B;
  max-width: 65ch;
}
.guarantee-body b{ color: #1d2b4f; }
.guarantee-card .section-title.section-title--tight::after{
  content: none !important;
  display: block;
  margin-top: 4px;
  font-weight: 600;
  font-size: .95rem;
  color: #2f5da8;
  opacity: .95;
}

.guarantee-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
  color: #1d2b4f !important;
  background: linear-gradient(135deg, #FFE8BB, #FFC15A);
  border: 1px solid #FFD899;
  box-shadow: 0 6px 16px rgba(255,138,0,.22);
}


.guarantee-card__text{
  color: #40536B !important;
  line-height: 1.6;
  font-size: .98rem;
  max-width: 62ch;        /* limita a linha pra ficar mais elegante */
  margin-top: 4px;
}

/* responsividade leve */
@media (min-width: 720px){
  .faq{
    grid-template-columns: 1fr 1fr;
  }
  .guarantee-card{
    padding: 20px;
  }
}
.faq-section .section-title,
.guarantee-section .section-title{
  color: #1d2b4f;
}
@media (min-width: 860px){
  .guarantee-card{
    padding: 22px;
  }
  .guarantee-card__head{
    gap: 16px;
  }
}
@keyframes gFloatIn{
  from{ opacity: 0; transform: translateY(8px); }
  to  { opacity: 1; transform: translateY(0); }
}

@media (min-width: 860px){
  .guarantee-card{ padding: 22px; }
  .guarantee-head{ gap: 16px; }
}
@media (max-width: 640px){
  .guarantee-head{
    flex-direction: column;
    align-items: flex-start;
  }
  .guarantee-seal{
    align-self: flex-start;
  }
}
.guarantee-card--center{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 26px 22px;
  /* usa seu mesmo fundo suave já aplicado na .guarantee-card */
}
.g-shield{
  width: 72px; height: 72px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg,#F0F5FF 0%, #EAF2FF 100%);
  box-shadow: 0 8px 22px rgba(51,153,255,.18), inset 0 1px 2px rgba(0,0,0,.06);
  color: var(--azul);         /* cores do projeto */
  margin-bottom: 4px;
}
.g-title{
  margin: 6px 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1d2b4f;
  letter-spacing: .2px;
}
.g-subtitle{
  margin: 2px 0 8px;
  font-style: italic;
  font-weight: 700;
  color: #0A8F5A;            /* verde de confiança (combina com tema) */
}
.g-text{
  margin: 6px 0 0;
  font-size: .98rem;
  line-height: 1.65;
  color: #40536B;
  max-width: 62ch;
}
.g-text b{ color:#1d2b4f; }
.g-text.g-muted{ color: var(--cinza-medio); }

.guarantee-badge{
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .9rem;
  color: #1d2b4f !important;
  background: linear-gradient(135deg, #FFE8BB, #FFC15A);
  border: 1px solid #FFD899;
  box-shadow: 0 6px 16px rgba(255,138,0,.22);
}
@media (min-width: 720px){
  .guarantee-card--center{ padding: 30px 26px; }
}
/* ===== Estado sem header (etapas 23 e 24) ===== */
body.no-header .step[data-step="23"],
body.no-header .step[data-step="24"]{
  padding-top: clamp(20px, 4vh, 36px);
  padding-bottom: clamp(16px, 4vh, 32px);  /* <= mais curto */
}

/* Mantém o layout ocupando a altura da viewport para evitar “buracos” */
.app-main {
  min-height: 100dvh;
}
body.no-header .app-footer{ display:block; }
.app { min-height: 100dvh; }  
/* === Remover degradê nas etapas 23 e 24 ===
   Nessas etapas o <body> recebe .no-header */
body.no-header .app-footer,
body.no-header .footer-gradient {
  display: none !important;
}
/* Espaço ENTRE o player Wistia e o 1º CTA "Adquirir meu plano" da etapa 24 */
section.step[data-step="24"] > .step__media {
  margin-bottom: 35px !important; /* ajuste: 48/64/80 ... */
}

/* (opcional) garante que o wrapper do CTA não colapse margem */
section.step[data-step="24"] #scrollToOfferWrap {
  margin-top: 0 !important;
}
/* ===== Oferta expirada ===== */
.offer-final.is-expired .deal-timer--top {
  display: none !important;
}
.offer-final.is-expired .price-hero__oldnew .arrow,
.offer-final.is-expired .price-hero__oldnew .new {
  display: none !important;
}
.offer-final.is-expired .price-hero__oldnew .old {
  text-decoration: none !important;
  font-size: 40px;
  color: #00C853 !important;   /* mesmo verde do promocional */
  opacity: 1 !important;       /* remove a opacidade reduzida do estilo base */
  font-weight: 800;             /* deixa com peso de destaque */
}
.offer-final.is-expired .price-hero__oldnew .old-amount {
  text-decoration: none !important;
}
.deal-timer--top .label {
  font-size: 14px;           /* menor que antes */
  font-weight: 600;
  white-space: nowrap;       /* tenta manter em uma linha */
}
.deal-timer--top .time,
.deal-timer--top #offerTimer {
  font-size: 18px;           /* menor que antes */
  font-weight: 800;
  white-space: nowrap;       /* evita 09:59 quebrar */
}
@media (max-width: 420px) {
  .deal-timer--top {
    flex-direction: column;
    gap: 4px;
  }
  .deal-timer--top .label {
    font-size: 13px;
  }
  .deal-timer--top .time,
  .deal-timer--top #offerTimer {
    font-size: 17px;
  }
}
/* Reserva do espaço do player Wistia (16:9) para evitar reflow */
.step__media {
  position: relative;
  border-radius: 12px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.step__media wistia-player {
  display: block;
  overflow: hidden;
  background: #0b1424;
  border-radius: 12px;
}
.wistia_placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .95;
  transition: opacity .25s ease;
}
.wistia_responsive_wrapper::before {
  content: "";
  display: block;
  padding-top: 56.25%;   /* 16:9 */
}

.wistia_responsive_wrapper .wistia_embed,
.step__media .wistia_embed {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.wistia-ready .wistia_placeholder {
  opacity: 0;
  pointer-events: none;
}
.wistia_responsive_wrapper {
  position: relative;
  overflow: hidden;
  background: #0b1424;
  border-radius: 12px;
}
/* === Rodapé da primeira etapa (termos) === */
.terms-text {
  font-size: 0.78rem;
  color: #777;
  text-align: center;
  max-width: 90%;
  margin: 2rem auto 0;
  line-height: 1.4;
  opacity: 0.8;
}

.terms-text a {
  color: #4FC3F7; /* azul suave Superei */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.terms-text a:hover {
  color: #00C853; /* verde principal Superei */
  opacity: 0.9;
}
.step[data-step="6"] img,
.step[data-step="7"] img,
.step[data-step="9"] img,
.step[data-step="10"] img,
.step[data-step="12"] img,
.step[data-step="15"] img {
  display: block;
  margin-top: 1.4rem; /* respiro entre título e imagem */
  margin-bottom: 0.6rem; /* leve espaço antes das opções */
  max-width: 85%;
  height: auto;
}
.step[data-step="3"] img,
.step[data-step="3"] video {
  display: block;
  margin: 1.2rem auto;
  max-height: 400px; /* controla o tamanho final */
  width: auto;       /* mantém a proporção original */
  border-radius: 12px; /* bordas suaves, opcional */
  object-fit: cover; /* evita deformação */
  object-position: center; /* centraliza o enquadramento */
}
/* Alternativas alinhadas à esquerda nas etapas de seleção única */
.step[data-step="2"] .option-line,
.step[data-step="2"] .option-card,
.step[data-step="4"] .option-line,
.step[data-step="4"] .option-card,
.step[data-step="5"] .option-line,
.step[data-step="5"] .option-card,
.step[data-step="6"] .option-line,
.step[data-step="6"] .option-card,
.step[data-step="7"] .option-line,
.step[data-step="7"] .option-card,
.step[data-step="8"] .option-line,
.step[data-step="8"] .option-card,
.step[data-step="9"] .option-line,
.step[data-step="9"] .option-card,
.step[data-step="10"] .option-line,
.step[data-step="10"] .option-card,
.step[data-step="11"] .option-line,
.step[data-step="11"] .option-card,
.step[data-step="12"] .option-line,
.step[data-step="12"] .option-card,
.step[data-step="13"] .option-line,
.step[data-step="13"] .option-card,
.step[data-step="15"] .option-line,
.step[data-step="15"] .option-card,
.step[data-step="16"] .option-line,
.step[data-step="16"] .option-card,
.step[data-step="18"] .option-line,
.step[data-step="18"] .option-card,
.step[data-step="20"] .option-line,
.step[data-step="20"] .option-card {
  text-align: left;
  justify-content: flex-start;
  padding-left: 1rem;
}
.step[data-step="1"] .step__title {
  font-weight: 700; /* mais forte que o padrão */
  color: #1b1b1b;
}

.step[data-step="1"] .step__subtitle {
  color: #888;
  font-weight: 400;
  opacity: 0.85;
}
.step[data-step="1"] .step__title{
  color: var(--azul);
  font-weight: 800;         /* mesmo peso dos outros títulos */
}

/* Pergunta (deve sobressair ao hint) */
.step[data-step="1"] .step__subtitle{
  color: var(--cinza-profundo);
  font-weight: 600;         /* mais forte que o hint */
  opacity: .98;
}

/* Hint (bem mais discreto que a pergunta) */
.step[data-step="1"] .step__hint{
  color: var(--cinza-medio);
  font-weight: 400;
  opacity: .85;
}
/* ===== Correção aprimorada — Etapa 18 (Remédios) ===== */
.step[data-step="18"] .med-card__label {
  white-space: nowrap;           /* impede quebra de linha */
  overflow: hidden;              /* esconde texto que ultrapassa o card */
  text-overflow: ellipsis;       /* adiciona "..." no final */
  text-align: center;
  display: block;
  max-width: 100%;
  font-size: 0.75rem;
  line-height: 1.15;
  padding: 0 3px;
  color: var(--cinza-profundo);
}

/* Mantém a imagem contida e bem centralizada */
.step[data-step="18"] .med-card__img {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}

.step[data-step="18"] .med-card__img img {
  width: 80%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* Ajustes específicos para telas menores */
@media (max-width: 420px) {
  .step[data-step="18"] .med-card__img img {
    width: 80%;
  }
  .step[data-step="18"] .med-card__label {
    font-size: 0.7rem;
  }
}
:root{
  --sup-green:#00C853;
  --sup-blue:#4FC3F7;
  --sup-cta:#FF6D00;
  --ink-900:#111;
  --ink-700:#2b2b2b;
  --ink-500:#6b7280;
  --card:#ffffff;
  --card-ghost:#f6fbff; /* azul bem clarinho */
  --stroke:#e6eef5;
  --shadow:0 12px 30px rgba(0,0,0,.08);
}

.review-loading{
  max-width: 720px;
  margin: 24px auto 0;
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.review-title{
  margin: 0 0 18px 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.35;
  color: var(--ink-900);
  font-weight: 800;
  letter-spacing: .2px;
}

.expert-badge{
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(0deg, var(--card) 0%, var(--card-ghost) 100%);
  border: 1px solid var(--stroke);
  margin-bottom: 18px;
}

.expert-badge .badge-head{
  background: rgba(79,195,247,.18);
  color: #0c4a6e;
  font-weight: 700;
  padding: 10px 14px;
  font-size: .9rem;
  border-bottom: 1px solid var(--stroke);
}

.expert-badge .badge-body{
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.badge-icon{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(0,200,83,0.9), rgba(0,200,83,0.5));
  display: grid;
  place-items: center;
  position: relative;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.9),
    0 0 6px rgba(0,200,83,.45);
  animation: pulseSeal 2.2s ease-in-out infinite;
}
@keyframes pulseSeal {
  0%,100% { transform: scale(1); box-shadow: 0 0 6px rgba(0,200,83,.45); }
  50% { transform: scale(1.06); box-shadow: 0 0 10px rgba(0,200,83,.6); }
}
.badge-icon .check{
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: relative;
  background-color: #fff;
}
.badge-icon .check::before {
  content: '';
  position: absolute;
  inset: 4px;
  background-color: var(--sup-green);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M20.285 6.709a1 1 0 0 1 0 1.414l-9.192 9.192a1 1 0 0 1-1.414 0l-5.192-5.192a1 1 0 1 1 1.414-1.414l4.485 4.485 8.485-8.485a1 1 0 0 1 1.414 0z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M20.285 6.709a1 1 0 0 1 0 1.414l-9.192 9.192a1 1 0 0 1-1.414 0l-5.192-5.192a1 1 0 1 1 1.414-1.414l4.485 4.485 8.485-8.485a1 1 0 0 1 1.414 0z"/></svg>') center/contain no-repeat;
}
.badge-icon .check::after{
  content:"";
  position:absolute; inset:0;
  -webkit-mask: none;
  background:
    linear-gradient(45deg, #fff7, #fff0);
  mix-blend-mode: overlay;
}

.badge-text .expert-name{
  font-weight: 800;
  color: var(--ink-900);
}
.badge-text .expert-role{
  font-size: .92rem;
  color: var(--ink-500);
  margin-top: 2px;
}

.review-status{
  display:flex;
  align-items:center;
  gap:10px;
  margin: 8px 0 10px;
  color: var(--ink-700);
  font-size: .98rem;
}
.review-status .percent{
  font-weight: 900;
  color: var(--sup-green);
}

.review-progress .bar{
  height: 10px;
  background: #e9eef3;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.06);
}
.review-progress .fill{
  display:block;
  height:100%;
  background:
    linear-gradient(90deg, rgba(79,195,247,.9), rgba(79,195,247,1));
  border-radius: 999px;
  position: relative;
  width: 0%;
  transition: width .35s ease;
}
.review-progress .fill::after{
  /* brilho suave correndo */
  content:"";
  position:absolute;
  top:0; bottom:0; width:120px;
  transform: translateX(-120px);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  animation: sweep 1.8s linear infinite;
}
@keyframes sweep{
  to { transform: translateX(140%); }
}

/* Três pontinhos animados */
.dots{
  display:inline-block;
  width: 1.2ch;
  text-align: left;
  animation: dots steps(4,end) 1.2s infinite;
}
@keyframes dots{
  0%{ content:""; }
  0%{ clip-path: inset(0 0 0 100%); }
  25%{ clip-path: inset(0 0 0 75%); }
  50%{ clip-path: inset(0 0 0 50%); }
  75%{ clip-path: inset(0 0 0 25%); }
  100%{ clip-path: inset(0 0 0 0%); }
}
