/* ============================================
   MeuCachoPerfeito - Premium Mobile-First CSS
   ============================================ */

:root {
  /* === Paleta V2 (brandbook v1.0) === */
  --cacau: #3D1F0F;
  --coral: #E85C6A;
  --ambar: #D4842A;
  --verde: #2AAD7A;
  --creme: #FAF3E8;
  --noite: #1C0F08;
  --terra: #8B6B4A;
  --areia: #E8D9C5;

  /* === Legacy aliases re-mapeadas pra nao quebrar componentes antigos === */
  --primary: var(--coral);
  --primary-dark: #C94854;
  --primary-light: #F07985;
  --secondary: var(--ambar);
  --secondary-dark: #B16D1D;
  --bg-dark: var(--creme);
  --bg-card: #FFFFFF;
  --bg-card-hover: var(--areia);
  --bg-input: #FFFFFF;
  --text: var(--cacau);
  --text-muted: var(--terra);
  --green: var(--verde);
  --green-bg: rgba(42, 173, 122, 0.12);
  --yellow: var(--ambar);
  --yellow-bg: rgba(212, 132, 42, 0.12);
  --red: #D94858;
  --red-bg: rgba(217, 72, 88, 0.12);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 50px;
  --shadow: 0 4px 24px rgba(61, 31, 15, 0.12);
  --shadow-sm: 0 2px 12px rgba(61, 31, 15, 0.08);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
  --font-display: 'Playfair Display', 'Space Grotesk', serif;
  --font-ui: 'Space Grotesk', sans-serif;
  --font-body: 'Space Grotesk', 'Inter', sans-serif;
}

/* Headlines grandes usam Playfair. UI fica em Space Grotesk. */
.paywall-headline,
.splash-title,
h1.screen-hero,
.result-header h2 {
  font-family: 'Playfair Display', serif !important;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--cacau);
}
h1, h2 { color: var(--cacau); }
h3, h4 { font-family: var(--font-ui); color: var(--cacau); }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

#app {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* ---- SCREENS ---- */
.screen {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: none;
  flex-direction: column;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity var(--transition), transform var(--transition);
}
.screen.active {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}
.screen.exit-left {
  opacity: 0;
  transform: translateX(-30px);
}
.screen-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px;
  -webkit-overflow-scrolling: touch;
}
.screen-scroll.has-nav {
  padding-bottom: calc(var(--nav-height) + 24px);
}
.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}
.screen-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  flex: 1;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
p { line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:active { opacity: 0.7; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  padding: 14px 28px;
  transition: all var(--transition);
  min-height: 48px;
  min-width: 48px;
  -webkit-user-select: none;
  user-select: none;
}
.btn:active { transform: scale(0.96); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 99, 139, 0.4);
}
.btn-primary:active { box-shadow: 0 2px 8px rgba(232, 99, 139, 0.3); }
.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1.5px solid rgba(232, 99, 139, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; min-height: 36px; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; width: 100%; }
.btn-icon {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.btn-icon:active { background: rgba(255,255,255,0.08); }
.btn-icon.active { color: var(--primary); }
.btn-back {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-back:active { background: rgba(255,255,255,0.06); }
.btn-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}

/* ---- CARDS ---- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.04);
}
.card:active { background: var(--bg-card-hover); }
.card-highlight {
  border: 1.5px solid rgba(232, 99, 139, 0.3);
  box-shadow: 0 0 20px rgba(232, 99, 139, 0.08);
}
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.card-small {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.04);
}

/* ---- FORMS ---- */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-input);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--text);
  font-family: var(--font-body);
  transition: border-color var(--transition);
  min-height: 48px;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary);
}
.form-textarea {
  resize: vertical;
  min-height: 100px;
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23B8A5CC' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ---- SPLASH ---- */
.splash-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 30%, rgba(232, 99, 139, 0.15) 0%, transparent 60%);
}
.splash-logo { margin-bottom: 60px; }
.splash-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.splash-title {
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.splash-tagline {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 280px;
}
.splash-cta { margin-bottom: 24px; }
.splash-restore a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: underline;
}

/* ---- QUIZ ---- */
.quiz-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
}
.quiz-progress {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}
.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  transition: width 0.4s ease;
  width: 0%;
}
.quiz-step {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  min-width: 40px;
  text-align: right;
}
.quiz-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.quiz-question {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.quiz-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}
.quiz-options { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 16px 18px;
  cursor: pointer;
  transition: all var(--transition);
  min-height: 56px;
  text-align: left;
  font-size: 1rem;
  color: var(--text);
  font-family: var(--font-body);
}
.quiz-option:active { transform: scale(0.98); }
.quiz-option.selected {
  border-color: var(--primary);
  background: rgba(232, 99, 139, 0.1);
}
.quiz-option-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}
.quiz-option-text { flex: 1; }
.quiz-option-label {
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.quiz-option-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: block;
}
.quiz-next {
  margin-top: 24px;
  align-self: stretch;
}

/* ---- RESULT ---- */
.result-header {
  text-align: center;
  padding: 30px 0 24px;
}
.result-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}
.result-header h2 {
  margin-bottom: 8px;
}
.result-header p {
  color: var(--text-muted);
}
.result-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.result-card h3 {
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.result-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.result-cta {
  padding: 24px 0;
  text-align: center;
}
.result-locked {
  position: relative;
  overflow: hidden;
}
.result-locked::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-dark));
  pointer-events: none;
}
.result-lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232, 99, 139, 0.15);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---- PAYWALL ---- */
.paywall-back { position: absolute; top: 16px; left: 16px; z-index: 2; }
.paywall-hero {
  text-align: center;
  padding: 60px 20px 30px;
  background: radial-gradient(ellipse at 50% 20%, rgba(232, 99, 139, 0.12) 0%, transparent 60%);
}
.paywall-hero h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.paywall-hero p {
  color: var(--text-muted);
  font-size: 1rem;
}
.paywall-features {
  padding: 10px 0 20px;
}
.paywall-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
}
.paywall-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  background: rgba(232, 99, 139, 0.12);
}
.paywall-feature-text h3 { font-size: 1rem; margin-bottom: 4px; }
.paywall-feature-text p { font-size: 0.85rem; color: var(--text-muted); }
.paywall-price {
  text-align: center;
  padding: 28px 0;
}
.paywall-price-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
}
.paywall-price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.paywall-price-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
}
.paywall-cta-area {
  padding: 0 20px 30px;
  text-align: center;
}
.paywall-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---- UNLOCK ---- */
.unlock-container {
  text-align: center;
  padding: 60px 20px;
}
.unlock-container h2 {
  margin-bottom: 12px;
}
.unlock-code {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--primary);
  background: var(--bg-card);
  padding: 20px 30px;
  border-radius: var(--radius);
  margin: 24px 0;
  display: inline-block;
}
.unlock-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

/* ---- HOME ---- */
.home-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}
.home-greeting {
  font-size: 1.6rem;
  margin-bottom: 4px;
}
.home-subtitle { color: var(--text-muted); font-size: 0.9rem; }
.home-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 14px;
}
.home-card:active { background: var(--bg-card-hover); transform: scale(0.98); }
.home-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.home-card-icon.pink { background: rgba(232, 99, 139, 0.15); }
.home-card-icon.gold { background: rgba(212, 167, 106, 0.15); }
.home-card-icon.green { background: rgba(74, 222, 128, 0.15); }
.home-card-icon.purple { background: rgba(168, 85, 247, 0.15); }
.home-card-text { flex: 1; }
.home-card-text h3 { font-size: 1rem; margin-bottom: 3px; }
.home-card-text p { font-size: 0.82rem; color: var(--text-muted); }
.home-card-arrow { color: var(--text-muted); }

/* ---- SCHEDULE ---- */
.streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.15), rgba(212, 167, 106, 0.15));
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--yellow);
}
.day-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 12px;
  border-left: 4px solid var(--text-muted);
}
.day-card.today {
  border-left-color: var(--primary);
  box-shadow: 0 0 20px rgba(232, 99, 139, 0.1);
}
.day-card.completed {
  border-left-color: var(--green);
  opacity: 0.7;
}
.day-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.day-card-day {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.day-card-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.day-card-activity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}
.activity-color {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.activity-color.wash { background: #60A5FA; }
.activity-color.condition { background: var(--green); }
.activity-color.treatment { background: var(--primary); }
.activity-color.rest { background: var(--text-muted); }
.activity-name {
  flex: 1;
  font-weight: 500;
}
.activity-product {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.day-checkbox {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
  min-width: 28px;
}
.day-checkbox.checked {
  background: var(--green);
  border-color: var(--green);
}
.day-checkbox.checked::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  margin-top: -2px;
}

/* ---- SCANNER ---- */
.scanner-input-area {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}
.scanner-input-area p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.scanner-results {
  margin-top: 20px;
}
.scanner-verdict {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-weight: 600;
}
.scanner-verdict.good { background: var(--green-bg); color: var(--green); }
.scanner-verdict.caution { background: var(--yellow-bg); color: var(--yellow); }
.scanner-verdict.bad { background: var(--red-bg); color: var(--red); }
.ingredient-list { display: flex; flex-direction: column; gap: 8px; }
.ingredient-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.ingredient-pill.good { background: var(--green-bg); }
.ingredient-pill.caution { background: var(--yellow-bg); }
.ingredient-pill.bad { background: var(--red-bg); }
.ingredient-pill.unknown { background: rgba(184, 165, 204, 0.12); }
.ingredient-pill-name { font-weight: 500; flex: 1; }
.ingredient-pill-status {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ingredient-pill.good .ingredient-pill-status { color: var(--green); }
.ingredient-pill.caution .ingredient-pill-status { color: var(--yellow); }
.ingredient-pill.bad .ingredient-pill-status { color: var(--red); }
.ingredient-pill.unknown .ingredient-pill-status { color: var(--text-muted); }
.scan-history-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
}
.scan-history-item:active { background: var(--bg-card-hover); }

/* ---- DIARY ---- */
.diary-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  background: var(--bg-input);
  border-radius: var(--radius-pill);
  padding: 3px;
}
.diary-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.diary-tab.active {
  background: var(--primary);
  color: #fff;
}
.diary-timeline { }
.diary-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
}
.diary-item:active { background: var(--bg-card-hover); }
.diary-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.diary-item-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.diary-item-rating {
  color: var(--yellow);
  font-size: 0.9rem;
}
.diary-item-products {
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.diary-item-technique {
  font-size: 0.82rem;
  color: var(--primary-light);
}
.diary-photo-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.diary-photo-compare img {
  width: 100%;
  border-radius: var(--radius-sm);
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* Star rating */
.star-rating {
  display: flex;
  gap: 4px;
}
.star-rating .star {
  font-size: 2rem;
  cursor: pointer;
  color: rgba(255,255,255,0.15);
  transition: color 0.15s;
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-user-select: none;
  user-select: none;
}
.star-rating .star.active { color: var(--yellow); }
.star-rating .star:active { transform: scale(1.2); }

/* Photo upload */
.photo-upload {
  width: 100%;
  aspect-ratio: 4/3;
  border: 2px dashed rgba(255,255,255,0.12);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-input);
  overflow: hidden;
  position: relative;
}
.photo-upload:active { border-color: var(--primary); }
.photo-upload img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-upload-icon { font-size: 2rem; opacity: 0.4; }
.photo-upload-text { font-size: 0.85rem; color: var(--text-muted); }
.photo-upload input[type="file"] { display: none; }

/* ---- RECIPES ---- */
.recipe-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.recipe-filters::-webkit-scrollbar { display: none; }
.recipe-filter {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1.5px solid transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition);
  min-height: 40px;
  font-family: var(--font-body);
}
.recipe-filter.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(232, 99, 139, 0.1);
}
.recipe-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all var(--transition);
}
.recipe-card:active { background: var(--bg-card-hover); transform: scale(0.98); }
.recipe-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}
.recipe-card h3 { font-size: 1.05rem; flex: 1; }
.recipe-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.recipe-card-badge.recommended {
  background: rgba(232, 99, 139, 0.15);
  color: var(--primary);
}
.recipe-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.recipe-detail-section {
  margin-bottom: 24px;
}
.recipe-detail-section h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.recipe-step {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.recipe-step:last-child { border-bottom: none; }
.recipe-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.recipe-step-text { flex: 1; font-size: 0.95rem; line-height: 1.5; }

/* Timer */
.timer-container {
  text-align: center;
  padding: 24px 0;
}
.timer-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timer-circle svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.timer-circle-bg {
  fill: none;
  stroke: rgba(255,255,255,0.06);
  stroke-width: 6;
}
.timer-circle-progress {
  fill: none;
  stroke: var(--primary);
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear;
}
.timer-time {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  z-index: 1;
}
.timer-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ---- TECHNIQUES ---- */
.technique-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all var(--transition);
}
.technique-card:active { background: var(--bg-card-hover); }
.technique-card h3 { margin-bottom: 6px; }
.technique-card p { font-size: 0.85rem; color: var(--text-muted); }
.technique-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(232, 99, 139, 0.15);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.technique-steps {
  counter-reset: step;
}
.technique-step {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.technique-step:last-child { border-bottom: none; }
.technique-step::before {
  counter-increment: step;
  content: counter(step);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- PROFILE ---- */
.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 16px;
}
.profile-name {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.profile-type {
  text-align: center;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 24px;
}
.profile-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.profile-stat:last-child { border-bottom: none; }
.profile-stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.profile-stat-value {
  font-weight: 600;
  color: var(--text);
}
.profile-section {
  margin-top: 24px;
}
.profile-section h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.profile-tip {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.profile-tip::before {
  content: '💡';
  flex-shrink: 0;
}
.profile-ingredient-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-ingredient-pill {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
}
.profile-ingredient-pill.good {
  background: var(--green-bg);
  color: var(--green);
}
.profile-ingredient-pill.avoid {
  background: var(--red-bg);
  color: var(--red);
}

/* ---- SETTINGS ---- */
.settings-group {
  margin-bottom: 24px;
}
.settings-group-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  margin-bottom: 2px;
  cursor: pointer;
  min-height: 52px;
}
.settings-item:first-child { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.settings-item:last-child { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.settings-item:only-child { border-radius: var(--radius-sm); }
.settings-item:active { background: var(--bg-card-hover); }
.settings-item-label { font-weight: 500; }
.settings-item-value { color: var(--text-muted); font-size: 0.9rem; }

/* Toggle switch */
.toggle {
  width: 52px;
  height: 30px;
  border-radius: 15px;
  background: rgba(255,255,255,0.1);
  position: relative;
  cursor: pointer;
  transition: all var(--transition);
}
.toggle.on { background: var(--primary); }
.toggle::after {
  content: '';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform var(--transition);
}
.toggle.on::after { transform: translateX(22px); }

/* ---- BOTTOM NAV ---- */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--nav-height);
  background: rgba(26, 14, 46, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: none;
  align-items: center;
  justify-content: space-around;
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 100;
}
.bottom-nav.visible { display: flex; }
.nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px 12px;
  min-width: 56px;
  min-height: 48px;
  transition: color var(--transition);
  font-family: var(--font-body);
}
.nav-tab span { font-size: 0.68rem; font-weight: 600; }
.nav-tab.active { color: var(--primary); }
.nav-tab svg { width: 22px; height: 22px; }

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: calc(var(--nav-height) + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bg-card);
  color: var(--text);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 200;
  max-width: calc(100% - 40px);
  text-align: center;
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 300;
}
.modal-overlay.show { display: flex; }
.modal {
  background: var(--bg-card);
  border-radius: var(--radius) var(--radius) 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 24px;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.modal-header h3 {
  font-size: 1.2rem;
}

/* ---- EMPTY STATE ---- */
.empty-state {
  text-align: center;
  padding: 48px 24px;
}
.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}
.empty-state-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.empty-state-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---- INSIGHTS ---- */
.insight-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 12px;
  text-align: center;
}
.insight-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.insight-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---- CHARTS ---- */
.chart-container {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
}
.chart-container canvas {
  max-height: 200px;
}

/* ---- RESTORE ---- */
.restore-input-group {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.restore-input-group .form-input {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* ---- UTILITIES ---- */
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-sm { font-size: 0.85rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.gap-sm { gap: 8px; }
.gap-md { gap: 14px; }
.hidden { display: none !important; }
.divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 20px 0;
}

/* ---- RESPONSIVE ---- */
@media (min-width: 480px) {
  body {
    display: flex;
    justify-content: center;
    background: #0D0719;
  }
  #app {
    border-left: 1px solid rgba(255,255,255,0.04);
    border-right: 1px solid rgba(255,255,255,0.04);
    box-shadow: 0 0 60px rgba(232, 99, 139, 0.05);
  }
}

/* ---- SKELETON LOADING ---- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-line {
  height: 14px;
  margin-bottom: 10px;
  border-radius: 7px;
}
.skeleton-line:last-child { width: 60%; }

/* ---- MISSING CLASSES (JS template alignment) ---- */

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.badge-primary { background: rgba(232, 99, 139, 0.15); color: var(--primary); }
.badge-secondary { background: rgba(212, 167, 106, 0.15); color: var(--secondary); }
.badge-outline { background: transparent; border: 1px solid var(--text-muted); color: var(--text-muted); }
.badge-recommended { background: rgba(74, 222, 128, 0.15); color: var(--green); }
.badge-hydration { background: rgba(6, 182, 212, 0.15); color: #06B6D4; }
.badge-nutrition { background: rgba(212, 167, 106, 0.15); color: var(--secondary); }
.badge-reconstruction { background: rgba(168, 85, 247, 0.15); color: #A855F7; }
.badge-antifrizz { background: rgba(99, 102, 241, 0.15); color: #6366F1; }
.badge-scalp { background: rgba(74, 222, 128, 0.15); color: var(--green); }

/* Extra button styles */
.btn-block { display: flex; width: 100%; }
.btn-large { padding: 16px 36px; font-size: 1.1rem; }
.btn-small { padding: 8px 18px; font-size: 0.85rem; min-height: 36px; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:active { opacity: 0.8; }
.pulse { animation: btnPulse 2s ease-in-out infinite; }
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(232, 99, 139, 0.4); }
  50% { box-shadow: 0 4px 28px rgba(232, 99, 139, 0.7); }
}
.fav-active { color: var(--primary) !important; }

/* Form input (JS uses class="input") */
.input {
  width: 100%;
  background: var(--bg-input);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--text);
  font-family: var(--font-body);
  transition: border-color var(--transition);
  min-height: 48px;
}
.input:focus { outline: none; border-color: var(--primary); }
textarea.input { resize: vertical; min-height: 80px; }
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23B8A5CC' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* Profile card & rows */
.profile-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.profile-summary, .profile-detail-grid {
  display: flex;
  flex-direction: column;
}
.profile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.profile-row:last-child { border-bottom: none; }
.profile-row span { color: var(--text-muted); font-size: 0.9rem; }
.profile-row strong { color: var(--text); }

/* Tip cards */
.tip-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
  border-left: 3px solid var(--primary);
}
.tip-card h4 { margin-bottom: 8px; font-size: 0.95rem; }
.tip-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
.tip-card.tip-secondary { border-left-color: var(--secondary); }
.tip-card.tip-accent { border-left-color: #A855F7; }

/* Result locked & features */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.feature-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.feature-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* Code display */
.code-box {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  margin: 20px 0;
  text-align: center;
}
.code-box h4 { margin-bottom: 12px; }
.access-code-display {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--primary);
  margin: 12px 0;
}
.code-warning {
  font-size: 0.82rem;
  color: var(--yellow);
  margin-bottom: 12px;
}
.code-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.access-code {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--primary);
}

/* Paywall wrapper */
.paywall-wrapper, .unlock-wrapper {
  text-align: center;
  padding: 40px 0 20px;
}
.paywall-wrapper h2, .unlock-wrapper h2 {
  margin-bottom: 12px;
}
.paywall-icon, .unlock-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.paywall-features {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 20px 0;
}
.paywall-features li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}
.paywall-features .check {
  color: var(--green);
  font-weight: 700;
  font-size: 1.1rem;
}
.paywall-price-box {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.price-anchor {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.price-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}
.price-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.paywall-guarantee, .paywall-secure {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
}
.paywall-restore {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.paywall-restore p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; }
.restore-input {
  display: flex;
  gap: 10px;
  align-items: center;
}
.restore-input .input {
  flex: 1;
}

/* Schedule grid */
.schedule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.schedule-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.schedule-day {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 14px;
  transition: all var(--transition);
}
.schedule-day.today {
  border: 1.5px solid var(--primary);
  box-shadow: 0 0 16px rgba(232, 99, 139, 0.1);
}
.schedule-day.done { opacity: 0.6; }
.day-label {
  font-weight: 600;
  font-size: 0.85rem;
  min-width: 36px;
  color: var(--text-muted);
}
.schedule-day.today .day-label { color: var(--primary); }
.day-activity {
  flex: 1;
  padding-left: 10px;
}
.activity-suggestion {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.day-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  background: transparent;
  color: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
  flex-shrink: 0;
}
.day-check.checked {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* Scanner extras */
.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.scanner-buttons {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.scanner-history {
  margin-top: 24px;
}
.scanner-history h3 { margin-bottom: 12px; }
.history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 8px;
}
.history-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.verdict-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.verdict-badge.verdict-approved { background: var(--green-bg); color: var(--green); }
.verdict-badge.verdict-caution { background: var(--yellow-bg); color: var(--yellow); }
.verdict-badge.verdict-avoid { background: var(--red-bg); color: var(--red); }
.verdict-card {
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  text-align: center;
}
.verdict-card h3 { margin-bottom: 8px; font-size: 0.85rem; text-transform: uppercase; color: var(--text-muted); }
.verdict-text { font-size: 1.3rem; font-weight: 700; }
.verdict-bg-approved { background: var(--green-bg); color: var(--green); }
.verdict-bg-caution { background: var(--yellow-bg); color: var(--yellow); }
.verdict-bg-avoid { background: var(--red-bg); color: var(--red); }
.ingredient-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.ingredient-item {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 6px;
}
.ingredient-verdict-small {
  font-size: 0.78rem;
  font-weight: 600;
  margin-left: 8px;
}
.ingredient-verdict-small.unknown { color: var(--text-muted); }
.ingredient-reason {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.save-product-area {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  align-items: center;
}
.save-product-area .input { flex: 1; }

/* Recipe grid & meta */
.recipe-grid { display: flex; flex-direction: column; gap: 10px; }
.recipe-purpose { font-size: 0.72rem; }
.recipe-meta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.recipe-card h4 { margin: 8px 0 4px; }
.filter-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-scroll::-webkit-scrollbar { display: none; }
.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1.5px solid transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition);
  min-height: 40px;
  font-family: var(--font-body);
}
.filter-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(232, 99, 139, 0.1);
}

/* Recipe detail extras */
.ingredient-checklist {
  list-style: none;
  padding: 0;
}
.ingredient-checklist li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ingredient-checklist li::before {
  content: '\2022';
  position: absolute;
  left: 4px;
  color: var(--primary);
}
.instructions-list, .steps-list {
  padding-left: 20px;
  margin: 0;
}
.instructions-list li, .steps-list li {
  padding: 8px 0;
  line-height: 1.5;
}
.timer-area { text-align: center; padding: 16px 0; }
.timer-display {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}
.timer-display.timer-done { color: var(--green); }
.timer-buttons { display: flex; gap: 10px; justify-content: center; }
.info-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.info-row div { font-size: 0.9rem; }

/* Techniques list */
.techniques-list { display: flex; flex-direction: column; gap: 10px; }
.technique-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.technique-meta {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.technique-card.recommended {
  border: 1.5px solid rgba(232, 99, 139, 0.3);
}

/* Diary extras */
.diary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.diary-entry-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  position: relative;
}
.entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.entry-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.entry-stars { color: var(--yellow); }
.entry-photo {
  margin: 10px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.entry-photo img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.entry-products { font-size: 0.9rem; margin-bottom: 6px; }
.entry-notes { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }
.btn-delete {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* Insights */
.insights-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}
.insights-card h4 { margin-bottom: 12px; }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 12px;
  text-align: center;
}
.insight-item { display: flex; flex-direction: column; gap: 4px; }
.insight-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.insight-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Star filled state (JS uses 'filled' not 'active') */
.star-rating .star.filled { color: var(--yellow); }

/* Settings section & language */
.settings-section {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.settings-section h4 { margin-bottom: 12px; }
.lang-options {
  display: flex;
  gap: 8px;
}

/* Quiz extras */
.quiz-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.quiz-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}
.quiz-hint {
  font-size: 0.85rem;
  color: var(--secondary);
  margin-bottom: 12px;
}
.quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
}
.quiz-option-img {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.curl-type-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-left: 4px;
}
.quiz-options.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.quiz-options.grid-3 .quiz-option {
  flex-direction: column;
  text-align: center;
  padding: 12px;
}

/* Modal actions */
.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.modal-actions .btn { flex: 1; }

/* Difficulty labels in recipe cards */
.easy, .medium, .hard { text-transform: capitalize; }

/* ============================================
   MVP V1 — Path select, Paywall, Upsell, Downsell, Thankyou
   ============================================ */

.path-options { display: flex; flex-direction: column; gap: 12px; }
.path-option {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; border-radius: var(--radius);
  background: var(--bg-card); border: 2px solid transparent;
  cursor: pointer; transition: var(--transition);
}
.path-option.selected { border-color: var(--primary); background: var(--bg-card-hover); }
.path-icon { font-size: 2rem; flex-shrink: 0; }
.path-text { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.path-text strong { font-size: 1rem; color: var(--text); }
.path-text span { font-size: 0.85rem; color: var(--text-muted); }

/* ---- PAYWALL V1 ---- */
.paywall-wrapper { padding: 12px 4px 40px; }
.paywall-timer {
  display: flex; justify-content: center; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--red), #b91c1c);
  color: white; padding: 10px 16px; border-radius: var(--radius);
  margin-bottom: 20px; font-weight: 600;
  box-shadow: 0 4px 16px rgba(248,113,113,0.3);
}
.paywall-timer .timer-label { font-size: 0.85rem; opacity: 0.9; }
.paywall-timer .timer-value { font-size: 1.4rem; font-family: var(--font-display); letter-spacing: 1px; }

.paywall-headline {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700; line-height: 1.2;
  color: var(--text); text-align: center;
  margin: 16px 0 10px;
}
.paywall-subheadline {
  font-size: 0.95rem; color: var(--text-muted);
  text-align: center; margin-bottom: 24px; line-height: 1.5;
}

.paywall-stack {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 20px; margin: 20px 0;
}
.paywall-stack h3 {
  font-size: 1rem; color: var(--text);
  margin-bottom: 14px;
}
.stack-bullets { list-style: none; padding: 0; margin: 0; }
.stack-bullets li {
  padding: 8px 0; font-size: 0.9rem; color: var(--text);
  display: flex; align-items: flex-start; gap: 10px;
}
.stack-bullets .check {
  color: var(--green); font-weight: bold; flex-shrink: 0;
}
.stack-total {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.stack-total-anchor {
  font-size: 0.85rem; color: var(--text-muted);
  text-decoration: line-through;
}
.stack-total-today {
  font-size: 1.8rem; color: var(--primary);
  font-weight: 700; font-family: var(--font-display);
  margin: 4px 0;
}
.stack-total-savings { font-size: 0.85rem; color: var(--green); font-weight: 600; }

.plans-grid {
  display: grid; grid-template-columns: 1fr 1.15fr 1fr;
  gap: 8px; margin: 24px 0;
}
.plan-card {
  background: var(--bg-card); border-radius: var(--radius-sm);
  padding: 14px 8px; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: var(--transition); position: relative;
}
.plan-card.selected {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(232,99,139,0.3);
}
.plan-card.plan-monthly { opacity: 0.6; cursor: default; }
.plan-card.plan-monthly .plan-price.strike { text-decoration: line-through; }
.plan-label {
  font-size: 0.7rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 6px; font-weight: 600;
}
.plan-price {
  font-size: 1.1rem; font-weight: 700;
  font-family: var(--font-display); color: var(--text);
}
.plan-note { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; }
.plan-badge {
  position: absolute; top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary); color: white;
  font-size: 0.62rem; font-weight: 700;
  padding: 3px 8px; border-radius: var(--radius-pill);
  white-space: nowrap;
}

.paywall-cta {
  margin: 20px 0 16px;
  font-size: 1rem !important;
  padding: 18px 16px !important;
}

.paywall-guarantee-box {
  display: flex; align-items: center; gap: 14px;
  background: var(--green-bg); border: 1px solid var(--green);
  border-radius: var(--radius); padding: 16px; margin: 20px 0;
}
.paywall-guarantee-box strong { display: block; color: var(--green); font-size: 0.95rem; margin-bottom: 4px; }
.paywall-guarantee-box p { font-size: 0.82rem; color: var(--text-muted); margin: 0; line-height: 1.4; }
.guarantee-seal {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 50%; background: var(--green);
  color: var(--bg-dark); font-weight: 800;
  font-family: var(--font-display); font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
}

.testimonials { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.testimonial {
  background: var(--bg-card); padding: 16px;
  border-radius: var(--radius); border-left: 3px solid var(--primary);
}
.testimonial p { font-size: 0.9rem; color: var(--text); line-height: 1.5; margin-bottom: 8px; font-style: italic; }
.testimonial span { font-size: 0.78rem; color: var(--text-muted); }

.paywall-secure { text-align: center; color: var(--text-muted); font-size: 0.82rem; margin: 16px 0; }

/* ---- UPSELL ---- */
.upsell-wrapper { padding: 20px 4px 40px; text-align: center; }
.upsell-icon { font-size: 3rem; margin-bottom: 10px; }
.upsell-pitch {
  background: var(--bg-card); padding: 16px;
  border-radius: var(--radius); margin: 20px 0;
  font-size: 0.92rem; line-height: 1.5; color: var(--text);
}
.upsell-price {
  margin: 24px 0;
  padding: 16px; background: var(--bg-card-hover);
  border-radius: var(--radius); text-align: center;
}
.upsell-price-total { font-size: 1.4rem; font-weight: 700; color: var(--primary); font-family: var(--font-display); }
.upsell-price-diff { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }
.upsell-warning { font-size: 0.78rem; color: var(--yellow); margin-top: 12px; }

.btn-text {
  background: transparent; color: var(--text-muted);
  border: none; padding: 12px; font-size: 0.9rem;
  text-decoration: underline; cursor: pointer;
}
.btn-text:hover { color: var(--text); }

/* ---- DOWNSELL ---- */
.downsell-wrapper { padding: 20px 4px 40px; }

/* ============================================================
   V2 — Timeline, Loading, Debug, Paleta clara overrides
   ============================================================ */

body {
  background: var(--creme);
  color: var(--cacau);
}
.btn-primary {
  background: var(--coral);
  color: #fff;
}
.btn-primary:hover { background: #D94858; }
.btn-secondary {
  background: var(--areia);
  color: var(--cacau);
}
.paywall-guarantee-box {
  background: rgba(42, 173, 122, 0.08);
  border: 2px solid var(--verde);
}
.plan-badge { background: var(--ambar); color: #fff; }
.plan-card { background: #fff; border: 2px solid var(--areia); }
.plan-card.selected { border-color: var(--coral); background: #FFF7F8; }
.paywall-timer { background: var(--cacau); color: var(--creme); }

/* ---- TIMELINE ---- */
.timeline-wrapper { padding: 12px 4px 40px; }
.timeline-hero {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; border: 1px solid var(--areia);
  padding: 16px; border-radius: var(--radius); margin-bottom: 16px;
}
.timeline-hero h3 { font-size: 1rem; color: var(--cacau); }
.timeline-streak { text-align: right; }
.streak-num {
  display: block; font-size: 2rem; font-weight: 900;
  color: var(--verde); font-family: 'Playfair Display', serif;
}
.streak-label { font-size: 0.75rem; color: var(--terra); }
.timeline-badges {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px;
}
.badge-pill {
  background: var(--ambar); color: #fff;
  padding: 6px 12px; border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 600;
}
.timeline-upload { margin-bottom: 20px; }
.timeline-upload label {
  display: block; width: 100%;
  text-align: center;
}
.weekly-check {
  background: #fff; border: 1px solid var(--areia);
  padding: 16px; border-radius: var(--radius); margin-bottom: 20px;
}
.weekly-check-q {
  font-weight: 600; margin-bottom: 12px; color: var(--cacau);
}
.metric-slider {
  display: grid; grid-template-columns: repeat(10, 1fr);
  gap: 4px;
}
.metric-btn {
  background: var(--areia); border: none; color: var(--cacau);
  padding: 8px 4px; border-radius: 6px; cursor: pointer;
  font-weight: 600;
}
.metric-btn:hover, .metric-btn:active { background: var(--coral); color: #fff; }
.metric-note { margin-top: 8px; font-size: 0.85rem; color: var(--verde); font-weight: 600; }
.timeline-beforeafter {
  background: #fff; padding: 16px; border-radius: var(--radius);
  margin-bottom: 20px; border: 1px solid var(--areia);
}
.timeline-beforeafter h4 { margin-bottom: 12px; }
.ba-compare {
  position: relative; width: 100%; aspect-ratio: 1/1;
  border-radius: 12px; overflow: hidden; background: #000;
}
.ba-compare img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { z-index: 1; }
.ba-after-wrap { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; z-index: 2; width: 50%; border-right: 2px solid #fff; }
.ba-after-wrap img { width: 100vw; max-width: 480px; }
.ba-slider {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  z-index: 3; width: calc(100% - 24px);
}
.ba-label-before, .ba-label-after {
  position: absolute; top: 12px;
  background: rgba(0,0,0,0.6); color: #fff;
  padding: 4px 10px; border-radius: 12px; font-size: 0.75rem;
  z-index: 3; font-weight: 700;
}
.ba-label-before { left: 12px; }
.ba-label-after { right: 12px; }
.timeline-list { margin-top: 20px; }
.timeline-list h4 { margin-bottom: 12px; }
.timeline-card {
  display: flex; gap: 12px; padding: 12px; background: #fff;
  border: 1px solid var(--areia); border-radius: var(--radius);
  margin-bottom: 12px;
}
.timeline-card img, .timeline-card .fake-img {
  width: 80px; height: 80px; object-fit: cover;
  border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--areia), var(--ambar));
}
.timeline-card-body { flex: 1; min-width: 0; }
.timeline-date { font-size: 0.8rem; color: var(--terra); font-weight: 600; }
.timeline-metric { font-size: 0.85rem; color: var(--verde); font-weight: 600; margin-top: 2px; }
.timeline-note { font-size: 0.9rem; color: var(--cacau); margin-top: 6px; }
.timeline-empty {
  text-align: center; padding: 32px 16px; color: var(--terra);
  background: #fff; border: 1px dashed var(--areia); border-radius: var(--radius);
}
.timeline-locked { position: relative; min-height: 60vh; }
.timeline-locked .locked-preview {
  filter: blur(6px); opacity: 0.5; pointer-events: none;
}
.locked-overlay {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px; text-align: center; background: rgba(250, 243, 232, 0.92);
  border-radius: var(--radius);
}
.locked-icon { font-size: 3rem; margin-bottom: 12px; }
.locked-overlay h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 8px; }
.locked-overlay p { color: var(--terra); margin-bottom: 20px; max-width: 320px; }

/* ---- LOADING SEQUENCE ---- */
.loading-wrapper {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; padding: 40px; text-align: center;
  background: var(--creme);
}
.loading-spinner {
  width: 64px; height: 64px;
  border: 4px solid var(--areia);
  border-top-color: var(--coral);
  border-radius: 50%;
  animation: loading-spin 1s linear infinite;
  margin-bottom: 24px;
}
@keyframes loading-spin { to { transform: rotate(360deg); } }
.loading-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; color: var(--cacau);
  max-width: 320px; line-height: 1.4;
  animation: fade-in 0.6s;
}
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---- DEBUG METRICS ---- */
.debug-wrapper { padding: 16px; }
.debug-wrapper pre {
  background: var(--noite); color: var(--creme);
  padding: 12px; border-radius: 8px;
  font-size: 0.75rem; overflow-x: auto;
  max-height: 40vh; overflow-y: auto;
  margin-bottom: 16px;
}
.debug-wrapper h2 { margin-bottom: 16px; }
.debug-wrapper h3 { margin-top: 16px; margin-bottom: 8px; color: var(--coral); }
.debug-wrapper button { margin-right: 8px; margin-top: 8px; }

/* ---- PATH screen variants ---- */
.path-option {
  background: #fff;
  border: 2px solid var(--areia);
}
.path-option.selected {
  border-color: var(--coral);
  background: #FFF7F8;
}

/* ================================================================
   QUIZ v2 — Noom/Flo/Prose redesign (prefixo qz-)
   ================================================================ */
#screen-quiz.active {
  display: flex;
  flex-direction: column;
  background: var(--creme);
  overflow: hidden;
}
.qz-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 10px;
  flex-shrink: 0;
}
.qz-back {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--cacau);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s ease;
}
.qz-back:hover { background: rgba(61,31,15,.06); }
.qz-back:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }

/* Segmented progress bar */
.qz-segmented {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.qz-seg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.qz-seg-track {
  height: 5px;
  background: rgba(61,31,15,.10);
  border-radius: 3px;
  overflow: hidden;
}
.qz-seg-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--coral), var(--ambar));
  border-radius: 3px;
  transition: width 600ms cubic-bezier(.4,0,.2,1);
}
.qz-seg.is-done .qz-seg-fill { background: var(--verde); }
.qz-seg-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--terra);
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .3s ease;
}
.qz-seg.is-active .qz-seg-label { color: var(--cacau); }
.qz-seg.is-done .qz-seg-label { color: var(--verde); }

/* Stage (slide container) */
.qz-stage {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 18px 20px 32px;
  position: relative;
}
.qz-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  will-change: transform, opacity;
}
@keyframes qz-enter-right {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes qz-enter-left {
  from { transform: translateX(-100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes qz-exit-left {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(-12%); opacity: 0; }
}
@keyframes qz-exit-right {
  from { transform: translateX(0); opacity: 1; }
  to   { transform: translateX(12%); opacity: 0; }
}
.qz-card.qz-enter-from-right { animation: qz-enter-right 400ms cubic-bezier(.4,0,.2,1) both; }
.qz-card.qz-enter-from-left  { animation: qz-enter-left 400ms cubic-bezier(.4,0,.2,1) both; }
.qz-card.qz-enter { animation: qz-enter-right 400ms cubic-bezier(.4,0,.2,1) both; }
.qz-card.qz-exit-left  { animation: qz-exit-left 220ms cubic-bezier(.4,0,.2,1) both; }
.qz-card.qz-exit-right { animation: qz-exit-right 220ms cubic-bezier(.4,0,.2,1) both; }

.qz-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--coral);
  margin: 0;
}
.qz-q-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--cacau);
  margin: 0;
  letter-spacing: -0.5px;
}
@media (min-width: 480px) {
  .qz-q-title { font-size: 2.25rem; }
}
.qz-q-sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--terra);
  line-height: 1.45;
  margin: 0 0 6px;
}
.qz-footnote {
  font-size: 0.78rem;
  color: var(--terra);
  text-align: center;
  margin-top: 8px;
}

/* Option list (single select, texto) */
.qz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.qz-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 2px solid var(--areia);
  border-radius: 18px;
  padding: 16px 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--cacau);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  box-shadow: 0 1px 2px rgba(61,31,15,.04);
}
.qz-opt:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(61,31,15,.08); }
.qz-opt:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.qz-opt-tick {
  opacity: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transform: scale(.6);
  transition: all .2s ease;
  flex-shrink: 0;
}
.qz-opt.is-selected {
  border-color: var(--coral);
  background: #FFF7F8;
  box-shadow: 0 0 0 6px rgba(232,92,106,.15);
}
.qz-opt.is-selected .qz-opt-tick { opacity: 1; transform: scale(1); }

/* Curl type cards grid */
.qz-curl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 6px;
}
@media (min-width: 560px) {
  .qz-curl-grid { grid-template-columns: repeat(3, 1fr); }
}
.qz-curl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 2px solid var(--areia);
  border-radius: 20px;
  padding: 16px 10px 14px;
  cursor: pointer;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 2px 8px rgba(61,31,15,.05);
  font-family: var(--font-body);
}
.qz-curl-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(61,31,15,.10); }
.qz-curl-card:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.qz-curl-illus {
  width: 64px;
  height: 80px;
  color: var(--cacau);
  opacity: .85;
}
.qz-curl-svg { width: 100%; height: 100%; }
.qz-curl-code {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-style: italic;
  font-size: 1.9rem;
  color: var(--coral);
  line-height: 1;
  margin-top: 2px;
}
.qz-curl-label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--cacau);
  text-align: center;
}
.qz-curl-desc {
  font-size: 0.72rem;
  color: var(--terra);
  text-align: center;
  line-height: 1.3;
  padding: 0 2px;
}
.qz-curl-card.is-selected {
  border-color: var(--coral);
  box-shadow: 0 0 0 6px rgba(232,92,106,.15), 0 10px 24px rgba(232,92,106,.15);
  transform: translateY(-4px);
}
.qz-curl-card.is-selected .qz-curl-illus { color: var(--coral); opacity: 1; }
.qz-shine {
  position: absolute;
  top: 0; left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.75) 50%, transparent 80%);
  pointer-events: none;
  opacity: 0;
}
.qz-curl-card.is-shining .qz-shine {
  opacity: 1;
  animation: qz-shine-sweep 320ms cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes qz-shine-sweep {
  0%   { left: -80%; }
  100% { left: 130%; }
}

/* Mood picker */
.qz-mood-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 10px 0; }
.qz-mood-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 420px;
}
.qz-mood-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: #fff;
  box-shadow: 0 2px 6px rgba(61,31,15,.06);
  cursor: pointer;
  font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), border-color .2s ease, background .2s ease;
}
.qz-mood-btn:hover { transform: scale(1.2); }
.qz-mood-btn:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.qz-mood-btn.is-selected {
  transform: scale(1.3);
  border-color: var(--coral);
  background: var(--creme);
  box-shadow: 0 0 0 8px rgba(232,92,106,.15);
}
.qz-mood-emoji { line-height: 1; }
.qz-mood-label {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--coral);
  min-height: 1.4em;
}

/* Dor chips (multi-select) */
.qz-chips-wrap { margin-top: 6px; }
.qz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.qz-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid var(--areia);
  border-radius: 50px;
  padding: 10px 16px 10px 14px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--cacau);
  cursor: pointer;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.qz-chip:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(61,31,15,.08); }
.qz-chip:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.qz-chip-check {
  width: 0;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: width .2s ease;
}
.qz-chip.is-selected {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(232,92,106,.35);
}
.qz-chip.is-selected .qz-chip-check { width: 18px; }
@keyframes qz-shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.qz-chip.qz-shake { animation: qz-shake 400ms ease; }

.qz-multi-footer {
  position: sticky;
  bottom: 0;
  padding: 14px 0 6px;
  background: linear-gradient(to top, var(--creme) 60%, transparent);
  margin-top: 18px;
  display: flex;
  justify-content: center;
}
.qz-continue-btn {
  width: 100%;
  max-width: 420px;
  padding: 16px 24px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: var(--coral);
  box-shadow: 0 6px 18px rgba(232,92,106,.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .2s ease, opacity .2s ease;
}
.qz-continue-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  box-shadow: none;
}
.qz-continue-btn.is-active {
  animation: qz-pulse 1.6s ease-in-out infinite;
}
@keyframes qz-pulse {
  0%,100% { box-shadow: 0 6px 18px rgba(232,92,106,.35); }
  50%     { box-shadow: 0 6px 28px rgba(232,92,106,.55); }
}
.qz-continue-count {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: .85;
}

/* Reinforcement */
.qz-reinforcement {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--coral);
  text-align: center;
  min-height: 1.5em;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 200ms ease, transform 200ms ease;
}
.qz-reinforcement.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Path screen list */
.qz-path-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.qz-path-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 2px solid var(--areia);
  border-radius: 20px;
  padding: 16px 18px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.qz-path-opt:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(61,31,15,.08); }
.qz-path-opt:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.qz-path-opt.is-selected {
  border-color: var(--coral);
  background: #FFF7F8;
  box-shadow: 0 0 0 6px rgba(232,92,106,.15);
}
.qz-path-icon { font-size: 1.9rem; flex-shrink: 0; }
.qz-path-text { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.qz-path-text strong { font-size: 1rem; color: var(--cacau); font-weight: 700; }
.qz-path-text em { font-style: normal; font-size: 0.82rem; color: var(--terra); }

/* ================================================================
   LOADING v2 — multi-phase labor illusion + confetti no final
   ================================================================ */
#screen-loading.active {
  display: flex;
  flex-direction: column;
  background: var(--creme);
  overflow: hidden;
  position: relative;
}
.qz-loading {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  gap: 22px;
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}
.qz-loading-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 1.65rem;
  color: var(--cacau);
  text-align: center;
  line-height: 1.15;
}
.qz-loading-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qz-loading-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--areia);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--cacau);
  opacity: 0;
  transform: translateY(6px);
}
.qz-loading-step .qz-check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--areia);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: transparent;
  transition: background .3s ease, color .3s ease;
}
.qz-loading-step.is-done .qz-check {
  background: var(--verde);
  color: #fff;
}
@keyframes qz-step-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.qz-loading-track {
  width: 100%;
  max-width: 380px;
  height: 6px;
  background: var(--areia);
  border-radius: 3px;
  overflow: hidden;
}
.qz-loading-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--coral), var(--ambar));
  border-radius: 3px;
  animation: qz-fill 8000ms cubic-bezier(.25,.46,.45,.94) forwards;
}
@keyframes qz-fill {
  0%   { width: 0%; }
  100% { width: 100%; }
}
.qz-loading #loading-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--terra);
  text-align: center;
  min-height: 1.4em;
  margin: 0;
}

/* When screen active, play the steps sequentially using CSS only */
#screen-loading.active .qz-loading-step:nth-child(1) { animation: qz-step-in .5s .1s both; }
#screen-loading.active .qz-loading-step:nth-child(2) { animation: qz-step-in .5s 1.6s both; }
#screen-loading.active .qz-loading-step:nth-child(3) { animation: qz-step-in .5s 3.1s both; }
#screen-loading.active .qz-loading-step:nth-child(4) { animation: qz-step-in .5s 4.6s both; }
#screen-loading.active .qz-loading-step:nth-child(5) { animation: qz-step-in .5s 6.1s both; }
/* auto-check via class toggled from JS OR via animation-delay helper classes */
#screen-loading.active .qz-loading-step.auto-check:nth-child(1) { animation: qz-step-in .5s .1s both, qz-check 0s 1.4s forwards; }
#screen-loading.active .qz-loading-step.auto-check:nth-child(2) { animation: qz-step-in .5s 1.6s both, qz-check 0s 2.9s forwards; }
#screen-loading.active .qz-loading-step.auto-check:nth-child(3) { animation: qz-step-in .5s 3.1s both, qz-check 0s 4.4s forwards; }
#screen-loading.active .qz-loading-step.auto-check:nth-child(4) { animation: qz-step-in .5s 4.6s both, qz-check 0s 5.9s forwards; }
#screen-loading.active .qz-loading-step.auto-check:nth-child(5) { animation: qz-step-in .5s 6.1s both, qz-check 0s 7.4s forwards; }
@keyframes qz-check {
  to { }
}
/* Simpler: mark done via class */
.qz-loading-step.is-revealed { opacity: 1; transform: translateY(0); }

/* Confetti */
.qz-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  display: none;
}
#screen-loading.active .qz-confetti.is-on { display: block; }
.qz-confetti span {
  position: absolute;
  top: -20px;
  width: 10px; height: 14px;
  border-radius: 2px;
  opacity: 0;
  animation: qz-fall 2s ease-in forwards;
}
@keyframes qz-fall {
  0%   { transform: translateY(-20px) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translateY(120vh) rotate(720deg); opacity: 1; }
}

/* ================================================================
   REVEAL (card pós-loading, soft transition pro paywall)
   ================================================================ */
.qz-reveal {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 22px 80px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: qz-enter-right 500ms cubic-bezier(.4,0,.2,1) both;
}
.qz-reveal-badge {
  align-self: flex-start;
  background: var(--creme);
  border: 2px solid var(--coral);
  color: var(--coral);
  padding: 6px 14px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.qz-reveal-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1.05;
  color: var(--cacau);
  margin: 0;
  letter-spacing: -0.5px;
}
.qz-reveal-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--terra);
  margin: 0;
  line-height: 1.4;
}
.qz-mini-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  background: #fff;
  border: 1px solid var(--areia);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 2px 10px rgba(61,31,15,.06);
}
.qz-cal-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 2px;
  border-radius: 10px;
  background: var(--creme);
}
.qz-cal-num {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1rem;
  color: var(--cacau);
}
.qz-cal-bar {
  width: 80%;
  height: 6px;
  border-radius: 3px;
  background: var(--coral);
  opacity: .85;
}
.qz-cal-day.is-blur {
  filter: blur(3px);
  opacity: .55;
}
.qz-reveal-block {
  background: #fff;
  border: 1px solid var(--areia);
  border-radius: 18px;
  padding: 16px 18px;
}
.qz-reveal-block-locked { background: #FFF7F8; border-color: #F6D9DD; }
.qz-reveal-block-h {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--terra);
  margin-bottom: 10px;
}
.qz-reveal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qz-reveal-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--cacau);
}
.qz-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.82rem;
}
.qz-dot-ok { background: var(--verde); color: #fff; }
.qz-dot-lock { background: var(--areia); }
.qz-lock-text { color: var(--terra); }
.qz-reveal-cta {
  position: sticky;
  bottom: 16px;
  width: 100%;
  padding: 18px 22px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .5px;
  color: #fff;
  background: var(--coral);
  box-shadow: 0 10px 28px rgba(232,92,106,.40);
  cursor: pointer;
  animation: qz-pulse 2s ease-in-out infinite;
  margin-top: 8px;
}

/* =========================================================
   PAYWALL V2 — LONG-FORM NOOM/BETTERME STYLE (2026-04-10)
   ========================================================= */

.paywall-scroll { padding: 0 !important; scroll-behavior: smooth; position: relative; }
.paywall-v2 { padding-bottom: 120px; background: var(--creme); color: var(--cacau); }
.paywall-v2 * { box-sizing: border-box; }

/* --- STICKY TOP BAR --- */
.pw-sticky-top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--noite);
  color: var(--creme);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.pw-sticky-top .pw-lock { font-size: 16px; }
.pw-sticky-top .pw-sticky-label { flex: 1; font-weight: 500; letter-spacing: .2px; }
.pw-sticky-top .pw-sticky-timer {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--creme);
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,.1);
  min-width: 72px;
  text-align: center;
}
.pw-sticky-top.urgent .pw-sticky-timer {
  background: var(--coral);
  animation: pw-blink 0.9s ease-in-out infinite;
}
.pw-sticky-top.expired { background: #3a1f14; }
.pw-sticky-top.expired .pw-sticky-timer { background: var(--terra); }

@keyframes pw-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* --- SECTIONS base --- */
.pw-section {
  padding: 36px 20px;
  max-width: 720px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.pw-section.revealed { opacity: 1; transform: translateY(0); }
.pw-section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 28px;
  color: var(--cacau);
  margin: 0 0 20px;
  line-height: 1.2;
}

/* --- 1. HERO --- */
.pw-hero { text-align: center; padding-top: 48px; }
.pw-plan-chip {
  display: inline-block;
  background: var(--areia);
  color: var(--cacau);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.pw-hero-type {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-style: italic;
  font-size: 42px;
  line-height: 1.05;
  color: var(--cacau);
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}
@media (min-width: 720px) { .pw-hero-type { font-size: 56px; } }
.pw-hero-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: var(--cacau);
  margin: 0 0 12px;
}
.pw-hero-sub {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--terra);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 24px;
}
.pw-mock-phone {
  width: 200px;
  height: 340px;
  background: var(--noite);
  border-radius: 28px;
  margin: 20px auto;
  padding: 10px;
  box-shadow: 0 12px 40px rgba(60,30,15,.25);
  position: relative;
}
.pw-mock-notch {
  width: 60px;
  height: 18px;
  background: #000;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 6px;
}
.pw-mock-screen {
  background: var(--creme);
  border-radius: 20px;
  height: calc(100% - 24px);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pw-mock-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 16px;
  color: var(--cacau);
}
.pw-mock-user { font-size: 12px; color: var(--terra); }
.pw-mock-day {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--coral);
  margin-top: 8px;
}
.pw-mock-task {
  font-size: 12px;
  background: var(--areia);
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--cacau);
}
.pw-mock-bar {
  margin-top: auto;
  background: var(--areia);
  border-radius: 8px;
  height: 8px;
  overflow: hidden;
}
.pw-mock-bar span {
  display: block;
  height: 100%;
  background: var(--verde);
}
.pw-counter {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13px;
  background: rgba(42,173,122,.1);
  color: var(--verde);
  padding: 8px 16px;
  border-radius: 20px;
  margin-top: 8px;
}

/* --- 2. SOCIAL PROOF --- */
.pw-social { text-align: center; background: #fff; border-radius: 18px; box-shadow: 0 4px 24px rgba(60,30,15,.06); }
.pw-stars { font-size: 24px; color: var(--ambar); letter-spacing: 3px; }
.pw-rating { font-size: 14px; color: var(--terra); margin: 6px 0 16px; }
.pw-rating strong { color: var(--cacau); font-family: 'Playfair Display', serif; font-size: 18px; }
.pw-avatars { display: flex; justify-content: center; margin: 12px 0; }
.pw-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid #fff;
  margin-left: -10px;
}
.pw-avatars .pw-avatar:first-child { margin-left: 0; }
.pw-avatar-more { background: var(--cacau) !important; font-size: 11px; }
.pw-press {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  color: var(--terra);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 16px 0;
  padding: 10px 0;
  border-top: 1px solid var(--areia);
  border-bottom: 1px solid var(--areia);
}
.pw-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--cacau);
  margin: 18px 0 0;
  line-height: 1.4;
  position: relative;
}
.pw-quote-mark { color: var(--coral); font-size: 28px; font-weight: 900; }
.pw-quote cite {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
  font-size: 12px;
  color: var(--terra);
  margin-top: 8px;
}

/* --- 3. PROJECTION CHART --- */
.pw-projection { text-align: center; }
.projection-svg { width: 100%; max-width: 560px; height: auto; margin: 8px auto; display: block; }
.projection-path {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: pw-draw 2.2s ease-out .3s forwards;
}
@keyframes pw-draw { to { stroke-dashoffset: 0; } }
.projection-dot {
  opacity: 0;
  animation: pw-pop .4s ease-out forwards;
}
.pw-projection.revealed .dot-1 { animation-delay: .6s; }
.pw-projection.revealed .dot-2 { animation-delay: 1.4s; }
.pw-projection.revealed .dot-3 { animation-delay: 2.2s; }
@keyframes pw-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
.pw-projection-labels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
  text-align: center;
}
.pw-pl strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: var(--cacau);
}
.pw-pl span {
  display: block;
  font-size: 11px;
  color: var(--terra);
  margin-top: 2px;
}
.pw-pl-today strong { color: var(--coral); }
.pw-pl-30 strong { color: var(--ambar); }
.pw-pl-90 strong { color: var(--verde); }

/* --- 4. BEFORE/AFTER --- */
.pw-ba-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 18px;
  margin: 0 -4px;
}
.pw-ba-scroll::-webkit-scrollbar { height: 6px; }
.pw-ba-scroll::-webkit-scrollbar-thumb { background: var(--areia); border-radius: 3px; }
.pw-ba-card {
  flex: 0 0 85%;
  max-width: 320px;
  scroll-snap-align: center;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 18px rgba(60,30,15,.08);
}
.pw-ba-images { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pw-ba-img {
  flex: 1;
  aspect-ratio: 1;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}
.pw-ba-before { background: linear-gradient(135deg, #e8d9c5, #c9b398); }
.pw-ba-after { background: linear-gradient(135deg, #ffd5b8, #E85C6A); }
.pw-ba-emoji { font-size: 42px; }
.pw-ba-label {
  position: absolute;
  top: 8px; left: 8px;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 1px;
}
.pw-ba-arrow { font-size: 22px; color: var(--coral); font-weight: 900; }
.pw-ba-meta strong { display: block; font-family: 'Playfair Display', serif; font-size: 16px; color: var(--cacau); }
.pw-ba-meta span { font-size: 12px; color: var(--verde); font-weight: 600; }
.pw-ba-quote { font-style: italic; font-size: 14px; color: var(--terra); margin: 10px 0 0; }

/* --- 5. VALUE STACK --- */
.pw-stack-list { display: flex; flex-direction: column; gap: 10px; }
.pw-stack-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--areia);
  border-radius: 14px;
  padding: 14px;
}
.pw-stack-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--areia);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.pw-stack-title { font-weight: 700; font-size: 14px; color: var(--cacau); }
.pw-stack-desc { font-size: 12px; color: var(--terra); margin-top: 2px; }
.pw-stack-value {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  color: var(--ambar);
  font-size: 16px;
  white-space: nowrap;
}
.pw-stack-total {
  text-align: center;
  margin-top: 20px;
  padding: 20px;
  background: #fff;
  border: 2px dashed var(--coral);
  border-radius: 14px;
}
.pw-stack-anchor {
  font-size: 16px;
  color: var(--terra);
  text-decoration: line-through;
  font-weight: 600;
}
.pw-stack-today {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 36px;
  color: var(--coral);
  margin: 4px 0;
}
.pw-stack-save { font-size: 13px; color: var(--verde); font-weight: 700; }

/* --- 6. URGENCY --- */
.pw-urgency {
  text-align: center;
  background: var(--noite);
  color: var(--creme);
  border-radius: 18px;
  padding: 40px 20px;
}
.pw-urgency-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: .85;
  margin: 0 0 16px;
  color: var(--creme);
}
.pw-big-timer {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 64px;
  color: var(--coral);
  line-height: 1;
  letter-spacing: 2px;
}
.pw-big-timer-sm { font-size: 44px; margin: 12px 0; color: var(--coral); }
.pw-urgency-after {
  font-size: 13px;
  opacity: .75;
  margin: 12px 0 0;
  color: var(--creme);
}

/* --- 7. PLANS --- */
.pw-plans-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 14px;
}
@media (min-width: 720px) {
  .pw-plans-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: stretch; gap: 14px; }
}
.pw-plan {
  position: relative;
  background: #fff;
  border: 2px solid var(--areia);
  border-radius: 16px;
  padding: 26px 18px 22px;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease;
}
.pw-plan:hover { transform: translateY(-2px); }
.pw-plan.selected {
  border-color: var(--coral);
  box-shadow: 0 0 0 8px rgba(232,92,106,.15);
  animation: pw-pulse 2.2s ease-in-out infinite;
}
@keyframes pw-pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(232,92,106,.15); }
  50% { box-shadow: 0 0 0 14px rgba(232,92,106,.08); }
}
.pw-plan-monthly { opacity: .85; }
.pw-plan-monthly .pw-plan-price { color: var(--terra); text-decoration: line-through; }
.pw-plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif;
}
.pw-badge-caro { background: #c03240; color: #fff; }
.pw-badge-popular { background: var(--verde); color: #fff; box-shadow: 0 0 18px rgba(42,173,122,.5); }
.pw-badge-lifetime { background: var(--ambar); color: #fff; }
.pw-plan-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 8px;
  text-align: center;
}
.pw-plan-price {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 38px;
  color: var(--cacau);
  text-align: center;
  line-height: 1;
}
.pw-plan-price span { font-size: 14px; color: var(--terra); font-weight: 400; }
.pw-plan-price-big { font-size: 56px; color: var(--coral); }
.pw-plan-note {
  font-size: 13px;
  color: var(--terra);
  text-align: center;
  margin-top: 6px;
}
.pw-plan-compare {
  text-align: center;
  font-size: 12px;
  color: var(--verde);
  font-weight: 600;
  margin-top: 10px;
  padding: 6px 10px;
  background: rgba(42,173,122,.08);
  border-radius: 8px;
}

/* --- 8. CTA PRIMARY --- */
.pw-cta-primary { text-align: center; }
.pw-cta-big {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 520px;
  padding: 22px 18px;
  background: var(--coral);
  color: var(--creme);
  border: none;
  border-radius: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .5px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(232,92,106,.35);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pw-cta-big:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 38px rgba(232,92,106,.45); }
.pw-cta-big::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  animation: pw-shine 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pw-shine {
  0% { left: -60%; }
  60%, 100% { left: 130%; }
}
.pw-cta-reassure { font-size: 13px; color: var(--terra); margin: 14px 0 4px; }
.pw-cta-badges { font-size: 12px; color: var(--terra); font-weight: 600; letter-spacing: .5px; }

/* --- 9. GUARANTEE --- */
.pw-guarantee {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(60,30,15,.06);
}
@media (max-width: 520px) { .pw-guarantee { flex-direction: column; text-align: center; } }
.pw-seal {
  flex-shrink: 0;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--areia));
  border: 4px dashed var(--verde);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--verde);
}
.pw-seal-top { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 20px; line-height: 1; }
.pw-seal-bottom { font-size: 10px; font-weight: 700; margin-top: 4px; padding: 0 6px; }
.pw-guarantee-copy h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--cacau);
}
.pw-guarantee-copy p { font-size: 14px; color: var(--terra); margin: 0; line-height: 1.5; }

/* --- 10. TESTIMONIALS --- */
.pw-testi {
  display: flex;
  gap: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: 0 2px 14px rgba(60,30,15,.06);
}
.pw-testi-avatar {
  flex-shrink: 0;
  width: 54px; height: 54px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
}
.pw-testi-body { flex: 1; }
.pw-testi-stars { color: var(--ambar); font-size: 14px; letter-spacing: 2px; }
.pw-testi-body p { margin: 6px 0; font-size: 14px; color: var(--cacau); line-height: 1.5; }
.pw-testi-body cite { font-size: 12px; color: var(--terra); font-style: normal; }

/* --- 11. FAQ --- */
.pw-faq-item {
  background: #fff;
  border: 1px solid var(--areia);
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 0 16px;
  overflow: hidden;
}
.pw-faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--cacau);
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.pw-faq-item summary::-webkit-details-marker { display: none; }
.pw-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--coral);
  font-weight: 400;
  transition: transform .25s ease;
}
.pw-faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.pw-faq-item p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--terra);
  line-height: 1.55;
}

/* --- 12. FINAL --- */
.pw-final { text-align: center; }
.pw-lose {
  margin-top: 26px;
  padding: 20px;
  background: #fff4f5;
  border: 1px solid rgba(232,92,106,.3);
  border-radius: 14px;
  text-align: left;
}
.pw-lose strong {
  display: block;
  color: var(--coral);
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  margin-bottom: 10px;
}
.pw-lose ul { margin: 0; padding-left: 20px; }
.pw-lose li { font-size: 14px; color: var(--cacau); margin-bottom: 6px; }
.pw-restore { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--areia); }
.pw-restore p { font-size: 13px; color: var(--terra); margin-bottom: 10px; }
.pw-restore .restore-input { display: flex; gap: 8px; max-width: 360px; margin: 0 auto; }
.pw-restore .input { flex: 1; }

/* --- STICKY BOTTOM BAR --- */
.pw-sticky-bottom {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--creme);
  border-top: 2px solid var(--areia);
  box-shadow: 0 -6px 24px rgba(60,30,15,.12);
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.pw-sticky-bottom.visible { transform: translateY(0); }
.pw-sticky-price { flex: 1; line-height: 1.15; }
.pw-sticky-price strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--coral);
}
.pw-sticky-price span { font-size: 11px; color: var(--terra); }
.pw-sticky-cta {
  background: var(--coral);
  color: var(--creme);
  border: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(232,92,106,.35);
}
.pw-sticky-cta:hover { transform: translateY(-1px); }

