/* LisboaVibes quizzes: on-brand, scoped so nothing leaks into the theme. */
.lv-quiz-shell { max-width: 880px; margin: 0 auto 2rem; color: var(--wp--preset--color--ink, #1b211a); font-family: var(--wp--preset--font-family--lato, inherit); }
.lv-quiz-shell .lv-quiz-card { position: relative; overflow: hidden; background: #fff; border: 1px solid rgba(27, 33, 26, .1); border-radius: 32px; box-shadow: 0 18px 50px rgba(18, 48, 95, .12); }
.lv-quiz-shell .lv-quiz-card::before { content: ""; display: block; height: 14px; background-image: var(--lv-tile); background-size: 56px; background-color: var(--wp--preset--color--sky, #dbe8f8); border-bottom: 1px solid rgba(27, 33, 26, .08); }
.lv-quiz-shell .lv-quiz-inner { padding: clamp(1.4rem, 4vw, 2.75rem); }
.lv-quiz-shell .lv-quiz-kicker { display: inline-block; margin: 0 0 .9rem; padding: .4rem .9rem; border-radius: 999px; background: var(--wp--preset--color--tram, #f5c518); color: var(--wp--preset--color--ink, #1b211a); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lv-quiz-shell .lv-quiz-title { margin: 0; font-family: var(--wp--preset--font-family--bodoni, serif); font-weight: 400; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; letter-spacing: -.02em; }
.lv-quiz-shell .lv-quiz-description { max-width: 60ch; margin: 1rem 0 0; color: #4a4f45; font-size: 1.1rem; line-height: 1.6; }
.lv-quiz-shell .lv-quiz-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; }
.lv-quiz-shell .lv-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .95rem; border: 1px solid rgba(27, 33, 26, .14); border-radius: 999px; background: var(--wp--preset--color--cream, #fbf6ea); color: var(--wp--preset--color--ink, #1b211a); font-size: .85rem; font-weight: 700; min-height: 0; transform: none; }
.lv-quiz-shell .lv-progress-wrap { margin: 1.6rem 0 .5rem; }
.lv-quiz-shell .lv-progress-top { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .55rem; color: #55594f; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lv-quiz-shell .lv-progress { position: static; display: block; height: 10px; overflow: hidden; border-radius: 999px; background: rgba(31, 78, 154, .12); transform: none; z-index: auto; }
.lv-quiz-shell .lv-progress-bar { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--wp--preset--color--tram, #f5c518), var(--wp--preset--color--terracotta, #d4562e)); transition: width .35s cubic-bezier(.2, .8, .2, 1); }
.lv-quiz-shell .lv-question { margin: 1.6rem 0 0; padding: 0; border: 0; background: transparent; backdrop-filter: none; }
.lv-quiz-shell .lv-question h3 { margin: 0 0 1.2rem; font-family: var(--wp--preset--font-family--bodoni, serif); font-weight: 400; font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.2; }
.lv-quiz-shell .lv-options { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.lv-quiz-shell .lv-option { appearance: none; display: flex; align-items: center; gap: .85rem; width: 100%; min-height: 62px; padding: .9rem 1.1rem; text-align: left; font: inherit; font-weight: 700; font-size: 1.02rem; line-height: 1.3; color: var(--wp--preset--color--ink, #1b211a); background: var(--wp--preset--color--cream, #fbf6ea); border: 2px solid rgba(27, 33, 26, .12); border-radius: 18px; cursor: pointer; transition: transform .15s, border-color .15s, background .15s, box-shadow .15s; counter-increment: lvopt; }
.lv-quiz-shell .lv-options { counter-reset: lvopt; }
.lv-quiz-shell .lv-option::before { content: counter(lvopt, upper-alpha); flex: 0 0 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1.5px solid rgba(27, 33, 26, .18); font-size: .85rem; transition: background .15s, color .15s, border-color .15s; }
.lv-quiz-shell .lv-option:hover, .lv-quiz-shell .lv-option:focus-visible { transform: translateY(-2px); border-color: var(--wp--preset--color--azulejo, #1f4e9a); background: #fff; box-shadow: 0 8px 20px rgba(18, 48, 95, .1); outline: none; }
.lv-quiz-shell .lv-option.is-selected { background: var(--wp--preset--color--navy, #12305f); border-color: var(--wp--preset--color--navy, #12305f); color: #fff; box-shadow: 0 10px 24px rgba(18, 48, 95, .25); }
.lv-quiz-shell .lv-option.is-selected::before { background: var(--wp--preset--color--tram, #f5c518); color: var(--wp--preset--color--ink, #1b211a); border-color: transparent; }
.lv-quiz-shell .lv-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 1.75rem; }
.lv-quiz-shell .lv-button { appearance: none; min-height: 52px; padding: .8rem 1.6rem; border: 0; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; transition: transform .15s, background .15s, color .15s, opacity .15s; }
.lv-quiz-shell .lv-button:hover:not(:disabled), .lv-quiz-shell .lv-button:focus-visible { transform: translateY(-2px); outline: none; }
.lv-quiz-shell .lv-button-primary { background: var(--wp--preset--color--navy, #12305f); color: #fff; }
.lv-quiz-shell .lv-button-primary:hover:not(:disabled) { background: var(--wp--preset--color--azulejo, #1f4e9a); }
.lv-quiz-shell .lv-button-secondary { background: transparent; color: var(--wp--preset--color--ink, #1b211a); box-shadow: inset 0 0 0 2px rgba(27, 33, 26, .18); }
.lv-quiz-shell .lv-button:disabled { opacity: .4; cursor: not-allowed; }
.lv-quiz-shell .lv-lead-form { display: grid; gap: 1rem; margin-top: 1.5rem; max-width: 520px; }
.lv-quiz-shell .lv-field { display: grid; gap: .35rem; }
.lv-quiz-shell .lv-field label { font-weight: 700; font-size: .95rem; }
.lv-quiz-shell .lv-field input { width: 100%; min-height: 52px; padding: .8rem 1rem; font: inherit; font-size: 1.05rem; border: 1.5px solid rgba(27, 33, 26, .2); border-radius: 14px; background: var(--wp--preset--color--cream, #fbf6ea); }
.lv-quiz-shell .lv-field input:focus { outline: none; border-color: var(--wp--preset--color--azulejo, #1f4e9a); box-shadow: 0 0 0 4px rgba(31, 78, 154, .15); background: #fff; }
.lv-quiz-shell .lv-smallprint { margin: 0; font-size: .85rem; color: #5b6055; }
.lv-quiz-shell .lv-alert { padding: .8rem 1rem; border-radius: 14px; background: #fdece8; color: #8a2a12; font-weight: 700; }
.lv-quiz-shell .lv-result-hero { margin: 1.5rem 0; padding: clamp(1.4rem, 4vw, 2.2rem); border-radius: 26px; background: var(--wp--preset--color--navy, #12305f); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.lv-quiz-shell .lv-result-hero::before { content: ""; position: absolute; inset: 0 0 0 55%; z-index: -1; background-image: var(--lv-tile); background-size: 64px; filter: invert(1); opacity: .12; mask-image: linear-gradient(90deg, transparent, #000 70%); }
.lv-quiz-shell .lv-score { display: flex; align-items: baseline; flex-wrap: wrap; gap: .6rem; }
.lv-quiz-shell .lv-score strong { font-family: var(--wp--preset--font-family--bodoni, serif); font-weight: 400; font-size: clamp(3.5rem, 10vw, 5.5rem); line-height: 1; color: var(--wp--preset--color--tram, #f5c518); }
.lv-quiz-shell .lv-score span { color: rgba(255, 255, 255, .85); font-weight: 700; }
.lv-quiz-shell .lv-result-title { margin: .6rem 0 .4rem; font-family: var(--wp--preset--font-family--bodoni, serif); font-weight: 400; font-size: clamp(1.7rem, 4vw, 2.4rem); color: #fff; line-height: 1.15; }
.lv-quiz-shell .lv-result-copy { margin: 0; color: rgba(255, 255, 255, .9); font-size: 1.05rem; line-height: 1.6; max-width: 58ch; }
.lv-quiz-shell .lv-review-list { display: grid; gap: .75rem; margin-top: 1.5rem; }
.lv-quiz-shell .lv-review-item { display: grid; grid-template-columns: auto 1fr; gap: .9rem; padding: 1rem 1.1rem; border: 1px solid rgba(27, 33, 26, .1); border-radius: 18px; background: var(--wp--preset--color--cream, #fbf6ea); }
.lv-quiz-shell .lv-review-item p { margin: 0 0 .25rem; }
.lv-quiz-shell .lv-review-item small { display: block; color: #4a4f45; line-height: 1.5; font-size: .92rem; }
.lv-quiz-shell .lv-review-mark { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; font-weight: 700; color: #fff; }
.lv-quiz-shell .lv-review-mark.is-right { background: #1c6b3a; }
.lv-quiz-shell .lv-review-mark.is-wrong { background: var(--wp--preset--color--terracotta, #d4562e); }
@media (max-width: 700px) {
	.lv-quiz-shell .lv-options { grid-template-columns: 1fr; }
	.lv-quiz-shell .lv-quiz-card { border-radius: 24px; }
	.lv-quiz-shell .lv-actions { flex-direction: column-reverse; }
	.lv-quiz-shell .lv-button { width: 100%; }
}
.lv-quiz-shell, .lv-quiz-shell * { box-sizing: border-box; }
