:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --bg-card: rgba(255,255,255,.72);
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --line-soft: rgba(0,0,0,.08);
  --blue: #0071e3;
  --blue-dark: #0066cc;
  --dark: #111111;
  --dark-soft: #1f1f21;
  --radius: 28px;
  --container: 1180px;
  --shadow: 0 16px 40px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  background: #fff;
  color: #000;
  padding: 12px 14px;
  border-radius: 12px;
  z-index: 99;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.06em;
}
.brand-main { color: var(--text); }
.brand-dot { color: var(--muted); }

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.menu a {
  font-size: .95rem;
  color: var(--muted);
  transition: color .2s ease;
}
.menu a:hover,
.menu a:focus-visible { color: var(--text); }
.menu-cta {
  background: var(--text);
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 999px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  padding: 88px 0 54px;
}
.kicker {
  margin: 0 0 18px;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.kicker.light { color: rgba(255,255,255,.7); }

.hero h1,
.section-title,
.contact-box h2 {
  margin: 0;
  letter-spacing: -.06em;
  line-height: .98;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
  max-width: 980px;
}

.hero-text {
  max-width: 760px;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: var(--muted);
  margin: 26px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: .96rem;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: var(--blue);
  color: #fff;
}
.button-primary:hover { background: var(--blue-dark); }
.button-secondary {
  background: var(--bg-soft);
  color: var(--text);
}
.button-light {
  background: #fff;
  color: var(--text);
}

.hero-panel {
  margin-top: 56px;
  background: linear-gradient(180deg, #fbfbfd 0%, #f2f2f5 100%);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 34px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  box-shadow: var(--shadow);
}
.small-label,
.card-label,
.project-tag {
  display: inline-block;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.hero-panel h2,
.glass-card h3,
.portfolio-card h3,
.project-card h3,
.blog-card h3 {
  margin: 14px 0 0;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  letter-spacing: -.05em;
  line-height: 1.05;
}
.hero-panel p,
.section-text,
.split-copy p,
.glass-card p,
.portfolio-card p,
.project-card p,
.blog-card p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1rem;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.hero-metrics article {
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 24px;
  padding: 22px;
}
.hero-metrics strong {
  display: block;
  font-size: 1.8rem;
  letter-spacing: -.04em;
}
.hero-metrics span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.section {
  padding: 90px 0;
}
.section-soft { background: var(--bg-soft); }
.section-title {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  max-width: 920px;
}
.section-text {
  max-width: 800px;
}

.card-grid {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}
.two-up { grid-template-columns: repeat(2, 1fr); }
.four-up { grid-template-columns: repeat(4, 1fr); }

.glass-card,
.portfolio-card,
.project-card,
.blog-card {
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
}

.glass-card {
  padding: 28px;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
}
.glass-card ul {
  margin: 22px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}
.dark-card {
  background: linear-gradient(180deg, #1f1f21 0%, #111214 100%);
  color: #fff;
}
.dark-card .card-label,
.dark-card p,
.dark-card ul { color: rgba(255,255,255,.72); }

.portfolio-card {
  background: #fff;
  padding: 28px;
  min-height: 250px;
}
.portfolio-index {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  color: var(--text);
  font-size: .9rem;
  font-weight: 700;
}
.portfolio-card h3 {
  font-size: 1.65rem;
}

.split-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 48px;
  align-items: start;
}
.split-copy p:first-child { margin-top: 0; }

.project-card {
  display: block;
  background: #fff;
  padding: 30px;
  transition: transform .2s ease, border-color .2s ease;
}
.project-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0,113,227,.22);
}
.project-card h3 { font-size: 2rem; }
.project-card b {
  display: inline-block;
  margin-top: 22px;
  font-size: .96rem;
  color: var(--blue);
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: 36px;
  align-items: center;
}
.blog-card {
  background: #fff;
  padding: 30px;
}
.blog-lines {
  margin-top: 24px;
}
.blog-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #ececf1;
  margin-bottom: 12px;
}
.blog-lines span:nth-child(2) { width: 82%; }
.blog-lines span:nth-child(3) { width: 62%; }

.contact-section {
  background: #000;
  color: #fff;
}
.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.contact-box h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  max-width: 840px;
}
.contact-actions {
  flex-shrink: 0;
}

.site-footer {
  background: #0b0b0c;
  color: rgba(255,255,255,.72);
}
.footer-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: .92rem;
}
.footer-wrap span:first-child {
  color: #fff;
  font-weight: 700;
  letter-spacing: -.05em;
}
.footer-wrap a:hover { color: #fff; }

@media (max-width: 980px) {
  .hero-panel,
  .two-up,
  .four-up,
  .split-layout,
  .blog-layout,
  .contact-box {
    grid-template-columns: 1fr;
    display: grid;
  }

  .four-up {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-actions { justify-self: start; }
}

@media (max-width: 760px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .menu-toggle { display: block; }
  .menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,.98);
    padding: 12px 18px 22px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 18px 35px rgba(0,0,0,.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .menu.is-open { display: flex; }
  .menu a {
    padding: 14px 6px;
    font-size: 1rem;
  }
  .menu-cta {
    margin-top: 10px;
    text-align: center;
  }
  .hero {
    padding-top: 64px;
  }
  .hero-panel,
  .glass-card,
  .portfolio-card,
  .project-card,
  .blog-card {
    border-radius: 24px;
  }
  .hero-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .four-up {
    grid-template-columns: 1fr;
  }
  .footer-wrap {
    min-height: auto;
    padding: 24px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  html { scroll-padding-top: 72px; }
  .hero h1 { font-size: 2.9rem; }
  .section-title { font-size: 2.25rem; }
  .hero-text,
  .section-text,
  .split-copy p,
  .hero-panel p,
  .glass-card p,
  .portfolio-card p,
  .project-card p,
  .blog-card p {
    font-size: .98rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .button {
    width: 100%;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .contact-box {
    display: block;
  }
  .contact-actions {
    margin-top: 24px;
  }
}

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

/* PayDraw V4 — refinamentos preservando o desenho aprovado da V2 */
.site-header .menu{gap:18px}.site-header .menu a{font-size:.82rem}.site-header .menu a[aria-current="page"]{color:#1d1d1f;font-weight:650}
.front-link{transition:transform .2s ease;min-height:290px;display:flex;flex-direction:column;justify-content:center}.front-link:hover{transform:translateY(-3px)}.front-link .inline-link{display:block;margin-top:25px}.dark-card .inline-link{color:#a8d2ff}.inline-link{color:#0071e3;font-weight:600;text-decoration:none}
.subhero{padding:105px 0 80px}.subhero h1{font-size:clamp(3.4rem,9vw,7.2rem);line-height:1;letter-spacing:-.065em;margin:0}.subhero-lead{font-size:clamp(1.1rem,2vw,1.4rem);max-width:850px;color:#6e6e73;line-height:1.5;margin:26px 0 0}
.gallery-note{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:0 0 20px;border-bottom:1px solid #d2d2d7;color:#6e6e73;font-size:.9rem}.gallery-note strong{color:#1d1d1f}.works-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 18px;margin:30px 0 48px}.work-item{min-width:0}.work-photo{border-radius:18px;overflow:hidden;background:#e9e9ee;aspect-ratio:640/440}.work-photo img{width:100%;height:100%;object-fit:cover}.work-meta{display:flex;justify-content:space-between;gap:12px;margin-top:14px;font-size:.7rem;color:#6e6e73}.work-item h3{font-size:1.25rem;letter-spacing:-.035em;margin:10px 0 4px}.work-item p{font-size:.81rem;line-height:1.5;margin:0;color:#777}.preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:30px}.preview-item{min-width:0}.preview-item img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:18px}.preview-item span{font-size:.8rem;color:#6e6e73;display:block;margin-top:9px}
.projects-mini{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-top:34px}.projects-mini>a{display:flex;min-width:0;flex-direction:column;align-items:center;text-align:center;background:white;border:1px solid #e7e7eb;border-radius:20px;padding:20px 12px;transition:transform .2s}.projects-mini>a:hover{transform:translateY(-2px)}.logo-slot{font-size:1.16rem;font-weight:780;letter-spacing:-.05em;line-height:1.05;min-height:95px;display:flex;align-items:center;justify-content:center;text-align:center}.projects-mini strong{font-size:.89rem}.projects-mini small{font-size:.75rem;color:#6e6e73;margin-top:5px}.minor-note{color:#777;font-size:.76rem;margin-top:22px}.video-empty{padding:70px 20px;text-align:center;background:#fff;border-radius:28px}.video-mark{display:grid;place-items:center;width:78px;height:78px;border-radius:50%;background:#f5f5f7;margin:auto;font-size:1.4rem}.video-empty h2{font-size:clamp(1.8rem,4vw,3rem);letter-spacing:-.05em}.video-empty p{max-width:550px;margin:0 auto;color:#6e6e73;line-height:1.6}
@media(max-width:1100px){.site-header .menu{gap:12px}.site-header .menu a{font-size:.76rem}}@media(max-width:980px){.projects-mini{grid-template-columns:repeat(3,1fr)}.works-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.preview-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.site-header .menu a{font-size:1rem}.subhero{padding:70px 0 52px}.projects-mini{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.works-grid{grid-template-columns:1fr}.preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.projects-mini{gap:8px}.logo-slot{min-height:75px}.subhero h1{font-size:3.3rem}}

/* Complementos V5 — perfis, formação e Central Editorial */
.profile-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:36px }
.profile-card {border-radius:24px;background:#f5f5f7;padding:26px;min-width:0}
.profile-symbol {display:grid;place-items:center;width:43px;height:43px;border-radius:12px;color:#fff;background:#1d1d1f;font-weight:750;font-size:16px}
.profile-card h3 {font-size:21px;letter-spacing:-.04em;margin:18px 0 8px}
.profile-card p {font-size:14px;line-height:1.5;color:#6e6e73;min-height:44px}
.profile-status {font-size:12px;color:#74747a}
.education-list {margin-top:32px;border-top:1px solid #d2d2d7}
.education-list article {display:grid;grid-template-columns:210px 1fr;gap:28px;padding:24px 0;border-bottom:1px solid #d2d2d7}
.education-list article>span {font-size:13px;color:#6e6e73}
.education-list h3 {font-size:23px;letter-spacing:-.045em;margin:0}
.education-list p {color:#6e6e73;line-height:1.5;margin:9px 0 0}
.book-grid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:34px}
.book-grid article {background:#f5f5f7;min-height:185px;border-radius:20px;padding:22px;display:flex;flex-direction:column;justify-content:space-between}
.book-grid span {font-size:11px;color:#6e6e73;text-transform:uppercase;letter-spacing:.08em}
.book-grid h3 {font-size:20px;letter-spacing:-.04em;margin:0}
.editorial-top {display:flex;justify-content:space-between;align-items:flex-start;gap:26px}
.editorial-origin {white-space:nowrap;color:#0066cc;font-size:14px;margin-top:8px}
.editorial-feed {margin-top:34px}
.feed-empty {color:#6e6e73;background:white;border-radius:22px;padding:30px;font-size:16px;line-height:1.6}
.editorial-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.editorial-card {background:white;border-radius:22px;padding:22px;overflow:hidden}
.editorial-card img {height:170px;object-fit:cover;width:100%;border-radius:14px;margin-bottom:20px}
.editorial-card h3 {font-size:23px;letter-spacing:-.04em;margin:11px 0}
.editorial-card p {line-height:1.55;color:#6e6e73}
.editorial-card time {display:block;color:#86868b;font-size:12px;margin-top:15px}
@media(max-width:900px){.profile-grid {grid-template-columns:repeat(2,minmax(0,1fr))}.book-grid {grid-template-columns:repeat(3,minmax(0,1fr))}.editorial-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.profile-grid,.book-grid,.editorial-grid {grid-template-columns:1fr}.education-list article {grid-template-columns:1fr;gap:7px}.editorial-top {display:block}.editorial-origin {display:inline-block;margin-top:20px}.book-grid article {min-height:130px}}

/* V6 — Biblioteca: capas originais remotas do WordPress, layouts compactos */
.collection-logo{display:block;width:min(300px,100%);height:auto;object-fit:contain;margin-bottom:35px}
.book-catalog{display:grid;gap:18px;margin-top:36px}
.book-entry{display:grid;grid-template-columns:minmax(160px,220px) 1fr;gap:32px;align-items:center;padding:24px;border:1px solid #e5e5e9;border-radius:25px;background:#fff}
.book-cover{aspect-ratio:3/4;border-radius:14px;background:#f5f5f7;overflow:hidden;display:grid;place-items:center}
.book-cover img{width:100%;height:100%;object-fit:contain}
.book-details h3{font-size:clamp(1.55rem,3.3vw,2.5rem);letter-spacing:-.052em;line-height:1.08;margin:0}
.book-details .kicker{margin-bottom:12px}
.book-summary{color:#6e6e73;line-height:1.65;font-size:1rem;max-width:710px}
.buy-options{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0 12px}
.buy-option{display:inline-flex;padding:12px 19px;border:1px solid #d2d2d7;border-radius:99px;color:#0066cc;font-size:.9rem;transition:background .15s}
.buy-option:hover{background:#f5f5f7}
.book-details small{color:#86868b;font-size:.75rem}
.book-placeholder{width:100%;height:100%;display:grid;place-items:center;text-align:center;padding:15px;background:linear-gradient(150deg,#dfdfe4,#f8f8fa);color:#45454b;font-weight:700;font-size:clamp(1.1rem,3vw,2rem)}
.book-placeholder.small{font-size:1rem;aspect-ratio:3/4}
.book-teasers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px;margin:30px 0}
.book-teaser{min-width:0;display:block}.book-teaser img{width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;background:#f5f5f7;border-radius:15px}.book-teaser strong{display:block;font-size:.85rem;letter-spacing:-.015em;margin-top:10px;line-height:1.3}
.logo-slot img{display:block;max-width:100%;max-height:82px;object-fit:contain}
@media(max-width:900px){.book-teasers{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:680px){.book-entry{grid-template-columns:1fr;gap:18px;padding:18px}.book-cover{width:min(230px,100%);margin:0 auto}.book-teasers{grid-template-columns:repeat(2,minmax(0,1fr))}.book-details h3{font-size:1.7rem}}

/* V7 — identidades oficiais e microsseries */
.brand img{display:block;width:116px;max-height:44px;height:auto;object-fit:contain}.footer-wrap > span img{display:block;width:106px;height:auto;max-height:56px;object-fit:contain}.pes-logo{display:block;max-width:290px;width:100%;height:auto;max-height:130px;object-fit:contain;object-position:left center;margin:18px 0 32px}.video-hero{padding-top:85px}.video-intro h1{font-size:clamp(2.6rem,6vw,5.2rem);letter-spacing:-.06em;line-height:1.02;margin:0;max-width:840px}.video-lead{font-size:clamp(1.2rem,2.2vw,1.8rem);max-width:820px;color:#34343a;line-height:1.45}.episode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:32px}.episode-placeholder{border-radius:24px;background:#fff;padding:18px;border:1px solid #e9e9ed}.episode-screen{height:210px;border-radius:16px;background:linear-gradient(130deg,#1b1b1d,#45454a);display:grid;place-items:center;color:#fff;font-size:34px}.episode-placeholder h3{font-size:1.2rem;margin:18px 0 6px}.episode-placeholder p{color:#6e6e73;margin:0 0 12px;line-height:1.5}.forcas-logo{display:block;max-width:260px;width:100%;height:auto;margin:12px 0 18px}@media(max-width:680px){.episode-grid{grid-template-columns:1fr}.brand img{width:96px}.video-hero{padding-top:50px}}

/* V8 — official images + YouTube consent-to-load */
.channel-actions{display:flex;flex-wrap:wrap;gap:14px;margin:28px 0 22px}
.youtube-frame{width:100%;max-width:920px;aspect-ratio:16/9;background:#151517;border-radius:24px;overflow:hidden;display:grid;place-items:center}
.youtube-frame iframe{width:100%;height:100%;border:0;display:block}
.youtube-poster{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#e1e1e4;text-align:center;padding:24px}
.youtube-poster img{width:min(180px,30vw);height:auto;max-height:170px;object-fit:contain;background:#fff;border-radius:18px}
.youtube-poster p{max-width:420px;font-size:14px;line-height:1.45;color:#d5d5d7}
.channel-actions button{border:0;cursor:pointer}
.channel-actions button:disabled{opacity:.65;cursor:default}
@media(max-width:650px){.youtube-frame{border-radius:16px}.channel-actions{flex-direction:column}.channel-actions .button{width:100%}}


/* PAYDRAW V9 — biblioteca 2:3, marca única de coleção e leitura editorial */
.library-hero{padding-bottom:54px}
.library-caption{color:#86868b;font-size:.82rem;margin-top:20px}
.library-section-heading{display:grid;grid-template-columns:minmax(140px,230px) 1fr;align-items:center;gap:36px;margin-bottom:38px}
.library-collection-brand{width:100%;max-width:230px;max-height:155px;object-fit:contain;mix-blend-mode:multiply}
.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
.library-grid-two{grid-template-columns:repeat(2,minmax(0,360px))}
.library-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e8e8ec;border-radius:26px;padding:22px;overflow:hidden;box-shadow:0 8px 30px rgba(20,20,25,.025)}
.cover-area{min-height:355px;display:flex;align-items:center;justify-content:center;border-radius:19px;background:#f5f5f7;padding:15px}
.cover-shell{width:min(100%,220px);aspect-ratio:2/3;box-shadow:0 10px 24px rgba(0,0,0,.10);overflow:hidden;border-radius:6px;background:#e8e8ec;display:flex;align-items:stretch;justify-content:center}
.cover-shell img{display:block;width:100%;height:100%;object-fit:contain;background:#f0f0f2}
.cover-fallback{display:grid;place-items:center;text-align:center;line-height:1.4;color:#666;padding:12px;font-size:.9rem}
.cover-fallback[hidden]{display:none}
.library-copy{padding-top:22px;flex:1}
.library-label{font-size:.7rem;letter-spacing:.11em;text-transform:uppercase;font-weight:700;color:#747479;margin:0 0 10px}
.library-copy h3{font-size:clamp(1.22rem,2vw,1.7rem);line-height:1.16;letter-spacing:-.042em;margin:0}
.library-description{color:#666670;font-size:.91rem;line-height:1.57;margin:15px 0 18px}
.library-purchase{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}
.library-purchase a{padding:13px 10px;text-align:center;border:1px solid #d9d9df;border-radius:999px;font-size:.79rem;font-weight:650;transition:background .2s}
.library-purchase a:first-child{background:#171719;color:#fff;border-color:#171719}
.library-purchase a:hover{background:#eaeaf0;color:#151519}
.library-purchase a:first-child:hover{background:#36363a;color:#fff}
.library-disclaimer{font-size:.69rem;color:#85858b;line-height:1.45;margin:12px 0 0}
.book-teaser img,.book-placeholder.small{aspect-ratio:2/3;object-fit:contain}
@media(max-width:920px){.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.library-grid,.library-grid-two{grid-template-columns:1fr}.library-section-heading{grid-template-columns:1fr;gap:16px}.library-collection-brand{max-width:190px}.library-card{padding:16px}.cover-area{min-height:320px}.cover-shell{max-width:200px}.library-purchase a{font-size:.79rem}}

/* V10 — biblioteca tipográfica, sem logo da coleção; bloco de projetos reposicionado */
.library-section-heading{display:block;max-width:920px;margin-bottom:38px}
.books-project-mark{font-weight:750;letter-spacing:-.055em;color:#1d1d1f;font-size:clamp(1.75rem,3vw,2.5rem);line-height:1}
.projects-mini a[href="livros.html"] .logo-slot{min-height:95px}
