/* ===== Portal do Crochê — visual inspirado em streaming ===== */
:root {
  --fundo: #141414;
  --fundo-2: #1f1f1f;
  --fundo-3: #2a2a2a;
  --linha: #333;
  --texto: #ffffff;
  --texto-2: #b3b3b3;
  --texto-3: #808080;
  --vermelho: #e50914;
  --vermelho-2: #f40612;
  --verde: #46d369;
  --raio: 6px;
  --topbar-h: 68px;
  --bottom-h: 62px;
  --margem: 4%;
  --bs-body-bg: var(--fundo);
  --bs-body-color: var(--texto);
  --bs-body-font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}
@media (max-width: 991px) { :root { --topbar-h: 56px; --margem: 16px; } }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--fundo); color: var(--texto); padding-bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom)); overflow-x: hidden; }
@media (min-width: 992px) { body { padding-bottom: 0; } }
a { color: inherit; }
main { min-height: 70vh; outline: none; }
.display { font-family: "Bebas Neue", Impact, sans-serif; letter-spacing: .5px; font-weight: 400; line-height: .95; }
.vermelho { color: var(--vermelho); }

/* ----- barra superior ----- */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; height: var(--topbar-h); display: flex; align-items: center;
  gap: 2rem; padding: 0 var(--margem); background: linear-gradient(180deg, rgba(0,0,0,.8) 10%, transparent); transition: background .4s; }
.topbar.solida { background: var(--fundo); }
.logo { text-decoration: none; flex: 0 0 auto; display: flex; align-items: center; }
.logo-img { height: 38px; width: auto; display: block; }
@media (max-width: 991px) { .logo-img { height: 30px; } }
.logo-rodape { height: 34px; opacity: .9; }
.oferta-corpo .logo-img { height: 30px; }
.marca-imp-img { height: 9mm; width: auto; margin-bottom: 1mm; }
.logo-nome { font-family: "Bebas Neue", Impact, sans-serif; color: var(--vermelho); font-size: 2rem; letter-spacing: 1px; line-height: 1; }
@media (max-width: 991px) { .logo-nome { font-size: 1.55rem; } }
.menu-topo { gap: 1.3rem; }
.menu-topo a { color: #e5e5e5; text-decoration: none; font-size: .9rem; transition: color .3s; }
.menu-topo a:hover { color: #b3b3b3; }
.menu-topo a.ativo { color: #fff; font-weight: 700; }
.topo-direita { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.busca-topo { position: relative; align-items: center; }
.busca-topo i { position: absolute; left: 10px; color: #fff; }
.busca-topo input { width: 34px; padding: .4rem .4rem .4rem 34px; background: transparent; border: 1px solid transparent; color: #fff;
  font-size: .88rem; transition: width .35s, background .35s, border-color .35s; cursor: pointer; outline: none; }
.busca-topo input:focus, .busca-topo input:not(:placeholder-shown) { width: 250px; background: rgba(0,0,0,.85); border-color: #fff; cursor: text; }
.icone-topo { color: #fff; font-size: 1.3rem; }
.avatar-topo { width: 32px; height: 32px; border-radius: 4px; background: linear-gradient(135deg, var(--vermelho), #b20710); display: grid;
  place-items: center; color: #fff; text-decoration: none; font-size: 1.1rem; }

.pilulas { position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 1029; display: flex; gap: .5rem; padding: .35rem var(--margem) .6rem;
  background: linear-gradient(180deg, rgba(0,0,0,.55), transparent); transition: background .4s, transform .3s; }
.pilulas.solida { background: var(--fundo); }
.pilulas.oculta { transform: translateY(-120%); }
.pilulas a { border: 1px solid rgba(255,255,255,.55); border-radius: 18px; padding: .22rem .85rem; font-size: .82rem; text-decoration: none; color: #fff; white-space: nowrap; }
.pilulas a.ativo { background: #fff; color: #000; border-color: #fff; font-weight: 600; }

/* ----- navegação inferior ----- */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030; display: flex;
  height: calc(var(--bottom-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: rgba(20,20,20,.97); border-top: 1px solid #222; backdrop-filter: blur(10px); }
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: #808080; font-size: .64rem; }
.bottom-nav a i { font-size: 1.3rem; }
.bottom-nav a.ativo { color: #fff; }

/* ----- billboard (destaque) ----- */
.billboard { position: relative; height: 92vh; min-height: 560px; max-height: 960px; overflow: hidden; margin-bottom: -9vw; }
.billboard-img { position: absolute; inset: 0; background-size: cover; background-position: center 35%; }
.billboard::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(77deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.25) 45%, transparent 70%),
              linear-gradient(0deg, var(--fundo) 0%, rgba(20,20,20,.6) 12%, transparent 35%); }
.billboard-info { position: absolute; z-index: 2; left: var(--margem); bottom: 30%; width: 40%; max-width: 620px; }
.billboard .tag { display: flex; align-items: center; gap: .5rem; font-size: .95rem; font-weight: 700; letter-spacing: 3px; color: #ddd; margin-bottom: .6rem; }
.billboard .tag .n { font-family: "Bebas Neue", sans-serif; color: var(--vermelho); font-size: 1.8rem; letter-spacing: 0; }
.billboard h1 { font-size: clamp(3rem, 6.5vw, 6.5rem); text-shadow: 2px 4px 18px rgba(0,0,0,.45); margin-bottom: 1rem; }
.billboard .top10 { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.25rem; margin-bottom: .7rem; text-shadow: 1px 1px 6px rgba(0,0,0,.6); }
.selo-top { background: var(--vermelho); border-radius: 3px; width: 28px; height: 28px; display: inline-grid; place-items: center; font-size: .5rem;
  font-weight: 800; line-height: .95; text-align: center; }
.selo-top b { font-size: .8rem; display: block; }
.billboard p { font-size: 1.15rem; line-height: 1.4; text-shadow: 2px 2px 4px rgba(0,0,0,.45); margin-bottom: 1.4rem; }

.btn-nf { display: inline-flex; align-items: center; gap: .55rem; border: 0; border-radius: 4px; font-weight: 700; font-size: 1.05rem;
  padding: .6rem 1.6rem .6rem 1.3rem; text-decoration: none; transition: background .2s, transform .1s; white-space: nowrap; }
.btn-nf i { font-size: 1.55rem; line-height: 1; }
.btn-nf:active { transform: scale(.97); }
.btn-branco { background: #fff; color: #000; } .btn-branco:hover { background: rgba(255,255,255,.75); color: #000; }
.btn-cinza { background: rgba(109,109,110,.7); color: #fff; } .btn-cinza:hover { background: rgba(109,109,110,.4); color: #fff; }
.btn-vermelho { background: var(--vermelho); color: #fff; } .btn-vermelho:hover { background: #c11119; color: #fff; }

/* telas de notebook com pouca altura: o texto do destaque não encosta no topo */
@media (min-width: 992px) and (max-height: 820px) {
  .billboard { min-height: 600px; }
  .billboard-info { bottom: 17%; }
  .billboard h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); }
  .billboard p { display: none; }
}

/* billboard no celular: cartaz centralizado */
@media (max-width: 991px) {
  .billboard { height: auto; min-height: 0; max-height: none; margin: 0; padding: calc(var(--topbar-h) + 50px) var(--margem) 0; overflow: visible; }
  .billboard::after, .billboard-img { display: none; }
  .billboard-fundo { position: absolute; inset: 0 0 -40px; background-size: cover; background-position: center; filter: blur(40px) saturate(1.4);
    opacity: .55; z-index: -1; }
  .billboard-fundo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,20,.2), var(--fundo) 92%); }
  .cartaz { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4/5; max-height: 72vh; margin: 0 auto; width: 100%; max-width: 480px;
    box-shadow: 0 10px 40px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.12); }
  .cartaz img { width: 100%; height: 100%; object-fit: cover; }
  .cartaz::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.92) 5%, rgba(0,0,0,.3) 40%, transparent 60%); }
  .billboard-info { position: absolute; left: 0; right: 0; bottom: 0; width: auto; padding: 0 1rem 1rem; text-align: center; }
  .billboard h1 { font-size: 2.9rem; margin-bottom: .3rem; }
  .billboard .tag { justify-content: center; font-size: .72rem; margin-bottom: .2rem; }
  .billboard .tag .n { font-size: 1.3rem; }
  .billboard .top10 { font-size: .85rem; margin-bottom: .8rem; }
  .billboard p { display: none; }
  .billboard .botoes { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .btn-nf { justify-content: center; font-size: .95rem; padding: .55rem .6rem; }
  .btn-nf i { font-size: 1.25rem; }
}
@media (min-width: 992px) { .billboard-fundo, .cartaz { display: none; } }

/* ----- fileiras ----- */
.fileiras { position: relative; z-index: 3; padding-bottom: 2rem; }
.fileira { margin: 3vw 0; position: relative; }
@media (max-width: 991px) { .fileira { margin: 1.6rem 0; } }
.fileira-topo { display: flex; align-items: baseline; gap: .8rem; padding: 0 var(--margem); margin-bottom: .5rem; }
.fileira-topo h2 { font-size: clamp(1.05rem, 1.4vw, 1.45rem); font-weight: 700; margin: 0; color: #e5e5e5; }
.fileira-topo a { font-size: .85rem; color: #54b9c5; text-decoration: none; font-weight: 600; opacity: 0; transform: translateX(-8px); transition: all .3s; }
.fileira:hover .fileira-topo a { opacity: 1; transform: none; }
@media (max-width: 991px) { .fileira-topo { justify-content: space-between; } .fileira-topo a { opacity: 1; transform: none; color: var(--texto-2); } }
.trilho { display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--margem);
  padding: .9rem var(--margem) 1.4rem; margin: -.9rem 0 -1.4rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.trilho::-webkit-scrollbar { display: none; }
.trilho > * { scroll-snap-align: start; flex: 0 0 auto; }
.seta { position: absolute; top: 2.3rem; bottom: 0; width: var(--margem); min-width: 44px; border: 0; z-index: 6; color: #fff; font-size: 2.4rem;
  background: rgba(20,20,20,.5); opacity: 0; transition: opacity .2s, background .2s; display: none; }
.seta:hover { background: rgba(20,20,20,.75); }
.seta.esq { left: 0; } .seta.dir { right: 0; }
@media (hover: hover) and (min-width: 992px) { .seta { display: block; } .fileira:hover .seta { opacity: 1; } }

/* ----- cartões ----- */
.cartao { position: relative; display: block; text-decoration: none; color: #fff; border-radius: var(--raio); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.cartao-img { position: relative; border-radius: var(--raio); overflow: hidden; background: var(--fundo-3); }
.cartao-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-aula { width: 64vw; max-width: 290px; } .c-aula .cartao-img { aspect-ratio: 16/9; }
.c-poster { width: 34vw; max-width: 200px; } .c-poster .cartao-img { aspect-ratio: 2/3; }
.c-modulo { width: 70vw; max-width: 330px; } .c-modulo .cartao-img { aspect-ratio: 16/9; }
@media (min-width: 576px) { .c-aula { width: 250px; } .c-poster { width: 175px; } .c-modulo { width: 300px; } }
@media (min-width: 1400px) { .c-aula { width: 290px; } .c-poster { width: 200px; } .c-modulo { width: 340px; } }

.cartao .rotulo { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .65rem .55rem; font-weight: 700; font-size: .9rem; line-height: 1.15;
  background: linear-gradient(0deg, rgba(0,0,0,.9), transparent); }
.c-poster .rotulo { font-size: .85rem; }
.cartao .mini { font-size: .68rem; font-weight: 600; color: #ddd; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 2px; }
.cartao .marca { position: absolute; top: 6px; left: 6px; font-family: "Bebas Neue", sans-serif; color: var(--vermelho); font-size: 1.15rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.8); line-height: 1; }
.cartao .badge-nivel { position: absolute; top: 0; right: 8px; background: var(--vermelho); font-size: .58rem; font-weight: 800; padding: 4px 5px 3px;
  border-radius: 0 0 3px 3px; text-transform: uppercase; letter-spacing: .3px; }
.cartao .ok { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--verde); color: #000;
  display: grid; place-items: center; font-size: .8rem; font-weight: 800; z-index: 2; }
.cartao .tempo { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.75); font-size: .7rem; padding: 1px 5px; border-radius: 3px; font-weight: 600; }
.cartao .barra { position: absolute; left: 8px; right: 8px; bottom: 6px; height: 3px; background: rgba(255,255,255,.35); border-radius: 2px; overflow: hidden; }
.cartao .barra > div { height: 100%; background: var(--vermelho); }
.c-aula .titulo-baixo { font-size: .82rem; color: #ddd; margin-top: .4rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* painel ao passar o mouse (computador) */
.cartao .hover-info { display: none; }
@media (hover: hover) and (min-width: 992px) {
  .trilho .cartao:hover { transform: scale(1.08); z-index: 5; box-shadow: 0 12px 28px rgba(0,0,0,.75); }
  .trilho .cartao:first-child:hover { transform-origin: left center; }
  .trilho .cartao:last-child:hover { transform-origin: right center; }
  .cartao .hover-info { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; background: rgba(0,0,0,.35);
    opacity: 0; transition: opacity .25s; border-radius: var(--raio); }
  .cartao:hover .hover-info { opacity: 1; }
  .hover-info .play { width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font-size: 1.6rem; }
}

/* top 10 */
.c-top { display: flex; align-items: flex-end; width: 62vw; max-width: 300px; }
@media (min-width: 576px) { .c-top { width: 270px; } }
.c-top .numero { font-family: "Bebas Neue", Impact, sans-serif; font-size: 11rem; line-height: .74; color: var(--fundo); letter-spacing: -14px;
  -webkit-text-stroke: 4px #595959; flex: 0 0 auto; margin-right: -14px; position: relative; z-index: 0; }
.c-top .cartao-img { aspect-ratio: 2/3; width: 58%; flex: 0 0 auto; position: relative; z-index: 1; }
.fileira-topo { position: relative; z-index: 7; }
.fileira-top10 .trilho { padding-top: 1.2rem; }
@media (max-width: 575px) {
  .c-top { width: 52vw; }
  .c-top .numero { font-size: 6.6rem; -webkit-text-stroke: 3px #6b6b6b; letter-spacing: -6px; margin-right: -4px; }
  .c-top .cartao-img { width: 66%; }
  .c-top .rotulo { font-size: .68rem !important; padding: 1.2rem .45rem .45rem; }
  .fileira-top10 .trilho { gap: .2rem; }
}

/* ----- Pix ----- */
.pix { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; background: var(--fundo-2); border: 1px solid #2c2c2c; border-radius: 14px; padding: 1.6rem; }
@media (max-width: 767px) { .pix { grid-template-columns: 1fr; padding: 1.1rem; gap: 1.3rem; } }
.pix-qr { text-align: center; }
.pix-qr #qrPix { background: #fff; border-radius: 10px; padding: .6rem; max-width: 280px; margin: 0 auto; }
.pix-qr svg { width: 100%; height: auto; display: block; }
.pix-passos { padding-left: 1.2rem; color: #ddd; line-height: 1.6; margin-bottom: 1.2rem; }
.pix-codigo { background: #111; border: 1px dashed #555; border-radius: 8px; padding: .8rem; font-family: ui-monospace, Consolas, monospace; font-size: .78rem;
  word-break: break-all; color: #ccc; max-height: 120px; overflow: auto; user-select: all; }
.pix-info { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.pix-info > div { background: #181818; border-radius: 8px; padding: .6rem .8rem; }
.pix-info span { display: block; font-size: .7rem; color: var(--texto-3); text-transform: uppercase; letter-spacing: 1px; }
.pix-info b { font-size: .9rem; word-break: break-all; }
.btn-verde { background: #25d366; color: #fff; } .btn-verde:hover { background: #1fb457; color: #fff; }
.centro { max-width: 1400px; margin: 0 auto; }
.pix-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: start; }
@media (max-width: 991px) { .pix-layout { grid-template-columns: 1fr; gap: 1.6rem; } .pix-layout .pix-oferta { order: 2; } }
@media (min-width: 992px) { .pix-layout > div:last-child { position: sticky; top: calc(var(--topbar-h) + 1rem); } }
@media (min-width: 992px) and (max-width: 1399px) { .pix-layout .pix { grid-template-columns: 1fr; } .pix-layout .pix-qr #qrPix { max-width: 240px; } }
@media (min-width: 1400px) { .pix-layout .pix { grid-template-columns: 260px 1fr; } }
.pix-mosaico { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.pix-mosaico img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 6px; }
@media (max-width: 575px) { .pix-mosaico img:nth-child(n+5) { display: none; } }
.pix-beneficios { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
@media (max-width: 575px) { .pix-beneficios { grid-template-columns: 1fr; } }
.pix-beneficios li { display: flex; gap: .8rem; background: var(--fundo-2); border: 1px solid #2a2a2a; border-radius: 10px; padding: .85rem .9rem; }
.pix-beneficios i { color: var(--vermelho); font-size: 1.35rem; }
.pix-beneficios b { display: block; font-size: .92rem; }
.pix-beneficios span { font-size: .78rem; color: var(--texto-2); }
.pix-seguro { text-align: center; font-size: .8rem; color: var(--texto-3); margin-top: .9rem; }
.pix-seguro i { color: var(--verde); }

/* ----- modal de oferta ----- */
.oferta { background: #181818; border: 1px solid #333; border-radius: 12px; overflow: hidden; position: relative; color: #fff; }
.oferta-grid { display: grid; grid-template-columns: 1fr 1.1fr; }
.oferta-img { background-size: cover; background-position: center; min-height: 420px; position: relative; }
.oferta-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, #181818); }
.oferta-corpo { padding: 2rem 2rem 1.4rem; }
.oferta-corpo .logo-nome { font-size: 1.4rem; }
.oferta-titulo { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .6rem; }
.oferta-lista { list-style: none; padding: 0; margin: 0 0 1rem; }
.oferta-lista li { padding: .3rem 0; font-size: .95rem; }
.oferta-lista i { color: var(--verde); margin-right: .4rem; font-size: 1.1rem; }
.oferta-preco { font-family: "Bebas Neue", sans-serif; font-size: 2.4rem; line-height: 1; margin-bottom: .4rem; }
.oferta-preco small { font-family: "Inter", sans-serif; font-size: .85rem; color: var(--texto-2); }
.oferta-fechar { position: absolute; top: 12px; right: 12px; z-index: 3; }
@media (max-width: 767px) {
  .oferta-grid { grid-template-columns: 1fr; }
  .oferta-img { min-height: 180px; }
  .oferta-img::after { background: linear-gradient(0deg, #181818, transparent 60%); }
  .oferta-corpo { padding: 0 1.3rem 1rem; margin-top: -1.5rem; position: relative; }
}
.modal-backdrop.show { opacity: .75; }

/* ----- pop-up de compra ----- */
.popup-compra { position: fixed; left: 20px; bottom: 20px; z-index: 1090; display: flex; align-items: center; gap: .8rem; max-width: 360px;
  background: #fff; color: #222; border-radius: 12px; padding: .75rem 2.2rem .75rem .8rem; box-shadow: 0 10px 30px rgba(0,0,0,.45);
  transform: translateY(150%); opacity: 0; transition: transform .45s cubic-bezier(.2,.9,.3,1.2), opacity .3s; pointer-events: none; }
.popup-compra.on { transform: none; opacity: 1; pointer-events: auto; }
.popup-compra .pc-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--vermelho); color: #fff; display: grid; place-items: center; font-size: 1.25rem; flex: 0 0 auto; }
.popup-compra .pc-txt { font-size: .85rem; line-height: 1.35; }
.popup-compra .pc-quando { font-size: .74rem; color: #777; margin-top: 2px; }
.popup-compra .pc-exemplo { border: 1px dashed #c99a00; color: #a07800; border-radius: 3px; padding: 0 4px; font-size: .65rem; margin-left: 4px; }
.popup-compra .pc-fechar { position: absolute; top: 6px; right: 6px; border: 0; background: none; color: #999; font-size: 1.1rem; line-height: 1; }
@media (max-width: 991px) { .popup-compra { left: 10px; right: 10px; max-width: none; bottom: calc(var(--bottom-h) + 10px + env(safe-area-inset-bottom)); } }
@media print { .popup-compra { display: none !important; } }

/* ----- seção da professora ----- */
.professora { margin: 3rem var(--margem); border-radius: 14px; overflow: hidden; background: linear-gradient(120deg, #2a0a0c 0%, #1a1a1a 55%); border: 1px solid #2c2c2c;
  display: grid; grid-template-columns: minmax(220px, 34%) 1fr; }
.professora .foto { position: relative; min-height: 340px; background: #262626; }
.professora .foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.professora .foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(26,26,26,.9)); }
.foto-vazia { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #6b6b6b; padding: 1rem; }
.foto-vazia i { font-size: 5rem; display: block; color: #4a4a4a; }
.professora .conteudo { padding: 2.4rem 2.6rem; display: flex; flex-direction: column; justify-content: center; }
.professora .sobre { color: var(--vermelho); font-weight: 700; font-size: .8rem; letter-spacing: 3px; text-transform: uppercase; }
.professora h2 { font-size: clamp(2.4rem, 4vw, 3.6rem); margin: .3rem 0 .2rem; }
.professora .cargo { color: var(--texto-2); margin-bottom: 1rem; }
.professora .bio { color: #ddd; line-height: 1.65; max-width: 720px; }
.numeros { display: flex; flex-wrap: wrap; gap: 1.8rem; margin: 1.3rem 0 1.4rem; }
.numeros div b { display: block; font-family: "Bebas Neue", sans-serif; font-size: 2.4rem; line-height: 1; color: #fff; }
.numeros div span { font-size: .78rem; color: var(--texto-2); text-transform: uppercase; letter-spacing: 1px; }
.redes a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #555; display: inline-grid; place-items: center; color: #fff; text-decoration: none; margin-right: .4rem; font-size: 1.1rem; }
.redes a:hover { border-color: #fff; }
@media (max-width: 767px) {
  .professora { grid-template-columns: 1fr; }
  .professora .foto { min-height: 300px; }
  .professora .foto::after { background: linear-gradient(0deg, rgba(26,26,26,1), transparent 50%); }
  .professora .conteudo { padding: 0 1.3rem 1.6rem; margin-top: -2.5rem; position: relative; }
}

/* ----- depoimentos ----- */
.depo { width: 82vw; max-width: 380px; background: var(--fundo-2); border: 1px solid #2c2c2c; border-radius: 12px; padding: 1.3rem 1.3rem 1.1rem; display: flex; flex-direction: column; }
@media (min-width: 576px) { .depo { width: 360px; } }
.depo .estrelas { color: #f5c518; font-size: .9rem; letter-spacing: 2px; margin-bottom: .6rem; }
.depo .texto { color: #e5e5e5; font-size: .95rem; line-height: 1.55; flex: 1; }
.depo .texto::before { content: "“"; font-family: Georgia, serif; font-size: 2.6rem; line-height: 0; vertical-align: -.9rem; color: var(--vermelho); margin-right: .2rem; }
.depo .quem { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; }
.depo .ini { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: 0 0 auto; }
.depo .nome { font-weight: 700; font-size: .9rem; } .depo .cid { font-size: .76rem; color: var(--texto-3); }
.aviso-exemplo { display: inline-block; font-size: .68rem; color: #f5c518; border: 1px dashed #f5c518; border-radius: 4px; padding: 1px 6px; margin-left: .5rem; vertical-align: middle; }

/* ----- páginas internas ----- */
.pagina { padding: calc(var(--topbar-h) + 1.5rem) var(--margem) 3rem; }
@media (max-width: 991px) { .pagina { padding-top: calc(var(--topbar-h) + 3.2rem); } }
.pagina-titulo { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .2rem; }
.grade { display: grid; gap: 1.4rem .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.grade.posters { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .9rem .6rem; }
@media (max-width: 575px) { .grade.posters { grid-template-columns: repeat(3, 1fr); gap: .5rem; } .grade.posters .rotulo { font-size: .72rem; padding: 1.2rem .4rem .4rem; } }
.grade .cartao { width: auto; max-width: none; }
@media (hover: hover) and (min-width: 992px) { .grade .cartao:hover { transform: scale(1.04); z-index: 5; box-shadow: 0 10px 24px rgba(0,0,0,.7); } }

/* ----- detalhe do módulo ----- */
.detalhe-hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; overflow: hidden; }
.detalhe-hero .fundo-img { position: absolute; top: 0; right: 0; width: 72%; height: 100%; background-size: cover; background-position: center; }
.detalhe-hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--fundo) 28%, rgba(20,20,20,.75) 45%, transparent 75%), linear-gradient(0deg, var(--fundo) 0%, transparent 40%); }
.detalhe-hero .info { position: relative; z-index: 2; padding: calc(var(--topbar-h) + 2rem) var(--margem) 2.5rem; max-width: 720px; }
.detalhe-hero h1 { font-size: clamp(3rem, 6vw, 5.5rem); margin-bottom: .6rem; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .9rem; font-size: .95rem; color: #ddd; margin-bottom: .9rem; }
.meta .verde { color: var(--verde); font-weight: 700; }
.meta .caixa { border: 1px solid rgba(255,255,255,.4); padding: 0 .4rem; font-size: .78rem; border-radius: 3px; }
.descricao { font-size: 1.05rem; color: #e5e5e5; line-height: 1.5; margin-bottom: 1.3rem; }
.barra-prog { height: 4px; background: #4d4d4d; border-radius: 2px; overflow: hidden; }
.barra-prog > div { height: 100%; background: var(--vermelho); transition: width .4s; }
@media (max-width: 991px) {
  .detalhe-hero { min-height: 0; display: block; }
  .detalhe-hero .fundo-img { position: relative; width: 100%; height: auto; aspect-ratio: 16/9; margin-top: var(--topbar-h); }
  .detalhe-hero::after { background: linear-gradient(0deg, var(--fundo) 0%, transparent 25%); height: calc(var(--topbar-h) + 56.25vw); }
  .detalhe-hero .info { padding: .4rem var(--margem) 1.2rem; }
  .detalhe-hero h1 { font-size: 2.6rem; }
  .detalhe-hero .botoes .btn-nf { width: 100%; justify-content: center; }
}

/* lista de episódios */
.episodios-topo { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid #404040; padding-bottom: .8rem; margin-bottom: .4rem; }
.episodios-topo h2 { font-size: 1.5rem; font-weight: 700; margin: 0; }
.ep { display: grid; grid-template-columns: 2.8rem 168px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1rem; border-bottom: 1px solid #2a2a2a;
  border-radius: 4px; text-decoration: none; color: #fff; transition: background .2s; }
.ep:hover { background: #2a2a2a; }
.ep.atual { background: #333; }
.ep .num { font-size: 1.5rem; color: #d2d2d2; text-align: center; }
.ep .th { position: relative; aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; background: #333; }
.ep .th img { width: 100%; height: 100%; object-fit: cover; }
.ep .th .play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; opacity: 0; transition: opacity .2s; background: rgba(0,0,0,.3); }
.ep:hover .th .play { opacity: 1; }
.ep .th .feito-barra { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--vermelho); }
.ep .t { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.ep .s { font-size: .8rem; color: var(--texto-2); margin-top: .2rem; }
.ep .dur { font-size: .9rem; color: #ddd; white-space: nowrap; }
.ep .ck { color: var(--verde); }
@media (max-width: 767px) {
  .ep { grid-template-columns: 128px 1fr; gap: .2rem .8rem; padding: .7rem 0; border-radius: 0; }
  .ep .num { display: none; }
  .ep .th { grid-row: span 2; }
  .ep .t { font-size: .88rem; }
  .ep .dur { font-size: .75rem; color: var(--texto-2); }
}

/* ----- página da aula ----- */
.aula-wrap { padding-top: var(--topbar-h); }
@media (min-width: 992px) { .aula-wrap { padding: calc(var(--topbar-h) + 1rem) var(--margem) 2rem; } }
.player { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-capa { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: #000; cursor: pointer; }
.player-capa img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s, transform .4s; }
.player-capa::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(0,0,0,.05) 30%, rgba(0,0,0,.55)); }
.player-capa:hover img { opacity: 1; transform: scale(1.02); }
.player-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: 76px; height: 76px; border-radius: 50%;
  background: var(--vermelho); color: #fff; display: grid; place-items: center; font-size: 2.6rem; padding-left: 5px;
  box-shadow: 0 6px 24px rgba(0,0,0,.5); transition: transform .2s; }
.player-capa:hover .player-play { transform: translate(-50%, -50%) scale(1.08); }
.player-dur { position: absolute; right: 12px; bottom: 10px; z-index: 2; background: rgba(0,0,0,.75); color: #fff; font-size: .8rem; font-weight: 600;
  padding: 3px 9px; border-radius: 4px; }
@media (max-width: 575px) { .player-play { width: 62px; height: 62px; font-size: 2.1rem; } }
@media (min-width: 992px) { .player { border-radius: 8px; box-shadow: 0 8px 40px rgba(0,0,0,.6); } }
.aula-corpo { padding: 1rem var(--margem); }
@media (min-width: 992px) { .aula-corpo { padding: 1.3rem 0 0; } }
.aula-corpo h1 { font-size: clamp(1.25rem, 2.6vw, 2rem); font-weight: 800; margin-bottom: .5rem; }
.voltar { color: var(--texto-2); text-decoration: none; font-size: .85rem; }
.voltar:hover { color: #fff; }
.acoes-icone { display: flex; gap: 1.6rem; margin: 1rem 0; }
.acoes-icone button, .acoes-icone a { background: none; border: 0; color: #fff; display: flex; flex-direction: column; align-items: center; gap: .3rem;
  font-size: .72rem; color: #b3b3b3; text-decoration: none; padding: 0; min-width: 60px; }
.acoes-icone i { font-size: 1.55rem; color: #fff; }
@media (max-width: 575px) {
  .acoes-icone { gap: 0; justify-content: space-between; }
  .acoes-icone button, .acoes-icone a { min-width: 0; flex: 1; font-size: .66rem; }
}
.acoes-icone .on i { color: var(--verde); }
.acoes-icone .fav i { color: var(--vermelho); }
.lateral { background: var(--fundo-2); border-radius: 8px; overflow: hidden; }
.lateral-topo { padding: 1rem 1.1rem .8rem; border-bottom: 1px solid #2c2c2c; }
.lateral-lista { max-height: calc(100vh - var(--topbar-h) - 9rem); overflow-y: auto; }
.lateral-lista .ep { grid-template-columns: 1.8rem 120px 1fr; padding: .6rem .8rem; gap: .7rem; }
.lateral-lista .ep .num { font-size: 1.05rem; display: block; }
.lateral-lista .ep .t { font-size: .82rem; }
.lateral-lista .ep .dur { display: none; }
@media (max-width: 991px) { .lateral { background: none; border-radius: 0; } .lateral-lista { max-height: none; } .lateral-lista .ep { grid-template-columns: 120px 1fr; padding: .6rem var(--margem); } .lateral-lista .ep .num { display: none; } }

.anotacoes textarea { background: var(--fundo-2); border: 1px solid #333; color: #fff; border-radius: 8px; min-height: 96px; font-size: .92rem; resize: vertical; }
.anotacoes textarea:focus { background: var(--fundo-2); color: #fff; border-color: #777; box-shadow: none; }

/* ----- página da receita ----- */
.rec-galeria { background: #000; }
.rec-galeria .carousel-item img { width: 100%; height: min(72vh, 620px); object-fit: cover; cursor: zoom-in; }
@media (max-width: 991px) { .rec-galeria .carousel-item img { height: auto; aspect-ratio: 4/5; max-height: 70vh; } }
@media (min-width: 992px) { .rec-galeria { border-radius: 8px; overflow: hidden; position: sticky; top: calc(var(--topbar-h) + 1rem); } }
.chips { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .9rem; color: #ddd; align-items: center; }
.chips .caixa { border: 1px solid rgba(255,255,255,.4); padding: 0 .45rem; font-size: .78rem; border-radius: 3px; }
.abas { position: sticky; top: var(--topbar-h); z-index: 10; background: var(--fundo); display: flex; gap: 1.6rem; border-top: 1px solid #333; margin-top: .6rem; }
.abas button { background: none; border: 0; color: var(--texto-2); font-weight: 700; padding: .9rem 0 .8rem; border-top: 4px solid transparent; margin-top: -1px; font-size: .95rem; }
.abas button.active { color: #fff; border-top-color: var(--vermelho); }
@media (max-width: 991px) { .abas { padding: 0 var(--margem); } }
.lista-materiais { list-style: none; padding: 0; margin: 0; }
.lista-materiais li { display: flex; gap: .8rem; align-items: flex-start; padding: .85rem .1rem; border-bottom: 1px solid #262626; cursor: pointer; line-height: 1.4; }
.lista-materiais li i { color: #777; font-size: 1.15rem; }
.lista-materiais li.ok span { color: #777; text-decoration: line-through; }
.lista-materiais li.ok i { color: var(--verde); }
.ficha { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.ficha > div { background: var(--fundo-2); border-radius: 8px; padding: .75rem .9rem; }
.ficha dt { color: var(--texto-3); font-weight: 600; font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .2rem; }
.ficha dd { margin: 0; font-size: .9rem; white-space: pre-line; }
.passo { position: relative; padding: .85rem 1rem .85rem 3.1rem; border-radius: 8px; margin-bottom: .45rem; background: var(--fundo-2);
  font-size: .95rem; line-height: 1.6; cursor: pointer; transition: opacity .2s, background .2s; white-space: pre-line; }
.passo:hover { background: #262626; }
.passo::before { content: attr(data-n); position: absolute; left: .8rem; top: .85rem; width: 1.65rem; height: 1.65rem; border-radius: 50%;
  border: 2px solid #555; color: var(--texto-2); font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.passo.ok { opacity: .42; }
.passo.ok::before { content: "✓"; background: var(--verde); border-color: var(--verde); color: #000; }
.passo strong.carr { color: #ff6b6b; }
.subtitulo-passo { font-weight: 800; margin: 1.4rem 0 .6rem; font-size: 1.05rem; }
.glossario { font-size: .88rem; color: #ccc; line-height: 1.7; background: var(--fundo-2); border-radius: 8px; padding: .9rem 1rem; }
details.gloss summary { cursor: pointer; font-weight: 700; margin-bottom: .6rem; list-style: none; }
details.gloss summary::-webkit-details-marker { display: none; }
details.gloss summary i.bi-chevron-down { transition: transform .2s; display: inline-block; }
details.gloss[open] summary i.bi-chevron-down { transform: rotate(180deg); }
.dica { background: #2a1214; border-left: 3px solid var(--vermelho); border-radius: 6px; padding: .75rem .95rem; font-size: .86rem; color: #ddd; }
.dica-toque { font-size: .8rem; color: var(--texto-3); margin-bottom: .6rem; }

.grafico-card { display: grid; grid-template-columns: 180px 1fr; gap: 1.2rem; background: var(--fundo-2); border-radius: 10px; padding: 1rem; margin-bottom: .9rem; align-items: center; }
.grafico-card .prev { background: #fff; border-radius: 6px; overflow: hidden; aspect-ratio: 3/4; cursor: zoom-in; }
.grafico-card .prev img { width: 100%; height: 100%; object-fit: contain; }
.grafico-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .2rem; }
.grafico-card .botoes { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.grafico-card .btn-nf { font-size: .9rem; padding: .5rem 1rem; }
.grafico-card .btn-nf i { font-size: 1.1rem; }
@media (max-width: 575px) { .grafico-card { grid-template-columns: 110px 1fr; gap: .9rem; } .grafico-card .botoes { flex-direction: column; } .grafico-card .btn-nf { justify-content: center; } }

/* ----- busca ----- */
.busca-grande { background: #333; border: 0; color: #fff; border-radius: 4px; padding: .85rem 1rem .85rem 2.8rem; font-size: 1rem; }
.busca-grande:focus { background: #3a3a3a; color: #fff; box-shadow: none; }
.busca-wrap { position: relative; }
.busca-wrap > i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #aaa; }
.sugestoes a { display: inline-block; color: #ddd; text-decoration: none; font-size: .88rem; padding: .3rem .8rem; border: 1px solid #444; border-radius: 18px; margin: 0 .35rem .45rem 0; }
.sugestoes a:hover { border-color: #fff; color: #fff; }
.vazio { text-align: center; color: var(--texto-2); padding: 3.5rem 1rem; }
.vazio i { font-size: 3.2rem; display: block; margin-bottom: .8rem; color: #555; }

/* ----- progresso ----- */
.perfil-topo { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.anel { position: relative; width: 132px; height: 132px; flex: 0 0 auto; }
.anel svg { transform: rotate(-90deg); }
.anel .pct { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.anel .pct b { font-family: "Bebas Neue", sans-serif; font-size: 2.6rem; line-height: 1; display: block; }
.anel .pct span { font-size: .65rem; color: var(--texto-2); text-transform: uppercase; letter-spacing: 1px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 2.4rem; }
@media (max-width: 767px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--fundo-2); border-radius: 10px; padding: 1rem 1.1rem; border: 1px solid #2a2a2a; }
.stat i { color: var(--vermelho); font-size: 1.3rem; }
.stat b { display: block; font-family: "Bebas Neue", sans-serif; font-size: 2.4rem; line-height: 1; margin-top: .4rem; }
.stat span { font-size: .78rem; color: var(--texto-2); }
.mod-prog { display: flex; gap: .9rem; align-items: center; background: var(--fundo-2); border-radius: 10px; padding: .6rem; text-decoration: none; color: #fff;
  border: 1px solid #2a2a2a; transition: background .2s, border-color .2s; }
.mod-prog:hover { background: #262626; border-color: #444; }
.mod-prog img { width: 112px; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.mod-prog .t { font-weight: 700; font-size: .92rem; line-height: 1.25; }
.mod-prog .s { font-size: .76rem; color: var(--texto-2); margin: .15rem 0 .45rem; }
.mod-prog .completo { color: var(--verde); font-weight: 700; }
.grade-prog { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }

.toast-pos { bottom: calc(var(--bottom-h) + 10px); left: 50%; transform: translateX(-50%); z-index: 1100; }
@media (min-width: 992px) { .toast-pos { bottom: 20px; } }
#toast { background: #fff; color: #000; font-weight: 700; border-radius: 4px; width: auto; }

.rodape { color: var(--texto-3); padding: 2.5rem var(--margem) 3rem; margin-top: 2rem; }
.rodape .logo-nome { font-size: 1.6rem; }
.rodape-links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .85rem; }
.rodape-links a { color: var(--texto-3); text-decoration: none; } .rodape-links a:hover { text-decoration: underline; }

/* ----- folha de impressão da receita ----- */
.folha-impressao { display: none; }
@media print {
  @page { size: A4; margin: 14mm 14mm 16mm; }
  html, body { background: #fff !important; color: #111 !important; padding: 0 !important; }
  .topbar, .pilulas, .bottom-nav, .rodape, .toast-container, .modal { display: none !important; }
  #app > *:not(.folha-impressao) { display: none !important; }
  .folha-impressao { display: block !important; font-family: "Inter", Arial, sans-serif; color: #111; font-size: 10.5pt; line-height: 1.5; }
  .folha-impressao .cab { display: flex; gap: 8mm; align-items: flex-start; border-bottom: 2px solid #e50914; padding-bottom: 5mm; margin-bottom: 5mm; }
  .folha-impressao .cab img { width: 62mm; height: 62mm; object-fit: cover; border-radius: 3mm; }
  .folha-impressao .marca-imp { font-family: "Bebas Neue", sans-serif; color: #e50914; font-size: 15pt; letter-spacing: 1px; }
  .folha-impressao h1 { font-size: 22pt; font-weight: 800; margin: 1mm 0 3mm; color: #111; }
  .folha-impressao .ficha-imp { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5mm 6mm; font-size: 9.5pt; }
  .folha-impressao .ficha-imp b { display: block; color: #e50914; font-size: 7.5pt; text-transform: uppercase; letter-spacing: .5px; }
  .folha-impressao h2 { font-size: 12.5pt; font-weight: 800; color: #e50914; text-transform: uppercase; letter-spacing: 1px; margin: 6mm 0 2.5mm;
    border-bottom: 1px solid #ddd; padding-bottom: 1.5mm; break-after: avoid; }
  .folha-impressao h3 { font-size: 11pt; font-weight: 700; margin: 4mm 0 1.5mm; break-after: avoid; }
  .folha-impressao ul { padding-left: 0; list-style: none; columns: 2; column-gap: 8mm; }
  .folha-impressao ul li { break-inside: avoid; padding: .8mm 0 .8mm 5mm; position: relative; }
  .folha-impressao ul li::before { content: "☐"; position: absolute; left: 0; }
  .folha-impressao .glo { font-size: 8.5pt; color: #444; }
  .folha-impressao ol { padding-left: 6mm; }
  .folha-impressao ol li { margin-bottom: 1.8mm; break-inside: avoid; white-space: pre-line; }
  .folha-impressao strong.carr { color: #c40812; }
  .folha-impressao .pg-grafico { break-before: page; text-align: center; }
  .folha-impressao .pg-grafico img { max-width: 100%; max-height: 245mm; object-fit: contain; }
  .folha-impressao .rodape-imp { margin-top: 6mm; font-size: 8pt; color: #888; text-align: center; }
}

/* ----- rodapé: direitos reservados ----- */
.rodape-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; border-top: 1px solid #262626; margin-top: 1.6rem;
  padding-top: 1.2rem; font-size: .8rem; color: var(--texto-3); }
.rodape-base a { color: var(--texto-3); text-decoration: none; }
.rodape-base a:hover { color: #fff; }

/* ----- guia interativo ----- */
.tour-camada { position: fixed; inset: 0; z-index: 2000; }
.tour-foco { position: fixed; z-index: 2001; border-radius: 10px; pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(0,0,0,.78), 0 0 0 3px var(--vermelho);
  transition: left .35s ease, top .35s ease, width .35s ease, height .35s ease; }
.tour-foco.sem-alvo { left: 50% !important; top: 50% !important; width: 0 !important; height: 0 !important; box-shadow: 0 0 0 9999px rgba(0,0,0,.78); }
.tour-balao { position: fixed; z-index: 2002; width: min(340px, calc(100vw - 24px)); background: #fff; color: #1a1a1a; border-radius: 12px;
  padding: 1rem 1.1rem; box-shadow: 0 14px 40px rgba(0,0,0,.5); transition: left .35s ease, top .35s ease; animation: tourEntra .3s ease; }
@keyframes tourEntra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tour-balao[data-seta="cima"]::before, .tour-balao[data-seta="baixo"]::before { content: ""; position: absolute;
  left: calc(var(--seta-x, 50%) - 8px); border: 8px solid transparent; }
.tour-balao[data-seta="cima"]::before { top: -16px; border-bottom-color: #fff; }
.tour-balao[data-seta="baixo"]::before { bottom: -16px; border-top-color: #fff; }
.tour-topo { display: flex; justify-content: space-between; align-items: center; margin-bottom: .35rem; }
.tour-n { font-size: .72rem; font-weight: 700; color: var(--vermelho); text-transform: uppercase; letter-spacing: 1px; }
.tour-pular { background: none; border: 0; color: #888; font-size: .8rem; text-decoration: underline; padding: 0; }
.tour-balao h3 { font-size: 1.1rem; font-weight: 800; margin: 0 0 .3rem; }
.tour-balao p { font-size: .9rem; line-height: 1.45; color: #444; margin: 0 0 .8rem; }
.tour-pontos { display: flex; gap: 5px; margin-bottom: .85rem; }
.tour-pontos span { width: 7px; height: 7px; border-radius: 50%; background: #ddd; transition: all .25s; }
.tour-pontos span.on { width: 20px; border-radius: 4px; background: var(--vermelho); }
.tour-botoes { display: flex; gap: .5rem; justify-content: flex-end; }
.tour-botoes .btn-nf { font-size: .88rem; padding: .45rem 1rem; }
.tour-botoes .btn-nf i { font-size: 1rem; }
.tour-botoes .btn-cinza { background: #e9e9e9; color: #333; }
.tour-botoes .btn-cinza:hover { background: #ddd; color: #000; }
@media print { .tour-camada, .tour-foco, .tour-balao { display: none !important; } }

/* =====================================================================
   LEITURA FÁCIL — letras maiores, mais contraste e alvos de toque maiores
   ===================================================================== */
:root { --texto-2: #cfcfcf; --texto-3: #a8a8a8; }
html { font-size: 106.25%; }                 /* base 17px */
html[data-letra="1"] { font-size: 118.75%; } /* 19px */
html[data-letra="2"] { font-size: 131.25%; } /* 21px */

/* barra de baixo (celular): rótulos legíveis */
:root { --bottom-h: 70px; }
.bottom-nav a { font-size: .74rem; color: #b8b8b8; font-weight: 500; gap: 4px; }
.bottom-nav a i { font-size: 1.5rem; }
.bottom-nav a.ativo { color: #fff; font-weight: 700; }
.bottom-nav a.ativo::before { content: ""; position: absolute; top: 0; width: 34px; height: 3px; border-radius: 0 0 3px 3px; background: var(--vermelho); }
.bottom-nav a { position: relative; }

/* menu do topo e pílulas */
.menu-topo a { font-size: 1rem; }
.pilulas a { font-size: .9rem; padding: .32rem 1rem; }

/* botão de tamanho da letra */
.btn-letra { background: transparent; border: 1px solid rgba(255,255,255,.55); color: #fff; border-radius: 6px; height: 36px; padding: 0 .55rem;
  display: inline-flex; align-items: baseline; gap: 1px; font-weight: 800; line-height: 1; }
.btn-letra .a1 { font-size: .8rem; } .btn-letra .a2 { font-size: 1.15rem; }
.btn-letra:hover, .btn-letra[aria-expanded="true"] { background: #fff; color: #000; }
.menu-letra { background: #fff; border: 0; border-radius: 10px; padding: .4rem; min-width: 230px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.menu-letra-tit { font-size: .8rem; font-weight: 700; color: #666; padding: .4rem .7rem .3rem; text-transform: uppercase; letter-spacing: .5px; }
.menu-letra .dropdown-item { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 6px; color: #111; font-size: 1rem; font-weight: 600; }
.menu-letra .dropdown-item span { width: 1.6rem; text-align: center; font-weight: 800; }
.menu-letra .dropdown-item.on { background: #ffe5e7; color: var(--vermelho); }
.menu-letra .dropdown-item:hover { background: #f1f1f1; }
.seletor-letra { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: .2rem 0 .9rem; }
.seletor-letra button { border: 2px solid #ddd; background: #fff; color: #222; border-radius: 10px; padding: .55rem .3rem; font-weight: 700; font-size: .85rem;
  display: flex; flex-direction: column; align-items: center; gap: .15rem; line-height: 1.15; }
.seletor-letra button span { font-weight: 800; line-height: 1; }
.seletor-letra button.on { border-color: var(--vermelho); background: #ffe5e7; color: var(--vermelho); }
#letraProgresso .seletor-letra { max-width: 520px; }
#letraProgresso .seletor-letra button { background: var(--fundo-2); border-color: #444; color: #fff; padding: .9rem .4rem; font-size: .95rem; }
#letraProgresso .seletor-letra button.on { border-color: var(--vermelho); background: #2a1214; color: #fff; }

/* títulos e textos de cartões */
.fileira-topo h2 { font-size: clamp(1.15rem, 1.5vw, 1.5rem); color: #fff; }
.fileira-topo a { font-size: .95rem; }
@media (max-width: 991px) { .fileira-topo a { color: #fff; font-weight: 600; } }
.c-aula .titulo-baixo { font-size: .92rem; color: #eee; -webkit-line-clamp: 3; }
.cartao .rotulo { font-size: 1rem; }
.c-poster .rotulo { font-size: .92rem; }
.cartao .mini { font-size: .74rem; }
.cartao .tempo { font-size: .8rem; }
@media (max-width: 575px) {
  .c-poster { width: 42vw; }
  .c-aula { width: 74vw; }
  .grade.posters { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .grade.posters .rotulo { font-size: .9rem; padding: 1.4rem .55rem .55rem; }
}

/* botão voltar bem visível */
.voltar { display: inline-flex; align-items: center; gap: .45rem; font-size: .95rem; font-weight: 600; color: #fff; background: #2a2a2a;
  border: 1px solid #444; border-radius: 30px; padding: .45rem 1rem .45rem .85rem; }
.voltar:hover { background: #3a3a3a; color: #fff; }

/* ações da aula/receita */
.acoes-icone button, .acoes-icone a { font-size: .82rem; color: #ddd; }
.acoes-icone i { font-size: 1.75rem; }
@media (max-width: 575px) { .acoes-icone button, .acoes-icone a { font-size: .74rem; } }

/* textos de apoio maiores */
.dica-toque { font-size: .92rem; color: #ddd; background: #1f1f1f; border-radius: 8px; padding: .55rem .8rem; }
.dica { font-size: .95rem; }
.passo { font-size: 1.02rem; line-height: 1.7; }
.lista-materiais li { font-size: 1rem; padding: 1rem .2rem; }
.lista-materiais li i { font-size: 1.35rem; }
.abas button { font-size: 1.02rem; padding: 1rem 0 .9rem; }
.ep .t { font-size: 1rem; }
.ep .s { font-size: .86rem; }
.meta { font-size: 1rem; }
.descricao { font-size: 1.08rem; }
.btn-nf { font-size: 1.08rem; min-height: 48px; }
.sugestoes a { font-size: .95rem; padding: .45rem 1rem; }

/* guia com letra maior */
.tour-balao { width: min(380px, calc(100vw - 24px)); }
.tour-balao h3 { font-size: 1.25rem; }
.tour-balao p { font-size: 1.02rem; color: #333; }
.tour-n { font-size: .8rem; }
.tour-pular { font-size: .9rem; }
.tour-botoes .btn-nf { font-size: 1rem; padding: .55rem 1.1rem; min-height: 46px; }

/* atalhos do celular rolam de lado em vez de alargar a página */
.pilulas { overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; }
.pilulas::-webkit-scrollbar { display: none; }
.pilulas a { flex: 0 0 auto; }
@media (max-width: 991px) {
  .billboard .botoes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .billboard .botoes .btn-nf { white-space: normal; min-width: 0; line-height: 1.15; text-align: center; padding: .55rem .4rem; }
  html[data-letra="2"] .billboard .botoes { grid-template-columns: 1fr; }
}

/* botão de letra no mesmo estilo dos ícones do topo (sem caixa) */
.btn-letra { border: 0; background: none; height: 36px; padding: 0 .2rem; border-radius: 6px; font-family: Georgia, "Times New Roman", serif;
  font-weight: 700; align-items: baseline; gap: 0; }
.btn-letra .a1 { font-size: 1.35rem; } .btn-letra .a2 { font-size: 1rem; }
.btn-letra:hover, .btn-letra[aria-expanded="true"] { background: none; color: #ccc; }
.topo-direita { gap: 1.1rem; }

.tour-retrato { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--vermelho); display: block; margin: .2rem 0 .6rem; }
.professora .foto img { object-position: center 30%; }

/* ----- certificado ----- */
.cert-pagina { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 991px) { .cert-pagina { grid-template-columns: 1fr; gap: 1.5rem; } }
.cert-input { background: #fff; color: #111; border: 2px solid #fff; border-radius: 8px; font-size: 1.15rem; padding: .85rem 1rem; }
.cert-input:focus { background: #fff; color: #111; border-color: var(--vermelho); box-shadow: 0 0 0 4px rgba(229,9,20,.25); }
.cert-preview canvas { width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 14px 40px rgba(0,0,0,.6); background: #f3ead9; }
@media (min-width: 992px) { .cert-preview { position: sticky; top: calc(var(--topbar-h) + 1rem); } }
.cert-info { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .6rem; color: #ddd; }
.cert-info i { color: var(--vermelho); margin-right: .45rem; }
.cert-impressao { display: none; }
@media print {
  body.imprimindo-cert #app > *:not(.cert-impressao) { display: none !important; }
  body.imprimindo-cert #app > .cert-impressao { display: block !important; }
  body.imprimindo-cert .cert-impressao img { width: 100%; height: auto; display: block; }
}

.cert-atalho { display: flex; align-items: center; gap: 1rem; background: linear-gradient(120deg, #3a0a0f, #1f1f1f 70%); border: 1px solid #5a1a20;
  border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; text-decoration: none; color: #fff; }
.cert-atalho > i:first-child { font-size: 2.2rem; color: #f5c518; }
.cert-atalho b { display: block; font-size: 1.1rem; } .cert-atalho span { font-size: .9rem; color: #ccc; }
.cert-atalho > i:last-child { margin-left: auto; font-size: 1.3rem; }
.cert-atalho:hover { border-color: var(--vermelho); color: #fff; }
@media print { body.imprimindo-cert .cert-impressao img { width: 297mm; height: 210mm; object-fit: contain; } body.imprimindo-cert { background: #fff !important; } }

/* atalhos do celular: 3 botões iguais ocupando a largura */
.pilulas { display: flex; gap: .45rem; overflow: visible; padding: .4rem var(--margem) .6rem; }
.pilulas a { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: .35rem; min-width: 0; padding: .5rem .55rem;
  border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: rgba(40,40,40,.72); backdrop-filter: blur(8px);
  color: #fff; font-size: .86rem; font-weight: 600; line-height: 1.1; }
.pilulas a span { overflow: hidden; text-overflow: ellipsis; }
.pilulas a i { font-size: 1.05rem; color: #ff4d57; }
.pilulas a:active { transform: scale(.97); }
.pilulas a.ativo { background: var(--vermelho); border-color: var(--vermelho); color: #fff; }
.pilulas a.ativo i { color: #fff; }
html[data-letra="2"] .pilulas a i { display: none; }
@media (max-width: 991px) { .pagina { padding-top: calc(var(--topbar-h) + 4.6rem); } }
