:root {
  --ink: #302d2b;
  --muted: #746d66;
  --line: #e9e0d7;
  --ivory: #fbf9f6;
  --paper: #f6f1eb;
  --champagne: #caa477;
  --champagne-deep: #9e7752;
  --nude: #dcb9a4;
  --blush: #eddcd1;
  --sage: #778b7b;
  --shadow: 0 18px 55px rgba(90, 66, 47, 0.12);
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--ivory); }
body {
  min-width: 320px;
  margin: 0;
  background: radial-gradient(circle at 85% 3%, rgba(220,185,164,.22), transparent 25rem), var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(158,119,82,.45); outline-offset: 3px; }
[hidden] { display: none !important; }

.site-shell { min-height: 100svh; overflow: hidden; }
.screen {
  min-height: 100svh;
  width: 100%;
  position: relative;
  padding: clamp(1.25rem, 3.4vw, 3.5rem);
}

.intro-screen {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "copy" "video" "side" "note";
  gap: 1.35rem;
  align-content: center;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 22%, rgba(222, 193, 164, .22), transparent 20rem),
    radial-gradient(circle at 91% 76%, rgba(233, 211, 198, .35), transparent 26rem),
    linear-gradient(118deg, #faf7f3 0%, #fffdfb 48%, #f5ece5 100%);
}
.hero-bloom { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.hero-bloom-left { width: 28rem; height: 28rem; left: -18rem; top: 22%; background: radial-gradient(circle, rgba(202,164,119,.17), transparent 68%); }
.hero-bloom-right { width: 32rem; height: 32rem; right: -17rem; top: -8rem; background: radial-gradient(circle, rgba(220,185,164,.25), transparent 66%); }
.hero-grid-lines { position: absolute; inset: 0; opacity: .2; pointer-events: none; background-image: linear-gradient(90deg, transparent 49.9%, rgba(154,122,97,.08) 50%, transparent 50.1%), linear-gradient(0deg, transparent 49.9%, rgba(154,122,97,.05) 50%, transparent 50.1%); background-size: 8rem 8rem; mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
.hero-copy { grid-area: copy; z-index: 1; max-width: 35rem; text-align: center; animation: rise .65s cubic-bezier(.2,.8,.2,1) both; }
.eyebrow, .step-kicker { display: block; color: var(--champagne-deep); font-size: .68rem; font-weight: 760; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.hero-copy h1, .intro-copy h1, .form-card h2, .result-card h2, .message-card h2, .quiz-content h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
.hero-copy h1 { max-width: 35rem; margin: .7rem auto 1rem; font-size: clamp(2.7rem, 8vw, 5.4rem); line-height: .9; }
.hero-copy p { max-width: 31rem; margin: 0 auto; color: var(--muted); font-size: clamp(.95rem, 2.1vw, 1.06rem); line-height: 1.62; }
.hero-details { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.1rem; margin-top: 1.5rem; color: #7d7066; font-size: .7rem; letter-spacing: .02em; }
.hero-details span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-details strong { color: var(--champagne-deep); font-size: .68rem; font-weight: 760; letter-spacing: .12em; }

.intro-video-column { position: relative; z-index: 2; grid-area: video; width: min(100%, 22rem); margin: 0 auto; isolation: isolate; animation: float-in .8s .08s cubic-bezier(.2,.8,.2,1) both; }
.hero-video-halo { position: absolute; z-index: -1; inset: 8% -18%; border-radius: 50%; background-image: url('/manus-storage/async-images/SJE15zZL2dGh71D8jZKGRl/image-1.webp'), url('public/assets/video-poster-fallback.jpg'), radial-gradient(circle, rgba(202,164,119,.45), rgba(237,220,209,.08) 68%, transparent 72%); background-position: center; background-size: cover; filter: blur(24px) saturate(.85); opacity: .32; transform: scale(1.04); }
.video-frame-kicker { display: flex; align-items: center; justify-content: space-between; margin: 0 .2rem .55rem; color: #84756b; font-size: .63rem; font-weight: 720; letter-spacing: .13em; text-transform: uppercase; }
.video-frame-kicker span:last-child { color: var(--champagne-deep); font-variant-numeric: tabular-nums; }
.intro-video-wrap { position: relative; width: 100%; aspect-ratio: 9 / 16; border: 1px solid rgba(255,255,255,.85); border-radius: 1.5rem; overflow: hidden; background: #d7d0c9; box-shadow: 0 25px 65px rgba(69, 47, 31, .24), 0 0 0 1rem rgba(255,255,255,.22); }
.intro-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #1f1b19; }
.video-caption { display: flex; align-items: center; justify-content: center; gap: .65rem; margin: .6rem 0 .25rem; color: #8a7465; font-family: var(--serif); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.video-caption i { width: 2.1rem; height: 1px; background: var(--champagne); }
.video-actions { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .65rem .8rem; padding: .35rem .1rem 0; }
.sound-button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.35rem; border: 1px solid var(--line); border-radius: 999px; padding: .5rem .8rem; color: var(--ink); background: rgba(255,255,255,.72); font-size: .76rem; font-weight: 650; transition: border-color .2s, background .2s, transform .2s; }
.sound-button:hover { border-color: var(--champagne); background: #fff; transform: translateY(-1px); }
.sound-icon { display: grid; place-items: center; height: 1rem; font-size: 1.05rem; transform: rotate(180deg); }
.video-note { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.35; }
.start-quiz { grid-column: 1 / -1; width: 100%; min-height: 3.45rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 3.35rem; padding: .8rem 1.2rem; border: 1px solid transparent; border-radius: 999px; font-weight: 730; font-size: .94rem; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, opacity .2s ease; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:active:not(:disabled) { transform: translateY(0); }
.button:disabled { cursor: not-allowed; opacity: .52; }
.button-primary { color: #fffdfb; background: var(--ink); box-shadow: 0 8px 18px rgba(48,45,43,.16); }
.button-primary:hover:not(:disabled) { background: #4b433e; box-shadow: 0 12px 25px rgba(48,45,43,.2); }
.button-ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.45); }
.button-ghost:hover:not(:disabled) { border-color: var(--nude); background: #fff; }
.button-wide { width: 100%; }

.hero-side { grid-area: side; z-index: 1; width: min(100%, 17rem); margin: 0 auto; padding: 1.25rem 1.2rem; border: 1px solid rgba(202,164,119,.3); border-radius: 1.1rem; background: rgba(255,253,250,.5); box-shadow: 0 16px 35px rgba(120,91,65,.06); backdrop-filter: blur(10px); color: #6b5a4d; animation: rise .7s .18s cubic-bezier(.2,.8,.2,1) both; }
.hero-side-top, .hero-side-bottom { display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: var(--champagne-deep); font-size: .63rem; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; }
.hero-side-mark { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #f0dfcf; font-size: .85rem; }
.hero-side-rule { width: 100%; height: 1px; margin: 1.2rem 0; background: linear-gradient(90deg, var(--champagne), transparent); }
.hero-side p { margin: 0 0 1.5rem; font-family: var(--serif); font-size: 1.35rem; line-height: 1.04; letter-spacing: -.025em; }
.hero-side-number { font-family: var(--serif); font-size: 1.1rem; letter-spacing: 0; }
.illustrative-note { grid-area: note; z-index: 1; max-width: 26rem; margin: 0 auto; color: #827971; font-size: .66rem; line-height: 1.4; text-align: center; }

.quiz-screen { display: flex; flex-direction: column; max-width: 75rem; margin: 0 auto; background: radial-gradient(circle at 2% 95%, rgba(235,220,209,.42), transparent 23rem); }
.quiz-header { display: grid; grid-template-columns: 1fr minmax(13rem, 26rem) 1fr; align-items: center; gap: 1rem; }
.wordmark { justify-self: start; color: var(--ink); font-family: var(--serif); font-size: 1.05rem; font-weight: 600; letter-spacing: -.045em; text-decoration: none; }
.wordmark span { color: var(--champagne-deep); }
.progress-group { grid-column: 2; width: 100%; }
.progress-meta { display: flex; justify-content: space-between; margin-bottom: .45rem; color: var(--muted); font-size: .72rem; font-weight: 650; }
.progress-meta strong { color: var(--champagne-deep); }
.progress-track { overflow: hidden; height: .35rem; border-radius: 99px; background: #e9dfd6; }
.progress-track span { display: block; width: 16.67%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--champagne), #dec0a0); transition: width .45s cubic-bezier(.2,.8,.2,1); }
.quiz-content { width: min(100%, 43rem); margin: auto; padding: 5rem 0 3rem; animation: rise .45s ease both; }
.step-kicker { margin: 0 0 1rem; }
.quiz-content h2 { margin: 0 0 2.4rem; font-size: clamp(2.35rem, 6vw, 4.8rem); line-height: .98; }
.answers { display: grid; gap: .8rem; }
.answer-option { position: relative; display: flex; align-items: center; width: 100%; min-height: 4.35rem; padding: 1rem 1.1rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: rgba(255,255,255,.48); color: var(--ink); text-align: left; font-size: clamp(.93rem, 2vw, 1rem); line-height: 1.35; transition: border .2s, background .2s, transform .2s, box-shadow .2s; }
.answer-option::before { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; margin-right: .85rem; border: 1px solid #c8b9ac; border-radius: 50%; content: ""; transition: background .2s, box-shadow .2s, border .2s; }
.answer-option:hover { transform: translateX(4px); border-color: var(--nude); background: #fffdfb; }
.answer-option.is-selected { border-color: var(--champagne); background: #fffcf8; box-shadow: 0 8px 18px rgba(141,103,72,.1); }
.answer-option.is-selected::before { border-color: var(--champagne-deep); background: var(--champagne-deep); box-shadow: inset 0 0 0 3px #fffcf8; }
.quiz-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; }

.interstitial-screen { display: grid; place-items: center; overflow: hidden; background: var(--ink); color: #fffaf4; }
.message-orbit { position: absolute; width: min(68vw, 44rem); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 8rem rgba(214,178,142,.08), 0 0 0 16rem rgba(214,178,142,.045); animation: breathing 4s ease-in-out infinite; }
.message-card { z-index: 1; width: min(100%, 40rem); padding: 2rem; text-align: center; animation: rise .55s ease both; }
.message-card .eyebrow { color: #e9cda9; }
.message-card h2 { margin: .8rem 0 1rem; font-size: clamp(3rem, 8vw, 5.5rem); line-height: .94; }
.message-card p { max-width: 27rem; margin: 0 auto 2rem; color: rgba(255,250,244,.7); line-height: 1.6; }
.message-actions { display: flex; justify-content: center; gap: .75rem; }
.message-card .message-back { border-color: rgba(255,255,255,.22); color: rgba(255,250,244,.8); background: transparent; }
.message-card .message-back:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.message-card .button-primary { color: var(--ink); background: #fffaf4; }
.message-card .button-primary:hover { background: #f7e8d9; }

.form-screen { display: grid; place-items: center; background: linear-gradient(120deg, var(--paper), #fffdfb 50%, #f3e8df); }
.form-card { width: min(100%, 35rem); padding: clamp(1.7rem, 6vw, 3.25rem); border: 1px solid rgba(222,205,191,.8); border-radius: 1.6rem; background: rgba(255,253,251,.82); box-shadow: var(--shadow); backdrop-filter: blur(10px); animation: rise .5s ease both; }
.form-card .wordmark { display: block; margin-bottom: 3rem; }
.form-card h2 { margin: .75rem 0 1rem; font-size: clamp(2.2rem, 5.4vw, 3.75rem); line-height: .98; }
.form-card > p { margin: 0 0 2rem; color: var(--muted); font-size: .94rem; line-height: 1.6; }
.field-group { margin: 0 0 1.25rem; }
.field-group label { display: block; margin-bottom: .5rem; color: #514942; font-size: .82rem; font-weight: 720; }
.optional { color: var(--muted); font-weight: 500; }
.field-group input { width: 100%; min-height: 3.25rem; padding: .7rem .9rem; border: 1px solid #ded5cc; border-radius: .78rem; background: #fffefa; color: var(--ink); outline: 0; transition: border .2s, box-shadow .2s; }
.field-group input::placeholder { color: #aaa19a; }
.field-group input:focus { border-color: var(--champagne); box-shadow: 0 0 0 4px rgba(202,164,119,.14); }
.field-group small { display: block; margin-top: .4rem; color: var(--muted); font-size: .7rem; line-height: 1.4; }
.consent-row { display: flex; align-items: flex-start; gap: .75rem; margin: 1.55rem 0 1.2rem; color: #554e48; font-size: .77rem; line-height: 1.55; cursor: pointer; }
.consent-row input { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; margin: .1rem 0 0; accent-color: var(--champagne-deep); }
.consent-row a { color: var(--champagne-deep); text-underline-offset: .18em; }
.form-error { margin: -.35rem 0 1rem; color: #9b3732; font-size: .78rem; line-height: 1.4; }
.ethical-note { position: absolute; right: 1.5rem; bottom: 1rem; left: 1.5rem; margin: 0; color: var(--muted); font-size: .66rem; text-align: center; }

.result-screen { display: grid; place-items: center; background: radial-gradient(circle at 50% 10%, #f5e8dc, transparent 30rem), var(--ivory); }
.result-card { width: min(100%, 38rem); padding: clamp(1.7rem, 6vw, 3.4rem); border: 1px solid var(--line); border-radius: 1.75rem; background: rgba(255,253,250,.8); box-shadow: var(--shadow); text-align: center; animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
.result-seal { display: grid; place-items: center; width: 3.3rem; height: 3.3rem; margin: 1.4rem auto; border-radius: 50%; background: #f1dfcc; color: var(--champagne-deep); font-size: 1.4rem; }
.result-card h2 { margin: 0 auto .9rem; font-size: clamp(2.5rem, 6vw, 4rem); line-height: .98; }
.result-copy { max-width: 31rem; margin: 0 auto 1.45rem; color: #5f5751; line-height: 1.65; }
.journey-summary { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin: 0 0 1.45rem; }
.summary-pill { max-width: 100%; padding: .48rem .72rem; border: 1px solid #ead9c9; border-radius: 999px; background: #fffaf6; color: #725f50; font-size: .73rem; line-height: 1.25; }
.clinical-note { margin: 0 0 1.35rem; color: #83766d; font-size: .76rem; line-height: 1.5; }
.button-whatsapp { color: #fff; background: #557862; box-shadow: 0 9px 22px rgba(85,120,98,.2); }
.button-whatsapp:hover { background: #446650; box-shadow: 0 13px 28px rgba(85,120,98,.24); }
.whatsapp-mark { font-size: 1.25rem; transform: rotate(-20deg); }
.whatsapp-note { margin: .85rem auto 0; max-width: 26rem; color: var(--muted); font-size: .69rem; line-height: 1.45; }

.privacy-page { min-height: 100svh; padding: 1.5rem; background: var(--ivory); }
.privacy-shell { width: min(100%, 48rem); margin: 0 auto; padding: clamp(1.6rem, 6vw, 4rem) 0; }
.privacy-shell .wordmark { display: inline-block; margin-bottom: 4rem; }
.privacy-shell h1 { max-width: 40rem; margin: .7rem 0 1.25rem; font-family: var(--serif); font-weight: 400; font-size: clamp(2.7rem, 8vw, 5rem); line-height: .95; letter-spacing: -.045em; }
.privacy-shell h2 { margin: 2.4rem 0 .65rem; font-family: var(--serif); font-weight: 500; font-size: 1.65rem; letter-spacing: -.025em; }
.privacy-shell p, .privacy-shell li { color: #605953; font-size: .95rem; line-height: 1.72; }
.privacy-shell ul { padding-left: 1.2rem; }
.privacy-box { padding: 1.25rem; border: 1px dashed #d4b79b; border-radius: 1rem; background: #fffaf6; }
.privacy-box p { margin: .25rem 0; }
.privacy-footer { margin-top: 3.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.noscript-message { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; margin: 0; padding: 2rem; background: #fffaf6; color: var(--ink); text-align: center; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes breathing { 0%,100% { transform: scale(.96); opacity: .6; } 50% { transform: scale(1.03); opacity: 1; } }

@media (max-width: 42rem) {
  .screen { padding: 1.2rem; }
  .intro-screen { gap: 1rem; padding-top: 1.2rem; padding-bottom: 1.8rem; }
  .hero-copy { max-width: 24rem; }
  .hero-copy h1 { margin-top: .55rem; font-size: clamp(2.55rem, 13vw, 4rem); }
  .hero-copy p { font-size: .91rem; }
  .hero-details { margin-top: 1rem; font-size: .65rem; }
  .intro-video-column { width: min(100%, 22rem); }
  .intro-video-wrap { border-radius: 1.15rem; box-shadow: 0 18px 45px rgba(69,47,31,.2), 0 0 0 .55rem rgba(255,255,255,.25); }
  .hero-side { width: min(100%, 22rem); padding: .9rem 1rem; }
  .hero-side p { margin: .8rem 0 1rem; font-size: 1.08rem; }
  .hero-side-rule { margin: .7rem 0; }
  .illustrative-note { font-size: .62rem; }
  .quiz-header { grid-template-columns: 1fr; gap: 1.25rem; }
  .progress-group { grid-column: auto; grid-row: 2; }
  .quiz-content { padding: 4rem 0 2rem; }
  .quiz-footer { padding-bottom: .4rem; }
  .quiz-footer .button { min-width: 0; padding: .75rem .9rem; font-size: .85rem; }
  .answers { gap: .65rem; }
  .answer-option { min-height: 4.05rem; }
  .message-actions { align-items: stretch; flex-direction: column-reverse; width: min(100%, 18rem); margin: 0 auto; }
  .form-card { border-radius: 1.25rem; }
  .ethical-note { position: static; margin-top: 1rem; }
}

@media (min-width: 48rem) {
  .intro-screen { grid-template-columns: minmax(16rem, .8fr) minmax(20rem, 22rem) minmax(14rem, .7fr); grid-template-rows: 1fr 1fr auto; grid-template-areas: "copy video side" "copy video side" "note video side"; column-gap: clamp(2rem, 5vw, 6rem); row-gap: .8rem; align-items: center; padding: clamp(1.25rem, 3vw, 2.8rem); }
  .hero-copy { max-width: 30rem; text-align: left; }
  .hero-copy h1, .hero-copy p { margin-left: 0; margin-right: 0; }
  .hero-details { justify-content: flex-start; }
  .intro-video-column { width: min(100%, 19rem); }
  .hero-side { align-self: center; margin: 0; }
  .illustrative-note { max-width: 19rem; margin: 0; text-align: left; }
}

@media (min-width: 78rem) {
  .intro-screen { column-gap: clamp(3rem, 7vw, 8rem); }
  .intro-video-column { width: min(100%, 17rem); }
  .hero-copy h1 { font-size: clamp(3.7rem, 5.2vw, 5.8rem); }
}

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