/* =========================================================
   Além da Ansiedade — funil: DP/DR, posicionamento, trilha, quiz
   ========================================================= */

/* ---------- DP/DR ---------- */
.dpdr { background: var(--surface); }
.dpdr__title { max-width: 24ch; }
.dpdr__lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }

.dpdr__questions { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; max-width: 760px; }
.dpdr__questions li {
  position: relative; padding: 16px 20px 16px 52px; border-radius: 14px;
  background: var(--brand-soft); font-size: 1.05rem; font-weight: 500;
}
.dpdr__questions li::before {
  content: "?"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; font-weight: 700; font-size: .85rem;
}

.dpdr__voices { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 48px; }
.dpdr__voices p {
  margin: 0; padding: 14px 20px; border-radius: 18px 18px 18px 4px;
  background: var(--soft); font: 500 1.1rem/1.3 var(--serif); font-style: italic; color: var(--ink);
}

.dpdr__subtitle { font-size: 1.35rem; margin-bottom: 18px; }
.symptoms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.symptoms article { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--bg); }
.symptoms svg { width: 30px; height: 30px; color: var(--brand); margin-bottom: 10px; }
.symptoms h4 { font: 600 1.05rem var(--sans); margin: 0 0 6px; }
.symptoms p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .symptoms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .symptoms { grid-template-columns: 1fr; } }

.relief {
  margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  background: var(--brand); color: #fff; border-radius: 24px; padding: clamp(26px, 4vw, 44px);
}
.relief h3 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.8rem); }
.relief p { color: #d9e8e3; }
.relief strong { color: #fff; }
.relief__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: start; }
.relief__points li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 14px 16px; color: #d9e8e3; font-size: .97rem; }
@media (max-width: 820px) { .relief { grid-template-columns: 1fr; } }

.umbrella { margin-top: 40px; text-align: center; }
.umbrella__label { font-weight: 600; font-size: 1.08rem; }
.umbrella ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.umbrella li { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font-size: .94rem; }
.dpdr__disclaimer { text-align: center; font-size: .84rem; color: var(--muted); margin: 18px 0 0; }

/* ---------- Posicionamento ---------- */
.statement { background: var(--ink); color: #fff; padding: clamp(44px, 7vw, 80px) 0; }
.statement__text { font: 500 clamp(1.4rem, 3.4vw, 2.2rem)/1.3 var(--serif); max-width: 30ch; margin: 0 auto; text-align: center; }
.statement__text em { color: #f0c9a5; font-style: italic; }

/* ---------- Trilha gratuita ---------- */
.trail__lead { color: var(--muted); font-size: 1.08rem; max-width: 56ch; }
.trail__board { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(20px, 4vw, 32px); box-shadow: var(--shadow); }
.trail__progress { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.trail__progress p { margin: 0; font-size: .9rem; color: var(--muted); white-space: nowrap; }
.trail__bar { flex: 1; height: 10px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.trail__bar span { display: block; height: 100%; background: linear-gradient(90deg, #8fb9ae, var(--brand)); border-radius: inherit; }

.trail__days { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; }
.trail__days li { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 14px; }
.trail__days span {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--line); color: var(--muted); font-weight: 600; font-size: .9rem; background: #fff;
}
.trail__days strong { display: block; font-size: 1rem; }
.trail__days p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.trail__days li.is-done span { background: var(--brand); border-color: var(--brand); color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8.2 13.6 4.6 10l-1.2 1.2 4.8 4.8 9-9-1.2-1.2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 16px; }
.trail__days li.is-next { background: var(--brand-soft); }
.trail__days li.is-next span { border-color: var(--brand); color: var(--brand); }
@media (max-width: 720px) { .trail__days { grid-template-columns: 1fr; } }

.trail__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.badge { padding: 7px 14px 7px 32px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: .86rem; font-weight: 500; position: relative; }
.badge::before { content: ""; position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 13px; height: 13px; border-radius: 50%; border: 2px solid currentColor; opacity: .6; }
.badge.is-on { background: #fbe9d8; color: #8a5228; }
.badge.is-on::before { background: var(--accent); border-color: var(--accent); opacity: 1; }

.method {
  margin-top: 20px; display: flex; gap: 20px; align-items: center;
  border: 1.5px dashed #d9c3ad; border-radius: 20px; padding: 22px 24px; background: #fdf8f2;
}
.method__lock { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; background: #fbe9d8; color: #9a5f33; display: grid; place-items: center; }
.method__lock svg { width: 24px; height: 24px; }
.method__tag { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--accent); margin: 0 0 4px; }
.method h3 { margin: 0 0 6px; }
.method p:last-child { margin: 0; color: var(--muted); }
@media (max-width: 520px) { .method { flex-direction: column; align-items: flex-start; } }

/* ---------- Lucas ---------- */
.about__quote { margin: 0 0 14px; padding-left: 16px; border-left: 3px solid var(--accent); font: 500 1.15rem/1.45 var(--serif); font-style: italic; color: var(--ink); }

/* ---------- Quiz ---------- */
.quiz__start { text-align: center; }
.quiz__orb {
  display: block; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #b7d3cb, var(--brand));
  animation: quizOrb 5s ease-in-out infinite;
}
@keyframes quizOrb { 0%, 100% { transform: scale(.9); } 45% { transform: scale(1); } }
.quiz__start p { color: var(--muted); }

.quiz__top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.quiz__back { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 1.05rem; cursor: pointer; flex-shrink: 0; }
.quiz__back:disabled { visibility: hidden; }
.quiz__bar { flex: 1; height: 8px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #8fb9ae, var(--brand)); border-radius: inherit; transition: width .4s ease; }
.quiz__count { font-size: .85rem; color: var(--muted); white-space: nowrap; }

.quiz__q { font-size: 1.3rem; margin-bottom: 16px; }
.quiz__q:focus { outline: none; }
.quiz__opts { display: grid; gap: 10px; margin-bottom: 14px; }
.quiz__opt {
  text-align: left; width: 100%; min-height: 52px; padding: 13px 16px 13px 48px; position: relative;
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink);
  font: 500 1rem/1.35 var(--sans); cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.quiz__opt::before {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); background: #fff; transition: all .15s ease;
}
.quiz__opt:hover { border-color: var(--brand); transform: translateY(-1px); }
.quiz__opt[aria-checked="true"] { border-color: var(--brand); background: var(--brand-soft); }
.quiz__opt[aria-checked="true"]::before { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 4px #fff; }

.quiz__feedback {
  margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; background: #fdf3e8; color: #6b4424;
  font-size: .95rem; animation: quizIn .35s ease;
}
@keyframes quizIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.quiz__result { text-align: left; animation: quizIn .4s ease; }
.quiz__result:focus { outline: none; }
.quiz__result-tag { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--accent); margin-bottom: 4px; }
.quiz__result h3 { font-size: 1.45rem; margin-bottom: 8px; }
.quiz__result > p { color: var(--muted); }
.quiz__result-days { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.quiz__result-days li { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--brand-soft); font-size: .95rem; }
.quiz__result-days b { font-size: .78rem; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.quiz__care { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.quiz__save { font-weight: 600; color: var(--ink) !important; margin: 18px 0 16px; padding-top: 16px; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  .quiz__orb, .quiz__feedback, .quiz__result { animation: none; }
  .quiz__bar span { transition: none; }
}

/* ---------- Retrato de hoje ---------- */
.quiz__result h3 { font-size: 1.35rem; line-height: 1.25; }
.reading p { color: var(--ink); font-size: .98rem; margin-bottom: .7em; }
.insight { background: #fdf3e8; border-left: 4px solid var(--accent); border-radius: 12px; padding: 14px 16px; margin: 16px 0 20px; }
.insight p { margin: 0 0 .5em; color: #5a3a1f; font-size: .97rem; }
.insight p:last-child { margin: 0; }
.insight strong { color: #3f2814; }

.result-track { border: 1.5px solid var(--brand); border-radius: 16px; padding: 18px; background: #fff; }
.result-track__label { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--brand); margin: 0 0 2px; }
.result-track h4 { font: 600 1.2rem var(--serif); margin: 0 0 6px; }
.result-track > p { color: var(--muted); font-size: .95rem; }
.quiz__result-days li.is-more { background: transparent; border: 1.5px dashed var(--line); color: var(--muted); justify-content: center; font-weight: 500; }
.result-track__inside { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--brand-soft); font-size: .93rem; color: var(--ink) !important; }
.result-track__inside strong { color: var(--brand); }
.quiz__note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* ---------- Código ---------- */
.code-step { text-align: center; }
.code-step h3:focus { outline: none; }
.code-step p { color: var(--muted); }
.code-step .field { text-align: left; max-width: 280px; margin: 18px auto; }
.otp { text-align: center; font: 600 1.6rem/1 var(--sans) !important; letter-spacing: .4em; }
.code-step__help { font-size: .88rem; margin-top: 14px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--brand); font: 600 .88rem var(--sans); text-decoration: underline; cursor: pointer; }

/* ---------- Entrega da trilha ---------- */
.delivery { animation: quizIn .4s ease; }
.delivery:focus { outline: none; }
.delivery h3 { font-size: 1.35rem; }
.delivery__progress { display: flex; align-items: center; gap: 12px; margin: 6px 0 18px; }
.delivery__progress p { margin: 0; font-size: .86rem; color: var(--muted); white-space: nowrap; }
.delivery__progress .trail__bar span { transition: width .6s ease; }

.day1 { border: 1.5px solid var(--brand); border-radius: 16px; padding: 18px; background: #fff; }
.day1 .day1__tag { display: inline-block; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: #fff; background: var(--brand); border-radius: 999px; padding: 4px 10px; margin-bottom: 10px; }
.day1 h4 { font: 600 1.2rem var(--serif); margin: 0 0 8px; }
.day1 p { font-size: .97rem; color: var(--ink); }
.day1__task { background: var(--brand-soft); border-radius: 12px; padding: 14px 16px; margin: 14px 0 16px; }
.day1__task-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--brand) !important; margin: 0 0 4px; }
.day1__task p:last-child { margin: 0; }
.day1-celebrate { margin-top: 14px; text-align: center; background: #fbe9d8; border-radius: 14px; padding: 18px; animation: pop .35s ease; }
.day1-celebrate p { margin: 0 0 4px; color: #6b4424; font-size: .95rem; }

.delivery__next { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; }
.delivery__next li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--soft); opacity: .85; }
.delivery__next span { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--muted); }
.delivery__next strong { display: block; font-size: .93rem; }
.delivery__next small { color: var(--muted); font-size: .8rem; }
.delivery__demo { font-size: .8rem; color: var(--muted); text-align: center; margin: 14px 0 0; }
@media (prefers-reduced-motion: reduce) { .delivery, .day1-celebrate { animation: none; } }

/* ---------- v3: conexão entre ansiosos ---------- */
.result-community { margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; background: #fdf3e8; color: #5a3a1f !important; font-size: .95rem; }
.delivery__notice { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--brand-soft); font-size: .9rem; color: var(--ink); text-align: center; }

.delivery__open { margin-top: 18px; }

/* v4: destaque "escolha só UMA" */
.quiz__q { margin-bottom: 8px; }
.quiz__hint {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  padding: 8px 12px; border-radius: 10px; background: #fdf3e8; color: #6b4424;
  font-size: .92rem; font-weight: 600;
}
.quiz__hint::before { content: "1"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .78rem; flex-shrink: 0; }

/* v4.1: transição para o painel */
.to-panel { text-align: center; padding: 10px 0; animation: quizIn .35s ease; }
.to-panel:focus { outline: none; }
.to-panel h3 { font-size: 1.4rem; }
.to-panel p { color: var(--muted); }
