:root {
  color-scheme: light;
  --ivory: #f8f3ea;
  --surface: #fffdf8;
  --espresso: #2a1815;
  --muted: #756965;
  --wine: #963348;
  --wine-dark: #7e263a;
  --wine-wash: #f7e5e4;
  --trust: #667a43;
  --trust-wash: #edf2e5;
  --border: #d8cfc4;
  --shadow: 0 24px 70px rgba(42, 24, 21, 0.1);
  --sans: 'Open Sans', Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--ivory); }

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--espresso);
  background: var(--ivory);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }

button { color: inherit; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  padding: .75rem 1rem;
  color: white;
  background: var(--wine);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(1180px, calc(100% - 3rem));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(216, 207, 196, .75);
}

.site-header p { margin: 0; color: var(--muted); font-size: .77rem; letter-spacing: .05em; }

.brand {
  display: inline-flex;
  gap: .72rem;
  align-items: center;
  color: var(--espresso);
  font-size: 1.12rem;
  font-weight: 600;
  text-decoration: none;
}

.brand img { display: block; }

#app { min-height: calc(100vh - 85px); }

.hero {
  width: min(1180px, calc(100% - 3rem));
  min-height: calc(100vh - 85px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
  grid-template-areas:
    'intro visual'
    'conversion visual';
  grid-template-rows: auto auto;
  gap: clamp(3rem, 7vw, 6.5rem);
  row-gap: 0;
  align-items: center;
  padding: clamp(2.8rem, 6vh, 4.5rem) 0;
}

.hero-intro { grid-area: intro; max-width: 650px; align-self: end; }
.hero-conversion { grid-area: conversion; max-width: 650px; align-self: start; }

.result-label {
  margin: 0 0 1.2rem;
  color: var(--wine);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1,
.result-title,
.offer-title {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(2.65rem, 4.8vw, 4.35rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.04;
}

.hero-highlight {
  padding: .01em .09em .055em;
  margin: 0 -.04em;
  color: inherit;
  background: rgba(190, 125, 130, .27);
  border-radius: .035em;
  box-shadow: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-copy {
  max-width: 590px;
  margin: 1.6rem 0 1.25rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.75;
}

.hero-benefits {
  margin: 0 0 1.8rem;
  padding: 0;
  display: grid;
  list-style: none;
  border-top: 1px solid var(--border);
}

.hero-benefits li {
  min-height: 52px;
  display: flex;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.hero-benefits span {
  color: var(--wine);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.hero-benefits strong { font-size: .88rem; font-weight: 600; }

.primary-button,
.secondary-button {
  width: 100%;
  min-height: 56px;
  padding: .95rem 1.3rem;
  border: 1px solid var(--wine);
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.primary-button { color: white; background: var(--wine); }
.secondary-button { color: var(--wine); background: transparent; }
.hero-button { width: auto; min-width: 240px; }
.primary-button:hover { background: var(--wine-dark); box-shadow: 0 12px 28px rgba(126, 38, 58, .2); transform: translateY(-1px); }
.secondary-button:hover { background: var(--wine-wash); transform: translateY(-1px); }
.primary-button:disabled { cursor: not-allowed; opacity: .46; transform: none; box-shadow: none; }

:focus-visible { outline: 3px solid rgba(150, 51, 72, .28); outline-offset: 3px; }

.hero-note { margin: 1rem 0 0; color: var(--muted); font-size: .76rem; }

.hero-visual { grid-area: visual; display: grid; place-items: center; }

.client-comparison {
  position: relative;
  width: min(470px, 86vw);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #e7ddd5;
  box-shadow: var(--shadow);
}

.comparison-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.comparison-before-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
}

.client-comparison::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reveal);
  z-index: 3;
  width: 2px;
  background: white;
  box-shadow: 0 0 0 1px rgba(42, 24, 21, .12);
  content: '';
  transform: translateX(-1px);
  pointer-events: none;
}

.client-comparison::after {
  position: absolute;
  top: 50%;
  left: var(--reveal);
  z-index: 4;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(42, 24, 21, .14);
  border-radius: 50%;
  color: var(--espresso);
  background: white;
  box-shadow: 0 8px 20px rgba(42, 24, 21, .18);
  content: '‹  ›';
  font-size: .9rem;
  font-weight: 700;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.comparison-slider {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: ew-resize;
  opacity: 0;
}

.comparison-label {
  position: absolute;
  z-index: 6;
  color: white;
  background: rgba(42, 24, 21, .74);
  pointer-events: none;
}

.comparison-label { top: 1rem; padding: .42rem .65rem; border-radius: 4px; font-size: .68rem; font-weight: 600; }
.comparison-label-before { left: 1rem; }
.comparison-label-after { right: 1rem; }

.quiz-shell,
.result-shell,
.offer-shell {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) 0 6rem;
}

.quiz-shell-wide { width: min(980px, calc(100% - 2rem)); padding-top: 1.5rem; }
.quiz-card-selfie { padding: 2rem 4rem; }
.quiz-card-selfie .back-button { margin-bottom: 1.4rem; }
.quiz-card-selfie .question-title { font-size: clamp(2.2rem, 3.7vw, 2.8rem); }
.quiz-card-selfie .screen-copy { margin-bottom: 1.2rem; }

.progress-wrap { margin: 0 0 1.5rem; }
.progress-track { height: 3px; overflow: hidden; background: var(--border); }
.progress-fill { display: block; height: 100%; background: var(--wine); transition: width 260ms ease; }

.quiz-card,
.preview-card {
  padding: clamp(1.5rem, 5vw, 4rem);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 253, 248, .92);
  box-shadow: var(--shadow);
}

.back-button {
  margin: 0 0 2rem;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: none;
  font-size: .8rem;
  cursor: pointer;
}

.question-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }

.question-title {
  max-width: 630px;
  margin: 0 0 1rem;
  padding: 0;
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.08;
}

.question-title:focus,
.result-title:focus { outline: none; }

.question-hint,
.screen-copy { margin: 0 0 1.8rem; color: var(--muted); font-size: .88rem; line-height: 1.65; }

.answer-list { display: grid; gap: .72rem; margin-top: 2rem; }

.answer-option {
  min-height: 58px;
  padding: .68rem .9rem;
  display: flex;
  gap: .9rem;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: border 150ms ease, background 150ms ease, transform 150ms ease;
}

.answer-option:hover { border-color: var(--wine); transform: translateX(2px); }
.answer-option[aria-pressed='true'] { border-color: var(--wine); background: var(--wine-wash); }

.answer-marker {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  font-family: var(--sans);
  font-weight: 700;
}

.answer-option[aria-pressed='true'] .answer-marker { color: white; border-color: var(--wine); background: var(--wine); }
.continue-button { margin-top: 1.25rem; }

.visual-answer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.visual-answer-option {
  min-height: 0;
  padding: 0 0 .8rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .72rem;
  overflow: hidden;
  border-radius: 8px;
  transform: none;
}

.visual-answer-option:hover { box-shadow: 0 12px 28px rgba(42, 24, 21, .09); transform: translateY(-2px); }
.visual-answer-option .visual-option-image { grid-row: 1; grid-column: 1 / -1; }
.visual-answer-option .answer-marker { grid-row: 2; margin-left: .85rem; }
.visual-answer-option .answer-label { grid-row: 2; align-self: center; padding-right: .8rem; font-size: .82rem; font-weight: 600; }

.visual-option-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  background-repeat: no-repeat;
  background-size: 200% 300%;
}

.feature-choice-visual { margin: 1.8rem 0 0; overflow: hidden; border: 1px solid var(--border); border-radius: 9px; background: #eee2d5; }
.feature-choice-visual img { width: 100%; height: 330px; display: block; object-fit: cover; }
.feature-answer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-answer-list .answer-option { min-height: 64px; }

.expert-intro-copy { max-width: 760px; }

.expert-profile {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}

.expert-portrait { width: 100%; height: 100%; min-height: 520px; display: block; object-fit: cover; object-position: 50% 34%; }
.expert-profile-copy { padding: clamp(1.5rem, 4vw, 2.8rem); align-self: center; }
.expert-eyebrow { margin: 0 0 .85rem; color: var(--wine); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.expert-name { margin: 0; font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -.025em; }
.expert-role { margin: .3rem 0 1.2rem; color: var(--wine); font-size: .8rem; font-weight: 700; }
.expert-method-copy { margin: 0 0 1.6rem; color: var(--muted); font-size: .8rem; line-height: 1.65; }
.expert-criteria { margin: 0; padding: 1.4rem 0 0; display: grid; gap: 1.15rem; list-style: none; border-top: 1px solid var(--border); }
.expert-criteria li { position: relative; padding-left: 1.2rem; display: grid; gap: .3rem; }
.expert-criteria li::before { position: absolute; left: 0; top: .35rem; width: 6px; height: 6px; border-radius: 50%; background: var(--wine); content: ''; }
.expert-criteria strong { font-size: .84rem; }
.expert-criteria span { color: var(--muted); font-size: .74rem; line-height: 1.55; }
.expert-continue { margin-top: 1rem; }

.selfie-guide { margin-top: 1.8rem; }
.selfie-guide-visual { position: relative; max-height: 260px; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: #eadfd4; }
.selfie-guide-visual::before,
.selfie-guide-visual::after { position: absolute; z-index: 2; width: 48px; height: 48px; content: ''; pointer-events: none; }
.selfie-guide-visual::before { top: 1.5rem; left: 1.5rem; border-top: 3px solid white; border-left: 3px solid white; }
.selfie-guide-visual::after { right: 1.5rem; bottom: 1.5rem; border-right: 3px solid white; border-bottom: 3px solid white; }
.selfie-guide-visual img { width: 100%; height: 260px; display: block; object-fit: cover; object-position: 50% 34%; }
.selfie-rules { margin: 0; padding: 1rem 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; border-bottom: 1px solid var(--border); }
.selfie-rules li { min-height: 54px; padding: .15rem 1rem; display: grid; gap: .3rem; place-items: center; border-right: 1px solid var(--border); text-align: center; }
.selfie-rules li:last-child { border-right: 0; }
.selfie-rule-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--wine); background: var(--wine-wash); font-size: .78rem; }
.selfie-rules strong { font-size: .7rem; }
.selfie-privacy { margin: 1rem 0 0; padding: 1rem 1.1rem; display: flex; gap: .75rem; align-items: center; border-radius: 7px; color: var(--muted); background: #f0ede8; font-size: .72rem; line-height: 1.5; }
.selfie-privacy > span:first-child { color: var(--wine); }

.selfie-actions { margin-top: 1rem; display: grid; grid-template-columns: 1fr; gap: .7rem; }

.selfie-action {
  min-height: 64px;
  padding: .85rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .2rem .8rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.selfie-action:hover { border-color: var(--wine); box-shadow: 0 14px 34px rgba(42, 24, 21, .09); transform: translateY(-2px); }
.selfie-action-camera { color: white; border-color: var(--wine); background: var(--wine); }
.selfie-action-camera:hover { border-color: var(--wine-dark); background: var(--wine-dark); }
.selfie-action input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.selfie-action-icon { grid-row: 1 / 3; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
.selfie-action-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.selfie-action strong { font-size: .95rem; }
.selfie-action small { color: currentColor; font-size: .72rem; line-height: 1.45; opacity: .74; }
.selfie-format-note { margin: .85rem 0 0; color: var(--muted); font-size: .68rem; text-align: center; }

@media (min-width: 761px) {
  .selfie-guide { width: min(680px, 100%); margin-inline: auto; }
  .selfie-guide-visual { width: 100%; max-height: none; aspect-ratio: 19 / 10; }
  .selfie-guide-visual img { height: 100%; }
}

.selfie-preparation-shell { width: min(720px, calc(100% - 2rem)); }
.selfie-preparation-card { padding: clamp(1.35rem, 5vw, 2.8rem); text-align: center; }
.selfie-preparation-card .result-title { font-size: clamp(2rem, 5vw, 3.25rem); }
.selfie-preparation-card .result-summary { margin: .8rem auto 1.5rem; max-width: 520px; }
.selfie-preparation-visual { position: relative; width: min(420px, 100%); aspect-ratio: 5 / 6; margin: 0 auto 1.2rem; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: #e9e2da; box-shadow: 0 20px 48px rgba(42, 24, 21, .11); }
.selfie-preparation-image { width: 100%; height: 100%; display: block; object-fit: contain; background: #e9e2da; }
.selfie-scan-overlay { position: absolute; z-index: 2; inset: 0; overflow: hidden; opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.selfie-scan-overlay.is-full-image-scan { opacity: 1; }
.selfie-scan-laser { position: absolute; z-index: 3; top: 4%; right: 0; left: 0; height: 3px; border-radius: 99px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.95) 10%, #77eadc 50%, rgba(255,255,255,.95) 90%, transparent); box-shadow: 0 0 8px #77eadc, 0 0 22px rgba(119,234,220,.85); opacity: 0; animation: selfie-image-laser 2.25s ease-in-out infinite; }
.selfie-scan-laser::after { position: absolute; top: -12px; right: 0; bottom: -12px; left: 0; background: linear-gradient(180deg, transparent, rgba(119,234,220,.16), transparent); content: ''; }
.selfie-scan-nodes { position: absolute; z-index: 4; inset: 0; }
.selfie-scan-node { position: absolute; top: var(--node-y); left: var(--node-x); width: 8px; height: 8px; border: 1.5px solid white; border-radius: 50%; background: #77eadc; box-shadow: 0 0 0 3px rgba(119,234,220,.16), 0 0 9px rgba(119,234,220,.9); opacity: 0; transform: translate(-50%, -50%) scale(.35); animation: selfie-node-read 2.25s ease-out infinite; animation-delay: var(--node-delay); }
.selfie-preparation-progress { width: min(420px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .7rem; align-items: center; }
.selfie-preparation-progress progress { width: 100%; height: 8px; overflow: hidden; border: 0; border-radius: 99px; accent-color: var(--wine); }
.selfie-preparation-progress progress,
.analysis-progress-wrap progress { appearance: none; background: #ded9d3; }
.selfie-preparation-progress progress::-webkit-progress-bar,
.analysis-progress-wrap progress::-webkit-progress-bar { border-radius: 99px; background: #ded9d3; }
.selfie-preparation-progress progress::-webkit-progress-value,
.analysis-progress-wrap progress::-webkit-progress-value { border-radius: 99px; background: var(--wine); }
.selfie-preparation-progress progress::-moz-progress-bar,
.analysis-progress-wrap progress::-moz-progress-bar { border-radius: 99px; background: var(--wine); }
.selfie-preparation-value { min-width: 2.4rem; color: var(--wine); font-size: .72rem; font-weight: 700; text-align: right; }
.selfie-preparation-stages { width: min(420px, 100%); margin: 1rem auto 0; padding: 0; display: grid; gap: .65rem; list-style: none; text-align: left; }
.selfie-preparation-stages li { position: relative; padding-left: 1.65rem; color: var(--muted); font-size: .76rem; line-height: 1.5; opacity: .48; }
.selfie-preparation-stages li::before { position: absolute; top: .15rem; left: 0; width: 15px; height: 15px; border: 1px solid currentColor; border-radius: 50%; content: ''; }
.selfie-preparation-stages li.is-active { color: var(--espresso); opacity: 1; }
.selfie-preparation-stages li.is-complete { color: var(--trust); opacity: .82; }
.selfie-preparation-stages li.is-complete::before { border-color: var(--trust); background: var(--trust); box-shadow: inset 0 0 0 4px white; }

@keyframes selfie-image-laser {
  0%, 8% { top: 4%; opacity: 0; }
  14% { opacity: 1; }
  82% { top: 96%; opacity: 1; }
  92%, 100% { top: 96%; opacity: 0; }
}
@keyframes selfie-node-read {
  0%, 12% { opacity: 0; transform: translate(-50%, -50%) scale(.35); }
  24%, 76% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: .35; transform: translate(-50%, -50%) scale(.72); }
}

@media (prefers-reduced-motion: reduce) {
  .selfie-scan-laser,
  .selfie-scan-node { animation: none; }
  .selfie-scan-laser { top: 50%; opacity: .7; }
  .selfie-scan-node { opacity: 1; transform: translate(-50%, -50%); }
}

.contact-form { display: grid; gap: 1.15rem; margin-top: 2rem; }
.input-group { display: grid; gap: .45rem; color: var(--muted); font-size: .78rem; font-weight: 600; }
.input-group input { min-height: 52px; padding: .8rem 1rem; border: 1px solid var(--border); border-radius: 5px; color: var(--espresso); background: white; }
.input-group input:focus { border-color: var(--wine); outline: 3px solid rgba(150, 51, 72, .12); }
.consent-row { display: flex; gap: .75rem; align-items: flex-start; color: var(--muted); font-size: .72rem; line-height: 1.55; }
.consent-row input { margin-top: .2rem; accent-color: var(--wine); }

.result-shell { width: min(820px, calc(100% - 2rem)); }
.result-title { max-width: 620px; font-size: clamp(2.5rem, 5vw, 4rem); }
.result-summary { margin: 1.75rem 0; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.preview-result-shell { width: min(940px, calc(100% - 2rem)); }
.preview-map { overflow: hidden; }
.preview-map .result-title { margin-bottom: 1.8rem; }
.preview-signals { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 9px; background: rgba(255, 255, 255, .72); }
.preview-signal { min-width: 0; padding: 1rem 1.1rem; border-right: 1px solid var(--border); }
.preview-signal:last-child { border-right: 0; }
.preview-signal dt { margin-bottom: .42rem; color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.preview-signal dd { margin: 0; font-size: .78rem; font-weight: 700; line-height: 1.45; }
.preview-reading { margin-top: 2rem; }
.preview-section-label { margin: 0; color: var(--wine); font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.preview-reading .result-summary { margin: .7rem 0 0; }
.insight-box { margin: 2rem 0; padding: 1.4rem; display: grid; gap: .5rem; border-left: 3px solid var(--trust); background: var(--trust-wash); }
.insight-box span { color: var(--trust); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.insight-box strong { font-family: var(--sans); font-size: 1.32rem; line-height: 1.2; }
.preview-locked { margin-top: 2rem; padding: 1.35rem; border: 1px solid var(--border); border-radius: 9px; background: linear-gradient(135deg, rgba(247, 229, 228, .6), rgba(255, 253, 248, .9)); }
.preview-locked-heading { display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.preview-lock-badge { padding: .38rem .58rem; border-radius: 999px; color: var(--wine); background: white; font-size: .58rem; font-weight: 700; }
.preview-locked-grid { margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; list-style: none; }
.preview-locked-grid li { min-width: 0; padding: .9rem; display: flex; gap: .7rem; align-items: flex-start; border: 1px solid rgba(216, 207, 196, .8); border-radius: 7px; background: rgba(255, 255, 255, .76); }
.preview-lock-icon { width: 26px; height: 26px; display: grid; flex: 0 0 26px; place-items: center; border-radius: 50%; color: white; background: var(--wine); font-size: .72rem; }
.preview-locked-grid li > span:last-child { display: grid; gap: .32rem; }
.preview-locked-grid strong { font-size: .75rem; line-height: 1.35; }
.preview-locked-grid small { color: var(--muted); font-size: .64rem; line-height: 1.5; }
.preview-tease { color: var(--muted); font-size: .88rem; line-height: 1.65; }
.preview-card > .primary-button { margin-top: 1rem; }

.status-card { min-height: 420px; display: grid; place-items: center; align-content: center; text-align: center; }
.status-card .result-title { max-width: 650px; font-size: clamp(2.4rem, 5vw, 3.8rem); }
.status-card .result-summary { max-width: 520px; }
.status-spinner { width: 42px; height: 42px; margin-bottom: 2rem; border: 2px solid var(--border); border-top-color: var(--wine); border-radius: 50%; animation: spin 900ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.analysis-shell { width: min(980px, calc(100% - 2rem)); }
.analysis-card { min-height: 560px; display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.analysis-card .result-title { font-size: clamp(2.3rem, 4.4vw, 3.7rem); }
.analysis-card .result-summary { margin: 1.25rem 0 1.8rem; font-size: .9rem; }
.analysis-visual { position: relative; width: min(330px, 76vw); aspect-ratio: 5 / 6; place-self: center; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: #e9e2da; box-shadow: 0 24px 58px rgba(42, 24, 21, .13); }
.analysis-selfie { width: 100%; height: 100%; display: block; object-fit: contain; background: #e9e2da; }
.analysis-scan-overlay { position: absolute; z-index: 2; opacity: 0; object-fit: fill; pointer-events: none; transition: opacity 180ms ease; }
.analysis-scan-overlay.is-positioned { opacity: 1; animation: selfie-overlay-pulse 1.8s ease-in-out infinite alternate; }
.analysis-progress-wrap { margin: 0 0 1.4rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem; align-items: center; }
.analysis-progress-wrap progress { width: 100%; height: 9px; overflow: hidden; border: 0; border-radius: 99px; accent-color: var(--wine); }
.analysis-progress-label { color: var(--wine); font-size: .68rem; font-weight: 700; white-space: nowrap; }
@keyframes scan-face { from { transform: translateY(0); } to { transform: translateY(178px); } }
.analysis-stages { margin: 0; padding: 0; display: grid; gap: .8rem; list-style: none; }
.analysis-stages li { display: flex; gap: .75rem; align-items: center; color: var(--muted); font-size: .78rem; opacity: .48; transition: color 240ms ease, opacity 240ms ease, transform 240ms ease; }
.analysis-stages li.is-active { color: var(--espresso); opacity: 1; transform: translateX(4px); }
.analysis-stages li.is-complete { color: var(--trust); opacity: .82; }
.analysis-stage-icon { width: 18px; height: 18px; flex: 0 0 18px; border: 1px solid currentColor; border-radius: 50%; }
.analysis-stages li.is-active .analysis-stage-icon { border: 2px solid rgba(150, 51, 72, .2); border-top-color: var(--wine); animation: spin 850ms linear infinite; }
.analysis-stages li.is-complete .analysis-stage-icon { display: grid; place-items: center; border-color: var(--trust); background: var(--trust); }
.analysis-stages li.is-complete .analysis-stage-icon::after { color: white; content: '✓'; font-size: .62rem; font-weight: 700; }
.analysis-time-note { margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .7rem; line-height: 1.6; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.offer-shell { width: min(1020px, calc(100% - 2rem)); }
.offer-intro { max-width: 700px; margin: 0 auto 3rem; text-align: center; }
.offer-title { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.offer-subtitle { color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; align-items: stretch; }
.plan-card { position: relative; padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.plan-card.is-featured { border: 2px solid var(--wine); box-shadow: var(--shadow); }
.plan-name { margin: 0; font-family: var(--sans); font-size: 2rem; font-weight: 600; }
.plan-description { min-height: 3.2rem; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.plan-price { margin: 1.2rem 0; display: flex; gap: .35rem; align-items: baseline; }
.plan-price strong { font-family: var(--sans); font-size: 3.5rem; line-height: 1; }
.plan-price small { color: var(--muted); font-size: .68rem; }
.feature-list { margin: 0 0 2rem; padding: 0; display: grid; gap: .8rem; list-style: none; color: var(--muted); font-size: .8rem; }
.feature-list li { position: relative; padding-left: 1.35rem; }
.feature-list li::before { position: absolute; left: 0; color: var(--trust); content: '✓'; font-weight: 700; }
.plan-card button { margin-top: auto; }

/* Offer checkout */
.offer-checkout { width: min(820px, calc(100% - 2rem)); padding-top: 2rem; }
.offer-stepper { margin: 0 0 2.2rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; list-style: none; }
.offer-stepper li { position: relative; display: flex; gap: .65rem; align-items: center; color: var(--muted); font-size: .72rem; }
.offer-stepper li::after { position: absolute; top: 15px; right: 1rem; left: 42px; height: 1px; background: var(--border); content: ''; }
.offer-stepper li:last-child { justify-content: flex-end; }
.offer-stepper li:last-child::after { display: none; }
.offer-stepper span { z-index: 1; width: 30px; height: 30px; display: grid; flex: 0 0 30px; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--ivory); }
.offer-stepper .is-active { color: var(--wine); }
.offer-stepper .is-active span { color: white; border-color: var(--wine); background: var(--wine); }
.offer-checkout .offer-intro { max-width: 690px; margin-bottom: 1.8rem; animation: offer-rise 520ms cubic-bezier(.22, 1, .36, 1) both; }
.offer-checkout .offer-title { font-size: clamp(2.5rem, 6vw, 4.4rem); }
.offer-checkout .offer-subtitle { margin: 1rem auto 0; max-width: 620px; line-height: 1.7; }

.offer-journey { padding: .7rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; border: 1px solid var(--border); border-radius: 13px; background: rgba(255, 253, 248, .8); box-shadow: 0 18px 55px rgba(42, 24, 21, .08); animation: offer-rise 560ms 80ms cubic-bezier(.22, 1, .36, 1) both; }
.offer-journey-card { position: relative; min-height: 180px; overflow: hidden; border-radius: 9px; background: #eee6dc; }
.offer-journey-card img { width: 100%; height: 100%; display: block; object-fit: cover; }
.offer-journey-card small { line-height: 1.35; }
.offer-journey-source { padding: 1.25rem; display: flex; flex-direction: column; justify-content: flex-end; background: radial-gradient(circle at 50% 34%, rgba(150, 51, 72, .17) 0 22%, transparent 23%), linear-gradient(145deg, #f7e5e4, #fffdf8); }
.offer-journey-source::before { position: absolute; top: 28px; left: calc(50% - 29px); width: 58px; height: 72px; border: 1px solid rgba(150, 51, 72, .28); border-radius: 50% 50% 44% 44%; content: ''; }
.offer-journey-source.has-image { padding: 0; background: #e9ded5; }
.offer-journey-source.has-image::before { display: none; }
.offer-source-image { position: absolute; inset: 0; object-position: 50% 38%; }
.offer-source-copy { z-index: 1; padding: 1.6rem 1rem .85rem; display: grid; gap: .18rem; background: linear-gradient(transparent, rgba(42, 24, 21, .9)); }
.offer-journey-source:not(.has-image) .offer-source-copy { padding: 0; background: transparent; }
.offer-journey-source strong { color: white; font-size: .82rem; }
.offer-journey-source small { color: rgba(255, 255, 255, .82); font-size: .67rem; }
.offer-journey-source:not(.has-image) strong { color: var(--espresso); }
.offer-journey-source:not(.has-image) small { color: var(--muted); }
.offer-journey-icon { display: none; }
.offer-journey-locked { display: grid; place-items: center; background: #d6c8bb; }
.offer-journey-locked img { filter: blur(1px); transform: scale(1.04); }
.offer-journey-locked.is-pending img { filter: blur(14px) saturate(.72); transform: scale(1.12); }
.offer-preview-lock { position: absolute; right: .55rem; bottom: .55rem; left: .55rem; padding: .55rem .65rem; border-radius: 6px; color: white; background: rgba(42, 24, 21, .82); font-size: .68rem; font-weight: 700; text-align: center; animation: lock-settle 700ms 420ms cubic-bezier(.22, 1, .36, 1) both; }
.offer-preview-fallback { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: white; background: rgba(42, 24, 21, .78); font-size: 1.2rem; }
.offer-journey-locked > small { position: absolute; right: .75rem; bottom: .7rem; left: .75rem; color: var(--espresso); font-size: .65rem; text-align: center; }
.offer-journey-locked.is-pending > small { padding: .5rem .55rem; border-radius: 5px; color: white; background: rgba(42, 24, 21, .78); font-weight: 700; }
.offer-journey-premium small { position: absolute; right: .45rem; bottom: .45rem; left: .45rem; padding: .5rem; border-radius: 5px; color: var(--espresso); background: rgba(255, 253, 248, .9); font-size: .64rem; font-weight: 700; text-align: center; }
.offer-details-trigger { margin: .9rem auto 2.5rem; padding: .35rem; display: block; border: 0; color: var(--wine); background: transparent; font-size: .8rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.offer-selector { padding: clamp(1.25rem, 4vw, 2.25rem); border: 1px solid var(--border); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow); animation: offer-rise 560ms 150ms cubic-bezier(.22, 1, .36, 1) both; }
.offer-selector > h2, .offer-authority h2, .offer-proof > h2 { margin: 0; font-size: clamp(1.65rem, 4vw, 2.2rem); line-height: 1.15; }
.offer-selector-lead { margin: .5rem 0 1.35rem; color: var(--muted); font-size: .8rem; line-height: 1.55; }
.offer-plan-choices { margin: 0; padding: 0; display: grid; gap: .7rem; border: 0; }
.offer-plan-row { position: relative; min-height: 90px; padding: 1rem; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .85rem; align-items: start; border: 1px solid var(--border); border-radius: 9px; background: white; cursor: pointer; transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.offer-plan-row:hover { border-color: rgba(150, 51, 72, .55); }
.offer-plan-row.is-selected { border: 2px solid var(--wine); background: linear-gradient(90deg, var(--wine-wash), white 68%); box-shadow: 0 14px 32px rgba(126, 38, 58, .11); transform: translateY(-2px); }
.offer-plan-row input { position: absolute; opacity: 0; pointer-events: none; }
.offer-radio { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #a99d95; border-radius: 50%; background: white; }
.offer-plan-row.is-selected .offer-radio { border: 6px solid var(--wine); }
.offer-plan-copy { min-width: 0; display: grid; gap: .28rem; }
.offer-plan-heading { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.offer-plan-heading strong { font-size: 1rem; }
.offer-plan-heading em { padding: .22rem .45rem; border-radius: 999px; color: #566737; background: var(--trust-wash); font-size: .58rem; font-style: normal; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.offer-plan-copy small { max-width: 470px; color: var(--muted); font-size: .69rem; line-height: 1.45; }
.offer-plan-features { margin: .55rem 0 0; padding: .65rem 0 0; display: grid; gap: .32rem; border-top: 1px solid rgba(216, 207, 196, .72); list-style: none; }
.offer-plan-features li { display: flex; gap: .45rem; align-items: flex-start; color: var(--muted); font-size: .68rem; line-height: 1.42; }
.offer-feature-icon { width: 16px; height: 16px; flex: 0 0 16px; margin-top: .04rem; color: var(--trust); }
.offer-plan-features .offer-plan-includes { color: var(--espresso); font-weight: 800; }
.offer-plan-features .offer-plan-includes .offer-feature-icon { color: var(--wine); }
.offer-voucher-benefit { margin-top: .65rem; padding: .68rem .72rem; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: .62rem; align-items: center; border: 1px solid rgba(150, 51, 72, .2); border-radius: 8px; color: var(--espresso); background: linear-gradient(110deg, rgba(150, 51, 72, .1), rgba(255, 253, 248, .9)); }
.offer-voucher-benefit-icon, .embedded-voucher-reminder-icon { position: relative; width: 34px; height: 34px; display: block; border-radius: 50%; background: var(--wine); box-shadow: 0 7px 16px rgba(126, 38, 58, .16); }
.offer-voucher-benefit-icon::before, .embedded-voucher-reminder-icon::before { position: absolute; top: 10px; left: 8px; width: 18px; height: 15px; border: 2px solid white; border-radius: 2px; content: ''; }
.offer-voucher-benefit-icon::after, .embedded-voucher-reminder-icon::after { position: absolute; top: 8px; left: 16px; width: 2px; height: 19px; background: white; box-shadow: -8px 5px 0 -5px white, 8px 5px 0 -5px white; content: ''; }
.offer-voucher-benefit-copy { min-width: 0; display: grid; gap: .1rem; }
.offer-voucher-benefit-copy strong { color: var(--wine); font-size: .76rem; line-height: 1.3; }
.offer-plan-copy .offer-voucher-benefit-copy small { font-size: .61rem; line-height: 1.4; }
.offer-plan-price { margin-top: .05rem; font-size: 1.05rem; white-space: nowrap; }
.offer-upgrade-copy { margin: 1rem 0; padding: .8rem; border-radius: 7px; color: #4d5937; background: var(--trust-wash); font-size: .75rem; font-weight: 700; text-align: center; }
.offer-cta { min-height: 60px; font-size: .92rem; }
.offer-checkout-status { min-height: 1.25em; margin: .55rem 0 0; color: var(--wine); font-size: .7rem; text-align: center; }
.offer-payment-note { margin-top: 1rem; display: grid; grid-template-columns: repeat(3, 1fr); color: var(--muted); font-size: .67rem; font-weight: 700; text-align: center; }
.offer-payment-note span { padding: .35rem; border-right: 1px solid var(--border); }
.offer-payment-note span:last-child { border-right: 0; }

.offer-rescue { position: fixed; z-index: 30; right: max(1rem, calc((100vw - 1080px) / 2)); bottom: 1rem; width: min(520px, calc(100vw - 2rem)); padding: 1rem 1.1rem; display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 1rem; align-items: center; border: 1px solid rgba(150, 51, 72, .28); border-radius: 14px; background: rgba(255, 253, 248, .98); box-shadow: 0 22px 70px rgba(42, 24, 21, .2); backdrop-filter: blur(12px); animation: rescue-enter 480ms cubic-bezier(.22, 1, .36, 1) both; }
.offer-rescue-close { position: absolute; top: .45rem; right: .55rem; width: 30px; height: 30px; border: 0; border-radius: 50%; color: var(--muted); background: transparent; font-size: 1.3rem; line-height: 1; cursor: pointer; }
.offer-rescue-close:hover { color: var(--wine); background: var(--wine-wash); }
.offer-rescue-close:focus-visible { outline: 3px solid rgba(150, 51, 72, .2); outline-offset: 1px; }
.offer-rescue-price { width: 82px; height: 82px; display: grid; place-content: center; gap: .15rem; border-radius: 50%; color: white; background: var(--wine); text-align: center; box-shadow: 0 10px 24px rgba(126, 38, 58, .22); }
.offer-rescue-price small { font-size: .52rem; font-weight: 700; line-height: 1.1; text-transform: uppercase; }
.offer-rescue-price strong { font-size: 1.45rem; line-height: 1; }
.offer-rescue-copy { min-width: 0; padding-right: 1rem; }
.offer-rescue-copy h2 { margin: 0; font-size: 1.15rem; }
.offer-rescue-copy p { margin: .35rem 0 .7rem; color: var(--muted); font-size: .7rem; line-height: 1.45; }
.offer-rescue-cta { min-height: 44px; padding: .7rem .9rem; font-size: .7rem; }
.offer-rescue-status { display: block; margin-top: .35rem; color: var(--wine); font-size: .62rem; }

@keyframes offer-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lock-settle {
  0% { opacity: 0; transform: translateY(8px) scale(.97); }
  70% { opacity: 1; transform: translateY(-2px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes rescue-enter {
  from { opacity: 0; transform: translateY(28px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.embedded-payment-panel { scroll-margin-top: 1.25rem; margin-top: 1rem; padding: clamp(1.25rem, 4vw, 2.2rem); border: 1px solid var(--border); border-radius: 13px; background: var(--surface); box-shadow: var(--shadow); }
.embedded-payment-panel[hidden] { display: none; }
.embedded-payment-header { padding-bottom: 1.25rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: end; border-bottom: 1px solid var(--border); }
.embedded-payment-header h2 { margin: 0; font-size: clamp(1.45rem, 3.5vw, 2rem); }
.embedded-payment-intro { margin: .55rem 0 0; max-width: 560px; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.embedded-payment-summary { min-width: 132px; padding: .8rem 1rem; display: grid; gap: .25rem; border-radius: 8px; color: var(--espresso); background: var(--wine-wash); text-align: right; }
.embedded-payment-summary strong { font-size: .74rem; }
.embedded-payment-summary span { color: var(--wine); font-size: 1.2rem; font-weight: 800; }
.embedded-voucher-reminder { margin-top: 1rem; padding: .78rem .9rem; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: .7rem; align-items: center; border: 1px solid rgba(150, 51, 72, .2); border-radius: 9px; background: linear-gradient(110deg, var(--wine-wash), rgba(255, 253, 248, .82)); }
.embedded-voucher-reminder[hidden] { display: none; }
.embedded-voucher-reminder-copy { display: grid; gap: .15rem; }
.embedded-voucher-reminder-copy strong { color: var(--wine); font-size: .78rem; }
.embedded-voucher-reminder-copy small { color: var(--muted); font-size: .64rem; line-height: 1.45; }
.embedded-payment-methods { margin-top: 1.25rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.embedded-payment-method { min-height: 72px; padding: .85rem 1rem; display: flex; gap: .8rem; align-items: center; border: 1px solid var(--border); border-radius: 9px; color: var(--espresso); background: white; text-align: left; cursor: pointer; transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.embedded-payment-method:hover { border-color: rgba(150, 51, 72, .55); }
.embedded-payment-method:focus-visible { outline: 3px solid rgba(150, 51, 72, .22); outline-offset: 2px; }
.embedded-payment-method.is-selected { border: 2px solid var(--wine); background: var(--wine-wash); box-shadow: 0 8px 22px rgba(126, 38, 58, .08); }
.embedded-payment-method-icon { position: relative; width: 34px; height: 34px; display: grid; flex: 0 0 34px; place-items: center; border-radius: 50%; color: var(--wine); background: white; }
.embedded-payment-method-icon::before, .embedded-payment-method-icon::after { position: absolute; content: ''; }
[data-payment-method="pix"] .embedded-payment-method-icon::before { width: 11px; height: 11px; border: 2px solid currentColor; border-radius: 2px; transform: rotate(45deg); }
[data-payment-method="pix"] .embedded-payment-method-icon::after { width: 4px; height: 4px; border: 2px solid currentColor; border-radius: 1px; transform: rotate(45deg); }
[data-payment-method="card"] .embedded-payment-method-icon::before { width: 17px; height: 12px; border: 2px solid currentColor; border-radius: 3px; }
[data-payment-method="card"] .embedded-payment-method-icon::after { width: 13px; height: 2px; background: currentColor; transform: translateY(-2px); }
.embedded-payment-method > span:last-child { display: grid; gap: .15rem; }
.embedded-payment-method strong { font-size: .82rem; }
.embedded-payment-method small { color: var(--muted); font-size: .65rem; }
.embedded-payment-status { margin: 1rem 0 0; min-height: 1.4em; color: var(--muted); font-size: .74rem; }
.embedded-payment-status.is-loading::before { width: 13px; height: 13px; margin-right: .5rem; display: inline-block; vertical-align: -2px; border: 2px solid rgba(150, 51, 72, .22); border-top-color: var(--wine); border-radius: 50%; content: ''; animation: spin 700ms linear infinite; }
.embedded-payment-status.is-error { padding: .75rem; border-radius: 7px; color: #7a2439; background: #fbecef; }
.embedded-payment-notice { margin: 1rem 0 0; padding: .75rem .85rem; border-left: 3px solid var(--trust); border-radius: 0 7px 7px 0; color: #4d5937; background: var(--trust-wash); font-size: .72rem; line-height: 1.55; }
.embedded-payment-notice[hidden] { display: none; }
.embedded-payment-method:disabled { cursor: not-allowed; opacity: .48; }
.embedded-checkout-host { min-height: 420px; margin-top: .6rem; }
.embedded-checkout-host:empty { min-height: 0; }
.ticto-checkout-embed { width: 100%; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: #f4f7fb; box-shadow: 0 14px 42px rgba(42, 24, 21, .08); }
.ticto-checkout-frame { width: 100%; height: 1480px; display: block; border: 0; background: #f4f7fb; }
.ticto-checkout-fallback { margin: 0; padding: .8rem 1rem; border-top: 1px solid var(--border); background: var(--surface); text-align: center; }
.ticto-checkout-fallback a { color: var(--wine); font-size: .7rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ticto-checkout-fallback a:focus-visible { outline: 3px solid rgba(150, 51, 72, .22); outline-offset: 3px; }

.offer-authority { margin: 4rem 0; display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; }
.offer-authority img { width: 100%; aspect-ratio: 4 / 5; display: block; border-radius: 12px; object-fit: cover; object-position: 50% 25%; box-shadow: 0 16px 45px rgba(42, 24, 21, .12); }
.offer-eyebrow { margin: 0 0 .75rem; color: var(--wine); font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.offer-authority p:last-child { color: var(--muted); font-size: .82rem; line-height: 1.72; }
.offer-proof { margin: 4rem 0; }
.testimonial-grid { margin-top: 1.5rem; display: grid; gap: .8rem; }
.testimonial-card { padding: 1.25rem; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); box-shadow: 0 10px 34px rgba(42, 24, 21, .055); }
.testimonial-card header { display: flex; gap: .8rem; align-items: center; }
.testimonial-card header img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.testimonial-card header div { display: grid; gap: .2rem; }
.testimonial-card header strong { font-size: .84rem; }
.testimonial-card header small { color: var(--muted); font-size: .65rem; }
.testimonial-card h3 { margin: 1rem 0 .45rem; font-size: 1rem; }
.testimonial-card p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.65; }
.offer-reassurance { padding: 1.2rem; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: 10px; background: rgba(255, 253, 248, .7); }
.offer-reassurance article { padding: .4rem 1rem; border-right: 1px solid var(--border); }
.offer-reassurance article:last-child { border-right: 0; }
.offer-reassurance strong { font-size: .75rem; }
.offer-reassurance p { margin: .35rem 0 0; color: var(--muted); font-size: .65rem; line-height: 1.5; }

.has-offer-dialog { overflow: hidden; }
.offer-details-overlay { position: fixed; inset: 0; z-index: 100; padding: 1rem; display: grid; place-items: center; background: rgba(42, 24, 21, .58); backdrop-filter: blur(6px); }
.offer-details-dialog { width: min(760px, 100%); max-height: calc(100vh - 2rem); overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: 0 30px 90px rgba(25, 12, 10, .28); }
.offer-details-header { min-height: 64px; padding: 0 1.25rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); background: rgba(255, 253, 248, .96); }
.offer-details-brand { font-weight: 800; }
.offer-details-close { padding: .55rem .75rem; border: 1px solid var(--border); border-radius: 5px; background: white; cursor: pointer; }
.offer-details-body { max-height: calc(100vh - 5rem); padding: clamp(1.25rem, 4vw, 2.3rem); overflow-y: auto; overscroll-behavior: contain; }
.offer-details-body > h2, .offer-details-section > h2 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.1; }
.offer-details-lead { color: var(--muted); line-height: 1.65; }
.offer-details-section { margin-top: 2.3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.offer-details-eyebrow { margin: 0 0 1rem; color: var(--wine); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.offer-details-item { padding: 1rem 0; display: grid; grid-template-columns: auto 1fr; gap: .9rem; border-bottom: 1px solid var(--border); }
.offer-details-item-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--trust); background: var(--trust-wash); font-weight: 800; }
.offer-details-item h3, .offer-details-premium-card h3 { margin: 0 0 .35rem; font-size: 1rem; }
.offer-details-item p, .offer-details-premium-card p, .offer-details-faq p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.6; }
.offer-details-premium-grid { margin-top: 1.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.offer-details-premium-card { padding: 1.1rem; border-radius: 8px; background: var(--wine-wash); }
.offer-comparison-table { width: 100%; margin-top: 1.2rem; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; font-size: .72rem; }
.offer-comparison-table th, .offer-comparison-table td { padding: .75rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; white-space: pre-line; }
.offer-comparison-table th:first-child { width: 52%; text-align: left; }
.offer-comparison-table td:last-child, .offer-comparison-table th:last-child { border-right: 0; background: rgba(237, 242, 229, .58); }
.offer-comparison-table tr:last-child > * { border-bottom: 0; }
.offer-details-upgrade { padding: .85rem; border-radius: 0 0 8px 8px; background: var(--trust-wash); font-size: .72rem; font-weight: 700; text-align: center; }
.offer-details-faq details { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.offer-details-faq summary { font-size: .8rem; font-weight: 700; cursor: pointer; }
.offer-details-faq details p { padding-top: .7rem; }
.offer-details-faq > a { margin-top: 1rem; display: inline-block; color: var(--wine); font-size: .76rem; }
.noscript { padding: 1rem; text-align: center; }

/* Diagnóstico bloqueado — etapa editorial entre a análise e a escolha do plano */
.locked-diagnostic-shell {
  width: min(740px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 0 7rem;
  animation: locked-report-rise 420ms ease-out both;
}

.locked-diagnostic-header { max-width: 650px; margin: 0 auto 2rem; text-align: center; }
.locked-diagnostic-header h1 { margin: 0; font-size: clamp(2.35rem, 6vw, 4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.03; }
.locked-diagnostic-lead { max-width: 560px; margin: 1.1rem auto 0; color: var(--muted); font-size: .94rem; line-height: 1.7; }

.locked-diagnostic-comparison {
  padding: .55rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 18px 55px rgba(42, 24, 21, .08);
}

.locked-diagnostic-photo { position: relative; min-width: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; background: #e8ded5; }
.locked-diagnostic-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 28%; }
.locked-diagnostic-photo-label { position: absolute; top: .7rem; left: .7rem; z-index: 2; padding: .38rem .55rem; border-radius: 4px; color: white; background: rgba(42, 24, 21, .76); font-size: .59rem; font-weight: 700; letter-spacing: .02em; }
.locked-diagnostic-transformation-image { filter: blur(12px); transform: scale(1.09); }
.locked-diagnostic-photo.is-processing .locked-diagnostic-transformation-image { filter: blur(15px) saturate(.75); }
.locked-diagnostic-photo.is-unavailable .locked-diagnostic-transformation-image { filter: blur(18px) grayscale(.25); }
.locked-image-fallback { width: 100%; height: 100%; background: #ded6ce; }
.locked-diagnostic-transformation-overlay { position: absolute; inset: 0; z-index: 1; padding: 1rem; display: grid; place-content: center; gap: .65rem; color: white; background: rgba(42, 24, 21, .28); text-align: center; }
.locked-diagnostic-transformation-overlay strong { max-width: 180px; font-size: .75rem; line-height: 1.45; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }

.locked-diagnostic-card { position: relative; margin-top: 1rem; padding: clamp(1.25rem, 4vw, 2rem); overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); box-shadow: 0 10px 36px rgba(42, 24, 21, .045); }
.locked-diagnostic-card h2 { margin: 0; font-size: clamp(1.35rem, 3.6vw, 2rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.13; }
.locked-diagnostic-eyebrow { margin: 0 0 .65rem; color: var(--wine); font-size: .61rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.locked-diagnostic-section-copy { max-width: 540px; margin: .55rem 0 1.3rem; color: var(--muted); font-size: .76rem; line-height: 1.6; }

.locked-diagnostic-signals { margin: 1.35rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 10px; }
.locked-diagnostic-signal { min-width: 0; padding: 1rem; border-right: 1px solid var(--border); }
.locked-diagnostic-signal:last-child { border-right: 0; }
.locked-diagnostic-signal dt { margin-bottom: .4rem; color: var(--muted); font-size: .58rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.locked-diagnostic-signal dd { margin: 0; font-size: .82rem; font-weight: 700; line-height: 1.4; }
.locked-diagnostic-reading-copy { padding: 1.15rem 0 0; }
.locked-diagnostic-reading-copy + .locked-diagnostic-reading-copy { margin-top: 1rem; border-top: 1px solid var(--border); }
.locked-diagnostic-reading-copy strong { display: block; margin-bottom: .45rem; color: var(--trust); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.locked-diagnostic-reading-copy p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.72; }

.locked-simulation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; overflow: hidden; border-radius: 10px; }
.locked-simulation-tile { aspect-ratio: 1 / 1.12; overflow: hidden; background: #e5dcd3; }
.locked-simulation-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 26%; filter: blur(10px) saturate(.72); transform: scale(1.13); }
.locked-simulation-tile.variation-2 .locked-simulation-image { object-position: 42% 25%; transform: scale(1.16) translateX(2%); }
.locked-simulation-tile.variation-3 .locked-simulation-image { object-position: 58% 25%; transform: scale(1.16) translateX(-2%); }

.locked-copy-lines { padding: .2rem 0; display: grid; gap: .65rem; filter: blur(4px); }
.locked-copy-line { height: 10px; display: block; border-radius: 999px; background: #cfc7bf; }
.locked-copy-line.line-1 { width: 92%; }
.locked-copy-line.line-2 { width: 76%; }
.locked-copy-line.line-3 { width: 86%; }
.locked-copy-line.line-4 { width: 61%; }

.locked-color-palette { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .45rem; filter: blur(3px); }
.locked-color-swatch { aspect-ratio: 1.3; border-radius: 5px; background: #a3a98d; }
.locked-color-swatch:nth-child(6n + 1) { background: #7e3841; }
.locked-color-swatch:nth-child(6n + 2) { background: #b88769; }
.locked-color-swatch:nth-child(6n + 3) { background: #345e63; }
.locked-color-swatch:nth-child(6n + 4) { background: #c7b99f; }
.locked-color-swatch:nth-child(6n + 5) { background: #6f7387; }
.locked-color-swatch:nth-child(6n) { background: #d7a6a2; }

.locked-style-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
.locked-style-gallery img { width: 100%; aspect-ratio: 4 / 5; display: block; border-radius: 8px; object-fit: cover; filter: blur(7px) saturate(.68); transform: scale(1.02); }

.locked-panel-overlay { position: absolute; inset: 5.6rem 1rem 1rem; display: grid; place-content: center; justify-items: center; gap: .65rem; border-radius: 10px; background: rgba(255, 253, 248, .2); }
.locked-diagnostic-lock { width: fit-content; padding: .42rem .62rem; border: 1px solid rgba(42, 24, 21, .14); border-radius: 999px; color: var(--espresso); background: rgba(255, 253, 248, .94); box-shadow: 0 8px 20px rgba(42, 24, 21, .09); font-size: .58rem; font-weight: 800; }
.locked-diagnostic-unlock { min-height: 38px; padding: .6rem 1rem; border: 1px solid var(--espresso); border-radius: 999px; color: white; background: var(--espresso); font-size: .66rem; font-weight: 700; cursor: pointer; }
.locked-diagnostic-unlock:hover { background: var(--wine-dark); }

.locked-diagnostic-index { padding-bottom: .65rem; }
.locked-diagnostic-index-list { margin: 1.25rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.locked-diagnostic-index-item { min-width: 0; padding: .9rem 0; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: .75rem; align-items: center; border-bottom: 1px solid var(--border); }
.locked-index-number { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 8px; color: var(--wine); background: var(--wine-wash); font-size: .6rem; font-weight: 800; }
.locked-index-copy { min-width: 0; display: grid; gap: .2rem; }
.locked-index-copy strong { font-size: .79rem; }
.locked-index-copy small { color: var(--muted); font-size: .63rem; line-height: 1.4; }

.locked-diagnostic-summary { padding: clamp(1.5rem, 5vw, 2.5rem); }
.locked-diagnostic-summary-list { margin: 1.5rem 0; padding: 0; display: grid; gap: .8rem; list-style: none; }
.locked-diagnostic-summary-list li { display: flex; gap: .75rem; align-items: center; font-size: .78rem; }
.locked-summary-marker { width: 25px; height: 25px; display: grid; flex: 0 0 25px; place-items: center; border-radius: 50%; color: white; background: var(--trust); font-size: .7rem; font-weight: 800; }
.locked-diagnostic-primary-cta { margin-top: .5rem; }
.locked-diagnostic-sticky-cta { display: none; }

@keyframes locked-report-rise {
  from { opacity: 0; }
  to { opacity: 1; }
}

.result-document { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; padding: 5rem 0 7rem; }
.result-document-hero { max-width: 800px; margin-bottom: 4rem; }
.result-document-hero .result-title { font-size: clamp(3rem, 6vw, 5rem); }
.result-reading-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1rem 0 4rem; }
.result-section { padding: clamp(1.4rem, 4vw, 2.5rem); border: 1px solid var(--border); border-radius: 7px; background: var(--surface); }
.result-section h2, .recommendations-section > h2, .simulations-section > h2 { margin: 0 0 1rem; font-family: var(--sans); font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 600; line-height: 1.08; }
.result-section p, .result-section li { color: var(--muted); font-size: .88rem; line-height: 1.7; }
.recommendations-section, .simulations-section { margin: 5rem 0; }
.recommendation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.recommendation-card { padding: 1.7rem; border-top: 3px solid var(--wine); background: var(--surface); box-shadow: 0 12px 40px rgba(42, 24, 21, .07); }
.recommendation-number { color: var(--wine); font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.recommendation-card h3 { margin: .8rem 0; font-family: var(--sans); font-size: 1.7rem; font-weight: 600; line-height: 1.08; }
.recommendation-card > p, .salon-brief p, .maintenance-note { color: var(--muted); font-size: .78rem; line-height: 1.65; }
.salon-brief { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.salon-brief strong, .maintenance-note strong { color: var(--espresso); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.simulation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.simulation-card { margin: 0; overflow: hidden; border-radius: 6px; background: var(--surface); }
.simulation-card img { width: 100%; aspect-ratio: 2 / 3; display: block; object-fit: cover; }
.simulation-card figcaption { padding: 1rem; font-family: var(--sans); font-size: 1.15rem; font-weight: 600; }
.premium-result-section { margin: 5rem 0; padding: clamp(1.5rem, 5vw, 3.2rem); border: 1px solid var(--border); border-radius: 12px; background: var(--surface); box-shadow: 0 18px 55px rgba(42, 24, 21, .07); }
.premium-result-section > h2 { margin: 0; max-width: 760px; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.08; }
.premium-result-summary { max-width: 740px; margin: 1rem 0 2rem; color: var(--muted); font-size: .9rem; line-height: 1.75; }
.color-group-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.color-group { padding: 1.1rem; border-radius: 8px; background: var(--ivory); }
.color-group.is-best { border-top: 3px solid var(--trust); }
.color-group.is-accent { border-top: 3px solid var(--wine); }
.color-group.is-avoid { border-top: 3px solid #9a877e; }
.color-group h3 { margin: 0 0 .85rem; font-size: .82rem; }
.color-token-list, .style-priority-list, .look-piece-list { margin: 0; padding: 0; list-style: none; }
.color-token-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.color-token-list li { padding: .4rem .58rem; border: 1px solid rgba(42, 24, 21, .1); border-radius: 999px; color: var(--espresso); background: white; font-size: .65rem; }
.color-analysis-section > .result-section { margin-top: 1.2rem; padding: 1.4rem; border-left: 3px solid var(--wine); background: var(--wine-wash); }
.color-analysis-section > .result-section h2 { font-size: 1.2rem; }
.color-analysis-section > .result-section p { margin-bottom: 0; }
.style-priority-list { margin-bottom: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.style-priority-list li { padding: .48rem .72rem; border-radius: 999px; color: #4d5937; background: var(--trust-wash); font-size: .68rem; font-weight: 700; }
.look-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.look-card { padding: 1.3rem; border: 1px solid var(--border); border-radius: 8px; background: linear-gradient(155deg, white, #fbf7f0); }
.look-number { color: var(--wine); font-size: .62rem; font-weight: 800; letter-spacing: .1em; }
.look-card h3 { margin: .65rem 0 1rem; font-size: 1.25rem; }
.look-piece-list { margin-bottom: 1rem; display: grid; gap: .45rem; }
.look-piece-list li { position: relative; padding-left: 1rem; font-size: .74rem; }
.look-piece-list li::before { position: absolute; left: 0; color: var(--wine); content: '•'; }
.look-card p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.6; }
.result-actions { max-width: 460px; margin: 5rem auto 0; text-align: center; }
.result-actions p { color: var(--muted); font-size: .7rem; }
.delete-data-button { margin-top: 1rem; padding: .65rem 1rem; border: 0; color: var(--muted); background: transparent; font-size: .72rem; text-decoration: underline; cursor: pointer; }
.site-footer { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .72rem; }
.site-footer a { color: inherit; }
.legal-page { width: min(760px, calc(100% - 2rem)); margin: 0 auto; padding: 4rem 0 7rem; }
.legal-page h1 { margin: 0 0 1rem; font-family: var(--sans); font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 600; line-height: 1.05; }
.legal-page h2 { margin: 2.8rem 0 .8rem; font-family: var(--sans); font-size: 1.7rem; font-weight: 600; }
.legal-page p, .legal-page li { color: var(--muted); font-size: .88rem; line-height: 1.8; }
.legal-date { margin-bottom: 3rem; font-size: .72rem !important; }

@media (max-width: 760px) {
  .site-header { width: min(100% - 2rem, 720px); min-height: 70px; }
  .site-header p { display: none; }
  #app { min-height: calc(100vh - 71px); }
  .hero { width: min(100% - 2rem, 620px); min-height: auto; grid-template-columns: 1fr; grid-template-areas: 'intro' 'visual' 'conversion'; grid-template-rows: auto; gap: 2.5rem; padding: 3.2rem 0 4rem; }
  .hero h1 { font-size: clamp(2.25rem, 10vw, 3.2rem); }
  .client-comparison { width: min(360px, 88vw); }
  .hero-button { width: 100%; }
  .quiz-shell, .result-shell, .offer-shell { padding-top: 1.5rem; }
  .quiz-card, .preview-card { padding: 1.35rem; }
  .preview-signals { grid-template-columns: 1fr; }
  .preview-signal { border-right: 0; border-bottom: 1px solid var(--border); }
  .preview-signal:last-child { border-bottom: 0; }
  .preview-locked-grid { grid-template-columns: 1fr; }
  .quiz-card-selfie { padding: 1.35rem; }
  .question-title { font-size: 2rem; }
  .plan-grid { grid-template-columns: 1fr; gap: 2rem; }
  .result-document { padding-top: 3rem; }
  .result-reading-grid, .recommendation-grid, .simulation-grid { grid-template-columns: 1fr; }
  .color-group-grid, .look-grid { grid-template-columns: 1fr; }
  .visual-answer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .visual-answer-option { gap: .5rem; padding-bottom: .65rem; }
  .visual-answer-option .answer-marker { width: 25px; height: 25px; flex-basis: 25px; margin-left: .65rem; font-size: .65rem; }
  .visual-answer-option .answer-label { padding-right: .5rem; font-size: .72rem; }
  .feature-answer-list { grid-template-columns: 1fr; }
  .feature-choice-visual img { height: auto; aspect-ratio: 16 / 9; }
  .expert-profile { grid-template-columns: 1fr; }
  .expert-portrait { min-height: 0; aspect-ratio: 4 / 3; object-position: 50% 28%; }
  .selfie-guide-visual, .selfie-guide-visual img { height: 280px; }
  .selfie-rules li { padding-inline: .45rem; }
  .selfie-rule-icon { width: 28px; height: 28px; }
  .selfie-rules strong { font-size: .62rem; }
  .analysis-card { min-height: auto; grid-template-columns: 1fr; gap: 2rem; }
  .analysis-visual { width: min(230px, 68vw); }
  .offer-checkout { width: min(100% - 1rem, 680px); padding-bottom: 4rem; }
  .offer-stepper { margin-inline: .5rem; }
  .offer-intro { padding-inline: .5rem; }
  .offer-journey { grid-template-columns: 1fr 1fr; }
  .offer-journey-card { min-height: 164px; }
  .offer-journey-source { grid-column: 1 / -1; min-height: 118px; padding-left: 42%; justify-content: center; }
  .offer-journey-source::before { top: 22px; left: 18%; }
  .offer-journey-source.has-image { min-height: 230px; padding-left: 0; justify-content: flex-end; }
  .offer-source-image { object-position: 50% 32%; }
  .embedded-payment-panel { padding: 1rem .65rem; }
  .embedded-payment-header { grid-template-columns: 1fr; gap: .85rem; }
  .embedded-payment-summary { min-width: 0; grid-template-columns: 1fr auto; align-items: center; text-align: left; }
  .embedded-payment-methods { grid-template-columns: 1fr; }
  .embedded-checkout-host { min-height: 520px; }
  .ticto-checkout-frame { height: 1780px; }
  .offer-selector { padding: 1.1rem; }
  .offer-plan-row { grid-template-columns: auto minmax(0, 1fr); }
  .offer-plan-price { grid-column: 2; font-size: .9rem; }
  .offer-voucher-benefit { grid-template-columns: 30px minmax(0, 1fr); padding: .6rem; }
  .offer-voucher-benefit-icon { width: 30px; height: 30px; }
  .offer-voucher-benefit-icon::before { top: 8px; left: 7px; width: 16px; height: 14px; }
  .offer-voucher-benefit-icon::after { top: 6px; left: 14px; height: 18px; }
  .offer-payment-note { font-size: .58rem; }
  .offer-rescue { right: .5rem; bottom: .5rem; width: calc(100vw - 1rem); padding: .85rem; grid-template-columns: 68px minmax(0, 1fr); gap: .75rem; border-radius: 12px; }
  .offer-rescue-price { width: 64px; height: 64px; }
  .offer-rescue-price small { font-size: .44rem; }
  .offer-rescue-price strong { font-size: 1.1rem; }
  .offer-rescue-copy { padding-right: .65rem; }
  .offer-rescue-copy h2 { font-size: 1rem; }
  .offer-rescue-copy p { margin-bottom: .55rem; font-size: .63rem; }
  .offer-rescue-cta { min-height: 42px; font-size: .62rem; }
  .offer-authority { margin: 3rem .5rem; grid-template-columns: 112px 1fr; gap: 1.15rem; align-items: start; }
  .offer-authority p:last-child { font-size: .74rem; }
  .offer-proof { margin-inline: .5rem; }
  .offer-reassurance { grid-template-columns: 1fr; margin-inline: .5rem; }
  .offer-reassurance article { border-right: 0; border-bottom: 1px solid var(--border); }
  .offer-reassurance article:last-child { border-bottom: 0; }
  .offer-details-overlay { padding: 0; place-items: stretch; }
  .offer-details-dialog { width: 100%; max-height: 100vh; border: 0; border-radius: 0; }
  .offer-details-body { max-height: calc(100vh - 64px); }
  .offer-details-premium-grid { grid-template-columns: 1fr; }
  .offer-comparison-table th, .offer-comparison-table td { padding: .62rem .35rem; font-size: .64rem; }
  .locked-diagnostic-shell { width: min(100% - 1rem, 740px); padding-top: 2.5rem; padding-bottom: calc(7rem + env(safe-area-inset-bottom)); }
  .locked-diagnostic-header { padding-inline: .65rem; }
  .locked-diagnostic-header h1 { font-size: clamp(2.05rem, 10.4vw, 3rem); }
  .locked-diagnostic-lead { font-size: .82rem; }
  .locked-diagnostic-comparison { padding: .35rem; gap: .35rem; border-radius: 14px; }
  .locked-diagnostic-photo { border-radius: 9px; }
  .locked-diagnostic-photo-label { top: .45rem; left: .45rem; padding: .3rem .42rem; font-size: .5rem; }
  .locked-diagnostic-transformation-overlay { padding: .5rem; }
  .locked-diagnostic-transformation-overlay strong { max-width: 120px; font-size: .59rem; }
  .locked-diagnostic-card { padding: 1.15rem; border-radius: 13px; }
  .locked-diagnostic-card h2 { font-size: 1.35rem; }
  .locked-diagnostic-signals { grid-template-columns: 1fr; }
  .locked-diagnostic-signal { border-right: 0; border-bottom: 1px solid var(--border); }
  .locked-diagnostic-signal:last-child { border-bottom: 0; }
  .locked-diagnostic-section-copy { font-size: .7rem; }
  .locked-panel-overlay { inset: 5.2rem .7rem .7rem; }
  .locked-diagnostic-index-item { grid-template-columns: 30px minmax(0, 1fr) auto; gap: .55rem; }
  .locked-diagnostic-index-item .locked-diagnostic-lock { max-width: 30px; overflow: hidden; padding: .42rem; color: transparent; white-space: nowrap; }
  .locked-diagnostic-index-item .locked-diagnostic-lock::before { color: var(--espresso); content: '✓'; }
  .locked-diagnostic-summary { margin-bottom: 0; }
  .locked-diagnostic-summary .locked-diagnostic-primary-cta { display: none; }
  .locked-diagnostic-sticky-cta { position: fixed; right: 0; bottom: 0; left: 0; z-index: 60; padding: .65rem .75rem calc(.65rem + env(safe-area-inset-bottom)); display: block; border-top: 1px solid var(--border); background: rgba(255, 253, 248, .96); box-shadow: 0 -12px 32px rgba(42, 24, 21, .11); }
  .locked-diagnostic-sticky-cta .primary-button { min-height: 52px; }
  @keyframes scan-face { from { transform: translateY(0); } to { transform: translateY(132px); } }
}

/* Progressive quiz surfaces: light → editorial → immersive → light. */
.quiz-shell {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 85px);
}

.quiz-shell::before {
  position: absolute;
  z-index: -2;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  content: '';
  transform: translateX(-50%);
  pointer-events: none;
}

.quiz-shell .quiz-card {
  animation: quiz-surface-in 440ms cubic-bezier(.22, 1, .36, 1) both;
}

.quiz-shell .progress-track {
  height: 4px;
  border-radius: 999px;
}

.quiz-shell .progress-fill { border-radius: inherit; }

.quiz-theme-light::before { background: #fbf8f3; }

.quiz-theme-light .quiz-card {
  border: 0;
  border-radius: 28px;
  background: rgba(255, 253, 248, .58);
  box-shadow: none;
}

.quiz-theme-light .question-title {
  max-width: 680px;
  font-size: clamp(2.35rem, 5vw, 3.55rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.quiz-theme-light .answer-list { gap: .82rem; }

.quiz-theme-light .answer-option,
.quiz-theme-editorial .answer-option {
  min-height: 68px;
  padding: .85rem 1rem;
  border-color: rgba(122, 99, 89, .24);
  border-radius: 16px;
  background: rgba(255, 253, 248, .82);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
  backdrop-filter: blur(16px);
}

.quiz-theme-light .answer-option:hover,
.quiz-theme-editorial .answer-option:hover {
  border-color: rgba(150, 51, 72, .64);
  box-shadow: 0 12px 30px rgba(42, 24, 21, .08);
  transform: translateY(-2px);
}

.quiz-theme-light .answer-option[aria-pressed='true'],
.quiz-theme-editorial .answer-option[aria-pressed='true'] {
  border-color: var(--wine);
  background: rgba(247, 229, 228, .92);
}

.quiz-theme-light .answer-marker,
.quiz-theme-editorial .answer-marker {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  font-size: 0;
  border-color: rgba(117, 105, 101, .52);
}

.quiz-theme-light .answer-marker::after,
.quiz-theme-editorial .answer-marker::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  content: '';
}

.quiz-theme-light .answer-option[aria-pressed='true'] .answer-marker::after,
.quiz-theme-editorial .answer-option[aria-pressed='true'] .answer-marker::after { background: white; }

.quiz-theme-editorial {
  width: 100%;
  min-height: 100vh;
  padding: 1.5rem 0 5rem;
}

body:has(#app > .quiz-theme-editorial) .site-header { display: none; }

#app:has(> .quiz-theme-editorial) { background: #fbf4eb; }

.quiz-theme-editorial::before { background: #fbf4eb; }

.quiz-theme-editorial .progress-wrap {
  z-index: 4;
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto 1.25rem;
}

.quiz-theme-editorial .progress-track { background: rgba(117, 105, 101, .24); }

.quiz-editorial-brand {
  position: absolute;
  z-index: 4;
  top: 4.65rem;
  left: max(2.25rem, calc(50% - 510px));
  display: inline-flex;
  gap: .75rem;
  align-items: center;
  color: #7e263a;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.quiz-editorial-brand img { width: 46px; height: 46px; display: block; }

.quiz-theme-editorial .quiz-card {
  position: relative;
  width: min(1120px, 100%);
  min-height: 850px;
  margin: 0 auto;
  padding: 490px clamp(2rem, 7vw, 6rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fbf4eb;
  box-shadow: none;
}

.quiz-theme-editorial .quiz-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 520px;
  background: url('./experiencia/quiz-editorial-hair.webp') 62% center / cover no-repeat;
  content: '';
  -webkit-mask-image: linear-gradient(to bottom, #000 0 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0 68%, transparent 100%);
  pointer-events: none;
}

.quiz-theme-editorial .quiz-card-expert {
  min-height: 0;
  padding-top: clamp(1.5rem, 5vw, 4rem);
  background-image: none;
}

.quiz-theme-editorial .quiz-card-expert::before { display: none; }

.quiz-theme-editorial .question-title {
  max-width: 800px;
  color: var(--wine-dark);
  font-size: clamp(2.7rem, 5.7vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -.052em;
  line-height: 1.02;
}

.quiz-theme-editorial .question-hint {
  margin-bottom: 1.7rem;
  font-size: .94rem;
  line-height: 1.6;
}

.quiz-theme-editorial .answer-list:not(.visual-answer-grid) { gap: 0; }

.quiz-theme-editorial .answer-option:not(.visual-answer-option) {
  min-height: 76px;
  padding: 1.2rem .25rem;
  border: 0;
  border-bottom: 1px solid rgba(122, 99, 89, .22);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.quiz-theme-editorial .answer-option:not(.visual-answer-option):hover {
  border-color: rgba(150, 51, 72, .38);
  box-shadow: none;
  transform: none;
}

.quiz-theme-editorial .answer-option:not(.visual-answer-option)[aria-pressed='true'] {
  border-color: rgba(150, 51, 72, .38);
  background: transparent;
}

.quiz-theme-editorial .answer-option[aria-pressed='true'] .answer-label {
  color: var(--wine-dark);
  font-weight: 700;
}

.quiz-theme-editorial .answer-option[aria-pressed='true'] .answer-marker {
  border-color: var(--wine);
  background: var(--wine);
}

.quiz-theme-editorial .continue-button {
  min-height: 64px;
  margin-top: 2.5rem;
  border-radius: 999px;
}

.quiz-theme-editorial .feature-choice-visual,
.quiz-theme-editorial .visual-answer-option,
.quiz-theme-editorial .expert-profile { border-radius: 18px; }

.quiz-theme-dark {
  width: min(980px, calc(100% - 2rem));
  color: #fff4e6;
}

.quiz-theme-dark::before {
  background-color: #310811;
  background-image: url('./experiencia/quiz-editorial-hair.webp');
  background-repeat: no-repeat;
  background-position: 72% top;
  background-size: cover;
  background-blend-mode: multiply;
}

.quiz-theme-dark .progress-track { background: rgba(255, 244, 230, .2); }
.quiz-theme-dark .progress-fill { background: #f2c9bb; }

.quiz-theme-dark .quiz-card {
  border: 1px solid rgba(255, 244, 230, .16);
  border-radius: 30px;
  background: rgba(64, 12, 25, .8);
  box-shadow: 0 32px 90px rgba(21, 2, 8, .34);
  backdrop-filter: blur(22px);
}

.quiz-theme-dark .question-title {
  color: #fff4e6;
  font-weight: 500;
  letter-spacing: -.04em;
}

.quiz-theme-dark .screen-copy,
.quiz-theme-dark .question-hint,
.quiz-theme-dark .back-button,
.quiz-theme-dark .selfie-format-note { color: rgba(255, 244, 230, .7); }

.quiz-theme-dark .selfie-guide {
  overflow: hidden;
  border: 1px solid rgba(255, 244, 230, .2);
  border-radius: 22px;
  color: var(--espresso);
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 20px 55px rgba(17, 2, 7, .22);
}

.quiz-theme-dark .selfie-rules { border-color: rgba(42, 24, 21, .12); }
.quiz-theme-dark .selfie-rules li { border-color: rgba(42, 24, 21, .12); }

.quiz-theme-dark .selfie-privacy {
  color: rgba(255, 244, 230, .82);
  background: rgba(255, 244, 230, .1);
}

.quiz-theme-dark .selfie-action-gallery {
  color: #fff4e6;
  border-color: rgba(255, 244, 230, .34);
  background: rgba(255, 244, 230, .08);
}

.quiz-theme-dark .selfie-action-camera {
  color: #3a0a16;
  border-color: #f3d7ca;
  background: #f3d7ca;
}

.quiz-theme-dark .selfie-action-camera:hover {
  color: #26050d;
  border-color: white;
  background: white;
}

.quiz-immersive-shell {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 85px);
  color: #fff4e6;
}

.quiz-immersive-shell::before {
  position: absolute;
  z-index: -2;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  background-color: #310811;
  background-image: url('./experiencia/quiz-editorial-hair.webp');
  background-repeat: no-repeat;
  background-position: 72% top;
  background-size: cover;
  background-blend-mode: multiply;
  content: '';
  transform: translateX(-50%);
  pointer-events: none;
}

.quiz-immersive-shell .preview-card {
  border-color: rgba(255, 244, 230, .16);
  border-radius: 30px;
  background: rgba(64, 12, 25, .82);
  box-shadow: 0 32px 90px rgba(21, 2, 8, .36);
  backdrop-filter: blur(22px);
  animation: quiz-surface-in 440ms cubic-bezier(.22, 1, .36, 1) both;
}

.quiz-immersive-shell .result-title { color: #fff4e6; }

.quiz-immersive-shell .result-summary,
.quiz-immersive-shell .analysis-time-note { color: rgba(255, 244, 230, .72); }

.quiz-immersive-shell .selfie-preparation-visual,
.quiz-immersive-shell .analysis-visual {
  border-color: rgba(255, 244, 230, .2);
  box-shadow: 0 24px 64px rgba(17, 2, 7, .32);
}

.quiz-immersive-shell .selfie-preparation-progress progress,
.quiz-immersive-shell .analysis-progress-wrap progress,
.quiz-immersive-shell .selfie-preparation-progress progress::-webkit-progress-bar,
.quiz-immersive-shell .analysis-progress-wrap progress::-webkit-progress-bar {
  background: rgba(255, 244, 230, .18);
}

.quiz-immersive-shell .selfie-preparation-progress progress::-webkit-progress-value,
.quiz-immersive-shell .analysis-progress-wrap progress::-webkit-progress-value,
.quiz-immersive-shell .selfie-preparation-progress progress::-moz-progress-bar,
.quiz-immersive-shell .analysis-progress-wrap progress::-moz-progress-bar { background: #f2c9bb; }

.quiz-immersive-shell .selfie-preparation-value,
.quiz-immersive-shell .analysis-progress-label { color: #f2c9bb; }

.quiz-immersive-shell .selfie-preparation-stages li,
.quiz-immersive-shell .analysis-stages li { color: rgba(255, 244, 230, .62); }

.quiz-immersive-shell .selfie-preparation-stages li.is-active,
.quiz-immersive-shell .analysis-stages li.is-active { color: #fff4e6; }

.quiz-immersive-shell .analysis-stages li.is-active .analysis-stage-icon {
  border-color: rgba(242, 201, 187, .26);
  border-top-color: #f2c9bb;
}

.quiz-immersive-shell .analysis-time-note { border-color: rgba(255, 244, 230, .16); }

@keyframes quiz-surface-in {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 760px) {
  .quiz-shell { min-height: calc(100vh - 71px); }
  .quiz-shell .progress-wrap { margin: 0 .2rem 1rem; }
  .quiz-shell .quiz-card { border-radius: 22px; }
  .quiz-theme-light .quiz-card { padding: 1.65rem .35rem 3rem; background: transparent; }
  .quiz-theme-light .question-title,
  .quiz-theme-editorial .question-title { font-size: clamp(2rem, 9vw, 2.75rem); }
  .quiz-theme-light .answer-option,
  .quiz-theme-editorial .answer-option { min-height: 62px; border-radius: 14px; }
  .quiz-theme-editorial { width: 100%; padding: 1rem 0 3rem; }
  .quiz-theme-editorial .progress-wrap { width: calc(100% - 2.5rem); margin-bottom: .8rem; }
  .quiz-editorial-brand {
    top: 3.25rem;
    left: 1.4rem;
    gap: .55rem;
    font-size: .69rem;
    letter-spacing: .1em;
  }
  .quiz-editorial-brand img { width: 38px; height: 38px; }
  .quiz-theme-editorial .quiz-card {
    width: 100%;
    min-height: 0;
    padding: 390px 1.55rem 3.25rem;
    border-radius: 0;
  }
  .quiz-theme-editorial .quiz-card::before { height: 430px; background-position: 62% center; background-size: auto 116%; }
  .quiz-theme-editorial .quiz-card-expert { padding-top: 1.35rem; }
  .quiz-theme-editorial .visual-answer-grid { gap: .65rem; }
  .quiz-theme-editorial .visual-answer-option { padding: 0 0 .65rem; }
  .quiz-theme-editorial .question-title { font-size: clamp(2.15rem, 9.4vw, 2.6rem); }
  .quiz-theme-editorial .question-hint { margin-bottom: 1.35rem; font-size: .83rem; }
  .quiz-theme-editorial .answer-option:not(.visual-answer-option) {
    min-height: 72px;
    padding: 1.05rem .15rem;
  }
  .quiz-theme-editorial .answer-label { font-size: .95rem; line-height: 1.42; }
  .quiz-theme-editorial .answer-marker { width: 24px; height: 24px; flex-basis: 24px; }
  .quiz-theme-editorial .continue-button { min-height: 60px; margin-top: 2rem; }
  .quiz-theme-dark { width: min(calc(100% - 1rem), 680px); }
  .quiz-theme-dark .quiz-card { padding: 1.25rem; border-radius: 22px; }
  .quiz-theme-dark .question-title { font-size: clamp(2rem, 9vw, 2.7rem); }
  .quiz-theme-dark .selfie-guide { border-radius: 17px; }
  .quiz-immersive-shell { min-height: calc(100vh - 71px); }
  .quiz-immersive-shell .preview-card { border-radius: 22px; }
}

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

@media print {
  @page { margin: 16mm; }
  body { background: white; color: black; }
  .site-header, .result-actions, .status-spinner { display: none !important; }
  .result-document { width: 100%; padding: 0; }
  .result-document-hero { margin-bottom: 2rem; }
  .result-document-hero .result-title { font-size: 42pt; }
  .result-reading-grid, .recommendation-grid { grid-template-columns: repeat(2, 1fr); }
  .recommendation-card, .result-section, .simulation-card { break-inside: avoid; box-shadow: none; }
  .recommendations-section, .simulations-section, .premium-result-section { break-before: page; margin: 0; }
  .premium-result-section { border: 0; box-shadow: none; }
  .color-group, .look-card { break-inside: avoid; }
  .color-group-grid, .look-grid { grid-template-columns: repeat(3, 1fr); }
  .simulation-grid { grid-template-columns: repeat(3, 1fr); }
}
