/* A navegação, a oferta, os botões e a fonte vêm da folha da página do curso. */
.biblioteca-website,.biblioteca-article {background:var(--paper);color:var(--ink)}
.site-header nav,.site-header .button,.library-invite .button,.site-footer nav,.site-footer {font-family:inherit}
.site-header .brand,.site-footer .brand {font-family:inherit;font-size:1rem;line-height:inherit}
.site-header a:hover,.site-footer a:hover,.library-invite a:hover {text-decoration:none}
.site-header .brand {min-height:44px}
.library-invite .sample-link {margin-top:1.25rem}
.catalog-hero .hero-copy {margin-top:1.2rem;max-width:48ch}
.catalog-feature {display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;border:1px solid #9b91ad;border-radius:1rem;background:#fff;color:var(--ink);box-shadow:0 14px 38px #16112340}
.catalog-feature img {width:100%;height:clamp(10rem,18vw,14.5rem);object-fit:contain;background:#faf6ec;padding:.75rem}
.catalog-feature>span {padding:1rem 1.3rem}
.catalog-feature small,.tile-topic {display:block;color:var(--blue);font-weight:800;font-size:.8rem;line-height:1.4}
.catalog-feature strong {display:block;margin-top:.25rem;font-size:clamp(1rem,2vw,1.25rem);line-height:1.3}
.catalog {padding-block:clamp(2.5rem,5vw,4rem)}
.catalog-tools {display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.catalog-search {width:min(100%,22rem)}
.catalog-search input {font:inherit;min-height:48px;border:1px solid #94a3bc;border-radius:.55rem;background:white;color:var(--ink);padding:.65rem 1rem;width:min(22rem,100%)}
.catalog #resultado {color:var(--muted);margin:.65rem 0}
.toc-section {margin-top:clamp(2rem,4vw,3.5rem)}
.toc-section h2 {font-size:clamp(1.5rem,2.8vw,2rem);margin-bottom:1rem}
.entries {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.9rem,2vw,1.6rem);list-style:none;padding:0;margin:0}
.entries>li {display:flex;min-width:0}
.article-tile {position:relative;display:flex;flex-direction:column;width:100%;overflow:hidden;border:1px solid var(--line);border-radius:.85rem;background:white;color:var(--ink);box-shadow:0 3px 13px #111d340b}
.article-tile:hover,.article-tile:focus-visible {border-color:var(--blue);box-shadow:0 6px 20px #233e7c1a}
.tile-image {display:grid;place-items:center;aspect-ratio:2/1;background:#f5f1e8;border-bottom:1px solid var(--line)}
.tile-image img {width:100%;height:100%;min-height:0;object-fit:contain;padding:.8rem}
.tile-copy {position:relative;flex:1;padding:1.05rem 2.6rem 1.25rem 1.1rem}
.tile-copy h3 {margin:.5rem 0 0;font-size:clamp(1.08rem,1.6vw,1.34rem);line-height:1.25;letter-spacing:-.032em}
.tile-arrow {position:absolute;right:1rem;top:1.05rem;color:var(--blue);font-weight:800}
.sr-only {position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.biblioteca-article article {--ink:#111d34;--paper:#edf2fa}
.biblioteca-article article header.hero {background:transparent;overflow:visible}
.biblioteca-article article header.hero h1 {max-width:22ch}
.biblioteca-article .eyebrow,.biblioteca-article .edition-intro .eyebrow {color:var(--blue)}
.biblioteca-article .article-body h2,.biblioteca-article .edition-intro h1 {font-family:Manrope,system-ui,sans-serif;font-weight:800;color:var(--ink)}
.biblioteca-article article .article-body {font-family:Manrope,system-ui,sans-serif;font-size:clamp(1.03rem,1.2vw,1.18rem);line-height:1.73}
.biblioteca-article article pre code .sql-null {color:#ffbada}
.biblioteca-article article pre .sql-coluna {color:#f4d8fc;text-decoration:underline dotted;text-underline-offset:.17em;text-decoration-thickness:1px}
.biblioteca-article article pre .sql-papel {color:#ffe4ac;font-style:italic}
.biblioteca-article .story-figure button[aria-pressed=true],.biblioteca-article .audit-lab button[aria-pressed=true],.biblioteca-article .julgar button[aria-pressed=true] {background:var(--blue);border-color:var(--blue);color:white}
.complementar {margin-block:2rem}
.complementar .resposta {margin-top:.75rem}
.complementar .julgar {display:flex;flex-wrap:wrap;gap:.55rem;margin-block:1rem}
.complementar .julgar button {min-height:44px;min-width:44px;font:inherit;padding:.4rem .85rem;border:1px solid var(--blue);border-radius:.5rem}
@media(max-width:850px){.entries{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.entries{grid-template-columns:minmax(0,1fr)}.catalog-search,.catalog-search input{width:100%}.catalog-feature img{height:9rem}.tile-image{aspect-ratio:2.35/1}}

.professor-page .portrait {width:min(100%,19rem);justify-self:center}
.professor-page .hero .lead {margin-top:1rem}
.professor-page .hero .crumb {margin-bottom:1rem}
@media(max-width:680px){.professor-page .portrait{width:min(64vw,13rem)}}

/* Identidade do curso: papel marfim, tinta petróleo e acento cítrico. */
.course-page {
  --ink:#102d34; --navy:#092d33; --blue:#075d60; --accent:#d8f45c;
  --muted:#485e60; --line:#cad8d4; --wash:#eaf3ee; --cream:#f7f5e9;
  --paper-curso:#f8f7ef; --petroleo:#07393e; --petroleo-fundo:#092f35;
}
.course-page .site-header {background:#fffef9;border-color:#cfdbd5}
.course-page .site-header .button {background:var(--petroleo);color:white;border-radius:2rem;padding-inline:1.2rem}
.course-page .site-header .button:hover {background:#12565a}
.course-page .main-nav a[aria-current],.course-page .main-nav a:hover {color:#064e50;background:#e2efe7}
.course-page a:focus-visible,.course-page input:focus-visible + label {outline:3px solid #00818a;outline-offset:3px}
.course-page .course-intro {padding:clamp(2rem,4.6vw,4.5rem) 0;background:var(--paper-curso)}
.intro-grid {display:grid;align-items:center;grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);gap:clamp(2rem,5.6vw,5rem)}
.edition-line,.invite-label,.preview-switch legend {font:800 .74rem/1.4 Manrope,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.edition-line {display:flex;align-items:center;gap:.7rem;color:#145553}
.edition-line::before {content:"";width:2rem;height:3px;background:#168781}
.edition-line span {color:#768985}
.intro-copy {container-type:inline-size}
.intro-copy h1 {font-size:clamp(2.3rem,12.7cqw,4.65rem);line-height:1.01;letter-spacing:-.07em;margin:.25em 0;color:#102e34;text-wrap:initial}
.intro-copy h1 em {display:block;color:#08726e;font-style:normal}
.intro-lead {font-size:clamp(1rem,1.45vw,1.16rem);line-height:1.65;max-width:44ch;color:#3a5355}
.intro-actions,.invite-actions {display:flex;align-items:center;flex-wrap:wrap;gap:.65rem 1.25rem;margin-top:1.45rem}
.course-page .button.sale-primary,.course-page .offer-card .button.warm,.course-page .closing .button {border-radius:2rem;background:var(--accent);border:1px solid #b5ce47;color:#163029;box-shadow:none;gap:.95rem}
.course-page .button.sale-primary:hover,.course-page .offer-card .button.warm:hover,.course-page .closing .button:hover {background:#e8ff82;color:#102a25;border-color:#718a18}
.sale-primary span {font-size:1.15em}
.course-page .sample-action {display:inline-flex;align-items:center;min-height:44px;color:#155650;font-size:.92rem;font-weight:800;text-decoration:underline;text-underline-offset:.27em;text-decoration-thickness:1px}
.intro-author {display:inline-flex;align-items:center;gap:.7rem;margin-top:1.65rem;color:var(--ink)}
.intro-author img {height:40px;width:40px;padding:2px;object-fit:cover;border-radius:50%;background:#fff;border:1px solid #b6ccc5}
.intro-author strong,.intro-author small {display:block;line-height:1.45}
.intro-author strong {font-size:.9rem}.intro-author small {font-size:.78rem;color:var(--muted)}
.showcase {min-width:0;position:relative;isolation:isolate;overflow:hidden;border-radius:1.3rem;color:white;background:radial-gradient(ellipse at 65% 40%,#197c77 0,#0b4d51 43%,#082d37 95%);box-shadow:0 14px 34px -22px #053a38ad;padding:clamp(1rem,2vw,1.7rem)}
.showcase::before {position:absolute;inset:0;z-index:-1;content:"";background-image:linear-gradient(#c8eee810 1px,transparent 1px),linear-gradient(90deg,#c8eee810 1px,transparent 1px);background-size:2.6rem 2.6rem}
.preview-switch {display:flex;align-items:center;gap:.16rem;flex-wrap:wrap;border:0;padding:0;margin:0;min-width:0}
.preview-switch legend {float:left;margin-right:auto;padding:0 .5rem 0 0;line-height:44px;color:#d4f0e7}
.preview-switch input {position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden}
.preview-switch label {display:inline-grid;place-items:center;min-height:44px;min-width:44px;padding:0 .68rem;border-radius:2rem;font-size:.8rem;font-weight:750;color:#effaf6;cursor:pointer}
.preview-switch label:hover {background:#2a6262}.preview-switch input:checked + label {background:#e3f5de;color:#103c36}
.course-page .preview-switch input:focus-visible + label,.course-page .book-stage a:focus-visible,.course-page .study-invite a:focus-visible {outline-color:#f1ff97}
.book-stage {position:relative;display:grid;place-items:center;min-height:clamp(17rem,27vw,22rem);margin:.7rem 0 0}
.book-stage::before {content:"";z-index:-1;position:absolute;width:70%;aspect-ratio:1.5;border:1px solid #92c8b94d;border-radius:50%;box-shadow:0 0 0 1.5rem #8bc6ae10,0 0 0 3rem #8bc6ae0c;bottom:17%;transform:rotate(-14deg)}
.book-stage figure {width:100%;margin:0;text-align:center}
.book-object {position:relative;width:clamp(10rem,20vw,18.5rem);aspect-ratio:1;margin:1.1rem auto 1.45rem;transform:perspective(900px) rotateY(-15deg) rotateZ(-6deg);filter:drop-shadow(10px 18px 12px #032b37ad)}
.book-object::before {content:"";position:absolute;inset:2% -.34rem -.25rem .36rem;background:repeating-linear-gradient(0deg,#d1dacb,#e8edda 2px,#e8edda 3px);transform:skewY(1deg);border-radius:1%}
.book-object img {position:relative;width:100%;border:1px solid #88b9b6;border-radius:2px 4px 4px 2px}
.book-stage figcaption,.page-view span {font-size:.81rem;font-weight:650;color:#e1f3ed}
.book-stage .page-view {display:none}.page-view a {display:inline-grid;justify-items:center;gap:.55rem}
.page-view img {height:clamp(12rem,20vw,17rem);width:auto;max-width:100%;object-fit:contain;box-shadow:0 8px 22px #04262c99;border-radius:.2rem}
.page-view span {display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:.22em}
.showcase:has(#ver-aula:checked) .cover-view,.showcase:has(#ver-caderno:checked) .cover-view {display:none}
.showcase:has(#ver-aula:checked) .aula-view,.showcase:has(#ver-caderno:checked) .caderno-view {display:block}
.course-page .quick-facts {background:var(--petroleo-fundo);border:0}
.quick-facts dl {padding-block:clamp(1.25rem,2.3vw,2rem)}
.quick-facts dl div + div {border-color:#486463}
.quick-facts dt {color:var(--accent);font-size:clamp(2rem,3.8vw,3.3rem)}
.quick-facts dd {color:#ecf4ec}
.course-page .sample-section {background:#fffef9}
.course-page .sample-card {border:1px solid var(--line);border-radius:1rem;box-shadow:0 8px 22px -18px #07393e80}
.course-page .sample-card img {object-fit:cover;border-bottom:1px solid var(--line)}
.course-page .sample-card a.button {background:var(--petroleo)}
.course-page #programa,.course-page .course-articles {background:#edf4ed}
.course-page .disclosures summary {color:var(--petroleo)}
.course-page .disclosures summary:hover {background:#e4f0e9}
.course-page .program details[open] {border-color:#7fada7}
.course-page .teacher-section {background:var(--paper-curso)}
.course-page .teacher-section .portrait,.professor-page .portrait {border-radius:50%;border:6px solid #fff;box-shadow:0 0 0 1px #bad0c9}
.course-page #oferta,.course-page .catalog-hero,.professor-page .hero {background:radial-gradient(ellipse at 90% 18%,#166e6d,transparent 60%),#092f35}
.course-page .offer-card {border-color:var(--accent);border-radius:1.2rem;box-shadow:0 18px 40px #04272866}
.course-page .course-articles .library-card {border:1px solid var(--line);border-radius:.9rem;overflow:hidden;background:#fffef9}
.course-page .course-articles .library-card a {display:block;padding:0 0 1.2rem}
.course-page .course-articles .library-card img {width:100%;height:8rem;object-fit:contain;background:#f6f1e6;padding:.65rem}
.course-page .course-articles .library-card :is(h3,p) {margin-inline:1rem}
.course-page .course-articles .library-card .label {margin-top:1rem}
.course-page .closing {background:#e1ecd9}
.catalog-invite {padding-bottom:3rem}
.course-page #oferta.study-invite {background:radial-gradient(ellipse at 100% 0%,#186863,transparent 68%),#0a3338;color:white;margin:2.25rem 0;border-radius:1rem;border:1px solid #235650;border-top:4px solid var(--accent);overflow:hidden}
.study-invite .invite-inner {padding:clamp(1.25rem,3vw,2.25rem)}
.course-page .study-invite .invite-label {margin:0;color:#d8f088;font-size:.71rem}
.course-page .study-invite h2#convite-curso {font:800 clamp(1.55rem,3vw,2.35rem)/1.12 Manrope,system-ui,sans-serif;letter-spacing:-.045em;color:#fff;margin:.48rem 0 .8rem}
.course-page .study-invite .invite-copy,.course-page .study-invite .invite-proof,.course-page .study-invite .invite-terms {color:#f1faf5;font:500 1rem/1.6 Manrope,system-ui,sans-serif;margin:0;max-width:59ch}
.course-page .study-invite .invite-proof {color:#d6e8e2;margin-top:.6rem;font-size:.93rem}
.study-invite .invite-actions {margin-top:1rem}
.course-page .study-invite .sample-action {color:#e4f5e9}
.course-page .study-invite .invite-terms {margin-top:.55rem;color:#c0d9d2;font-size:.8rem}
@media(max-width:920px) {
  .preview-switch legend {float:none;margin:0;line-height:1.5}
  .intro-grid {gap:1.6rem}
}
@media(max-width:680px) {
  .intro-grid {grid-template-columns:minmax(0,1fr)}
  .intro-copy h1 {font-size:clamp(2.25rem,12.25cqw,4.1rem)}
  .intro-actions {gap:.4rem 1rem;margin-top:1rem}
  .intro-author {margin-top:.9rem}
  .book-stage {min-height:15.5rem;margin-top:0}
  .book-object {width:min(53vw,12.8rem)}
  .preview-switch legend {float:none;font-size:.7rem;letter-spacing:.09em;line-height:1.5;margin-bottom:.25rem}
  .preview-switch label {padding-inline:.5rem}
  .quick-facts dl {row-gap:.85rem}
  #oferta .offer-card {order:-1}
}
@media(max-width:370px) {
  .preview-switch legend {float:none;line-height:1.5}
  .course-page .intro-actions .button {padding-inline:1rem}
}
@media(forced-colors:active) {
  .preview-switch input:checked + label {outline:2px solid Highlight}
}

.course-page .offer-card .micro a,.course-page .text-link {background:#e2efe9;color:#124e4b}
.course-page .offer-card .micro a:hover,.course-page .text-link:hover {background:#cbe1d6;color:#083b37}

/* Revisão editorial e descoberta de temas. */
.intro-copy h1#curso-titulo {font-size:clamp(2rem,10cqw,3.65rem)}
.course-page .definicao {font:600 clamp(1rem,1.35vw,1.16rem)/1.55 Manrope,system-ui,sans-serif;color:#193f43;max-width:66ch;margin:.8rem 0}
.course-page .revisao-editorial {font:500 .85rem/1.5 Manrope,system-ui,sans-serif;color:#47615e;margin:.65rem 0}
.sumario-artigo {margin:.9rem 0;max-width:42rem}
.sumario-artigo summary,#publico-curso summary {display:list-item;padding:.65rem .5rem;min-height:44px;font:700 1rem/1.5 Manrope,system-ui,sans-serif;color:#164d4f;cursor:pointer}
.sumario-artigo ol,.guias-juncao ul {padding-inline-start:1.5rem}
.sumario-artigo a,.guias-juncao a,.sequencia-artigos a {display:inline-flex;align-items:center;min-height:44px;color:#125853;text-decoration:underline;text-underline-offset:.2em}
.sequencia-artigos {display:flex;flex-wrap:wrap;justify-content:space-between;gap:.65rem;margin:1.4rem auto;padding:.75rem 1rem;max-width:52rem;border-block:1px solid #bbceca}
.publico-curso {background:#f7faf5}.publico-curso h2,.publico-curso h3 {margin-bottom:.8rem}
.estatisticas {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:.85rem;align-items:start}
#oferta .nota-liberacao {margin-bottom:.65rem;color:#243e41}
#oferta .direito-reembolso {margin:.6rem 0 1rem}#oferta .direito-reembolso a {display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;color:#094f49;font-weight:750}

.guia-juncao pre {color:#fafbf5;background:#183e3f;overflow:auto;padding:1rem}
.guia-juncao table {width:100%}
.course-page .guia-juncao {padding-inline:1rem}

.intro-entrega{font-size:.94rem;max-width:52ch;line-height:1.55}.intro-entrega a{text-underline-offset:.18em}.guia-juncao{min-width:0}.guia-juncao pre{max-width:100%;overflow:auto}.link-feed a{display:inline-flex;align-items:center;min-height:44px}

.site-footer .fornecedor-publico a{color:#e7eefc;display:inline-flex;align-items:center;min-height:44px}.intro-entrega a,.publico-curso p a,.revisao-editorial a,.fornecedor-publico a,.guia-juncao p a{ text-decoration:underline;text-underline-offset:.17em }

#video-do-curso{scroll-margin-top:5rem}
.book-stage .reel-view{display:none}
.showcase:has(#ver-video:checked) .reel-view{display:grid;justify-items:center;gap:.3rem}
.showcase:has(#ver-video:checked) .cover-view{display:none}
.reel-view video{display:block;width:min(100%,clamp(11rem,27vh,16rem));height:auto;aspect-ratio:9/16;object-fit:contain;background:#0b1326;border-radius:.55rem}
.reel-view .reel-amostra{display:inline-flex;align-items:center;min-height:44px;color:white;text-decoration:underline;text-underline-offset:.18em}
@media(max-width:680px){.reel-view video{width:min(100%,17rem)}}

.guia-juncao .comparar-sql {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr));gap:1rem}
.guia-juncao .comparar-sql section {min-width:0}
.guia-juncao pre {max-width:100%;overflow-x:auto}
.guia-juncao .comparar-sql pre {background:#102c36;color:#f7faf9;padding:1rem;border-radius:.6rem}
.guia-juncao .comparar-sql pre span {color:inherit}
.guia-juncao .comparar-sql pre .kw {color:#bce2ff;font-weight:700}
.guia-juncao p,.exercicio-amostra p {max-width:75ch}
.preview-switch [role=tab]:focus-visible {outline:3px solid #f1ff97;outline-offset:2px}

.guia-juncao .comparar-sql pre .sql-tabela {color:#a6e8cb}
.guia-juncao .comparar-sql pre .sql-coluna {color:#f4ecdd}
.guia-juncao .comparar-sql pre .val {color:#ffd392}
.guia-juncao .comparar-sql pre .sql-null {color:#edc5fa}
