@font-face { font-family: "Lora"; src: url("fonts/lora-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #FBF4F1; --blush: #F6E2E1; --blush2: #F1D3D5; --rose: #E3A3B3;
  --wine: #7A1F3D; --wine2: #A23B5E; --wine3: #5E152E; --gold: #B8925A; --gold-light: #F3D9B9;
  --ink: #3B2A30; --muted: #644D55; --card: #FFFDFC; --line: #EBD3D3;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: "Poppins", system-ui, sans-serif; font-size: 1rem; line-height: 1.65; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a, button, summary, .paginas { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--wine2); outline-offset: 3px; border-radius: 4px; }
.preco :focus-visible { outline-color: var(--gold-light); }

h1, h2, h3, summary, dt { font-family: "Lora", Georgia, serif; font-style: italic; font-weight: 600; color: var(--wine); }
h1 { font-size: clamp(2.35rem, 9.6vw, 4.1rem); line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 7.4vw, 3rem); line-height: 1.12; }
h3 { font-size: 1.3rem; line-height: 1.25; }
h1, h2 { text-wrap: balance; }

.largura { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.estreita { max-width: 720px; }
.secao { padding: 64px 0; }
.secao-blush { background: var(--blush); }
.abre { max-width: 62ch; margin-top: 14px; }

.rascunho { background: #FFE9A8; color: #4A3700; font-size: .85rem; font-weight: 500; text-align: center; padding: 8px 16px; }

/* botões */
.botao { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 14px 32px; border-radius: 999px;
  background: var(--wine); color: #fff; font-weight: 600; font-size: 1.05rem; text-decoration: none; transition: background .15s; }
.botao-claro { background: var(--paper); color: var(--wine); }
.botao-linha { min-height: 48px; padding: 10px 26px; border-radius: 999px; border: 1.5px solid var(--wine); color: var(--wine); font-weight: 500; transition: background .15s, color .15s; }
.nota { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* topo */
.topo { padding: 20px 0 40px; background: radial-gradient(120% 80% at 50% 100%, #F4CDD3 0%, #F8E3E2 45%, var(--paper) 100%); }
.topo-grade { max-width: 1080px; margin: 0 auto; padding: 0 20px; display: grid; gap: 18px; }
.marca { font-family: "Lora", Georgia, serif; font-style: italic; font-weight: 500; font-size: 1.1rem; color: var(--wine2); margin-bottom: 6px; }
.sub { margin-bottom: 16px; max-width: 46ch; }
.topo-texto .botao { width: 100%; }

/* tablet e celular: deixam claro que o produto é digital */
.mock { position: relative; width: min(100%, 250px); margin: 0 auto; padding-right: 44px; }
.tablet { padding: 7px; border-radius: 16px; background: var(--ink); box-shadow: 0 22px 44px -18px rgba(94, 21, 46, .55); }
.tablet img { border-radius: 9px; }
.celular { position: absolute; right: 0; bottom: -12px; width: 42%; aspect-ratio: 9 / 16; padding: 4px; border-radius: 14px; background: var(--ink); box-shadow: 0 16px 30px -12px rgba(94, 21, 46, .6); }
.celular img { width: 100%; height: 100%; object-fit: cover; object-position: left top; border-radius: 10px; }

/* para quem é */
.quem { margin-top: 32px; display: grid; gap: 28px; }
.quem li { display: grid; grid-template-columns: 76px 1fr; gap: 18px; align-items: start; }
.quem h3 { margin-bottom: 6px; }

/* o que vem dentro */
.dentro { margin-top: 32px; display: grid; gap: 36px; }
.niveis article { padding: 20px 0; border-top: 1px solid var(--blush2); }
.niveis article:first-child { border-top: 0; padding-top: 0; }
.niveis h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 6px; }
.niveis small { font-family: "Poppins", sans-serif; font-style: normal; font-weight: 500; font-size: .85rem; color: var(--muted); }
.pontos { display: inline-flex; gap: 4px; }
.pontos i { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--wine); }
.pontos i.on { background: var(--wine); }
.extras { display: grid; gap: 20px; }
.extras dt { font-size: 1.15rem; line-height: 1.3; margin-bottom: 2px; }

/* passo a passo */
.passos { margin-top: 32px; display: grid; gap: 14px; padding: 18px 16px; border-radius: 28px; background: linear-gradient(170deg, var(--blush) 0%, var(--blush2) 100%); }
.passos-unha { position: relative; width: min(38%, 150px); margin: 0 auto; aspect-ratio: 120 / 200; }
.passos-unha img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .28s ease; }
.passos-unha img.ativa { opacity: 1; }
.passos-numeros { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-bottom: 10px; }
.passos-numeros button { display: block; width: 100%; padding: 6px 2px 4px; border-radius: 12px; color: var(--muted); font-size: .85rem; font-weight: 600; transition: background .15s, color .15s; }
.passos-numeros img { width: 100%; }
.passos-numeros span { display: block; margin-top: 2px; }
.passos-numeros button[aria-current] { background: var(--card); color: var(--wine); box-shadow: 0 0 0 1.5px var(--wine); }
.passos-contador { font-size: .85rem; font-weight: 500; color: var(--muted); }
.passos-texto h3 { font-size: 1.6rem; margin: 2px 0 6px; }
.passos-desc { min-height: 6.6em; margin-bottom: 8px; }

/* páginas reais */
.paginas-titulo { font-size: clamp(1.5rem, 5.4vw, 2rem); margin-top: 56px; }
.ilustrado { margin-top: 12px; padding-left: 16px; border-left: 3px solid var(--gold); max-width: 62ch; }
.ilustrado strong { font-weight: 600; color: var(--wine); }
.paginas { display: flex; gap: 16px; margin: 26px -20px 0; padding: 6px 20px 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; }
.paginas li { flex: 0 0 72%; max-width: 300px; scroll-snap-align: start; }
.paginas button { display: block; width: 100%; cursor: zoom-in; }
.paginas img { border-radius: 6px; box-shadow: 0 10px 26px -12px rgba(94, 21, 46, .45); }
.paginas figcaption { font-size: .85rem; color: var(--muted); line-height: 1.45; margin-top: 12px; }
.dica-paginas { font-size: .85rem; color: var(--muted); }

.ampliada { margin: auto; width: min(96vw, 860px); max-height: 94vh; border: 0; border-radius: 10px; background: var(--paper); padding: 0; overflow: auto; }
.ampliada::backdrop { background: rgba(59, 42, 48, .82); }
.ampliada button { position: sticky; top: 8px; float: right; margin: 8px 8px -52px 0; min-height: 44px; padding: 8px 20px; border-radius: 999px; background: var(--wine); color: #fff; font-weight: 500; }
.ampliada img { width: 100%; }

/* dúvidas */
.duvidas { margin-top: 24px; }
.duvidas details { border-top: 1px solid var(--blush2); }
.duvidas details:last-child { border-bottom: 1px solid var(--blush2); }
.duvidas summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 60px; padding: 12px 0; font-size: 1.2rem; line-height: 1.3; cursor: pointer; list-style: none; }
.duvidas summary::-webkit-details-marker { display: none; }
.duvidas summary::after { content: "+"; flex: none; font-family: "Poppins", sans-serif; font-style: normal; font-weight: 400; font-size: 1.5rem; line-height: 1; }
.duvidas details[open] summary::after { content: "\2212"; }
.duvidas details p { padding-bottom: 18px; }

/* garantia */
.garantia { text-align: center; }
.garantia p { margin-top: 12px; }

/* preço */
.preco { background: var(--wine); color: #fff; padding: 64px 0; }
.preco-grade { display: grid; gap: 32px; }
.preco-grade > img { width: min(62%, 240px); margin: 0 auto; border-radius: 6px; box-shadow: 0 22px 44px -16px rgba(0, 0, 0, .55); }
.preco h2 { color: #fff; margin-bottom: 18px; }
.preco ul { margin-bottom: 24px; }
.preco li { position: relative; padding: 3px 0 3px 22px; }
.preco li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-light); }
.valor { font-family: "Lora", Georgia, serif; font-style: italic; font-weight: 600; font-size: clamp(2.3rem, 9vw, 3.2rem); line-height: 1.15; color: var(--gold-light); }
.parcelas { font-size: 1rem; }
.preco .botao { width: 100%; margin-top: 18px; }
.preco .nota { color: var(--blush); }

/* rodapé */
.rodape { background: var(--wine3); color: var(--blush); font-size: .8rem; text-align: center; padding: 24px 20px 96px; }

/* barra de compra no celular */
.barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--card); box-shadow: 0 -8px 24px -12px rgba(94, 21, 46, .4);
  transform: translateY(110%); visibility: hidden; transition: transform .2s ease, visibility .2s; }
.barra.visivel { transform: none; visibility: visible; }
.barra-preco { font-family: "Lora", Georgia, serif; font-style: italic; font-weight: 600; color: var(--wine); font-size: 1.15rem; line-height: 1.2; }
.barra .botao { min-height: 48px; padding: 10px 22px; font-size: 1rem; white-space: nowrap; }

@media (hover: hover) {
  .botao:hover { background: var(--wine3); }
  .botao-claro:hover { background: #fff; }
  .botao-linha:hover { background: var(--wine); color: #fff; }
}

@media (min-width: 760px) {
  .secao, .preco { padding: 96px 0; }
  .quem { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .quem li { grid-template-columns: 1fr; }
  .quem img { width: 96px; }
  .passos { grid-template-columns: minmax(240px, 1fr) 1.25fr; gap: 48px; align-items: center; padding: 48px; }
  .passos-unha { width: min(100%, 270px); }
  .passos-numeros { gap: 8px; }
  .passos-desc { min-height: 5em; }
  .paginas { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; scroll-padding: 0; }
  .paginas li { flex-basis: 240px; }
  .preco-grade { grid-template-columns: 300px 1fr; gap: 64px; align-items: center; }
  .preco-grade > img { width: 100%; }
  .preco .botao { width: auto; min-width: 300px; }
}

@media (min-width: 960px) {
  .topo { padding: 56px 0 88px; }
  .topo-grade { grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; column-gap: 56px; row-gap: 22px; }
  .topo-titulo { grid-column: 1; align-self: end; }
  .topo-texto { grid-column: 1; grid-row: 2; }
  .topo-texto .botao { width: auto; min-width: 300px; }
  .mock { grid-column: 2; grid-row: 1 / 3; align-self: center; width: min(100%, 440px); padding-right: 76px; }
  .tablet { padding: 10px; border-radius: 22px; }
  .celular { padding: 5px; border-radius: 18px; bottom: -18px; }
  .dentro { grid-template-columns: 1.25fr 1fr; gap: 72px; }
  .barra { display: none; }
  .rodape { padding-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
