:root {
  --orange: #c65d13;
  --orange-light: #ef8a42;
  --orange-dark: #8c3b06;
  --orange-soft: rgba(198, 93, 19, 0.12);
  --cream: #fffaf5;
  --light: #f5f1ed;
  --dark: #211b1d;
  --dark-2: #171315;
  --white: #ffffff;
  --muted: #71696c;
  --border: rgba(33, 27, 29, 0.13);
  --danger: #bd3f3f;
  --shadow: 0 28px 90px rgba(33, 27, 29, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; overflow-x: hidden; color: var(--dark); background: #f8f5f1; font-family: "Inter", sans-serif; }
body.quiz-mode { background: var(--dark-2); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
a { color: inherit; text-decoration: none; }

.background { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.glow-one { width: 520px; height: 520px; top: -260px; left: -180px; background: rgba(198, 93, 19, .23); }
.glow-two { width: 560px; height: 560px; right: -250px; bottom: -220px; background: rgba(81, 55, 64, .12); }
.background-grid { position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(33,27,29,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(33,27,29,.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, #000 0%, transparent 88%); }

.screen { display: none; min-height: 100vh; }
.screen.active { display: block; animation: screenFade .35s ease; }
@keyframes screenFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.header { width: min(1200px, calc(100% - 40px)); margin: 18px auto 0; padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(255,255,255,.82); border-radius: 18px; background: rgba(255,255,255,.78); box-shadow: 0 12px 40px rgba(33,27,29,.06); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-symbol { width: 44px; height: 44px; display: grid; place-items: center; color: var(--white); border-radius: 13px; background: linear-gradient(145deg, var(--orange), #dd742b); box-shadow: 0 10px 24px rgba(198,93,19,.25); font-weight: 800; }
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-size: .94rem; }
.brand-text small { margin-top: 4px; color: var(--muted); font-size: .68rem; }
.header-button, .back-button, .exit-quiz, .restart-button { border: 0; background: transparent; }
.header-button { min-height: 42px; padding: 0 17px; color: var(--white); border-radius: 11px; background: var(--dark); font-size: .78rem; font-weight: 800; }

.hero { width: min(1200px, calc(100% - 40px)); min-height: calc(100vh - 94px); margin: 0 auto; padding: 48px 0 70px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(42px, 6vw, 90px); }
.hero-content { position: relative; z-index: 2; }
.hero-proof { width: fit-content; padding: 8px 12px; display: inline-flex; align-items: center; gap: 8px; color: var(--orange-dark); border: 1px solid rgba(198,93,19,.18); border-radius: 999px; background: rgba(255,255,255,.72); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.proof-dot { width: 7px; height: 7px; border-radius: 50%; background: #36a268; box-shadow: 0 0 0 5px rgba(54,162,104,.12); }
.hero h1 { max-width: 720px; margin-top: 22px; font-size: clamp(2.9rem, 5.9vw, 5.5rem); line-height: .98; letter-spacing: -.065em; }
.hero h1 span { display: block; margin-top: 8px; color: var(--orange); }
.hero-lead { max-width: 650px; margin-top: 25px; color: var(--muted); font-size: clamp(.98rem, 1.35vw, 1.1rem); line-height: 1.72; }
.hero-actions { margin-top: 30px; display: flex; align-items: center; flex-wrap: wrap; gap: 15px; }
.hero-microcopy { color: var(--muted); font-size: .72rem; font-weight: 600; }
.primary-button, .secondary-button { min-height: 56px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 14px; font-weight: 800; transition: .22s ease; }
.primary-button { color: var(--white); background: linear-gradient(135deg, var(--orange), var(--orange-light)); box-shadow: 0 15px 34px rgba(198,93,19,.28); }
.secondary-button { color: var(--dark); border: 1px solid var(--border); background: var(--white); }
.primary-button:hover, .secondary-button:hover, .header-button:hover { transform: translateY(-2px); }
.hero-benefits { margin-top: 34px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.hero-benefits > div { padding: 16px; border: 1px solid rgba(33,27,29,.08); border-radius: 15px; background: rgba(255,255,255,.58); backdrop-filter: blur(12px); }
.hero-benefits strong, .hero-benefits span { display: block; }
.hero-benefits strong { font-size: 1.05rem; }
.hero-benefits span { margin-top: 4px; color: var(--muted); font-size: .67rem; line-height: 1.4; }

.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.visual-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(198,93,19,.13); }
.orbit-one { width: 500px; height: 500px; }
.orbit-two { width: 390px; height: 390px; border-style: dashed; }
.preview-card { position: relative; z-index: 2; width: min(500px, 100%); padding: 28px; color: var(--white); border: 1px solid rgba(255,255,255,.09); border-radius: 30px; background: radial-gradient(circle at top right, rgba(198,93,19,.38), transparent 35%), linear-gradient(145deg, #30272a, #191517); box-shadow: 0 34px 90px rgba(33,27,29,.30); }
.preview-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.preview-top small, .preview-top strong { display: block; }
.preview-top small { color: rgba(255,255,255,.48); font-size: .66rem; }
.preview-top strong { margin-top: 5px; font-size: .93rem; }
.online-badge { padding: 7px 10px; display: inline-flex; align-items: center; gap: 6px; color: #a9ebc5; border-radius: 999px; background: rgba(47,143,97,.15); font-size: .63rem; font-weight: 700; }
.online-badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.preview-score-row { padding: 28px 0 20px; display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 24px; }
.score-circle { width: 146px; height: 146px; padding: 11px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--orange-light) 78%, rgba(255,255,255,.08) 0); }
.score-circle > div { width: 100%; height: 100%; display: grid; place-content: center; text-align: center; border-radius: 50%; background: #211b1d; }
.score-circle strong { font-size: 3rem; line-height: 1; }
.score-circle span { margin-top: 4px; color: rgba(255,255,255,.48); font-size: .68rem; }
.score-copy span { color: #f5b181; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.score-copy strong { display: block; margin-top: 9px; font-size: .93rem; line-height: 1.45; }
.score-copy small { display: block; margin-top: 9px; color: rgba(255,255,255,.42); font-size: .62rem; }
.preview-chart { height: 68px; padding: 0 10px; display: flex; align-items: end; gap: 9px; border-bottom: 1px solid rgba(255,255,255,.08); }
.preview-chart span { flex: 1; min-width: 10px; border-radius: 6px 6px 0 0; background: linear-gradient(to top, rgba(198,93,19,.42), var(--orange-light)); }
.preview-items { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.preview-items > div { padding: 12px; display: flex; align-items: flex-start; gap: 8px; border: 1px solid rgba(255,255,255,.07); border-radius: 13px; background: rgba(255,255,255,.04); }
.preview-items > div > span { color: #ffc69e; font-size: .75rem; font-weight: 800; }
.preview-items p { display: flex; flex-direction: column; }
.preview-items strong { font-size: .68rem; line-height: 1.3; }
.preview-items small { margin-top: 4px; color: rgba(255,255,255,.40); font-size: .57rem; line-height: 1.35; }
.floating-note { position: absolute; z-index: 3; padding: 12px 14px; display: flex; align-items: center; gap: 10px; color: var(--dark); border: 1px solid rgba(255,255,255,.82); border-radius: 15px; background: rgba(255,255,255,.9); box-shadow: 0 18px 45px rgba(33,27,29,.16); backdrop-filter: blur(12px); }
.floating-note > span { min-width: 38px; height: 38px; padding: 0 6px; display: grid; place-items: center; color: var(--orange); border-radius: 10px; background: var(--orange-soft); font-size: .75rem; font-weight: 800; }
.floating-note strong, .floating-note small { display: block; }
.floating-note strong { font-size: .68rem; }
.floating-note small { margin-top: 3px; color: var(--muted); font-size: .58rem; }
.note-top { top: 58px; right: -18px; }
.note-bottom { bottom: 52px; left: -28px; }
.trust-strip { width: min(1200px, calc(100% - 40px)); margin: -28px auto 35px; padding: 18px 22px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 28px; border: 1px solid rgba(33,27,29,.08); border-radius: 17px; background: rgba(255,255,255,.65); color: var(--muted); font-size: .68rem; }
.trust-strip span { color: var(--orange); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.trust-strip strong { color: var(--dark); font-weight: 650; }

.lead-screen { padding: 36px 20px 110px; }
.form-shell { width: min(1040px, 100%); margin: 0 auto; padding: 26px; border: 1px solid rgba(255,255,255,.84); border-radius: 28px; background: rgba(255,255,255,.90); box-shadow: var(--shadow); backdrop-filter: blur(20px); }
.back-button { padding: 6px 4px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.form-layout { margin-top: 20px; display: grid; grid-template-columns: .78fr 1.22fr; gap: 30px; }
.form-side { min-height: 100%; padding: 32px; color: var(--white); border-radius: 22px; background: radial-gradient(circle at bottom left, rgba(198,93,19,.38), transparent 37%), linear-gradient(145deg, #2b2326, #191517); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--orange); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 25px; height: 2px; background: currentColor; }
.form-side .eyebrow { color: #f0a36d; }
.form-side h2 { margin-top: 22px; font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.08; letter-spacing: -.05em; }
.form-side p { margin-top: 16px; color: rgba(255,255,255,.58); font-size: .8rem; line-height: 1.65; }
.form-side-list { margin-top: 28px; display: grid; gap: 12px; color: rgba(255,255,255,.82); font-size: .72rem; font-weight: 650; }
#leadForm { padding: 8px 4px 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; font-size: .71rem; font-weight: 750; }
.field input, .field select { width: 100%; min-height: 50px; padding: 0 14px; color: var(--dark); border: 1px solid var(--border); border-radius: 12px; outline: none; background: #fcfbfa; transition: .2s ease; }
.field input:focus, .field select:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(198,93,19,.09); background: var(--white); }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.error { min-height: 15px; margin-top: 4px; display: block; color: var(--danger); font-size: .62rem; }
.captcha { min-height: 70px; padding: 10px 11px; display: grid; grid-template-columns: 1fr 105px 36px; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 13px; background: linear-gradient(135deg, rgba(198,93,19,.06), transparent), #fcfbfa; }
.captcha small, .captcha strong { display: block; }
.captcha small { color: var(--muted); font-size: .6rem; }
.captcha strong { margin-top: 4px; font-size: .82rem; }
.captcha input { min-height: 40px; padding: 0 9px; background: var(--white); }
.captcha button { width: 36px; height: 36px; border: 0; border-radius: 9px; color: var(--orange); background: var(--orange-soft); font-weight: 800; }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.consent { margin-top: 5px; display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: .66rem; line-height: 1.5; }
.consent input { margin-top: 2px; accent-color: var(--orange); }
.form-submit { width: 100%; margin-top: 13px; }

.quiz-screen { position: relative; height: 100dvh; min-height: 100dvh; overflow: hidden; color: var(--white); background: linear-gradient(145deg, #231d20, #141113); }
.quiz-accent { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.accent-one { width: 340px; height: 340px; top: -170px; left: -140px; background: radial-gradient(circle, rgba(198,93,19,.30), transparent 67%); }
.accent-two { width: 300px; height: 300px; right: -130px; bottom: -150px; background: radial-gradient(circle, rgba(198,93,19,.18), transparent 68%); }
.quiz-header { position: relative; z-index: 5; height: 78px; padding: 0 26px; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(20,17,19,.74); backdrop-filter: blur(14px); }
.quiz-brand .brand-symbol { width: 40px; height: 40px; font-size: .82rem; }
.quiz-progress { width: min(520px, 100%); margin: 0 auto; }
.quiz-progress > span { display: block; margin-bottom: 8px; color: rgba(255,255,255,.52); text-align: center; font-size: .66rem; font-weight: 650; }
.quiz-progress-track { height: 5px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.quiz-progress-track span { display: block; width: 8.33%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--orange-light)); transition: width .3s ease; }
.exit-quiz { justify-self: end; width: 42px; height: 42px; color: rgba(255,255,255,.62); border-radius: 50%; font-size: 1.8rem; line-height: 1; }
.exit-quiz:hover { background: rgba(255,255,255,.06); }
.quiz-scroll-area { height: calc(100dvh - 78px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.quiz-container { width: min(840px, calc(100% - 32px)); min-height: 100%; margin: 0 auto; padding: 44px 0 calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
.question-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.question-category { color: #f0a36d; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.question-content h2 { max-width: 790px; margin-top: 12px; font-size: clamp(1.95rem, 4.1vw, 3.55rem); line-height: 1.12; letter-spacing: -.05em; }
.question-helper { margin-top: 12px; color: rgba(255,255,255,.45); font-size: .72rem; }
.answers { margin-top: 28px; display: grid; gap: 10px; }
.answer { position: relative; cursor: pointer; }
.answer input { position: absolute; opacity: 0; pointer-events: none; }
.answer-box { min-height: 61px; padding: 14px 16px; display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.77); border: 1px solid rgba(255,255,255,.09); border-radius: 15px; background: linear-gradient(90deg, rgba(255,255,255,.045), rgba(255,255,255,.025)); transition: .2s ease; }
.answer:hover .answer-box { border-color: rgba(240,163,109,.36); background: rgba(255,255,255,.06); }
.answer-marker { width: 22px; height: 22px; flex: 0 0 22px; border: 2px solid rgba(255,255,255,.30); border-radius: 50%; }
.answer input:focus-visible + .answer-box { outline: 3px solid rgba(239,138,66,.38); outline-offset: 2px; }
.answer input:checked + .answer-box { color: var(--white); border-color: var(--orange-light); background: linear-gradient(90deg, rgba(198,93,19,.20), rgba(198,93,19,.08)); box-shadow: 0 0 0 3px rgba(198,93,19,.08); }
.answer input:checked + .answer-box .answer-marker { border: 6px solid var(--orange-light); background: var(--white); }
.answer-text { font-size: .82rem; font-weight: 600; line-height: 1.45; }
.quiz-footer { position: sticky; bottom: 0; z-index: 4; margin-top: 18px; padding-top: 14px; padding-bottom: env(safe-area-inset-bottom); background: linear-gradient(to top, #171315 72%, transparent); }
.quiz-action { width: 100%; }
.question-warning { min-height: 20px; margin-bottom: 7px; color: #f3ad7b; text-align: center; font-size: .66rem; opacity: 0; }
.question-warning.visible { opacity: 1; }

.result-screen { padding: 40px 20px 120px; background: radial-gradient(circle at top left, rgba(198,93,19,.20), transparent 28%), linear-gradient(145deg, #2b2426, #1a1618); }
.result-card { width: min(760px, 100%); margin: 0 auto; padding: 42px; color: var(--dark); text-align: center; border-radius: 28px; background: var(--white); box-shadow: 0 35px 100px rgba(0,0,0,.35); }
.result-score { margin-top: 22px; display: grid; place-items: center; }
.result-ring { --score: 0; width: 170px; height: 170px; padding: 13px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--orange) calc(var(--score) * 1%), #ece8e5 0); }
.result-ring > div { width: 100%; height: 100%; display: grid; place-content: center; border-radius: 50%; background: var(--white); }
.result-ring strong { font-size: 3.5rem; line-height: 1; }
.result-ring span { color: var(--muted); font-size: .72rem; }
.result-badge { margin-top: 18px; padding: 7px 12px; display: inline-flex; color: var(--orange-dark); border-radius: 999px; background: var(--orange-soft); font-size: .7rem; font-weight: 800; }
.result-card h2 { margin-top: 18px; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.12; letter-spacing: -.045em; }
.result-card > p { max-width: 610px; margin: 14px auto 0; color: var(--muted); font-size: .85rem; line-height: 1.7; }
.result-points { max-width: 580px; margin: 25px auto 0; display: grid; gap: 9px; }
.result-point { padding: 12px 14px; display: flex; align-items: center; gap: 10px; text-align: left; border: 1px solid var(--border); border-radius: 12px; background: #fbfaf9; font-size: .76rem; font-weight: 650; }
.result-point span { color: var(--orange); }
.result-actions { margin-top: 26px; display: flex; justify-content: center; gap: 11px; flex-wrap: wrap; }
.restart-button { margin-top: 20px; color: var(--muted); font-size: .72rem; font-weight: 700; }

.floating-meeting { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 90; min-height: 58px; padding: 8px 15px 8px 8px; display: flex; align-items: center; gap: 10px; color: var(--white); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(33,27,29,.94); box-shadow: 0 16px 42px rgba(33,27,29,.28); backdrop-filter: blur(14px); transition: .22s ease; }
.floating-meeting:hover { transform: translateY(-3px); }
.floating-meeting-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--orange-light)); font-weight: 800; }
.floating-meeting-text { display: flex; flex-direction: column; }
.floating-meeting-text strong { font-size: .7rem; }
.floating-meeting-text small { margin-top: 3px; color: rgba(255,255,255,.52); font-size: .56rem; }
.toast { position: fixed; right: 22px; bottom: 96px; z-index: 100; max-width: 330px; padding: 14px 17px; color: var(--white); border-radius: 12px; background: var(--dark); box-shadow: var(--shadow); transform: translateY(20px); opacity: 0; pointer-events: none; transition: .25s ease; font-size: .75rem; }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 58px; }
  .hero-content { text-align: center; }
  .hero-proof { margin: 0 auto; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-benefits { max-width: 650px; margin-left: auto; margin-right: auto; }
  .hero-visual { min-height: 520px; }
  .trust-strip { margin-top: 0; }
  .form-layout { grid-template-columns: 1fr; }
  .form-side { min-height: auto; }
}

@media (max-width: 680px) {
  .header, .hero, .trust-strip { width: calc(100% - 24px); }
  .header { margin-top: 10px; }
  .brand-text small, .header-button { display: none; }
  .hero { min-height: auto; padding: 46px 0 56px; gap: 34px; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 3.45rem); }
  .hero-actions { flex-direction: column; }
  .hero-button { width: 100%; }
  .hero-benefits { grid-template-columns: 1fr; }
  .hero-benefits > div { display: flex; align-items: center; justify-content: space-between; }
  .hero-benefits span { margin-top: 0; }
  .hero-visual { min-height: auto; padding: 10px 0 30px; }
  .visual-orbit, .floating-note { display: none; }
  .preview-card { padding: 20px; border-radius: 22px; }
  .preview-score-row { grid-template-columns: 116px 1fr; gap: 16px; }
  .score-circle { width: 112px; height: 112px; }
  .score-circle strong { font-size: 2.2rem; }
  .preview-items { grid-template-columns: 1fr; }
  .trust-strip { justify-content: flex-start; }
  .trust-strip strong { width: 100%; }
  .lead-screen { padding: 12px 12px 100px; }
  .form-shell { padding: 18px 14px; border-radius: 20px; }
  .form-layout { gap: 18px; }
  .form-side { padding: 24px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .captcha { grid-template-columns: 1fr 82px 36px; }
  .quiz-header { height: 70px; padding: 0 13px; grid-template-columns: 48px 1fr 48px; }
  .quiz-scroll-area { height: calc(100dvh - 70px); }
  .quiz-container { width: min(100% - 24px, 840px); padding-top: 28px; }
  .question-content h2 { font-size: clamp(1.75rem, 8vw, 2.35rem); }
  .answers { margin-top: 22px; }
  .answer-box { min-height: 58px; padding: 13px 14px; }
  .quiz-footer { padding-top: 12px; }
  .result-card { padding: 31px 18px; }
  .result-actions { flex-direction: column; }
  .result-actions a, .result-actions button { width: 100%; }
  .floating-meeting { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); min-height: 52px; padding-right: 11px; }
  .floating-meeting-icon { width: 36px; height: 36px; }
  .floating-meeting-text small { display: none; }
  .toast { right: 12px; bottom: 82px; left: 12px; max-width: none; }
}

@media (max-height: 720px) and (min-width: 681px) {
  .quiz-container { padding-top: 28px; }
  .question-content h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
  .answers { margin-top: 20px; gap: 8px; }
  .answer-box { min-height: 54px; padding: 11px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Estado de envio dos formulários */
.primary-button:disabled,
.quiz-action:disabled,
.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.form-delivery-note {
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
  font-size: 0.68rem;
  line-height: 1.5;
}

/* ===== VERSAO 2.0: primeira dobra, fundo e questionario ===== */
.landing-screen {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 8%, rgba(198,93,19,.17), transparent 26%),
    radial-gradient(circle at 88% 82%, rgba(239,138,66,.13), transparent 28%),
    linear-gradient(135deg, #fffaf5 0%, #f8f4ef 48%, #f4eee8 100%);
}

.landing-screen::before,
.landing-screen::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.landing-screen::before {
  width: 44vw;
  height: 44vw;
  min-width: 520px;
  min-height: 520px;
  right: -16vw;
  top: 7vh;
  border: 1px solid rgba(198,93,19,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(198,93,19,.025), 0 0 0 140px rgba(198,93,19,.018);
}

.landing-screen::after {
  inset: 0;
  opacity: .34;
  background-image:
    linear-gradient(rgba(33,27,29,.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33,27,29,.027) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.55) 52%, transparent 88%);
}

.header {
  position: relative;
  z-index: 10;
  height: 66px;
  margin-top: 14px;
}

.hero {
  min-height: 0;
  height: calc(100dvh - 80px);
  padding: clamp(18px, 3.2vh, 38px) 0 clamp(20px, 3vh, 34px);
  grid-template-columns: 1.03fr .97fr;
  gap: clamp(34px, 5vw, 74px);
}

.hero h1 {
  max-width: 690px;
  margin-top: clamp(14px, 2.3vh, 22px);
  font-size: clamp(2.75rem, 5.25vw, 5.1rem);
  line-height: .96;
}

.hero h1 span { margin-top: 4px; }
.hero-lead { margin-top: clamp(15px, 2.4vh, 23px); max-width: 620px; line-height: 1.58; }
.hero-actions { margin-top: clamp(18px, 2.8vh, 28px); }
.hero-benefits { margin-top: clamp(20px, 3vh, 30px); }
.hero-benefits > div { padding: 13px 14px; background: rgba(255,255,255,.72); }
.hero-benefits strong { font-size: .88rem; }
.hero-benefits span { font-size: .62rem; }

.hero-visual { min-height: 0; height: min(68vh, 535px); }
.preview-card { width: min(470px, 100%); padding: 24px; }
.preview-score-row { padding: 22px 0 16px; grid-template-columns: 132px 1fr; gap: 19px; }
.score-circle { width: 128px; height: 128px; }
.score-circle strong { font-size: 2.7rem; }
.preview-chart { height: 58px; }
.preview-items { margin-top: 14px; }
.note-top { top: 28px; right: -8px; }
.note-bottom { bottom: 25px; left: -14px; }
.orbit-one { width: 450px; height: 450px; }
.orbit-two { width: 345px; height: 345px; }

/* Fundo premium do questionario */
.quiz-screen {
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 18%, rgba(198,93,19,.24), transparent 27%),
    radial-gradient(circle at 88% 76%, rgba(239,138,66,.13), transparent 30%),
    linear-gradient(135deg, #241d20 0%, #171315 48%, #100d0f 100%);
}

.quiz-screen::before,
.quiz-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.quiz-screen::before {
  opacity: .25;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, #000, transparent 82%);
}

.quiz-screen::after {
  inset: auto 4vw 8vh auto;
  width: min(42vw, 560px);
  height: min(32vh, 280px);
  opacity: .25;
  background:
    linear-gradient(145deg, transparent 0 15%, rgba(239,138,66,.22) 15% 17%, transparent 17% 32%, rgba(239,138,66,.35) 32% 34%, transparent 34% 50%, rgba(239,138,66,.18) 50% 52%, transparent 52%);
  clip-path: polygon(0 78%, 17% 60%, 32% 68%, 49% 34%, 65% 45%, 81% 14%, 100% 0, 100% 100%, 0 100%);
}

.quiz-header,
.quiz-scroll-area { position: relative; z-index: 2; }
.question-content {
  padding: clamp(22px, 4vh, 42px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(198,93,19,.16), transparent 28%),
    rgba(255,255,255,.035);
  box-shadow: 0 30px 90px rgba(0,0,0,.22);
  backdrop-filter: blur(16px);
}
.answers { margin-top: 24px; }
.answer-box {
  background: linear-gradient(90deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.quiz-footer { background: linear-gradient(to top, #171315 64%, rgba(23,19,21,.92) 78%, transparent); }

@media (min-width: 981px) and (min-height: 700px) {
  body:has(.landing-screen.active) { overflow: hidden; }
  .landing-screen { height: 100dvh; min-height: 100dvh; }
}

@media (max-height: 820px) and (min-width: 981px) {
  .hero h1 { font-size: clamp(2.65rem, 4.65vw, 4.45rem); }
  .hero-proof { padding: 6px 10px; font-size: .63rem; }
  .hero-lead { font-size: .93rem; }
  .primary-button { min-height: 50px; }
  .hero-benefits > div { padding: 10px 12px; }
  .hero-visual { height: min(66vh, 480px); }
  .preview-card { padding: 20px; }
  .preview-score-row { padding: 16px 0 12px; }
  .preview-chart { height: 46px; }
  .floating-note { padding: 9px 11px; }
}

@media (max-width: 980px) {
  .landing-screen { overflow: visible; }
  .hero { height: auto; min-height: auto; }
  .hero-visual { height: auto; min-height: 500px; }
}

@media (max-width: 680px) {
  .landing-screen::before { min-width: 360px; min-height: 360px; }
  .hero { padding-top: 34px; }
  .hero h1 { font-size: clamp(2.45rem, 12.4vw, 3.35rem); }
  .hero-benefits > div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .question-content { padding: 20px 16px; border-radius: 20px; }
}

/* =========================================================
   RESPONSIVIDADE COMPLETA — MOBILE, TABLET E TELAS PEQUENAS
   ========================================================= */

html,
body {
  width: 100%;
  max-width: 100%;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

.header,
.hero,
.trust-strip,
.form-shell,
.quiz-container,
.result-card {
  min-width: 0;
}

.hero-content,
.hero-visual,
.form-layout > *,
.form-grid > *,
.preview-score-row > *,
.result-actions > * {
  min-width: 0;
}

/* Tablets */
@media (max-width: 980px) {
  body:has(.landing-screen.active) {
    overflow-y: auto;
  }

  .landing-screen {
    min-height: 100dvh;
    overflow-x: hidden;
  }

  .header {
    width: calc(100% - 32px);
    height: auto;
    min-height: 62px;
    margin-top: 12px;
  }

  .hero {
    width: calc(100% - 32px);
    height: auto;
    min-height: auto;
    padding: 44px 0 56px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-proof,
  .hero-actions {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-benefits {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    width: min(560px, 100%);
    min-height: 500px;
    margin: 0 auto;
  }

  .note-top {
    right: 0;
  }

  .note-bottom {
    left: 0;
  }

  .form-shell {
    width: min(760px, 100%);
  }

  .form-layout {
    grid-template-columns: 1fr;
  }

  .form-side {
    min-height: auto;
  }

  .result-actions {
    grid-template-columns: 1fr;
  }

  .meeting-result-button,
  .result-actions .secondary-button {
    width: 100%;
  }
}

/* Celulares */
@media (max-width: 680px) {
  body {
    min-width: 320px;
  }

  .background-grid,
  .visual-orbit {
    display: none;
  }

  .header {
    width: calc(100% - 24px);
    margin-top: 10px;
    padding: 10px;
    border-radius: 15px;
  }

  .brand {
    gap: 8px;
  }

  .brand-symbol {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 11px;
    font-size: .76rem;
  }

  .brand-text strong {
    font-size: .78rem;
  }

  .brand-text small {
    display: none;
  }

  .header-button {
    min-height: 38px;
    padding: 0 12px;
    font-size: .68rem;
  }

  .hero {
    width: calc(100% - 28px);
    padding: 32px 0 42px;
    gap: 30px;
  }

  .hero-content {
    text-align: left;
  }

  .hero-proof {
    margin-left: 0;
    padding: 7px 10px;
    font-size: .59rem;
    letter-spacing: .035em;
  }

  .hero h1 {
    margin-top: 16px;
    font-size: clamp(2.15rem, 11.4vw, 3.15rem);
    line-height: .98;
    letter-spacing: -.055em;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: .9rem;
    line-height: 1.58;
  }

  .hero-actions {
    margin-top: 22px;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
  }

  .hero-button,
  .primary-button,
  .secondary-button {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
  }

  .hero-microcopy {
    width: 100%;
    text-align: center;
    line-height: 1.45;
  }

  .hero-benefits {
    margin-top: 25px;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .hero-benefits > div {
    padding: 13px 14px;
  }

  .hero-visual {
    width: 100%;
    min-height: auto;
    height: auto;
    display: block;
  }

  .preview-card {
    width: 100%;
    padding: 19px;
    border-radius: 22px;
  }

  .preview-top {
    gap: 10px;
  }

  .online-badge {
    padding: 6px 8px;
    white-space: nowrap;
    font-size: .56rem;
  }

  .preview-score-row {
    padding: 21px 0 17px;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 15px;
  }

  .score-circle {
    width: 90px;
    height: 90px;
    padding: 8px;
  }

  .score-circle strong {
    font-size: 2rem;
  }

  .score-copy strong {
    font-size: .78rem;
  }

  .score-copy span {
    font-size: .57rem;
  }

  .preview-chart {
    height: 52px;
    gap: 6px;
  }

  .preview-items {
    grid-template-columns: 1fr;
  }

  .floating-note {
    display: none;
  }

  .trust-strip {
    width: calc(100% - 28px);
    margin: 0 auto 25px;
    justify-content: flex-start;
  }

  /* Formulário */
  .lead-screen {
    padding: 12px 12px calc(40px + env(safe-area-inset-bottom));
  }

  .form-shell {
    padding: 14px;
    border-radius: 20px;
  }

  .form-layout {
    margin-top: 12px;
    gap: 16px;
  }

  .form-side {
    padding: 24px 20px;
    border-radius: 17px;
  }

  .form-side h2 {
    margin-top: 16px;
    font-size: 2rem;
  }

  .form-side-list {
    margin-top: 20px;
  }

  #leadForm {
    padding: 3px 0 0;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .field,
  .field.full {
    grid-column: 1;
    min-width: 0;
  }

  .field input,
  .field select {
    min-height: 52px;
    font-size: 16px;
  }

  .captcha {
    min-height: auto;
    padding: 12px;
    grid-template-columns: minmax(0, 1fr) 78px 38px;
    gap: 8px;
  }

  .captcha strong {
    font-size: .75rem;
  }

  .captcha input {
    width: 100%;
    min-width: 0;
    padding: 0 8px;
    font-size: 16px;
  }

  .consent {
    margin-top: 9px;
    font-size: .69rem;
  }

  .form-submit {
    min-height: 55px;
    line-height: 1.25;
  }

  /* Questionário */
  .quiz-screen {
    height: 100dvh;
    min-height: 100dvh;
  }

  .quiz-header {
    height: 66px;
    padding: 0 12px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .quiz-brand .brand-symbol {
    width: 36px;
    height: 36px;
  }

  .quiz-scroll-area {
    height: calc(100dvh - 66px);
  }

  .quiz-container {
    width: calc(100% - 20px);
    padding: 12px 0 calc(18px + env(safe-area-inset-bottom));
  }

  .question-content {
    flex: initial;
    justify-content: flex-start;
    padding: 19px 14px;
    border-radius: 19px;
  }

  .question-content h2 {
    margin-top: 9px;
    font-size: clamp(1.55rem, 7.6vw, 2.15rem);
    line-height: 1.08;
  }

  .question-helper {
    line-height: 1.45;
  }

  .answers {
    margin-top: 20px;
    gap: 9px;
  }

  .answer-box {
    min-height: 58px;
    padding: 12px 13px;
    align-items: flex-start;
  }

  .answer-marker {
    margin-top: 1px;
  }

  .answer-text {
    font-size: .77rem;
  }

  .quiz-footer {
    margin-top: 10px;
    padding-top: 10px;
  }

  /* Resultado */
  .result-screen {
    padding: 18px 12px calc(50px + env(safe-area-inset-bottom));
  }

  .result-card {
    padding: 27px 17px;
    border-radius: 21px;
  }

  .result-ring {
    width: 142px;
    height: 142px;
  }

  .result-ring strong {
    font-size: 3rem;
  }

  .result-card h2 {
    font-size: 1.75rem;
    line-height: 1.1;
  }

  .result-card > p {
    font-size: .84rem;
    line-height: 1.55;
  }

  .result-point {
    text-align: left;
  }

  .meeting-result-button {
    align-items: center;
    text-align: left;
  }

  .meeting-result-button small {
    white-space: normal;
  }

  .restart-button {
    min-height: 44px;
  }

  .toast {
    width: calc(100% - 24px);
    max-width: none;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    transform: translateY(140%);
  }

  .toast.show {
    transform: translateY(0);
  }
}

/* Celulares estreitos */
@media (max-width: 390px) {
  .header-button {
    padding: 0 9px;
    font-size: .61rem;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  .preview-score-row {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 11px;
  }

  .score-circle {
    width: 76px;
    height: 76px;
  }

  .score-circle strong {
    font-size: 1.65rem;
  }

  .captcha {
    grid-template-columns: 1fr 68px 36px;
    padding: 10px;
  }

  .question-content {
    padding: 17px 12px;
  }

  .answer-box {
    padding: 11px;
  }
}

/* Paisagem em celular */
@media (max-height: 520px) and (orientation: landscape) {
  .quiz-header {
    height: 58px;
  }

  .quiz-scroll-area {
    height: calc(100dvh - 58px);
  }

  .quiz-container {
    padding-top: 8px;
  }

  .question-content {
    padding: 14px;
  }

  .question-content h2 {
    font-size: 1.45rem;
  }

  .answers {
    margin-top: 12px;
  }

  .answer-box {
    min-height: 48px;
    padding: 9px 12px;
  }
}
