/* Just a little better: o que todas as páginas dividem.
   Cores, fontes, barra do topo, rodapé, botões, etiquetas, formulários e os blocos que se repetem.
   O que é só da Home fica em home.css. */

@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600.woff2) format("woff2"); }

:root {
  --paper: #e8efe2;
  --field: #f4f8ef;           /* branco da marca: fundo do campo de e-mail */
  --ink: #0b1c21;
  --soft: #2a656c;            /* petróleo: texto secundário, 5,6:1 sobre o papel */
  --yellow: #ffd23c;
  --error: #9a2617;           /* fora da paleta: só mensagens de erro */
  --rule: rgba(11, 28, 33, .16);
  --dim: #a3b8b0;             /* texto secundário sobre o escuro, 8,4:1 */
  --rule-dark: rgba(232, 239, 226, .14);
  --m: 20px;                  /* margem lateral */
  --bar: 92px;                /* altura da barra do topo */
  --gap: 76px;                /* respiro vertical das seções */
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--paper); color: var(--ink); font: 400 16px/1.6 Poppins, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
canvas, img { display: block; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* link para pular a barra: só aparece quando recebe o foco do teclado */
.skip { position: absolute; left: 8px; top: -80px; z-index: 20; padding: 12px 18px; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; }

/* ---------- barra do topo (escura) ---------- */
.bar { position: relative; z-index: 10; background: var(--ink); color: var(--paper); }
.bar :focus-visible, .foot :focus-visible { outline-color: var(--yellow); }
.logo { display: inline-flex; align-items: center; height: 48px; padding: 0 var(--m); vertical-align: top; }
.logo img { height: 34px; width: auto; }
.logo:focus-visible { outline-offset: -3px; }                  /* para dentro: no canto da tela o contorno de fora seria cortado */
.nav { display: flex; gap: 4px; padding: 0 calc(var(--m) - 12px); border-top: 1px solid var(--rule-dark); }
.nav a { display: flex; align-items: center; height: 44px; padding: 0 12px; font-size: 14px; font-weight: 500; color: var(--dim); text-decoration: none; }
.nav a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 6px; }
.nav a[aria-current] { color: var(--paper); }                  /* página em que a pessoa está */

/* ---------- peças comuns ---------- */
.wrap { margin: 0 var(--m); }
.sec { padding: var(--gap) 0; }
.sec.ruled { padding-top: 0; }                                  /* seção que abre com um fio */
.sec.tight { padding-top: 0; }                                  /* continua a seção de cima, sem fio */
.line { height: 1px; background: var(--ink); transform-origin: left center; }   /* fio de nanquim que se desenha na rolagem */
.sec.ruled > .wrap > .line { margin-bottom: var(--gap); }
.eyebrow { display: block; font-size: 14px; font-weight: 500; color: var(--soft); margin-bottom: 12px; }
.eyebrow .tag { margin-left: 8px; }
h2 { font-size: 30px; line-height: 1.12; font-weight: 600; letter-spacing: -.022em; text-wrap: balance; }
h3, .h3 { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
h1 span, h2 span { display: block; }
.btn { display: flex; align-items: center; justify-content: center; height: 54px; padding: 0 26px; background: var(--yellow); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 8px; font: 600 17px/1 Poppins, sans-serif; text-decoration: none; cursor: pointer; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn.quiet { background: transparent; }                       /* botão do formulário: peso menor, sem amarelo */
.btn.quiet:hover { background: var(--ink); color: var(--paper); transform: none; box-shadow: none; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: default; }
.btn[aria-disabled="true"]:hover { transform: none; box-shadow: none; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 13px; font-weight: 500; line-height: 1.5; white-space: nowrap; border: 1px solid var(--rule); color: var(--soft); }
.tag.now { background: var(--yellow); color: var(--ink); border: 1.5px solid var(--ink); }
.text-link { font-weight: 500; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.text-link:hover { text-decoration-thickness: 3px; }
.ph { text-decoration: underline dotted var(--soft); text-underline-offset: 5px; }   /* marcador ainda sem conteúdo */
.grid { position: absolute; inset: 0 var(--m); display: grid; grid-template-columns: repeat(4, 1fr); pointer-events: none; }   /* grade de linhas finas */
.grid i { border-left: 1px solid var(--rule); }
.grid i:last-child { border-right: 1px solid var(--rule); }
.grid i:nth-child(n+5) { display: none; }
.lede { margin-top: 16px; color: var(--soft); max-width: 44ch; }
.note { margin-top: 12px; font-size: 14px; color: var(--soft); }
.soft { color: var(--soft); }

/* ---------- cabeça das páginas internas: papel com a grade, título, uma linha de apoio e o fio do chão ---------- */
.head { position: relative; }
.head-body { position: relative; z-index: 1; margin: 0 var(--m); padding: 44px 0 36px; background: var(--paper); }
.head h1 { font-size: 32px; line-height: 1.1; font-weight: 600; letter-spacing: -.022em; text-wrap: balance; }
.head .lede { max-width: 52ch; }
.head .btn { margin-top: 22px; }
.head-art { position: relative; z-index: 1; margin: 0 var(--m); padding-bottom: 8px; background: var(--paper); }   /* capa do livro na cabeça da página */
.head-art img { width: 168px; height: auto; border: 1.5px solid var(--ink); border-radius: 4px; box-shadow: 6px 6px 0 var(--ink); }
.head-foot { height: 56px; }                                   /* faixa em que só a grade aparece, acima do fio */
.head > .line { position: relative; margin: 0 var(--m); }
.draft { display: inline-block; margin-bottom: 20px; padding: 8px 14px; background: var(--yellow); border: 1.5px solid var(--ink); border-radius: 6px; font-size: 15px; font-weight: 600; }   /* aviso das páginas legais em rascunho */

/* ---------- passos e colunas de texto ---------- */
.steps { margin-top: 44px; display: grid; gap: 36px; }
.step .num { display: block; margin: 16px 0 10px; font-size: 14px; font-weight: 500; color: var(--soft); }
.step p { margin-top: 10px; max-width: 46ch; }
.step .line + h3 { margin-top: 22px; }                         /* passo sem número */
.sec > .wrap > .closing:first-child, .col-b > .offers:first-child { margin-top: 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* só para leitor de tela */
.closing { margin-top: 56px; font-size: 20px; line-height: 1.4; font-weight: 500; max-width: 30ch; }

/* ---------- cartão de curso, linhas de oferta e lista de temas ---------- */
.feature { margin-top: 36px; }
.feature > h3, .feature > .h3 { font-size: 28px; letter-spacing: -.02em; margin-top: 22px; }
.feature > p { margin-top: 10px; max-width: 46ch; }
.offers { margin-top: 26px; }
.offers li, .offers > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 16px 0; border-top: 1px solid var(--rule); }
.offers li:last-child, .offers > div:last-child { border-bottom: 1px solid var(--rule); }
.offers b, .offers dt { font-weight: 600; flex: 0 0 100%; }
.offers span.what, .offers dd { flex: 1; color: var(--soft); }
.feature .small { margin-top: 22px; color: var(--soft); }
.feature .btn { margin-top: 26px; }
.more { margin-top: 72px; }
.more-head { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.themes { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.themes li { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 17px; font-weight: 500; }
.more > p { margin-top: 20px; color: var(--soft); }
.rows { border-top: 1px solid var(--rule); }                   /* lista simples, um item por linha */
.rows li { padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 17px; font-weight: 500; }
.rows + p { margin-top: 22px; color: var(--soft); max-width: 46ch; }

/* ---------- duas colunas: título à esquerda, conteúdo à direita (uma embaixo da outra no celular) ---------- */
.col-b { margin-top: 28px; }
.col-b > p + p { margin-top: 16px; }
.col-b > p { max-width: 56ch; }
.col-a > p { margin-top: 14px; max-width: 40ch; }
.col-b > .small { margin-top: 22px; color: var(--soft); }
.col-b > .btn { margin-top: 26px; }
.col-b > .themes:first-child, .col-a > .more-head { margin-top: 0; }
.col-b > h3 { margin-top: 36px; }
.col-b > h3:first-child { margin-top: 0; }
.col-b > h3 + p { margin-top: 10px; }

/* ---------- blocos lado a lado com fio em cima ---------- */
.ways { margin-top: 36px; display: grid; gap: 0; }
.way { padding: 24px 0 28px; border-top: 1px solid var(--rule); }
.way:last-child { border-bottom: 1px solid var(--rule); }
.way h3 { display: flex; align-items: center; gap: 12px; }
.way p { margin-top: 8px; max-width: 40ch; }
.way .text-link { display: inline-block; margin-top: 14px; }
.ways.plain { margin-top: 0; }
.ways.plain .way p { max-width: 46ch; }
.ways.plain .way p + p { margin-top: 14px; }

/* ---------- perguntas e respostas ---------- */
.faq > div { padding: 22px 0 24px; border-top: 1px solid var(--rule); }
.faq > div:last-child { border-bottom: 1px solid var(--rule); }
.faq p { margin-top: 8px; max-width: 58ch; }

/* ---------- espaço do vídeo (16:9) ---------- */
.video { margin-top: 22px; aspect-ratio: 16 / 9; max-width: 960px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; text-align: center;
  border: 1.5px solid var(--ink); border-radius: 8px; background: var(--field); color: var(--soft); }
.video iframe { width: 100%; height: 100%; border: 0; }
.video.on { padding: 0; overflow: hidden; background: var(--ink); }
.video-play { position: relative; display: block; width: 100%; height: 100%; }
.video-play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play::after { content: ""; position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; border: 1.5px solid var(--ink);
  background: var(--yellow, #ffd23c) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%230b1c21'/%3E%3C/svg%3E") center / 28px no-repeat; }
.video-play span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- blocos de texto que aparecem conforme a rolagem (site.js põe .rv só no que está abaixo da tela) ---------- */
.js .rv { opacity: 0; translate: 0 16px; }
.js .rv.in { opacity: 1; translate: 0 0; transition: opacity .7s ease, translate .7s ease; transition-delay: var(--rv-d, 0s); }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; translate: 0 0; transition: none; } }

/* ---------- oferta: o que vem, como chega e reembolso antes do botão ---------- */
.offer { padding: 26px 22px 28px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--field); }
.offer > img { width: 120px; height: auto; margin-bottom: 22px; border: 1.5px solid var(--ink); border-radius: 4px; }   /* capa do livro */
.offer .price { font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.offer .offers { margin-top: 22px; }
.offer .btn { margin-top: 26px; }
.offer .note + .note { margin-top: 6px; }

/* ---------- chamada final e páginas de uma tela só ---------- */
.cta { padding: var(--gap) 0; }
.cta h2 { font-size: clamp(28px, 8.4vw, 38px); line-height: 1.08; letter-spacing: -.03em; max-width: 16em; }
.cta .btn { margin-top: 28px; }
.simple { min-height: 62svh; display: flex; flex-direction: column; justify-content: center; padding: var(--gap) 0 0; }
.simple h1 { font-size: clamp(34px, 10vw, 44px); line-height: 1.08; font-weight: 600; letter-spacing: -.03em; }
.simple .tag { margin-top: 18px; }
.simple p { margin-top: 18px; color: var(--soft); max-width: 34ch; }
.simple .text-link { display: inline-block; margin-top: 22px; }
.simple .floor { margin-top: 56px; }
.simple .floor img { height: 126px; width: auto; margin: 0 0 -5px 62%; }
.simple.bare { padding-bottom: var(--gap); }

/* ---------- vagas ---------- */

/* ---------- texto corrido (páginas legais) ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 48px; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 12px; }
.prose b { font-weight: 600; }

/* ---------- desenhos ligados à rolagem ---------- */
.catwalk { position: relative; width: 100%; height: 120px; margin-top: 56px; margin-bottom: -6px; }
.duo { position: relative; width: 100%; height: 240px; margin-bottom: -7px; }   /* os pés cobrem o fio do chão */
.who-text { margin-top: 28px; }
.who-text p { margin-top: 16px; max-width: 52ch; }
.who-text .text-link { display: inline-block; margin-top: 22px; }
/* sem JavaScript: uma imagem fixa de cada desenho, já pintado */
html:not(.js) canvas { display: none; }
html:not(.js) noscript { display: contents; }
.still-cat { height: 126px; width: auto; margin: 56px 0 -5px 52%; }
.still-duo { height: 215px; width: auto; margin: 0 auto -8px; }

/* ---------- formulários ---------- */
.free-text { margin-top: 16px; max-width: 44ch; }
.free-text b { font-weight: 600; }
.form { margin-top: 32px; max-width: 520px; }
.form label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.form input, .form textarea, .form select { display: block; width: 100%; height: 54px; padding: 0 16px; background: var(--field); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 8px; font: 400 17px/1 Poppins, sans-serif; }
.form textarea { height: 150px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.form input::placeholder { color: #4a6f70; opacity: 1; }
.form input:focus-visible, .form textarea:focus-visible, .form select:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.form [aria-invalid="true"] { border: 2.5px solid var(--error); }
.field + .field { margin-top: 24px; }
.hint { margin: -4px 0 8px; font-size: 14px; color: var(--soft); }
.err { display: none; margin-top: 8px; font-size: 15px; font-weight: 500; color: var(--error); }
.err.on { display: block; }
.form .btn { margin-top: 16px; width: 100%; }
.form .field + .btn { margin-top: 28px; }
.consent { margin-top: 14px; font-size: 14px; line-height: 1.55; color: var(--soft); }
.done { display: none; margin-top: 32px; max-width: 520px; padding: 22px 0 0; border-top: 1px solid var(--ink); }
.done p { margin-top: 10px; }
.done { scroll-margin-top: 40px; }                               /* ao receber o foco, a mensagem não fica colada na barra */
.sent .form { display: none; }
.sent .done { display: block; }
.js-form:not(.ready) .form { display: none; }                   /* o formulário só aparece quando o script dele carregou; sem ele, fica o aviso */
.form-off { margin-top: 32px; max-width: 520px; color: var(--soft); }
.ready .form-off { display: none; }
.after-form { margin-top: 28px; color: var(--soft); max-width: 520px; }
.col-b > .js-form > .form, .col-b > .js-form > .form-off, .col-b > .js-form > .done { margin-top: 0; }

/* ---------- rodapé (escuro, fecha a página como a barra abre) ---------- */
.foot { background: var(--ink); color: var(--paper); padding: 56px 0 40px; margin-top: 24px; }
.foot .logo { padding: 0; }
.cols { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; }
.cols h2 { font-size: 14px; line-height: 1.25; font-weight: 500; letter-spacing: 0; color: var(--dim); margin-bottom: 6px; }
.cols a, .cols span { display: block; padding: 7px 0; font-size: 16px; text-decoration: none; }
.cols span { color: var(--dim); }
.cols a:hover { text-decoration: underline; text-underline-offset: 5px; }
.disclaimer { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rule-dark); color: var(--dim); max-width: 78ch; }
.rights { margin-top: 20px; font-size: 14px; color: var(--dim); }

/* ---------- computador ---------- */
@media (min-width: 900px) {
  :root { --m: 48px; --bar: 64px; --gap: 128px; }
  html { scroll-padding-top: var(--bar); }                     /* o foco do teclado não fica escondido atrás da barra fixa */
  body { font-size: 17px; }
  .bar { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; height: var(--bar); }   /* fixa só no computador */
  .logo img { height: 40px; }
  .nav { border-top: 0; gap: 8px; padding: 0 calc(var(--m) - 16px) 0 0; }
  .nav a { padding: 0 16px; font-size: 15px; }
  h2 { font-size: 46px; line-height: 1.08; letter-spacing: -.028em; }
  h3, .h3 { font-size: 22px; }
  .eyebrow { font-size: 15px; margin-bottom: 16px; }
  .cols6 { display: grid; grid-template-columns: repeat(6, 1fr); }
  .sec > .wrap, .foot > .wrap, .cta > .wrap, .simple > .wrap > .simple-text { padding: 0 28px; }
  .grid { grid-template-columns: repeat(6, 1fr); }
  .grid i:nth-child(n+5) { display: block; }
  .grid i:nth-child(2), .grid i:nth-child(3) { border-left-color: transparent; }
  .lede { margin-top: 26px; font-size: 18px; }
  .hero-copy .btn, .feature .btn, .head .btn, .cta .btn, .offer .btn, .col-b > .btn { display: inline-flex; margin-top: 34px; height: 58px; padding: 0 30px; }
  .note { margin-top: 16px; font-size: 15px; }

  .head-body { margin: 0 calc(var(--m) + 1px); padding: 104px 40px 72px 28px; width: calc((100% - 2 * var(--m)) * 4 / 6 - 2px); }
  .head-body.wide { width: auto; padding-right: 28px; }
  .head h1 { font-size: clamp(40px, 4vw, 58px); line-height: 1.08; letter-spacing: -.028em; max-width: 17em; }
  .head .grid i:nth-child(4) { border-left-color: transparent; }
  .head-art { position: absolute; top: 0; bottom: 72px; right: calc(var(--m) + 1px); width: calc((100% - 2 * var(--m)) * 2 / 6 - 2px); margin: 0; padding: 0; background: none; display: flex; align-items: center; justify-content: center; }
  .head-art img { width: auto; height: min(72%, 420px); }
  .head-foot { height: 72px; }
  .draft { margin-bottom: 28px; }

  .steps { margin-top: 72px; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
  .step .num { margin: 22px 0 14px; font-size: 15px; }
  .closing { margin-top: 88px; font-size: 26px; }

  .courses-head, .col-a { grid-column: 1 / 3; }
  .col-a { padding-right: 40px; }
  .feature { grid-column: 3 / 7; margin-top: 0; }
  .col-b { grid-column: 3 / 7; margin-top: 0; }
  .col-b > h3 { margin-top: 48px; }
  .feature > h3, .feature > .h3 { font-size: 36px; margin-top: 30px; }
  .offers li, .offers > div { flex-wrap: nowrap; padding: 18px 0; }
  .offers b, .offers dt { flex: 0 0 150px; }
  .more { grid-column: 3 / 7; margin-top: 96px; }
  .themes { grid-template-columns: repeat(3, 1fr); }
  .themes li { font-size: 19px; padding: 20px 0; }
  .rows li { font-size: 19px; padding: 20px 0; }

  .ways { margin-top: 64px; grid-template-columns: 1fr 1fr; gap: 0 48px; }
  .way { padding: 30px 0 34px; border-bottom: 1px solid var(--rule); }
  .ways.plain { margin-top: 0; }

  .faq > div { padding: 28px 0 30px; }
  .offer { padding: 36px 36px 40px; }
  .offer { display: grid; grid-template-columns: 150px 1fr; gap: 0 36px; align-items: start; }
  .offer > img { width: 150px; margin: 0; }
  .offer .price { font-size: 36px; }
  .cta > .wrap > * { margin-left: 0; }
  .cta h2 { font-size: clamp(48px, 5vw, 76px); }
  .simple h1 { font-size: clamp(64px, 6.6vw, 104px); }
  .simple p { font-size: 20px; margin-top: 28px; }
  .simple .floor { margin-top: 80px; }
  .simple .floor img { height: 157px; margin: 0 0 -6px 58%; }
  .prose h2 { margin-top: 64px; font-size: 26px; }
  .prose-col { grid-column: 1 / 5; }

  .catwalk { height: 150px; margin-top: 80px; }
  .who-draw { grid-column: 1 / 4; align-self: end; }
  .duo { height: 400px; }
  .who-text { grid-column: 4 / 7; margin-top: 0; }
  .who-text p { margin-top: 20px; }
  .who-text h2 { margin-bottom: 30px; }
  .still-cat { height: 157px; margin: 80px 0 -6px 58%; }
  .still-duo { height: 365px; margin-bottom: -14px; }

  .free-head { grid-column: 1 / 4; padding-right: 48px; }
  .free-form, .free-side { grid-column: 4 / 7; }
  .form, .done, .form-off { margin-top: 8px; }
  .form .btn { width: auto; display: inline-flex; }

  .foot { padding: 80px 0 48px; }
  .cols { grid-template-columns: repeat(4, 1fr); margin-top: 40px; }
  .disclaimer { margin-top: 56px; font-size: 16px; }
}

/* ---------- cabeça com o vídeo ao lado do título (página do curso) ---------- */
.head.split .head-art { padding-bottom: 0; }
.head.split .video { margin-top: 0; }
.head.split .head-art img { width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
@media (min-width: 900px) {
  .head.split .head-body { width: calc((100% - 2 * var(--m)) * 3 / 6 - 2px); padding-right: 36px; }
  .head.split .head-art { width: calc((100% - 2 * var(--m)) * 3 / 6 - 2px); padding: 0 28px 0 12px; }
  .head.split .head-art .video { width: 100%; }
  .head.split .grid i:nth-child(4) { border-left-color: var(--rule); }
  .head.split h1 { font-size: clamp(36px, 3.5vw, 52px); }
}
@media (min-width: 900px) { .video-play::after { width: 76px; height: 76px; margin: -38px 0 0 -38px; background-size: 34px; } }

/* ---------- duas ofertas na mesma página (curso e só o livro) ---------- */
.offer + .offer { margin-top: 20px; }
@media (min-width: 900px) { .offer.solo { display: block; } }

/* ---------- Home: a ideia da marca (quatro frentes) ---------- */
.why-text { margin-top: 18px; max-width: 54ch; font-size: 18px; line-height: 1.6; color: var(--soft); }
@media (min-width: 900px) {
  .why-text { margin-top: 26px; font-size: 20px; }
  .steps.four { grid-template-columns: repeat(2, 1fr); gap: 56px 48px; }
}
@media (min-width: 1200px) { .steps.four { grid-template-columns: repeat(4, 1fr); gap: 0 40px; } }

/* ---------- faixa em degradê: o verde-água da marca some no papel em cima e embaixo (classe .band numa seção) ---------- */
.band { --band: rgba(121, 187, 163, .26); background: linear-gradient(to bottom, rgba(121, 187, 163, 0) 0, var(--band) 120px, var(--band) calc(100% - 120px), rgba(121, 187, 163, 0) 100%); }
.band.ruled { padding-bottom: var(--gap); }
@media (min-width: 900px) { .band { background: linear-gradient(to bottom, rgba(121, 187, 163, 0) 0, var(--band) 180px, var(--band) calc(100% - 180px), rgba(121, 187, 163, 0) 100%); } }

/* ---------- amarelo nos títulos e nos links ----------
   Letra amarela sobre o papel claro não dá leitura (contraste 1,4:1), então o amarelo entra como traço de marca-texto
   atrás da palavra, com a letra em nanquim. Nos links de texto, o mesmo traço; nos links dentro de um parágrafo, sublinhado amarelo. */
.hl { color: inherit; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1' y1='0' y2='0'%3E%3Cstop offset='0' stop-color='%23ffd23c'/%3E%3Cstop offset='.74' stop-color='%23ffd23c'/%3E%3Cstop offset='.93' stop-color='%23ffd23c' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='%23ffd23c' stop-opacity='.12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url%28%23g%29' d='M2 27 C24 21 52 24 86 20 S150 17 176 14 C186 13 194 14 199 12 C197 26 200 40 198 54 C197 64 200 74 197 83 C170 86 140 84 108 88 S44 89 22 92 C14 93 8 92 3 94 C5 80 1 66 3 52 C4 44 1 36 2 27 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; padding: 0 .16em; margin: 0 -.16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }   /* grifo de marca-texto desenhado: levemente torto, bordas irregulares e tinta falhando no fim */
main .text-link { text-decoration: none; font-weight: 600; background: var(--yellow); padding: 3px 8px; margin: 0 -8px; border-radius: 5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }   /* grifo cobrindo a frase toda, cantos levemente arredondados */
main .text-link:hover { background: var(--soft); color: #fff; }
main a:not(.btn):not(.video-play):not(.text-link) { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
main a:not(.btn):not(.video-play):not(.text-link):hover { background: var(--soft); color: #fff; text-decoration-color: var(--soft); border-radius: 4px; }

/* ---------- capa do curso (página Courses) ---------- */
.course-cover { display: block; margin-bottom: 26px; max-width: 720px; border: 1.5px solid var(--ink); border-radius: 8px; overflow: hidden; background: var(--paper); }
.course-cover img { display: block; width: 100%; height: auto; }
.col-b > .text-link { display: inline-block; margin-top: 22px; }

/* ---------- seletor de idioma (barra do topo): no canto, só o idioma atual; ao clicar, abre a lista com todos ---------- */
.langs { position: absolute; top: 9px; right: var(--m); }
.lang-menu { position: relative; }
.lang-menu summary { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border: 1px solid var(--rule-dark); border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--dim); white-space: nowrap; list-style: none; cursor: pointer; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: ""; width: 6px; height: 6px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang-menu summary:hover, .lang-menu[open] summary { color: var(--paper); border-color: var(--dim); }
.flag { width: 18px; height: 12.6px; border-radius: 2px; flex: none; }
.flag.none { display: inline-block; }                          /* inglês: sem bandeira, só guarda o lugar para alinhar os nomes */
.lang-list { position: absolute; right: 0; top: 38px; z-index: 30; min-width: 190px; padding: 6px; background: var(--ink); border: 1px solid var(--rule-dark); border-radius: 12px; box-shadow: 0 10px 24px rgba(0, 0, 0, .28); }
.lang-list a { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--dim); text-decoration: none; white-space: nowrap; }
.lang-list a:hover { color: var(--paper); background: rgba(232, 239, 226, .08); }
.lang-list a[aria-current] { color: var(--paper); font-weight: 600; }
.lang-list a[aria-current]::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
@media (min-width: 900px) {
  .bar .nav { margin-left: auto; }
  .langs { position: static; margin-right: var(--m); }
}

/* menu no celular: os nomes traduzidos são mais longos; cada item fica numa linha só e, se faltar largura, o menu rola de lado */
@media (max-width: 899px) {
  .nav { overflow-x: auto; scrollbar-width: none; }
  .nav a { padding: 0 9px; white-space: nowrap; }
  .nav { padding: 0 calc(var(--m) - 9px); }
}
