*{box-sizing:border-box}
:root{--yellow:#FF8A00;--blue:#0E2A47;--white:#fff;--bg:#f5f7fa;--muted:#697586}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--blue);font-family:Inter,Arial,Helvetica,sans-serif}
a{text-decoration:none;color:inherit}
button{font:inherit}
.topbar{height:74px;background:var(--yellow);display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,6%);box-shadow:0 3px 14px #0e2a4717;position:sticky;top:0;z-index:10}
.brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:900}
.brand img{width:45px;height:45px;object-fit:contain;background:#fff;border-radius:12px;padding:4px}
.download-small{display:inline-flex;align-items:center;gap:8px;background:var(--blue);color:#fff;padding:12px 17px;border-radius:13px;font-weight:800}
.container{max-width:900px;margin:32px auto;padding:0 17px;min-height:calc(100vh - 260px)}
.card,.error-card,.hero{background:#fff;border-radius:28px;box-shadow:0 10px 35px #0e2a4710}
.app-banner{background:var(--blue);color:#fff;border-radius:20px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}
.app-banner strong,.app-banner span{display:block}.app-banner span{font-size:14px;opacity:.78;margin-top:5px}
.button{border:0;border-radius:13px;padding:13px 17px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:9px;cursor:pointer}
.primary,.yellow{background:var(--yellow);color:var(--blue)}.secondary{background:#edf1f5;color:var(--blue)}
.publication-card{background:#fff;border-radius:26px;overflow:hidden;box-shadow:0 10px 35px #0e2a4710}
.gallery{position:relative;background:#edf1f4;min-height:280px;display:flex;align-items:center;justify-content:center}
.gallery>img{display:block;width:100%;max-height:650px;object-fit:cover}
.gallery.image-error{min-height:280px}.gallery.image-error:after{content:"Image indisponible";color:var(--muted);font-weight:700}
.dots{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:flex;gap:7px;background:#0007;padding:7px 10px;border-radius:20px}
.dots button{width:8px;height:8px;border:0;border-radius:50%;background:#fff8;padding:0;cursor:pointer}.dots button.active{background:var(--yellow)}
.publication-body{padding:25px}
.author-row{display:flex;align-items:center;gap:13px}
.avatar{width:54px;height:54px;border-radius:50%;overflow:hidden;background:var(--yellow);color:var(--blue);font-weight:900;font-size:21px;display:flex;align-items:center;justify-content:center}
.avatar img{width:100%;height:100%;object-fit:cover}
.author-info{min-width:0}.name-line{display:flex;align-items:center;gap:7px}.name-line h2{margin:0;font-size:19px}.author-info p{margin:4px 0 2px;color:var(--muted);font-size:14px}.location{color:var(--muted);font-size:13px}
.verified{width:19px;height:19px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--blue);color:#fff;font-size:10px}
.type-pill{display:inline-flex;align-items:center;gap:7px;margin-top:20px;padding:7px 11px;border-radius:20px;background:#fff3e6;color:var(--blue);font-size:13px;font-weight:800}
.title{font-size:28px;line-height:1.2;margin:14px 0 12px}.description{font-size:17px;line-height:1.65;color:#28384b;margin:0;white-space:normal}
.price{display:flex;justify-content:space-between;align-items:center;background:#f7f8fa;border-radius:14px;padding:13px 15px;margin-top:18px}.price span{color:var(--muted)}.price strong{font-size:18px}
.stats{display:flex;gap:18px;flex-wrap:wrap;padding:16px 0;margin:20px 0;border-top:1px solid #edf0f2;border-bottom:1px solid #edf0f2;color:var(--muted);font-size:14px}.stats span{display:inline-flex;align-items:center;gap:7px}
.actions{display:flex;gap:12px;flex-wrap:wrap}
.app-message{margin-top:20px;border-radius:15px;background:#f7f8fa;padding:14px;display:flex;gap:11px;color:var(--blue)}.app-message>i{color:var(--yellow);font-size:19px}.app-message strong{font-size:14px}.app-message p{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.4}
.error-card{text-align:center;padding:65px 25px}.error-icon{font-size:54px;color:var(--yellow)}.error-card h1{font-size:38px;margin:18px 0 10px}.error-card p{color:var(--muted);font-size:17px;margin:0 auto 24px;max-width:520px}
.hero{text-align:center;padding:55px 25px;margin-bottom:20px}.hero-logo{width:150px;height:150px;object-fit:contain;margin:auto;background:#fff}.hero h1{font-size:42px;margin:8px 0}.hero p{font-size:18px;color:var(--muted);margin:0 auto 24px;max-width:550px}
.home-info{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.home-info>div{background:#fff;border-radius:20px;padding:22px;box-shadow:0 8px 25px #0e2a4710}.home-info i{font-size:25px;color:var(--yellow)}.home-info h2{font-size:17px}.home-info p{color:var(--muted);font-size:14px;line-height:1.5}
footer{background:var(--blue);color:#fff;text-align:center;padding:30px 18px;margin-top:35px}.footer-logo{display:flex;align-items:center;justify-content:center;gap:9px;font-size:20px}.footer-logo img{width:38px;height:38px;object-fit:contain;background:#fff;border-radius:9px;padding:2px}.footer-links{display:flex;justify-content:center;gap:18px;flex-wrap:wrap}.footer-links a{opacity:.9}footer p{opacity:.75}footer small{opacity:.65}
@media(max-width:700px){.topbar{padding:0 16px}.brand{font-size:20px}.brand img{width:42px;height:42px}.download-small{font-size:13px;padding:10px 12px}.app-banner{align-items:stretch;flex-direction:column}.app-banner .button{width:100%}.publication-body{padding:20px}.title{font-size:24px}.actions>*{width:100%}.home-info{grid-template-columns:1fr}.hero{padding:42px 20px}.hero h1{font-size:36px}.error-card h1{font-size:32px}}
