@font-face { font-family: 'Fraunces'; src: url('/fontes/fraunces-latin-full-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fontes/fraunces-latin-full-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Bricolage'; src: url('/fontes/bricolage-grotesque-latin-standard-normal.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }

/* Neon pastel: creme, chiclete, menta, lilás, limão, céu, pêssego, tinta violeta */
:root {
  --creme: #FFF5E8;
  --papel: #FFFFFF;
  --tinta: #1F1433;
  --suave: #5A4B6E;
  --rosa: #FF9BD0;
  --chiclete: #FF4FAE;
  --menta: #8DF5D0;
  --lilas: #C9A9FF;
  --limao: #F2FF7D;
  --ceu: #9ADBFF;
  --pessego: #FFBE96;
  --borda: 2.5px solid var(--tinta);
  --sombra: 5px 5px 0 var(--tinta);
  --display: 'Fraunces', 'Times New Roman', serif;
  --texto: 'Bricolage', 'Helvetica Neue', Arial, sans-serif;
  --glifo: 'Apple Symbols', 'Segoe UI Symbol', 'Noto Sans Symbols 2', 'Noto Sans Symbols', 'DejaVu Sans', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; color: var(--tinta); font-family: var(--texto); font-size: 17px; line-height: 1.6; font-weight: 420;
  background-color: var(--creme);
  background-image: radial-gradient(rgba(31, 20, 51, .13) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
::selection { background: var(--limao); color: var(--tinta); }
a { color: var(--tinta); text-decoration-color: var(--chiclete); text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--chiclete); outline-offset: 3px; }
.pagina { max-width: 640px; margin: 0 auto; padding: 0 16px 72px; }
.estreita { max-width: 32em; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; margin: 0; font-variation-settings: 'SOFT' 100, 'WONK' 1; letter-spacing: -0.02em; }
h2 { font-size: clamp(36px, 10vw, 52px); margin-bottom: 18px; }
h2 em, h1 em { font-style: italic; font-weight: 700; }
p { margin: 0 0 1em; }
.nevoa { color: var(--suave); }
.glifo { font-family: var(--glifo); font-style: normal; }

/* blocos coloridos com contorno e sombra dura */
.bloco { position: relative; margin-top: 44px; padding: 30px 22px 26px; border: var(--borda); border-radius: 28px; box-shadow: var(--sombra); background: var(--papel); }
.bloco.rosa { background: var(--rosa); } .bloco.menta { background: var(--menta); } .bloco.lilas { background: var(--lilas); }
.bloco.limao { background: var(--limao); } .bloco.ceu { background: var(--ceu); } .bloco.pessego { background: var(--pessego); }
.adesivo {
  position: absolute; display: grid; place-items: center; text-align: center; z-index: 2;
  width: 92px; height: 92px; border: var(--borda); border-radius: 50%; background: var(--limao);
  font: 800 13px/1.1 var(--texto); text-transform: uppercase; letter-spacing: .04em; transform: rotate(12deg); box-shadow: 3px 3px 0 var(--tinta);
}

/* ---------- Venda ---------- */
.abertura { position: relative; text-align: center; padding: 34px 0 8px; }
.manchas { position: absolute; inset: 0 -40px auto; height: 420px; z-index: -1; pointer-events: none; }
.manchas i { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .9; }
.manchas i:nth-child(1) { width: 260px; height: 220px; left: -20px; top: 40px; background: var(--rosa); border-radius: 58% 42% 55% 45%; }
.manchas i:nth-child(2) { width: 230px; height: 230px; right: -10px; top: 0; background: var(--menta); border-radius: 45% 55% 40% 60%; }
.manchas i:nth-child(3) { width: 200px; height: 170px; left: 34%; top: 190px; background: var(--lilas); border-radius: 60% 40% 50% 50%; }
.estante-topo { position: relative; width: min(420px, 94vw); margin: 0 auto; }
svg.estante { display: block; width: 100%; height: auto; overflow: visible; }
.estante .titulo-lombada { font-family: var(--display); font-style: italic; font-weight: 750; font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.estante .sobe { transform-box: fill-box; transform-origin: 50% 100%; animation: subir .8s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes subir { from { transform: translateY(40px) scaleY(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.abertura .adesivo { right: -4px; top: 8px; }
.sobre { display: inline-block; margin: 26px 0 0; padding: 5px 14px; border: var(--borda); border-radius: 99px; background: var(--papel); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transform: rotate(-2deg); }
.abertura h1 { font-size: clamp(58px, 17vw, 104px); line-height: .9; margin: 18px auto 20px; max-width: 7.5em; text-wrap: balance; }
.abertura h1 em { display: inline-block; padding: 0 .12em; background: var(--limao); border: var(--borda); border-radius: 18px; box-shadow: var(--sombra); transform: rotate(-3deg); margin-top: 8px; }
.abertura .sub { margin: 0 auto 28px; font-size: 18px; text-wrap: pretty; }
.cta, .botao {
  display: inline-block; padding: 17px 30px; border: var(--borda); border-radius: 99px; cursor: pointer; box-shadow: var(--sombra);
  background: var(--chiclete); color: var(--tinta); font: 800 18px/1.15 var(--texto); text-decoration: none; letter-spacing: .005em;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta:hover, .botao:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--tinta); }
.cta:active, .botao:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--tinta); }
.preco-linha { font-size: 15px; font-weight: 600; margin-top: 18px; }

.letreiro { margin: 54px -40px 0; border-top: var(--borda); border-bottom: var(--borda); background: var(--tinta); color: var(--limao); transform: rotate(-2.5deg); overflow: hidden; white-space: nowrap; }
.letreiro div { display: inline-block; padding: 12px 0; font: italic 700 22px/1 var(--display); animation: rolar 60s linear infinite; }
.letreiro span { color: var(--rosa); margin: 0 .6em; font-style: normal; }
@keyframes rolar { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .letreiro div, .estante .sobe { animation: none; } }

.passos { list-style: none; margin: 0; padding: 0; counter-reset: p; display: grid; gap: 12px; }
.passos li { display: grid; grid-template-columns: 54px 1fr; gap: 0 14px; padding: 16px; background: var(--papel); border: var(--borda); border-radius: 20px; }
.passos li::before {
  counter-increment: p; content: counter(p); grid-row: span 2; width: 54px; height: 54px; border-radius: 50%; border: var(--borda);
  display: grid; place-items: center; font: 800 26px/1 var(--display); background: var(--limao);
}
.passos li:nth-child(2)::before { background: var(--menta); }
.passos li:nth-child(3)::before { background: var(--rosa); }
.passos strong { font-weight: 800; font-size: 18px; }
.passos span { font-size: 16px; color: var(--suave); }

.exemplo { margin: 0; }
.exemplo p { font-size: 16px; }
.exemplo b { font-weight: 800; }
.selo { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 4px 12px; background: var(--papel); border: var(--borda); border-radius: 99px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.selo .glifo { font-size: 17px; letter-spacing: 0; }
.exemplo .ex-titulo { font: italic 800 clamp(38px, 10vw, 50px)/1 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1; margin: 0 0 6px; }
.ex-autor { font-weight: 700; margin-bottom: 18px; }
.ex-pergunta, .pergunta { font: italic 650 23px/1.3 var(--display) !important; font-variation-settings: 'SOFT' 100; background: var(--papel); border: var(--borda); border-radius: 18px; padding: 16px 18px; box-shadow: 3px 3px 0 var(--tinta); }
.exemplo figcaption { font-size: 14px; font-weight: 600; margin-top: 16px; }

.ceu { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.ceu li { display: grid; grid-template-columns: 50px 1fr; gap: 12px; align-items: center; padding: 12px 14px; background: var(--papel); border: var(--borda); border-radius: 18px; font-size: 16px; line-height: 1.45; }
.ceu .glifo { width: 50px; height: 50px; border-radius: 50%; border: var(--borda); display: grid; place-items: center; font-size: 22px; }
.ceu li:nth-child(6n+1) .glifo { background: var(--rosa); } .ceu li:nth-child(6n+2) .glifo { background: var(--limao); }
.ceu li:nth-child(6n+3) .glifo { background: var(--menta); } .ceu li:nth-child(6n+4) .glifo { background: var(--ceu); }
.ceu li:nth-child(6n+5) .glifo { background: var(--lilas); } .ceu li:nth-child(6n+6) .glifo { background: var(--pessego); }
.ceu b { display: block; font-weight: 800; }
.autores { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.autores li { padding: 6px 13px; border: 2px solid var(--tinta); border-radius: 99px; background: var(--papel); font: italic 650 17px/1.2 var(--display); }
.autores li:nth-child(5n+1) { background: var(--limao); } .autores li:nth-child(5n+3) { background: var(--menta); } .autores li:nth-child(7n+4) { background: var(--rosa); }

form.nascimento { scroll-margin-top: 20px; }
.campo { margin-top: 18px; position: relative; }
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.duas > .campo { min-width: 0; }
label { display: block; font-size: 14px; font-weight: 800; margin-bottom: 6px; letter-spacing: .02em; }
input[type=text], input[type=date], input[type=time] {
  width: 100%; min-width: 0; min-height: 54px; font: inherit; font-size: 17px; color: var(--tinta);
  background: var(--papel); border: var(--borda); border-radius: 14px; padding: 12px 14px; color-scheme: light;
  -webkit-appearance: none; appearance: none; box-shadow: 3px 3px 0 var(--tinta);
}
input:focus { outline: none; background: #FFFDF2; box-shadow: 3px 3px 0 var(--chiclete); }
input:disabled { opacity: .45; }
.check { display: flex; gap: 10px; align-items: center; margin: 14px 0 0; font-size: 15px; font-weight: 600; cursor: pointer; }
.check input[type=checkbox] { -webkit-appearance: none; appearance: none; flex: none; width: 24px; height: 24px; border-radius: 7px; margin: 0; border: var(--borda); background: var(--papel); display: grid; place-items: center; cursor: pointer; }
.check input[type=checkbox]:checked { background: var(--chiclete); }
.check input[type=checkbox]:checked::after { content: ''; width: 6px; height: 11px; border: solid var(--tinta); border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.dica { font-size: 14px; margin: 8px 0 0; line-height: 1.5; }
.sugestoes { list-style: none; margin: 6px 0 0; padding: 4px; position: absolute; left: 0; right: 0; z-index: 5; background: var(--papel); border: var(--borda); border-radius: 14px; box-shadow: var(--sombra); }
.sugestoes li { padding: 10px 12px; border-radius: 9px; cursor: pointer; }
.sugestoes li[aria-selected=true], .sugestoes li:hover { background: var(--limao); }
.link-botao { background: none; border: 0; color: var(--tinta); font: inherit; font-size: 15px; font-weight: 700; padding: 0; margin-top: 12px; text-decoration: underline; text-decoration-color: var(--chiclete); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
.botao { display: block; width: 100%; margin-top: 28px; text-align: center; }
.botao:disabled { opacity: .6; cursor: wait; }
.botao.vazado { background: var(--papel); }
.botao.menta { background: var(--menta); }
.erro { color: #B0003A; font-weight: 700; font-size: 15px; margin: 12px 0 0; min-height: 1em; }
.seguro { text-align: center; font-size: 14px; font-weight: 600; margin-top: 12px; }

.perguntas details { margin-top: 10px; background: var(--papel); border: var(--borda); border-radius: 18px; padding: 14px 16px; }
.perguntas summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--tinta); background: var(--limao); display: grid; place-items: center; font-size: 20px; line-height: 1; }
.perguntas details[open] { background: #FFFCEB; }
.perguntas details[open] summary::after { content: '−'; background: var(--rosa); }
.perguntas details p { margin: 10px 0 0; font-size: 16px; color: var(--suave); }

.rodape { text-align: center; font-size: 15px; font-weight: 600; margin-top: 64px; }
.rodape-glifo { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 12px; border: var(--borda); border-radius: 50%; background: var(--lilas); font-size: 24px; box-shadow: 3px 3px 0 var(--tinta); }

/* ---------- Leitura ---------- */
.espera { text-align: center; padding: 22vh 0 0; }
.espera .pulso { width: 84px; height: 84px; margin: 0 auto 22px; border: var(--borda); border-radius: 50%; background: var(--limao); display: grid; place-items: center; font-size: 40px; box-shadow: var(--sombra); animation: pulo 1.4s ease-in-out infinite; }
@keyframes pulo { 50% { transform: translateY(-12px) rotate(10deg); background: var(--rosa); } }
.espera p { max-width: 24em; margin: 0 auto; font-weight: 600; }

.leitura .topo { position: relative; text-align: center; padding: 34px 0 0; }
.leitura .topo .para { display: inline-block; margin: 30px 0 0; padding: 5px 16px; background: var(--papel); border: var(--borda); border-radius: 99px; font-weight: 800; transform: rotate(-2deg); }
.leitura h1 { font-size: clamp(110px, 36vw, 190px); line-height: .85; margin: 6px 0 10px; font-style: italic; color: var(--chiclete); -webkit-text-stroke: 3px var(--tinta); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--tinta); }
.leitura .base { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.leitura .base li { padding: 5px 12px; border: 2px solid var(--tinta); border-radius: 99px; font-size: 14px; font-weight: 700; background: var(--menta); }
.leitura .base li:nth-child(2) { background: var(--ceu); } .leitura .base li:nth-child(3) { background: var(--pessego); }

.calendario { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.calendario a { display: grid; grid-template-columns: 66px 1fr; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; background: var(--papel); border: var(--borda); border-radius: 18px; color: var(--tinta); text-decoration: none; transition: transform .15s; }
.calendario a:hover { transform: translateX(4px); }
.calendario .mes { display: grid; place-items: center; width: 66px; height: 66px; border: var(--borda); border-radius: 50%; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; text-align: center; }
.calendario .mes .glifo { display: block; font-size: 20px; letter-spacing: 0; }
.calendario li:nth-child(7n+1) .mes { background: var(--rosa); } .calendario li:nth-child(7n+2) .mes { background: var(--menta); }
.calendario li:nth-child(7n+3) .mes { background: var(--lilas); } .calendario li:nth-child(7n+4) .mes { background: var(--limao); }
.calendario li:nth-child(7n+5) .mes { background: var(--ceu); } .calendario li:nth-child(7n+6) .mes { background: var(--pessego); }
.calendario li:nth-child(7n+7) .mes { background: var(--chiclete); }
.calendario b { display: block; font: italic 750 22px/1.12 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.calendario i { display: block; font-style: normal; font-size: 14px; font-weight: 600; color: var(--suave); }

.livro { scroll-margin-top: 20px; }
.livro .num { position: absolute; top: -26px; left: 18px; width: 56px; height: 56px; border: var(--borda); border-radius: 50%; background: var(--papel); display: grid; place-items: center; font: 800 26px/1 var(--display); box-shadow: 3px 3px 0 var(--tinta); }
.livro .selo { margin-top: 16px; }
.livro .livro-titulo { font-style: italic; font-size: clamp(42px, 12vw, 64px); line-height: .95; margin: 4px 0 10px; text-wrap: balance; }
.livro .livro-autor { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.livro .marca { position: absolute; right: -8px; top: -22px; width: 104px; height: 104px; font-size: 11.5px; background: var(--limao); transform: rotate(14deg); }
.livro .tecnico { display: inline-block; font-size: 13.5px; font-weight: 700; background: rgba(255,255,255,.65); border: 2px solid var(--tinta); border-radius: 12px; padding: 5px 10px; margin-bottom: 22px; }
.livro h3 { font-size: 27px; margin: 26px 0 8px; }
.livro .exercicio { margin-top: 26px; padding: 20px 18px; background: var(--tinta); color: var(--creme); border-radius: 20px; }
.livro .exercicio h3 { color: var(--limao); margin: 0 0 8px; }
.livro .exercicio p { margin: 0; }
.exercicio .pauta { display: none; }

.leituras { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.leituras li { padding: 14px 16px; background: var(--papel); border: var(--borda); border-radius: 18px; }
.leituras b { display: block; font: italic 750 23px/1.15 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.leituras span { display: block; font-size: 15px; font-weight: 700; margin-top: 2px; }
.leituras i { display: block; font-style: normal; font-size: 14.5px; color: var(--suave); margin-top: 4px; }
.acoes { display: grid; gap: 14px; margin-top: 52px; }
.acoes .botao { margin-top: 0; }
.guardar { font-size: 14px; font-weight: 600; margin-top: 16px; text-align: center; }

@media (max-width: 420px) {
  .bloco { padding: 26px 18px 22px; border-radius: 24px; }
  .adesivo { width: 80px; height: 80px; font-size: 11.5px; }
  .livro .marca { width: 88px; height: 88px; font-size: 10px; right: -6px; }
}

@media print {
  @page { margin: 16mm 14mm; }
  body { background: #fff !important; font-size: 11pt; }
  .acoes, .guardar, .letreiro { display: none !important; }
  .estante .sobe, .espera .pulso { animation: none !important; }
  .bloco { box-shadow: none; break-inside: avoid-page; }
  .livro { break-before: page; }
  .exercicio .pauta { display: block; height: 6cm; margin-top: 10px; background: repeating-linear-gradient(transparent 0 .69cm, rgba(255,255,255,.35) .69cm .7cm); }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
