:root{--orange:#f47721;--navy:#0a2237;--navy2:#123b5f;--ink:#14202b;--muted:#667686;--line:#dce5ec;--bg:#f3f6f8;--white:#fff;--shadow:0 20px 55px rgba(8,33,53,.16)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}a{text-decoration:none;color:inherit}img{display:block;max-width:100%}button,input{font:inherit}.sr-only{position:absolute;left:-9999px}
/* INDEX */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}
.header-inner{max-width:1260px;margin:auto;padding:11px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px}.site-brand img{width:205px}.site-actions{display:flex;gap:10px}.icon-btn{width:46px;height:46px;border:1px solid var(--line);border-radius:13px;background:#fff;display:grid;place-items:center;cursor:pointer}.icon-btn svg{width:23px;fill:#173b59}.search-drawer{display:none;background:#fff;border-top:1px solid var(--line)}.search-drawer.open{display:block}.search-drawer-inner{max-width:1260px;margin:auto;padding:13px 22px;display:flex;gap:10px}.search-drawer input{height:48px;flex:1;border:1px solid var(--line);border-radius:13px;padding:0 15px;outline:none}.search-close{width:48px;height:48px;border:1px solid var(--line);border-radius:13px;background:#fff;font-size:1.6rem;cursor:pointer}
.hero-section{position:relative;overflow:hidden;background:#071a29;color:#fff}.hero-backdrop{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,20,33,.94),rgba(5,22,36,.58)),url("../magazines/ciberseguranca-sem-mitos/page-02.webp") center/cover no-repeat;filter:saturate(.8) brightness(.58)}.hero-inner{position:relative;max-width:1260px;margin:auto;padding:60px 22px 70px;display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}.hero-kicker,.section-kicker{font-size:.77rem;font-weight:900;letter-spacing:.17em;color:#ff9b48}.hero-copy h1{margin:13px 0 18px;font-size:clamp(2.7rem,6vw,5.4rem);line-height:.94;letter-spacing:-.045em}.hero-copy h1 em{font-style:normal;color:#ff9b48}.hero-copy p{max-width:650px;color:#dbe6ee;font-size:1.08rem;line-height:1.72}.hero-feature{display:flex;justify-content:flex-end}.feature-card{width:min(100%,390px);background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 28px 70px rgba(0,0,0,.32)}.feature-card .cover{display:block;aspect-ratio:3/4;overflow:hidden;background:#0a2338}.feature-card .cover img{width:100%;height:100%;object-fit:cover}.feature-card .body{padding:18px 18px 20px}.feature-card .meta,.issue-meta{color:var(--orange);font-weight:900;font-size:.8rem;text-transform:uppercase;letter-spacing:.05em}.feature-card h2{color:var(--ink);margin:7px 0 8px;font-size:1.55rem}.feature-card p{color:var(--muted);line-height:1.5;margin:0 0 15px}.btn-primary{display:inline-flex;background:var(--orange);color:#fff;border-radius:12px;padding:11px 16px;font-weight:850}.catalog-section{max-width:1260px;margin:auto;padding:46px 22px 70px}.section-head{margin-bottom:22px}.section-head h2{margin:8px 0 0;font-size:2.15rem}.issue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.issue-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow);transition:.18s}.issue-card:hover{transform:translateY(-4px)}.issue-cover{display:block;position:relative;aspect-ratio:3/4;background:#0b2338;overflow:hidden}.issue-cover img{width:100%;height:100%;object-fit:cover}.issue-chip{position:absolute;top:13px;right:13px;background:rgba(4,18,30,.76);color:#fff;font-weight:900;font-size:.72rem;padding:7px 9px;border-radius:10px}.issue-body{padding:18px}.issue-body h3{font-size:1.35rem;margin:7px 0 8px}.issue-body p{color:var(--muted);line-height:1.55;margin:0 0 14px}.issue-link{color:#123b5f;font-weight:850}.empty-state{color:var(--muted)}.site-footer{background:#fff;border-top:1px solid var(--line)}.footer-inner{max-width:1260px;margin:auto;padding:24px 22px;display:flex;justify-content:space-between;align-items:center;gap:20px}.footer-inner img{width:175px}.footer-inner p{font-size:.77rem;color:#71808c;line-height:1.55;text-align:right;margin:0}
/* READER */
.reader-body{background:#07131f;color:#fff;overflow:hidden}.reader-topbar{height:68px;background:#fff;color:var(--ink);border-bottom:1px solid #dfe6ec;display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:18px;padding:9px 14px;position:relative;z-index:70}.reader-back{height:44px;padding:0 13px;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:8px;font-weight:850;color:#173955}.reader-brand img{width:145px}.reader-title-wrap{text-align:center;min-width:0}.reader-title-wrap strong{display:block;font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reader-title-wrap span{display:block;color:#71808c;font-size:.74rem;margin-top:2px}.reader-top-actions{display:flex;gap:8px}.reader-icon-btn{width:42px;height:42px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#143957;cursor:pointer;font-size:1.05rem}.reader-main{height:calc(100svh - 68px);min-height:0;display:grid;grid-template-columns:56px minmax(0,1fr) 56px;align-items:center;gap:8px;padding:18px 12px;background:radial-gradient(circle at 50% 22%,#18374f 0,#0d2233 38%,#07131f 76%)}.reader-arrow{width:48px;height:78px;border:0;border-radius:16px;background:rgba(255,255,255,.09);color:#fff;font-size:2.1rem;cursor:pointer}.reader-arrow:disabled{opacity:.25;cursor:default}.book-wrap{min-width:0;min-height:0;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px}.book-shell{width:min(1180px,100%);height:min(calc(100svh - 148px),820px);display:flex;align-items:center;justify-content:center;perspective:2600px}.book{position:relative;width:min(100%,1120px);aspect-ratio:1.414/1;max-height:100%;transform-style:preserve-3d;filter:drop-shadow(0 32px 42px rgba(0,0,0,.48));touch-action:none;user-select:none;transition:width .22s ease,aspect-ratio .22s ease}.book.single-view{width:min(560px,100%);aspect-ratio:.707/1}.book:before{content:"";position:absolute;inset:2% 1% -2%;background:#d5d3cd;border-radius:8px;z-index:-2}.book-slot{position:absolute;top:0;height:100%;width:50%;background:#fff;overflow:hidden}.left-slot{left:0;border-radius:11px 0 0 11px;box-shadow:inset -15px 0 22px rgba(0,0,0,.07)}.right-slot{right:0;border-radius:0 11px 11px 0;box-shadow:inset 15px 0 22px rgba(0,0,0,.06)}.book.single-view .left-slot{display:none}.book.single-view .right-slot{left:0;right:auto;width:100%;border-radius:11px;box-shadow:none}.book-spine{position:absolute;left:50%;top:.5%;bottom:.5%;width:9px;transform:translateX(-50%);z-index:6;background:linear-gradient(90deg,rgba(0,0,0,.17),rgba(255,255,255,.38),rgba(0,0,0,.14));pointer-events:none}.book.single-view .book-spine{display:none}.page{position:relative;width:100%;height:100%;background:#fff;overflow:hidden}.page img{width:100%;height:100%;display:block;object-fit:contain;background:#fff}.cover-page img,.back-cover-page img{object-fit:cover}.blank-page{background:#fff}.turning-page{position:absolute;top:0;width:50%;height:100%;z-index:20;transform-style:preserve-3d;pointer-events:none;display:none}.turning-page.turn-next{display:block;left:50%;transform-origin:left center;transform:rotateY(var(--drag-angle,0deg))}.turning-page.turn-prev{display:block;left:0;transform-origin:right center;transform:rotateY(var(--drag-angle,0deg))}.book.single-view .turning-page{width:100%;left:0!important}.book.single-view .turning-page.turn-next{transform-origin:left center}.book.single-view .turning-page.turn-prev{transform-origin:right center}.turn-front,.turn-back{position:absolute;inset:0;background:#fff;backface-visibility:hidden;overflow:hidden}.turn-back{transform:rotateY(180deg)}.turning-page.complete{transition:transform .34s cubic-bezier(.2,.72,.25,1)}.turning-page.cancel{transition:transform .22s ease}.turning-page.turn-next.cancel{transform:rotateY(0)!important}.turning-page.turn-prev.cancel{transform:rotateY(0)!important}.turning-page.turn-next.complete{transform:rotateY(-180deg)!important}.turning-page.turn-prev.complete{transform:rotateY(180deg)!important}.reader-bottom-bar{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.08);padding:8px 11px;border-radius:14px;backdrop-filter:blur(6px)}.mini-btn{height:36px;padding:0 11px;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:rgba(255,255,255,.08);color:#fff;cursor:pointer}#pageIndicator{min-width:170px;text-align:center;font-size:.88rem;color:#d8e4ed}.reader-loading{position:fixed;inset:0;background:#07131f;display:grid;place-items:center;z-index:100;transition:.2s}.reader-loading.hide{opacity:0;visibility:hidden}.loader{width:44px;height:44px;border:4px solid rgba(150,180,205,.22);border-top-color:var(--orange);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1024px){.hero-inner{grid-template-columns:1fr;gap:30px}.hero-feature{justify-content:flex-start}.issue-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.book-shell{height:min(calc(100svh - 145px),760px)}}
@media(max-width:820px){.header-inner{padding:10px 14px}.site-brand img{width:170px}.hero-inner{padding:44px 18px 52px}.hero-copy h1{font-size:clamp(2.4rem,12vw,4rem)}.catalog-section{padding:38px 16px 54px}.issue-grid{grid-template-columns:1fr}.footer-inner{flex-direction:column;align-items:flex-start}.footer-inner p{text-align:left}.reader-topbar{height:60px;grid-template-columns:auto 1fr auto;gap:9px;padding:7px 9px}.reader-brand{display:none}.reader-back{width:42px;height:42px;padding:0;justify-content:center}.reader-back span{display:none}.reader-title-wrap{text-align:left}.reader-title-wrap span{display:none}.reader-icon-btn{width:40px;height:40px}.reader-main{height:calc(100svh - 60px);grid-template-columns:36px minmax(0,1fr) 36px;gap:3px;padding:10px 3px 8px}.book-shell{width:100%;height:calc(100svh - 142px)}.book,.book.single-view{height:100%;width:auto;max-width:100%;aspect-ratio:.707/1}.book-slot,.book.single-view .right-slot{width:100%;left:0;right:auto;border-radius:9px}.left-slot{display:none!important}.book-spine{display:none}.book .turning-page{width:100%;left:0!important}.book .turning-page.turn-next{transform-origin:left center}.book .turning-page.turn-prev{transform-origin:right center}.reader-arrow{width:34px;height:62px;font-size:1.65rem;border-radius:11px}.reader-bottom-bar{width:calc(100% - 10px);justify-content:space-between;gap:6px;padding:8px}.mini-btn{font-size:.8rem;padding:0 8px;height:34px}#pageIndicator{min-width:80px;font-size:.8rem}}
@media(max-width:480px){.hero-copy p{font-size:1rem}.feature-card{width:100%}.section-head h2{font-size:1.75rem}.reader-title-wrap strong{font-size:.88rem}.reader-top-actions{gap:4px}.reader-icon-btn{width:38px;height:38px}.reader-main{grid-template-columns:32px minmax(0,1fr) 32px}.reader-arrow{width:30px;height:56px}.book-shell{height:calc(100svh - 138px)}}
@media(orientation:landscape) and (max-height:650px){.reader-topbar{height:54px}.reader-main{height:calc(100svh - 54px);padding:5px 6px;grid-template-columns:42px minmax(0,1fr) 42px}.book-shell{height:calc(100svh - 72px)}.reader-bottom-bar{display:none}.book,.book.single-view{max-height:100%}.reader-arrow{height:54px}}


/* Ajustes do leitor de revista */
.reader-main{overflow:hidden}
.book-shell{width:min(1280px,calc(100vw - 180px));height:min(calc(100vh - 166px),900px)}
.book{width:min(100%,1180px);max-width:1180px;max-height:100%;aspect-ratio:1.414/1}
.book.single-page .left-slot{display:none}
.book.single-page .right-slot{left:25%;right:auto;width:50%;border-radius:12px;box-shadow:0 14px 30px rgba(0,0,0,.18)}
.book.single-page .book-spine{display:none}
.book.mobile-page .left-slot{display:none}
.book.mobile-page .right-slot{left:0;right:auto;width:100%;border-radius:10px}
.book.mobile-page .book-spine{display:none}
.turning-page.full-turn{display:block;width:50%;left:25%}
.turning-page.full-turn.turn-next{transform-origin:left center}
.turning-page.full-turn.turn-prev{transform-origin:right center}
.book.mobile-page .turning-page.full-turn{width:100%;left:0}
.page.image-page img{object-fit:contain;width:100%;height:100%;background:#fff}

@media (min-width:861px){
  .reader-main{padding:16px 14px 14px;grid-template-columns:60px minmax(0,1fr) 60px}
  .book-wrap{min-height:0}
  .book-shell{min-height:0}
  .book{height:auto}
}

@media (max-width:860px){
  .reader-body{overflow:hidden}
  .reader-topbar{height:58px;padding:7px 8px;grid-template-columns:44px minmax(0,1fr) auto;gap:8px}
  .reader-brand{display:none}
  .reader-back{width:42px;height:42px;padding:0;justify-content:center;border-radius:12px}
  .reader-back span{display:none}
  .reader-title-wrap{text-align:left}
  .reader-title-wrap strong{font-size:.92rem}
  .reader-title-wrap span{display:none}
  .reader-top-actions{gap:5px}
  .reader-icon-btn{width:40px;height:40px;border-radius:12px}
  .reader-icon-btn svg{width:19px;height:19px}
  .reader-main{height:calc(100dvh - 58px);padding:8px 4px 8px;grid-template-columns:34px minmax(0,1fr) 34px;gap:2px}
  .reader-arrow{width:32px;height:58px;font-size:1.55rem;border-radius:10px}
  .book-wrap{gap:9px;min-width:0;min-height:0;width:100%}
  .book-shell{width:100%;height:calc(100dvh - 132px);min-height:0;max-height:none}
  .book{height:100%;width:auto;max-width:100%;aspect-ratio:.7076/1;filter:drop-shadow(0 18px 24px rgba(0,0,0,.36))}
  .book.mobile-page .right-slot{width:100%;height:100%;left:0}
  .reader-bottom-bar{height:46px;width:auto;max-width:100%;padding:6px 8px;gap:7px;border-radius:12px}
  .mini-btn{height:34px;padding:0 9px;font-size:.74rem;border-radius:9px}
  #pageIndicator{min-width:72px;font-size:.78rem}
}

@media (max-width:480px){
  .reader-main{grid-template-columns:26px minmax(0,1fr) 26px;padding-left:2px;padding-right:2px}
  .reader-arrow{width:24px;height:52px;font-size:1.35rem;background:rgba(255,255,255,.06)}
  .book-shell{height:calc(100dvh - 130px)}
  .reader-bottom-bar{padding:5px 6px;gap:4px}
  .mini-btn{padding:0 7px;font-size:.68rem}
  #pageIndicator{min-width:58px;font-size:.72rem}
}

/* Home responsiveness polish */
@media (max-width:780px){
  .hero-inner{display:block;padding-top:34px}
  .hero-copy{margin-bottom:28px}
  .hero-copy h1{font-size:clamp(2.25rem,11vw,4rem)}
  .hero-feature{justify-content:center}
  .feature-card{width:min(92vw,380px)}
}
.home-link{font-weight:850;color:#173653;padding:10px 13px;border-radius:11px}
.home-link:hover{background:#f2f6f9}
@media(max-width:560px){.home-link{display:none}.site-actions{margin-left:auto}}
