/* =========================================================
   Te Fiz Uma Música — sistema visual
   ========================================================= */
:root {
  --ivory: #FBF6EF;
  --cream: #F4EADD;
  --paper: #FFFDF9;
  --wine: #5B1A2C;
  --wine-deep: #3F0F1D;
  --wine-soft: #7B2D42;
  --rose: #E7C4C1;
  --rose-soft: #F5E3DF;
  --gold: #A9844B;
  --gold-soft: #EADBBD;
  --ink: #2B1B20;
  --muted: #6B575C;
  --line: #E6D8CB;
  --line-strong: #D5C2B1;
  --ok: #2F6B4F;
  --err: #A3243B;
  --focus: #B0566B;

  --f-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --f-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(63, 15, 29, .06), 0 8px 24px -12px rgba(63, 15, 29, .18);
  --shadow-lg: 0 2px 6px rgba(63, 15, 29, .06), 0 30px 60px -30px rgba(63, 15, 29, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--wine); }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--wine); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; }
.fine { font-size: 13px; color: var(--muted); line-height: 1.5; }

.test-banner {
  background: repeating-linear-gradient(-45deg, #FFF4D6, #FFF4D6 12px, #FBEBC0 12px, #FBEBC0 24px);
  color: #5A4300; text-align: center; font-size: 13px; font-weight: 600; padding: 8px 16px;
  border-bottom: 1px solid #E8D493;
}

/* ---------- Tipografia ---------- */
.eyebrow { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.eyebrow-light { color: var(--gold-soft); }
.display {
  font-family: var(--f-display); font-optical-sizing: auto; font-weight: 380;
  font-size: clamp(2.35rem, 6.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.02em; color: var(--wine-deep);
}
.display em, .h2 em { font-style: italic; color: var(--wine); font-weight: 340; }
.display-sm { font-family: var(--f-display); font-weight: 360; font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.08; letter-spacing: -.015em; }
.h2 { font-family: var(--f-display); font-weight: 380; font-size: clamp(1.8rem, 4vw, 2.75rem); line-height: 1.08; letter-spacing: -.015em; color: var(--wine-deep); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 34ch; margin-top: 20px; }
.section-lead { color: var(--muted); font-size: 1.05rem; max-width: 56ch; margin-top: 14px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15.5px; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 16.5px; }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-primary { background: var(--wine); color: #fff; box-shadow: 0 10px 24px -12px rgba(91, 26, 44, .7); }
.btn-primary:hover { background: var(--wine-deep); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary[disabled], .btn-primary[aria-disabled="true"] { background: #B7A3A8; box-shadow: none; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--wine); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--wine); background: var(--paper); }
.btn-light { background: var(--ivory); color: var(--wine-deep); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--wine); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rose); }
.link-btn:hover { text-decoration-color: var(--wine); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid transparent; background: transparent; cursor: pointer; color: var(--wine-deep); }
.icon-btn:hover { background: var(--cream); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(251, 246, 239, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--wine); margin-right: auto; }
.brand-mark { width: 28px; height: 28px; }
.brand-name { font-family: var(--f-display); font-style: italic; font-size: 22px; font-weight: 420; letter-spacing: -.01em; color: var(--wine); }
.site-nav { display: none; gap: 28px; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 14.5px; opacity: .8; }
.site-nav a:hover { opacity: 1; color: var(--wine); }
@media (min-width: 900px) { .site-nav { display: flex; } }
@media (max-width: 420px) { .site-header .btn-small { padding: 8px 12px; font-size: 13px; } .brand-name { font-size: 20px; } .brand-mark { width: 24px; height: 24px; } }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: auto -20% -40% auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(231, 196, 193, .45), rgba(231, 196, 193, 0)); pointer-events: none;
}
.hero-grid { display: grid; gap: 48px; position: relative; }
.hero-price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 28px; font-size: 15px; color: var(--muted); }
.price-from strong { font-family: var(--f-display); font-weight: 500; font-size: 1.6rem; color: var(--wine-deep); letter-spacing: -.01em; margin-left: 4px; }
.price-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
@media (max-width: 520px) { .hero-price { flex-direction: column; align-items: flex-start; gap: 2px; } .price-dot { display: none; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-ctas .btn { flex: 1 1 auto; }
.hero-facts { margin-top: 30px; display: grid; gap: 12px; }
.hero-facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.hero-facts svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 1px; }
.hero-facts strong { font-weight: 600; }

@media (min-width: 980px) {
  .hero { padding: 72px 0 96px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 56px; }
  .hero-ctas .btn { flex: 0 0 auto; }
}

/* Composição visual do hero: capa, disco, dedicatória, player */
.hero-visual { position: relative; width: min(100%, 460px); margin: 0 auto; aspect-ratio: 1 / 1.08; }
.vinyl {
  position: absolute; top: 6%; right: 0; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--gold-soft) 0 11%, var(--wine-deep) 11.5% 13%, transparent 13.5%),
    repeating-radial-gradient(circle at 50% 50%, #1d0a10 0 2px, #2a0f18 2px 4px);
  box-shadow: var(--shadow-lg);
  transform: translateX(0);
  animation: vinyl-out 1.1s .35s var(--ease) both, spin 22s 1.4s linear infinite;
}
.vinyl span { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent 0 20%, rgba(255,255,255,.08) 25%, transparent 32% 70%, rgba(255,255,255,.06) 76%, transparent 82%); }
@keyframes vinyl-out { from { transform: translateX(-28%); } to { transform: translateX(0); } }
@keyframes spin { to { rotate: 360deg; } }

.cover {
  position: relative; overflow: hidden; border-radius: 6px;
  background: var(--cv-bg, var(--wine)); color: var(--cv-ink, var(--ivory));
  display: flex; flex-direction: column; justify-content: flex-start; padding: 9% 9% 8%;
  box-shadow: var(--shadow-lg);
  container-type: inline-size;
}
.sleeve { position: absolute; top: 4%; left: 0; width: 70%; aspect-ratio: 1; z-index: 2; }
.cover-art { position: absolute; inset: 0; pointer-events: none; }
.cover-art svg { width: 100%; height: 100%; }
.cover-art path, .cover-art circle { fill: none; stroke: var(--cv-accent, var(--gold)); stroke-width: 1.1; opacity: .75; vector-effect: non-scaling-stroke; }
.cover-kicker { font-size: 4.6cqi; letter-spacing: .16em; text-transform: uppercase; opacity: .78; position: relative; }
.cover-name {
  font-family: var(--f-display); font-style: italic; font-weight: 360; font-size: 19cqi; line-height: .98;
  margin-top: 3cqi; letter-spacing: -.02em; position: relative; overflow-wrap: anywhere; color: var(--cv-name, #fff);
}
.cover-sub { margin-top: auto; font-size: 4.4cqi; opacity: .8; position: relative; }
.cover-brand { font-family: var(--f-display); font-style: italic; font-size: 5cqi; position: relative; margin-top: 2cqi; color: var(--cv-accent, var(--gold-soft)); }

.dedication {
  position: absolute; left: 8%; bottom: 13%; z-index: 3; margin: 0; width: 62%;
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 18px 20px 14px;
  box-shadow: var(--shadow); rotate: -2.5deg;
  animation: rise .9s .6s var(--ease) both;
}
.dedication p { font-family: var(--f-display); font-style: italic; font-size: clamp(15px, 3.6vw, 18px); line-height: 1.35; color: var(--wine-deep); }
.dedication figcaption { margin-top: 10px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.mini-player {
  position: absolute; right: 2%; bottom: 0; z-index: 4; width: 64%;
  display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px;
  background: rgba(255, 253, 249, .94); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
  animation: rise .9s .8s var(--ease) both;
}
.mp-play { width: 36px; height: 36px; border-radius: 50%; background: var(--wine); color: #fff; display: grid; place-items: center; flex: none; }
.mp-play svg { width: 16px; height: 16px; }
.mp-meta { display: grid; gap: 6px; flex: 1; min-width: 0; }
.mp-title { font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-bar { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.mp-bar span { display: block; width: 38%; height: 100%; background: var(--gold); }
.visual-note { position: absolute; left: 0; right: 0; bottom: -30px; text-align: center; font-size: 12px; color: var(--muted); }
@keyframes rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }

.reveal { animation: rise .8s var(--ease) both; }
.hero-copy .reveal:nth-child(2) { animation-delay: .06s; }
.hero-copy .reveal:nth-child(3) { animation-delay: .12s; }
.hero-copy .reveal:nth-child(4) { animation-delay: .18s; }
.hero-copy .reveal:nth-child(5) { animation-delay: .24s; }
.hero-copy .reveal:nth-child(6) { animation-delay: .3s; }

/* ---------- Faixa de entregáveis ---------- */
.deliverables-strip { border-block: 1px solid var(--line); background: var(--paper); }
.strip { display: grid; grid-template-columns: repeat(2, 1fr); }
.strip li { padding: 20px 8px 20px 0; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.strip li:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); }
.strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
.strip-k { font-family: var(--f-display); font-size: 1.35rem; color: var(--wine-deep); }
.strip-k em { font-family: var(--f-body); font-style: normal; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); vertical-align: middle; margin-left: 4px; }
@media (min-width: 820px) {
  .strip { grid-template-columns: repeat(4, 1fr); }
  .strip li { padding: 26px 24px; border-top: 0 !important; }
  .strip li:first-child { padding-left: 0; }
  .strip li + li { border-left: 1px solid var(--line); }
}

/* ---------- Seções ---------- */
.section { padding: 72px 0; }
.section-tint { background: var(--cream); }
.section-head { margin-bottom: 36px; }
@media (min-width: 900px) { .section { padding: 104px 0; } .section-head { margin-bottom: 48px; } }

.memory-cards { display: grid; gap: 14px; counter-reset: m; }
.memory-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 20px; position: relative; }
.memory-card h3 { font-family: var(--f-display); font-size: 1.3rem; color: var(--wine-deep); margin-top: 10px; line-height: 1.2; }
.memory-card p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.memory-card .mc-ex { font-family: var(--f-display); font-style: italic; color: var(--wine-soft); font-size: 15px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.mc-n { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--gold); }
.mc-phrase { background: var(--rose-soft); border-color: var(--rose); }
@media (min-width: 720px) { .memory-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .memory-cards { grid-template-columns: repeat(4, 1fr); } }
.memory-cards + .fine { margin-top: 16px; }

.steps-line { margin-top: 64px; display: grid; gap: 22px; }
.steps-line li { display: flex; gap: 16px; align-items: flex-start; }
.steps-line strong { display: block; font-weight: 600; }
.steps-line span:not(.sl-n) { color: var(--muted); font-size: 15px; }
.sl-n { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-family: var(--f-display); flex: none; }
@media (min-width: 900px) {
  .steps-line { grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
  .steps-line li { flex-direction: column; }
}

/* ---------- Demos ---------- */
.demo-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .demo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .demo-grid { grid-template-columns: repeat(3, 1fr); } }
.demo { display: flex; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.demo h3 { font-size: 15.5px; font-weight: 600; font-family: var(--f-body); }
.demo p { font-size: 13.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.demo-meta { flex: 1; min-width: 0; }
.demo-status { font-size: 12px; color: var(--gold); margin-top: 6px; letter-spacing: .02em; }
.demo-grid.compact { grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .demo-grid.compact { grid-template-columns: repeat(5, 1fr); } }
.demo-grid.compact .demo { display: block; padding: 14px; }
.demo-grid.compact .demo h3 { font-family: var(--f-display); font-weight: 450; font-size: 1.02rem; color: var(--wine-deep); line-height: 1.25; }
.demo-grid.compact .demo p { font-size: 13px; margin-top: 6px; }
.demo-pending { margin-top: 18px; }

.play {
  width: 48px; height: 48px; border-radius: 50%; flex: none; border: 1px solid var(--wine); background: var(--wine); color: #fff;
  display: grid; place-items: center; cursor: pointer; position: relative; transition: transform .2s var(--ease), background .2s;
}
.play:hover { transform: scale(1.04); }
.play svg { width: 18px; height: 18px; }
.play .i-pause { display: none; }
.play[aria-pressed="true"] .i-play { display: none; }
.play[aria-pressed="true"] .i-pause { display: block; }
.play[disabled] { background: transparent; border-style: dashed; border-color: var(--line-strong); color: var(--line-strong); cursor: not-allowed; transform: none; }
.play-sm { width: 40px; height: 40px; }
.play-sm svg { width: 15px; height: 15px; }
.play-ring { position: absolute; inset: -4px; border-radius: 50%; pointer-events: none; }
.play-ring circle { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; transition: stroke-dashoffset .25s linear; }

/* ---------- Pacotes ---------- */
.package-grid { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .package-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pkg {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.pkg.is-highlight { border-color: var(--wine); box-shadow: var(--shadow-lg); background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
@media (min-width: 900px) { .pkg.is-highlight { transform: translateY(-10px); } }
.pkg-badge { position: absolute; top: -12px; left: 24px; background: var(--wine); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.pkg-name { font-family: var(--f-display); font-size: 1.6rem; color: var(--wine-deep); line-height: 1.1; }
.pkg-duration { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.wave { display: flex; align-items: center; gap: 2px; height: 22px; }
.wave i { display: block; width: 3px; border-radius: 2px; background: var(--gold); opacity: .85; }
.pkg-price { font-family: var(--f-display); font-size: 2.2rem; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.pkg-price small { font-family: var(--f-body); font-size: 13px; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.pkg ul { display: grid; gap: 8px; font-size: 15px; }
.pkg li { display: flex; gap: 10px; }
.pkg li::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--rose-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%235B1A2C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.pkg .btn { margin-top: auto; white-space: normal; text-align: center; }

.included { margin-top: 36px; padding: 24px; border-radius: var(--r); border: 1px dashed var(--line-strong); }
.included h3 { font-size: 15px; font-weight: 700; }
.included ul { margin: 12px 0; display: grid; gap: 6px; font-size: 15px; }
.included li { padding-left: 18px; position: relative; }
.included li::before { content: ''; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--gold); }
.addon-teaser { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; align-items: flex-end; padding: 20px 24px; background: var(--rose-soft); border-radius: var(--r); }
.addon-teaser p { color: var(--muted); font-size: 14.5px; margin-top: 4px; max-width: 60ch; }
.addon-price { color: var(--wine); font-weight: 600; }

/* ---------- Transparência ---------- */
.section-wine { background: var(--wine-deep); color: var(--ivory); }
.section-wine .h2 { color: var(--ivory); }
.transp-grid { display: grid; gap: 36px; }
.transp-lead { margin-top: 18px; color: rgba(251, 246, 239, .8); font-size: 1.05rem; max-width: 46ch; }
.transp-list { display: grid; gap: 0; }
.transp-list li { padding: 16px 0; border-top: 1px solid rgba(251, 246, 239, .16); color: rgba(251, 246, 239, .82); font-size: 15.5px; }
.transp-list strong { color: #fff; font-weight: 600; }
@media (min-width: 900px) { .transp-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 1.6px solid var(--wine); border-bottom: 1.6px solid var(--wine); rotate: 45deg; transition: rotate .25s var(--ease), margin .25s; }
.faq details[open] summary::after { rotate: -135deg; margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }

/* ---------- CTA final / Footer ---------- */
.final-cta { background: var(--rose-soft); text-align: center; padding: 80px 0; }
.final-cta .display-sm { color: var(--wine-deep); }
.final-cta p { color: var(--muted); margin: 14px 0 26px; }
.final-cta .btn-light { background: var(--wine); color: #fff; }
.final-cta .btn-light:hover { background: var(--wine-deep); }
.site-footer { padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 24px; }
.footer-grid ul { display: grid; gap: 8px; font-size: 14.5px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-policy { max-width: 60ch; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr 1.4fr; } }

/* =========================================================
   CONFIGURADOR
   ========================================================= */
.builder { min-height: 100vh; min-height: 100dvh; background: var(--ivory); }
.b-top { position: sticky; top: 0; z-index: 20; background: rgba(251, 246, 239, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.b-top-inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; gap: 8px; padding: 8px 12px; }
.b-progress-wrap { flex: 1; min-width: 0; text-align: center; }
.b-step-label { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-step-label strong { color: var(--wine); font-weight: 700; }
.b-progress { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 6px auto 0; max-width: 420px; }
.b-progress li { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; position: relative; }
.b-progress li::after { content: ''; position: absolute; inset: 0; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.b-progress li.done::after, .b-progress li.current::after { transform: scaleX(1); }
.b-progress li.current::after { background: var(--gold); }

.b-layout { max-width: 1160px; margin: 0 auto; padding: 24px var(--gutter) 120px; display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .b-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; padding-top: 40px; padding-bottom: 80px; }
}
.b-main { min-width: 0; }
.b-step-head { margin-bottom: 26px; }
.b-step-kicker { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.b-step-title { font-family: var(--f-display); font-weight: 380; font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.1; letter-spacing: -.015em; color: var(--wine-deep); margin-top: 8px; outline: none; }
.b-step-sub { color: var(--muted); margin-top: 10px; font-size: 1.02rem; max-width: 52ch; }

.step-enter { animation: step-in .38s var(--ease) both; }
.step-enter.from-left { animation-name: step-in-left; }
@keyframes step-in { from { opacity: 0; translate: 18px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes step-in-left { from { opacity: 0; translate: -18px 0; } to { opacity: 1; translate: 0 0; } }

.field-group { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.field-group > legend, .group-label { font-weight: 700; font-size: 15.5px; margin-bottom: 12px; padding: 0; display: block; }
.group-label .opt, legend .opt { font-weight: 400; color: var(--muted); font-size: 13.5px; margin-left: 6px; }
.group-hint { font-size: 14px; color: var(--muted); margin: -6px 0 12px; }

/* Cartões de escolha (radio/checkbox nativos, visualmente ocultos) */
.choice-grid { display: grid; gap: 10px; }
.choice-grid.cols-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .choice-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice-body {
  display: flex; gap: 14px; align-items: center; height: 100%;
  padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.choice:hover .choice-body { border-color: var(--line-strong); }
.choice input:checked + .choice-body { border-color: var(--wine); box-shadow: inset 0 0 0 1px var(--wine); background: #fff; }
.choice input:focus-visible + .choice-body { outline: 2px solid var(--focus); outline-offset: 2px; }
.choice-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--rose-soft); color: var(--wine); display: grid; place-items: center; flex: none; }
.choice-icon svg { width: 20px; height: 20px; }
.choice-text { display: grid; gap: 2px; min-width: 0; }
.choice-title { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.choice-desc { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.choice-check { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; display: grid; place-items: center; transition: background .18s, border-color .18s; }
.choice input:checked + .choice-body .choice-check { background: var(--wine); border-color: var(--wine); }
.choice input:checked + .choice-body .choice-check::after { content: ''; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; rotate: -45deg; translate: 0 -1px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); font-size: 14.5px; transition: all .18s; }
.chip input:checked + span { background: var(--wine); border-color: var(--wine); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.chip:hover span { border-color: var(--wine); }

/* Estilos (etapa 2) */
.style-grid { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .style-grid { gap: 10px; } }
.style-card .choice-body { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 14px 14px; min-height: 100%; }
.style-card .choice-title { font-family: var(--f-display); font-weight: 450; font-size: 1.04rem; color: var(--wine-deep); padding-right: 22px; }
.style-card .choice-desc { font-size: 12.5px; }
@media (min-width: 760px) { .style-card .choice-title { font-size: 1.12rem; } .style-card .choice-desc { font-size: 13.5px; } .style-card .choice-body { padding: 16px 18px; } }
.style-card.has-demo .choice-body { padding-bottom: 60px; }
.style-card .play { position: absolute; left: 14px; bottom: 12px; z-index: 2; }
.style-card .choice-check { position: absolute; right: 12px; top: 12px; width: 18px; height: 18px; }
.style-card.has-demo input:checked + .choice-body { background: #fff; }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; background: var(--cream); border-radius: 14px; }
.segmented .chip span { width: 100%; justify-content: center; border: 0; border-radius: 10px; background: transparent; text-align: center; line-height: 1.25; padding: 10px 8px; font-size: 14px; }
.segmented .chip input:checked + span { background: var(--paper); color: var(--wine-deep); font-weight: 600; box-shadow: var(--shadow); }
@media (max-width: 380px) { .segmented { grid-template-columns: 1fr; } }

/* Pacotes (etapa 3) */
.pkg-choice .choice-body { flex-direction: column; align-items: stretch; gap: 12px; padding: 22px 20px 20px; border-radius: var(--r-lg); }
.pkg-choice .pkg-top { display: flex; flex-direction: column; gap: 6px; }
.pkg-choice .pkg-name { font-size: 1.4rem; }
.pkg-choice .pkg-price { font-size: 1.7rem; }
.pkg-choice ul { display: grid; gap: 6px; font-size: 14.5px; }
.pkg-choice li { display: flex; gap: 10px; }
.pkg-choice li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: 9px; }
.pkg-choice .choice-check { position: absolute; top: 20px; right: 20px; }
.pkg-choice .pkg-top { padding-right: 34px; }
.pkg-choice.is-highlight .choice-body { border-color: var(--rose); background: linear-gradient(180deg, var(--rose-soft), var(--paper) 60%); }
.pkg-choice.is-highlight input:checked + .choice-body { border-color: var(--wine); }
.pkg-choice .pkg-badge { top: -11px; left: 20px; z-index: 2; }
.pkg-stack { display: grid; gap: 18px; }
@media (min-width: 760px) { .pkg-stack { grid-template-columns: repeat(3, 1fr); gap: 14px; } .pkg-choice .pkg-top { flex-direction: column; } }

.note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); background: var(--cream); font-size: 14px; color: var(--ink); line-height: 1.5; }
.note svg { width: 18px; height: 18px; flex: none; color: var(--gold); margin-top: 2px; }
.note.warn { background: #FBEFD9; }
.note.warn svg { color: #9A6A12; }
.note.info-wine { background: var(--rose-soft); }
.note + .note { margin-top: 10px; }

/* Campos de texto */
.field { margin-bottom: 22px; }
.field label, .field .label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.field .label-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--wine); color: #fff; font-size: 12px; font-weight: 700; margin-right: 8px; vertical-align: 1px; }
.field .opt { font-weight: 400; color: var(--muted); font-size: 13.5px; margin-left: 4px; }
.field-hint { font-size: 13.5px; color: var(--muted); margin: -2px 0 8px; }
.input, .textarea {
  width: 100%; border: 1px solid var(--line-strong); background: var(--paper); border-radius: 12px; padding: 13px 15px; font-size: 16px; line-height: 1.5;
  transition: border-color .18s, box-shadow .18s;
}
.textarea { min-height: 96px; resize: vertical; }
.input:focus, .textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(91, 26, 44, .12); }
.input::placeholder, .textarea::placeholder { color: #A8979A; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--err); }
.field-error { color: var(--err); font-size: 13.5px; margin-top: 6px; display: flex; gap: 6px; align-items: flex-start; }
.field-error::before { content: '!'; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--err); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; margin-top: 2px; }
.field-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; }
.counter { font-size: 12px; color: var(--muted); margin-left: auto; }
.two-col { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .two-col { grid-template-columns: 1fr 1fr; } }

.support-line { font-family: var(--f-display); font-style: italic; font-size: 1.2rem; color: var(--wine); margin-bottom: 24px; }
.optional-box { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); margin-top: 8px; }
.optional-box summary { cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.optional-box summary::-webkit-details-marker { display: none; }
.optional-box summary::after { content: '+'; font-size: 22px; color: var(--wine); line-height: 1; }
.optional-box[open] summary::after { content: '–'; }
.optional-box .optional-inner { padding: 0 18px 4px; }
.optional-box summary small { font-weight: 400; color: var(--muted); display: block; font-size: 13px; }

.b-errors { margin-bottom: 18px; padding: 14px 16px; border-radius: var(--r-sm); background: #FBE9EC; color: var(--err); font-size: 14.5px; border: 1px solid #F0C4CC; }

.b-nav { display: none; gap: 12px; justify-content: space-between; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .b-nav { display: flex; } }
.b-nav .btn-primary { margin-left: auto; }

/* Barra inferior móvel */
.b-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  display: flex; align-items: center; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 249, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(63, 15, 29, .35);
}
.b-bar .btn { flex: 1 1 55%; min-height: 52px; }
.b-bar-summary { flex: 1 1 45%; min-width: 0; display: grid; text-align: left; background: none; border: 0; padding: 4px 6px; cursor: pointer; min-height: 48px; }
.b-bar-label { font-size: 12px; color: var(--wine); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rose); }
.b-bar-total { font-family: var(--f-display); font-size: 1.2rem; color: var(--ink); white-space: nowrap; }
.b-bar-total small { font-family: var(--f-body); font-size: 11.5px; color: var(--muted); }
@media (min-width: 1024px) { .b-bar { display: none; } }

/* Resumo do presente (lateral / sheet) */
.b-aside { display: none; }
@media (min-width: 1024px) { .b-aside { display: block; } .gift-card { position: sticky; top: 96px; } }
.gift-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); }
.gift-title { font-family: var(--f-display); font-size: 1.3rem; color: var(--wine-deep); font-weight: 420; }
.gift-body { margin-top: 16px; }
.gift-cover-wrap { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; margin-bottom: 16px; }
.gift-cover-wrap .cover { width: 96px; aspect-ratio: 1; padding: 10%; border-radius: 4px; box-shadow: var(--shadow); }
.gift-cover-wrap .fine { font-size: 12px; }
.gift-rows { display: grid; }
.gift-row { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.gift-row dt { color: var(--muted); }
.gift-row dd { margin: 0; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.gift-row dd.empty { color: #B5A4A7; font-weight: 400; }
.gift-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line-strong); }
.gift-total span { font-weight: 600; }
.gift-total strong { font-family: var(--f-display); font-size: 1.6rem; font-weight: 500; color: var(--wine-deep); }
.gift-foot { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.flash { animation: flash 1s var(--ease); }
@keyframes flash { 0% { background: var(--rose-soft); } 100% { background: transparent; } }

.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(43, 27, 32, .45); animation: fade .2s both; }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow: auto; overscroll-behavior: contain;
  background: var(--paper); border-radius: 22px 22px 0 0; padding: 18px 20px calc(24px + env(safe-area-inset-bottom));
  animation: sheet-up .32s var(--ease) both;
}
.sheet-head { display: flex; justify-content: space-between; align-items: center; }
@keyframes sheet-up { from { translate: 0 40px; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }

/* Etapa 5 — prévia */
.preview-hero { display: grid; gap: 22px; align-items: center; margin-bottom: 28px; }
.preview-hero .cover { width: min(100%, 300px); aspect-ratio: 1; margin: 0 auto; }
.preview-label { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.preview-caption { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
@media (min-width: 640px) { .preview-hero { grid-template-columns: 260px 1fr; } .preview-hero .cover { width: 260px; } }
.review-list { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); overflow: hidden; }
.review-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: start; padding: 14px 18px; border-top: 1px solid var(--line); }
.review-item:first-child { border-top: 0; }
.review-item dt { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }
.review-item dd { margin: 2px 0 0; font-weight: 500; grid-column: 1; overflow-wrap: anywhere; }
.review-item .link-btn { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.memories-block { margin-top: 24px; display: grid; gap: 10px; }
.memory-quote { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 12px 16px; }
.memory-quote span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.memory-quote p { font-family: var(--f-display); font-style: italic; color: var(--wine-deep); font-size: 1.05rem; line-height: 1.45; margin-top: 4px; overflow-wrap: anywhere; }
.memories-head { display: flex; justify-content: space-between; align-items: baseline; }
.memories-head h3 { font-weight: 700; font-size: 15.5px; }
.deliver-list { display: grid; gap: 8px; margin-top: 22px; }
.deliver-list li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.deliver-list li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--wine); flex: none; }
.deliver-list li.added { animation: flash 1.2s var(--ease); border-radius: 6px; }

.addon-card .choice-body { align-items: flex-start; padding: 20px; border-style: dashed; border-color: var(--line-strong); }
.addon-card input:checked + .choice-body { border-style: solid; }
.addon-card .choice-check { border-radius: 6px; }
.addon-card .choice-title { font-size: 16.5px; }
.addon-price-tag { color: var(--wine); font-weight: 700; white-space: nowrap; }
.addon-visual { width: 46px; height: 76px; border-radius: 8px; flex: none; background: linear-gradient(180deg, var(--wine-soft), var(--wine-deep)); position: relative; overflow: hidden; }
.addon-visual::before { content: ''; position: absolute; inset: 8px 8px 30px; border-radius: 3px; background: var(--rose); opacity: .85; }
.addon-visual::after { content: ''; position: absolute; left: 8px; right: 14px; bottom: 14px; height: 3px; border-radius: 2px; background: var(--gold-soft); }

.total-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 0 0; margin-top: 18px; border-top: 1px solid var(--line-strong); }
.total-line span { font-weight: 600; }
.total-line strong { font-family: var(--f-display); font-size: 2rem; color: var(--wine-deep); font-weight: 500; }

/* Etapa 6 — finalizar */
.order-table { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); padding: 6px 18px; margin-bottom: 26px; }
.order-line { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.order-line:first-child { border-top: 0; }
.order-line small { display: block; color: var(--muted); font-size: 13px; }
.order-line.total { font-weight: 700; }
.order-line.total strong { font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; color: var(--wine-deep); }
.check-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.check-row input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--wine); flex: none; cursor: pointer; }
.pay-btn { width: 100%; margin-top: 18px; }
.pay-foot { text-align: center; margin-top: 12px; }
.pay-unavailable { margin-top: 18px; }

/* Utilidades de estado */
[hidden] { display: none !important; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }

/* =========================================================
   Página do pedido e painel
   ========================================================= */
.page-simple { min-height: 100vh; }
.page-simple main { padding: 32px 0 80px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.card + .card { margin-top: 18px; }
.card h2 { font-family: var(--f-display); font-size: 1.4rem; color: var(--wine-deep); margin-bottom: 12px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--cream); color: var(--ink); }
.status-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-pill.s-ok { background: #E5F1EA; color: var(--ok); }
.status-pill.s-wait { background: #FBEFD9; color: #8A5A00; }
.status-pill.s-wine { background: var(--rose-soft); color: var(--wine); }
.status-pill.s-off { background: #EEE; color: #555; }
.timeline { display: grid; gap: 0; margin-top: 18px; }
.timeline li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding-bottom: 16px; position: relative; font-size: 15px; color: var(--muted); }
.timeline li::before { content: ''; width: 12px; height: 12px; margin: 6px 0 0 5px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--paper); z-index: 1; }
.timeline li::after { content: ''; position: absolute; left: 10px; top: 18px; bottom: -2px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--wine); border-color: var(--wine); }
.timeline li.current { color: var(--ink); font-weight: 600; }
.timeline li.current::before { border-color: var(--gold); background: var(--gold-soft); }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.photo-grid figure { margin: 0; position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--cream); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid button { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(43, 27, 32, .7); color: #fff; cursor: pointer; }
.upload-zone { display: grid; place-items: center; gap: 6px; padding: 22px; border: 1.5px dashed var(--line-strong); border-radius: var(--r); text-align: center; cursor: pointer; background: var(--ivory); }
.upload-zone:hover { border-color: var(--wine); }
.upload-zone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.downloads { display: grid; gap: 10px; margin-top: 14px; }
.downloads a { justify-content: space-between; }
.lyrics { white-space: pre-wrap; font-family: var(--f-display); font-size: 1.05rem; line-height: 1.7; color: var(--wine-deep); background: var(--ivory); border-radius: var(--r-sm); padding: 18px; max-height: 420px; overflow: auto; }
audio { width: 100%; margin-top: 10px; }

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

/* Cabeçalho em telas muito estreitas */
.lbl-short { display: none; }
@media (max-width: 400px) {
  .site-header .lbl-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-header .lbl-short { display: inline; }
}

/* =========================================================
   QUIZ — uma pergunta por tela
   ========================================================= */
.quiz { min-height: 100vh; min-height: 100dvh; background: var(--ivory); display: flex; flex-direction: column; }
.q-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(251, 246, 239, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.q-top-inner { max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 6px; padding: 8px 8px 10px; }
.q-progress { flex: 1; min-width: 0; padding: 0 4px; }
.q-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 6px; letter-spacing: .02em; }
.q-meta #q-section { color: var(--wine); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; }
.q-bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.q-bar span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--wine), var(--wine-soft)); transition: width .45s var(--ease); }

.q-main { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 22px var(--gutter) 140px; }
@media (min-width: 700px) { .q-main { padding-top: 48px; } }
.q-screen { display: flex; flex-direction: column; }
.q-title {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(1.75rem, 6.4vw, 2.5rem); line-height: 1.12;
  letter-spacing: -.015em; color: var(--wine-deep); text-align: center; outline: none; text-wrap: balance;
}
.q-sub { text-align: center; color: var(--muted); margin: 12px auto 26px; max-width: 44ch; font-size: 1.02rem; text-wrap: balance; }
.q-errors { margin-bottom: 14px; padding: 12px 14px; border-radius: var(--r-sm); background: #FBE9EC; color: var(--err); font-size: 14.5px; }
.q-enter { animation: step-in .36s var(--ease) both; }
.q-enter.from-left { animation-name: step-in-left; }

/* opções grandes, tocáveis */
.q-options { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.q-options.q-grid { grid-template-columns: 1fr 1fr; }
.q-option { position: relative; display: block; cursor: pointer; }
.q-option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.q-option-body {
  display: flex; align-items: center; gap: 14px; height: 100%; min-height: 64px; padding: 14px 16px 14px 18px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px;
  box-shadow: 0 1px 0 rgba(63, 15, 29, .04); transition: border-color .15s, background .15s, transform .15s var(--ease), box-shadow .15s;
}
.q-option:hover .q-option-body { border-color: var(--rose); transform: translateY(-1px); box-shadow: var(--shadow); }
.q-option input:focus-visible + .q-option-body { outline: 2px solid var(--focus); outline-offset: 2px; }
.q-option input:checked + .q-option-body { border-color: var(--wine); background: var(--rose-soft); }
.q-option-label { font-weight: 600; font-size: 16.5px; line-height: 1.3; color: var(--ink); }
.q-arrow { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--wine); flex: none; background: var(--cream); transition: background .15s, color .15s; }
.q-arrow svg { width: 16px; height: 16px; }
.q-option input:checked + .q-option-body .q-arrow { background: var(--wine); color: #fff; }
.q-grid .q-option-body { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; min-height: 120px; }
.q-grid .q-option-label { font-family: var(--f-display); font-weight: 450; font-size: 1.08rem; color: var(--wine-deep); padding-right: 26px; }
.q-grid .choice-desc { font-size: 12.5px; }
.q-grid .q-arrow { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; }
.q-grid .has-demo .q-option-body { padding-bottom: 58px; }
.q-grid .play { position: absolute; left: 14px; bottom: 12px; z-index: 2; }

.q-other { margin-top: 16px; }
.q-input-lg { font-size: 20px; padding: 16px 18px; text-align: center; border-radius: 16px; }
.q-textarea .textarea { font-size: 17px; min-height: 140px; border-radius: 16px; }
.q-memory-n { text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin: -12px 0 14px; }
.q-review .preview-hero, .q-review .review-list { text-align: left; }

/* rodapé fixo do quiz */
.q-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: rgba(251, 246, 239, .97); border-top: 1px solid var(--line); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
.q-foot-inner { max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.q-total { font-family: var(--f-display); font-size: 1.25rem; color: var(--wine-deep); white-space: nowrap; margin-right: auto; }
.q-total small { font-family: var(--f-body); font-size: 11.5px; color: var(--muted); display: block; line-height: 1; }
.q-foot .btn { flex: 0 1 auto; min-width: 150px; }
.q-foot #q-next:only-of-type, .q-foot .q-total:empty ~ .btn { flex: 1; }
@media (min-width: 700px) { .q-foot .btn { flex: 0 0 auto; min-width: 220px; } }

/* =========================================================
   Demonstrações: canção de exemplo, comparação de pacotes, vídeo
   ========================================================= */
.pkg-compare {
  display: block; margin: 2px 0; padding: 10px 12px; border-radius: 12px;
  background: var(--wine); color: #fff; font-weight: 600; font-size: 14.5px; line-height: 1.35;
}

/* player do topo, quando há áudio real */
.mini-player.is-live { pointer-events: auto; padding: 8px 14px 8px 8px; }
.mini-player.is-live .play { width: 40px; height: 40px; }
.mp-time { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mini-player.is-live .mp-bar span { width: 0; }
.mp-bar .pp-fill { display: block; height: 100%; background: var(--gold); transition: width .25s linear; }

/* canção de exemplo */
.song-demo { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 960px) { .song-demo { grid-template-columns: 1fr 44px 1.25fr; gap: 20px; align-items: center; } }
.sd-kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 12px; }
.sd-story { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.sd-memories { display: grid; gap: 12px; }
.sd-memories li { display: grid; gap: 2px; padding-left: 14px; border-left: 2px solid var(--rose); }
.sd-memories span { font-size: 12px; font-weight: 700; color: var(--wine); letter-spacing: .02em; }
.sd-memories p { font-size: 15px; color: var(--ink); line-height: 1.45; }
.sd-arrow { display: grid; place-items: center; color: var(--gold); }
.sd-arrow svg { width: 32px; height: 32px; rotate: 90deg; }
@media (min-width: 960px) { .sd-arrow svg { rotate: 0deg; } }
.sd-song { background: var(--wine-deep); color: var(--ivory); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 22px; box-shadow: var(--shadow-lg); min-width: 0; }
.sd-head { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; }
.sd-head .cover { width: 112px; aspect-ratio: 1; padding: 10%; border-radius: 6px; }
.sd-title { font-family: var(--f-display); font-size: 1.45rem; line-height: 1.15; color: #fff; }
.sd-meta { font-size: 13px; color: rgba(251, 246, 239, .72); margin-top: 4px; }
.sd-player { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.sd-song .play { background: var(--ivory); color: var(--wine-deep); border-color: var(--ivory); }
.play-lg { width: 56px; height: 56px; }
.play-lg svg { width: 20px; height: 20px; }
.sd-track { flex: 1; min-width: 0; display: grid; gap: 6px; }
.pp-bar { display: block; height: 4px; border-radius: 4px; background: rgba(251, 246, 239, .2); overflow: hidden; }
.pp-bar .pp-fill { display: block; width: 0; height: 100%; background: var(--gold-soft); transition: width .25s linear; }
.sd-track .pp-time { font-size: 12px; color: rgba(251, 246, 239, .7); font-variant-numeric: tabular-nums; }
.sd-pending { display: flex; gap: 10px; margin-top: 12px; font-size: 13.5px; line-height: 1.45; color: rgba(251, 246, 239, .82); padding: 10px 12px; border: 1px dashed rgba(251, 246, 239, .3); border-radius: 12px; }
.sd-pending svg { width: 18px; height: 18px; flex: none; color: var(--gold-soft); margin-top: 1px; }
.sd-lyrics { border-top: 1px solid rgba(251, 246, 239, .15); padding-top: 18px; }
.sd-lyrics .sd-kicker { color: var(--gold-soft); }
.sd-lyrics p { font-family: var(--f-display); font-style: italic; font-size: 1.12rem; line-height: 1.55; color: rgba(251, 246, 239, .92); }
.sd-lyrics .sd-gap { height: 12px; }
.sd-lyrics mark { background: transparent; color: var(--gold-soft); font-style: italic; border-bottom: 1px solid var(--gold); }
.sd-label { margin-top: 16px; }

/* vídeo do adicional */
.video-showcase { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .video-showcase { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.vs-copy { min-width: 0; }
.vs-list { display: grid; gap: 10px; margin: 22px 0 26px; }
.vs-list li { padding-left: 26px; position: relative; font-size: 15.5px; }
.vs-list li::before { content: ''; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--rose-soft); box-shadow: inset 0 0 0 5px var(--rose-soft), inset 0 0 0 8px var(--wine); }
.vs-media { margin: 0; display: grid; justify-items: center; gap: 12px; text-align: center; }
.vs-media figcaption { max-width: 34ch; }

.vid-real { width: min(100%, 280px); }
.vid-real video, .vid { width: min(100%, 280px); max-width: 100%; aspect-ratio: 9 / 16; border-radius: 26px; background: #1d0a10; box-shadow: var(--shadow-lg); display: block; }
.vid-real video { width: 100%; object-fit: cover; }
.vid { position: relative; overflow: hidden; color: var(--ivory); border: 6px solid #1d0a10; }
.vid-slides, .vid-slide { position: absolute; inset: 0; }
.vid-slide { display: grid; place-content: center; justify-items: center; gap: 8px; opacity: 0; animation: vid-slide 9s infinite; }
.vid-slide svg { width: 44px; height: 44px; opacity: .7; }
.vid-slide span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.vid-slide.s1 { background: radial-gradient(120% 80% at 30% 20%, #8C4256, #3F0F1D); animation-delay: 0s; }
.vid-slide.s2 { background: radial-gradient(120% 80% at 70% 30%, #B08A4F, #4B2D1E); animation-delay: 3s; }
.vid-slide.s3 { background: radial-gradient(120% 80% at 40% 70%, #C98F95, #5B1A2C); animation-delay: 6s; }
@keyframes vid-slide { 0% { opacity: 0; scale: 1.08; } 6% { opacity: 1; } 33% { opacity: 1; } 40% { opacity: 0; scale: 1; } 100% { opacity: 0; } }
.vid-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 28%, transparent 55%, rgba(0, 0, 0, .6)); }
.vid-name { position: absolute; top: 18px; left: 0; right: 0; text-align: center; font-family: var(--f-display); font-style: italic; font-size: 1.25rem; }
.vid-lyrics { position: absolute; left: 14px; right: 14px; bottom: 34px; height: 3.2em; }
.vid-lyrics p { position: absolute; inset: 0; display: grid; place-items: end center; text-align: center; font-family: var(--f-display); font-size: 1.02rem; line-height: 1.25; opacity: 0; animation: vid-line 9s infinite; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.vid-lyrics .l1 { animation-delay: 0s; }
.vid-lyrics .l2 { animation-delay: 3s; }
.vid-lyrics .l3 { animation-delay: 6s; }
@keyframes vid-line { 0% { opacity: 0; translate: 0 6px; } 5% { opacity: 1; translate: 0 0; } 30% { opacity: 1; } 34% { opacity: 0; } 100% { opacity: 0; } }
.vid-bar { position: absolute; left: 14px; right: 14px; bottom: 16px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.vid-bar span { display: block; height: 100%; width: 100%; background: var(--gold-soft); transform-origin: left; animation: vid-bar 9s linear infinite; }
@keyframes vid-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .vid-slide.s1, .vid-lyrics .l1 { opacity: 1 !important; }
  .vid-bar span { transform: scaleX(.4); }
}

.addon-demo { margin-top: 10px; }
.addon-demo summary { cursor: pointer; color: var(--wine); font-weight: 600; font-size: 14.5px; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rose); }
.addon-demo[open] { display: grid; justify-items: center; gap: 10px; text-align: center; }
.addon-demo[open] summary { justify-self: start; }
.addon-demo .vid, .addon-demo .vid-real, .addon-demo .vid-real video { width: min(100%, 220px); }
.sd-lyrics .sd-kicker { font-family: var(--f-body); font-style: normal; font-size: 12px; line-height: 1.4; }
.addon-demo .vid, .addon-demo .vid-real { margin-inline: auto; }
.sd-for { margin-bottom: 4px; color: var(--gold-soft); }

/* =========================================================
   Modelos de capa
   ========================================================= */
.cover.t-foto { background: #2a1a1f var(--cv-photo, none) center / cover no-repeat; justify-content: flex-end; padding: 8%; }
.cover.t-foto::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .28) 0%, transparent 30%, transparent 48%, rgba(20, 8, 12, .78) 100%); }
.cover.t-foto.no-photo { background: repeating-linear-gradient(135deg, #6e4a52 0 14px, #74505a 14px 28px); }
.cover.t-foto .cover-ph { position: absolute; inset: 0 0 34% 0; display: grid; place-content: center; justify-items: center; gap: 2cqi; font-size: 5cqi; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.cover.t-foto .cover-ph svg { width: 16cqi; height: 16cqi; }
.cover.t-foto .cover-brand { position: absolute; top: 7%; right: 8%; margin: 0; color: #fff; opacity: .9; }
.cover.t-foto .cover-bottom { position: relative; display: grid; gap: 1.2cqi; }
.cover.t-foto .cover-title { font-family: var(--f-display); font-size: 8cqi; line-height: 1.05; color: #fff; }
.cover.t-foto .cover-kicker { color: rgba(255, 255, 255, .85); }
.cover.t-foto .cover-name { margin: 0; font-size: 15cqi; color: #fff; }

.cover.t-carta { background: #F7F0E6; color: #3F0F1D; align-items: center; justify-content: center; text-align: center; padding: 12%; gap: 2.5cqi; }
.cover.t-carta .cover-frame { position: absolute; inset: 5%; border: 1px solid #B08A4F; outline: 1px solid rgba(176, 138, 79, .45); outline-offset: -2.4cqi; }
.cover.t-carta .cover-kicker { color: #A9844B; opacity: 1; font-size: 4.2cqi; }
.cover.t-carta .cover-name { margin: 0; color: #5B1A2C; font-size: 17cqi; }
.cover.t-carta .cover-rule { width: 18cqi; height: 1px; background: #B08A4F; position: relative; }
.cover.t-carta .cover-sub { margin: 0; color: #6B575C; opacity: 1; font-family: var(--f-display); font-style: italic; font-size: 5.4cqi; }
.cover.t-carta .cover-brand { position: absolute; bottom: 9%; left: 0; right: 0; margin: 0; color: #A9844B; font-size: 4.2cqi; }

/* escolha de capa no quiz */
.cover-picker { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cover-opt { position: relative; display: grid; gap: 8px; cursor: pointer; }
.cover-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.cover-opt .cover { width: 100%; aspect-ratio: 1; border-radius: 8px; box-shadow: var(--shadow); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .15s, transform .15s var(--ease); }
.cover-opt:hover .cover { transform: translateY(-2px); }
.cover-opt input:checked ~ .cover { outline-color: var(--wine); }
.cover-opt input:focus-visible ~ .cover { outline-color: var(--focus); }
.cover-opt-name { font-weight: 700; font-size: 14.5px; text-align: center; }
.cover-opt-desc { font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.35; }
.cover-picker-note { margin-top: 14px; }

/* tela do upgrade de vídeo */
.q-upsell .upsell-media { display: grid; justify-items: center; gap: 10px; margin-bottom: 22px; }
.q-upsell .upsell-media .vid-real, .q-upsell .upsell-media .vid { width: min(72%, 260px); }
.q-upsell .vs-list { margin: 0 0 18px; }
.upsell-actions { display: grid; gap: 10px; }
.upsell-actions .btn { width: 100%; white-space: normal; }

.sleeve > .cover { position: relative; width: 100%; height: 100%; }
div.sleeve { position: absolute; top: 4%; left: 0; width: 70%; aspect-ratio: 1; z-index: 2; }
.hero-visual:has(.t-foto) .dedication { display: none; }
.hero-visual:has(.t-foto) .mini-player { right: 0; bottom: 4%; width: 74%; }
.pay-methods { margin-bottom: 18px; }
.pay-methods legend { margin-bottom: 10px; }
.brand-name { white-space: nowrap; }
@media (max-width: 400px) { .site-header .brand-name { font-size: 17px; } .site-header .brand { gap: 8px; } }
