/* TEMA 73 — PROFESSOR(A) PARTICULAR: "caderno de estudos". Folha pautada azul, margem vermelha, lápis amarelo,
   estrelinha dourada e capas de livro coloridas. Manuscrito Patrick Hand, texto Nunito. */
:root {
  --c134-azul: #2563eb; --c134-azul2: #1e40af; --c134-pauta: #cfe0fb; --c134-margem: #ef6b6b; --c134-lapis: #f7c531; --c134-ouro: #f5b301;
  --c134-papel: #fffef8; --c134-txt: #1f2a44; --c134-txt2: #59627a;
  --cn-cor: #2563eb; --cn-cor-txt: #fff; --cn-fundo-jan: #fffef8; --cn-txt-jan: #1f2a44; --cn-midia-prop: 74%;
}
html { scroll-behavior: smooth; }
body.c134-corpo { margin: 0; background: #dfe7f5; color: var(--c134-txt); font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.c134-corpo.c134-com-barra { padding-bottom: 78px; }
.c134 { position: relative; max-width: 560px; margin: 0 auto; min-height: 100vh; overflow: hidden; box-shadow: 0 0 40px rgba(30,64,175,.12);
  background: var(--c134-papel) repeating-linear-gradient(180deg, transparent 0 31px, var(--c134-pauta) 31px 32px); }
.c134::before { content: ""; position: absolute; left: 34px; top: 0; bottom: 0; border-left: 2px solid var(--c134-margem); opacity: .6; pointer-events: none; }
.c134 a { color: inherit; }

/* TOPO: espiral + capa colada */
.c134-topo { position: relative; padding: 34px 20px 0 48px; text-align: center; }
.c134-espiral { position: absolute; left: 0; right: 0; top: 0; height: 26px; background: radial-gradient(circle at 50% 100%, #c9ced6 0 5px, #8d939b 5px 7px, transparent 7.5px) 0 0 / 26px 26px repeat-x; }
.c134-espiral::after { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 12px; background: radial-gradient(circle at 50% 50%, #dfe7f5 0 4px, transparent 4.5px) 0 0 / 26px 12px repeat-x; }
.c134-capa { position: relative; padding: 8px; background: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.12); transform: rotate(1.2deg); }
.c134-fita { position: absolute; z-index: 3; top: -10px; width: 70px; height: 22px; background: rgba(247,197,49,.7); }
.c134-f1 { left: -12px; transform: rotate(-30deg); } .c134-f2 { right: -12px; transform: rotate(28deg); background: rgba(147,197,253,.75); }
.c134-capa .cn-midia { border-radius: 0; }
.c134-capa-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.c134-estrela { position: relative; z-index: 4; width: 132px; height: 132px; margin: -60px auto 0; background: var(--c134-ouro); clip-path: polygon(50% 0, 61% 33%, 98% 35%, 68% 57%, 79% 92%, 50% 71%, 21% 92%, 32% 57%, 2% 35%, 39% 33%); filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); animation: c134Gira 1s .3s cubic-bezier(.3,1.6,.6,1) both; }
@keyframes c134Gira { from { transform: rotate(-90deg) scale(.3); } to { transform: none; } }
.c134-estrela-in { position: absolute; left: 31%; top: 30%; width: 38%; height: 38%; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fff; }
.c134-estrela-in img { width: 100%; height: 100%; object-fit: contain; }
.c134-estrela-in span { font: 22px 'Patrick Hand', cursive; color: var(--c134-azul2); }
.c134-id { padding: 4px 0 6px; }
.c134-id h1 { margin: 0; font: 34px/1.1 'Patrick Hand', cursive; color: var(--c134-azul2); word-break: break-word; }
.c134-id h1.c134-longo { font-size: 28px; }
.c134-id p { margin: 2px auto 0; max-width: 420px; color: var(--c134-txt2); font-size: 15px; line-height: 32px; }
.c134-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.c134-chip { background: #fff; color: var(--c134-azul2); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; box-shadow: inset 0 0 0 1.5px var(--c134-pauta); }

/* TÍTULOS: marca-texto */
.c134-bloco { padding: 28px 18px 8px 48px; }
.c134-tit { margin: 0 0 14px; font: 30px/1.1 'Patrick Hand', cursive; color: var(--c134-txt); }
.c134-tit span { padding: 0 6px; background: linear-gradient(100deg, transparent 2%, rgba(247,197,49,.65) 4%, rgba(247,197,49,.5) 96%, transparent 98%); }

/* CONTATOS: linhas do caderno */
.c134-linhas { display: grid; }
.c134-linha { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 4px 6px; color: var(--c134-txt) !important; text-decoration: none !important; font: 22px/1.1 'Patrick Hand', cursive; word-break: break-word; border-bottom: 1.5px solid var(--c134-pauta); transition: background .2s; }
.c134-linha:hover { background: rgba(247,197,49,.2); }
.c134-linha i { width: 30px; height: 30px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--c134-azul); color: #fff; font-size: 13px; }
.c134-l-whatsapp i { background: #1fa855; }
.c134-linha span { min-width: 0; }

/* AVALIAÇÕES */
.c134-trilho { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: none; }
.c134-trilho::-webkit-scrollbar { display: none; }
.c134-depo { flex: 0 0 84%; scroll-snap-align: start; margin: 0; padding: 16px; background: #fff8c5; box-shadow: 0 4px 10px rgba(0,0,0,.1); transform: rotate(-1deg); }
.c134-estrelas { color: var(--c134-ouro); letter-spacing: 2px; }
.c134-depo blockquote { margin: 6px 0 8px; color: var(--c134-txt); font: 20px/1.3 'Patrick Hand', cursive; }
.c134-depo figcaption { font-weight: 700; }
.c134-setas { display: flex; justify-content: flex-end; gap: 8px; }
.c134-setas button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--c134-azul); color: #fff; cursor: pointer; }

/* BOTÕES */
.c134-acoes { display: flex; gap: 10px; flex-wrap: wrap; padding: 18px 18px 6px 48px; }
.c134-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 2px solid transparent; font: 21px 'Patrick Hand', cursive; text-decoration: none !important; cursor: pointer; }
.c134-btn-azul { background: var(--c134-azul); color: #fff !important; box-shadow: 0 4px 0 var(--c134-azul2); }
.c134-btn-linha { background: #fff; color: var(--c134-azul2) !important; border-color: var(--c134-azul); }
.c134-btn:hover { filter: brightness(1.08); }

/* A EMPRESA: papel quadriculado com lápis */
.c134-quadriculado { position: relative; padding: 22px 18px 18px; background: linear-gradient(#e6eefb 1px, transparent 1px) 0 0 / 16px 16px, linear-gradient(90deg, #e6eefb 1px, transparent 1px) 0 0 / 16px 16px #fff; box-shadow: 0 6px 14px rgba(0,0,0,.1); }
.c134-lapis { position: absolute; right: 14px; top: -14px; width: 120px; height: 14px; background: linear-gradient(90deg, #f4a3a3 0 12px, #c0c4ca 12px 22px, var(--c134-lapis) 22px calc(100% - 18px)); border-radius: 3px 0 0 3px; transform: rotate(-8deg); }
.c134-lapis::after { content: ""; position: absolute; right: -18px; top: 0; border-left: 18px solid #f2d7a8; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.c134-lapis::before { content: ""; position: absolute; right: -18px; top: 5px; width: 5px; height: 4px; background: #333; z-index: 1; }
.c134-texto { color: var(--c134-txt2); font-size: 15px; }
.c134-texto p { margin: 0 0 8px; }
.c134-texto .cn-leia { color: var(--c134-azul); }

/* MATÉRIAS: capas de livro */
.c134-livros { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.c134-livro { position: relative; padding: 10px 10px 12px 18px; border-radius: 4px 10px 10px 4px; background: #2563eb; color: #fff; cursor: pointer; box-shadow: inset 8px 0 0 rgba(0,0,0,.18), 0 6px 14px rgba(0,0,0,.18); transition: transform .2s; }
.c134-livro:nth-child(4n+2) { background: #e2554f; } .c134-livro:nth-child(4n+3) { background: #2e9e6b; } .c134-livro:nth-child(4n+4) { background: #8b5cf6; }
.c134-livro:hover { transform: translateY(-4px) rotate(-1deg); }
.c134-livro-img { aspect-ratio: 1; border-radius: 4px; background: #ddd center / cover no-repeat; box-shadow: 0 0 0 3px rgba(255,255,255,.85); }
.c134-livro-txt { padding-top: 8px; }
.c134-livro-txt small { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; opacity: .85; }
.c134-livro-txt h3 { margin: 2px 0; font: 22px/1.05 'Patrick Hand', cursive; color: #fff; }
.c134-ver { font-size: 12.5px; font-weight: 700; opacity: .9; }

/* GALERIA: fita adesiva */
.c134-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; padding-top: 6px; }
.c134-foto { position: relative; border: 0; padding: 6px; background: #fff; cursor: zoom-in; box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.c134-foto:nth-child(odd) { transform: rotate(-1.5deg); } .c134-foto:nth-child(even) { transform: rotate(1.5deg); }
.c134-foto::before { content: ""; position: absolute; left: 50%; top: -9px; width: 54px; height: 18px; margin-left: -27px; background: rgba(147,197,253,.75); transform: rotate(-4deg); z-index: 2; }
.c134-foto:nth-child(3n+2)::before { background: rgba(247,197,49,.7); } .c134-foto:nth-child(3n)::before { background: rgba(244,163,163,.75); }
.c134-foto span { display: block; aspect-ratio: 4 / 3; background: #ddd center / cover no-repeat; }

/* PRODUTOS */
.c134-busca { display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--c134-pauta); border-radius: 10px; padding: 0 12px; margin: 0 0 14px; }
.c134-busca input { flex: 1; border: 0; outline: none; padding: 11px 0; font: inherit; background: transparent; }
.c134-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c134-prod { background: #fff; border-radius: 10px; overflow: hidden; cursor: pointer; display: flex; flex-direction: column; box-shadow: 0 4px 10px rgba(0,0,0,.1); }
.c134-prod-img { height: 130px; background: #eef3fd center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: var(--c134-azul); font-size: 30px; }
.c134-prod-txt { padding: 10px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.c134-prod-txt h3 { margin: 0; font: 19px/1.1 'Patrick Hand', cursive; }
.c134-prod-ver { margin-top: auto; color: var(--c134-azul); font-weight: 700; font-size: 13px; }
.c134-nada { grid-column: 1 / -1; text-align: center; }
.c134-carrinho { width: 100%; margin-top: 14px; }

/* QR e FORMULÁRIO */
.c134-qr { text-align: center; } .c134-qr .code { display: flex; justify-content: center; margin-bottom: 12px; }
.c134-qr .code canvas, .c134-qr .code img { width: 200px !important; height: 200px !important; background: #fff; padding: 10px; box-sizing: content-box; box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.c134-form { display: grid; gap: 10px; padding: 16px; background: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.1); border-top: 6px solid var(--c134-azul); }
.c134-form input, .c134-form textarea { width: 100%; box-sizing: border-box; border: 0; border-bottom: 2px solid var(--c134-pauta); border-radius: 0; padding: 10px 4px; font: 20px 'Patrick Hand', cursive; background: transparent; color: var(--c134-txt); }
.c134-form input:focus, .c134-form textarea:focus { outline: none; border-bottom-color: var(--c134-azul); }
.c134-duas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* BARRA FIXA */
.c134-barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; display: flex; max-width: 560px; margin: 0 auto; background: var(--c134-azul2); padding-bottom: env(safe-area-inset-bottom); }
.c134-barra a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 7px 4px 8px; color: #fff !important; text-decoration: none !important; font: 18px 'Patrick Hand', cursive; }
.c134-barra a i { font-size: 18px; }
.c134-barra a.c134-barra-zap { background: var(--c134-lapis); color: var(--c134-txt) !important; flex: 1.3; }
.c134-com-barra .radio-float { bottom: 88px !important; }

.c134-corpo .creditos-cartaodigital { max-width: 560px; margin: 0 auto !important; background: var(--c134-azul2); }
.c134-corpo .modal { color: #222; }
@media (min-width: 600px) { .c134 { margin: 18px auto; } .c134-depo { flex-basis: 68%; } }
@media (max-width: 360px) { .c134-id h1 { font-size: 28px; } .c134-livros { grid-template-columns: 1fr; } }
