/* ════════════════════════════════════════════
   Formação IA · Claude Code — Sala de Aula Clara
   Paleta: creme #F9F4EE · tinta #1A1410 · laranja #E8500F · ouro #A88A38
   Tipografia: Fraunces (títulos) + Inter (corpo)
   ════════════════════════════════════════════ */

:root {
  --navy: #F9F4EE;                        /* fundo: creme da marca */
  --navy-deep: #F2EAE0;                   /* faixas: paper */
  --card: #FFFFFF;                        /* cartões: branco */
  --card-soft: #FFFDF9;
  --orange: #E8500F;                      /* laranja de marca (afinado p/ contraste no claro) */
  --orange-soft: rgba(232, 80, 15, 0.07);
  --orange-light: #C24000;                /* laranja profundo p/ texto */
  --ouro: #A88A38;
  --tinta: #1A1410;
  --ink: #2C2520;                         /* texto: tinta suave */
  --muted: rgba(26, 20, 16, 0.62);
  --faint: rgba(26, 20, 16, 0.52);
  --subtle: rgba(26, 20, 16, 0.05);
  --line: rgba(26, 20, 16, 0.14);
  --green: #1e8e64;
  --white: #1A1410;                       /* "branco" estrutural passa a tinta (títulos) */
  --branco-real: #fff;
  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --display: 'Fraunces', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--ink);
  line-height: 1.7;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { max-width: 1000px; margin: 0 auto; }

/* ── NAV ── */
nav {
  background: rgba(249, 244, 238, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--subtle);
  height: 58px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
  min-width: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
}

.logo-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.logo-sub {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange);
  border-left: 1px solid var(--line);
  padding-left: 0.75rem;
  margin-left: 0.1rem;
  white-space: nowrap;
}

nav .nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav .nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 500;
  transition: color 0.15s;
}

nav .nav-links a:hover { color: var(--orange); }

/* ── HEADER DE PÁGINA ── */
.sessao-header {
  background:
    radial-gradient(90% 120% at 85% -20%, rgba(232, 80, 15, 0.10) 0%, transparent 55%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--subtle);
  padding: 3.5rem 2rem 3rem;
}

.sessao-header .breadcrumb {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--orange);
  margin-bottom: 1.1rem;
}

.sessao-header .breadcrumb a { color: var(--orange); text-decoration: none; }

.sessao-header h1 {
  font-family: var(--display);
  font-size: 2.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 1.25rem;
  max-width: 24ch;
  line-height: 1.18;
}

.sessao-header .meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.sessao-header .meta span {
  background: var(--subtle);
  padding: 0.28rem 0.9rem;
  border-radius: 2rem;
  letter-spacing: 0.02em;
}

/* ── BARRA DE NAVEGAÇÃO ENTRE MÓDULOS ── */
.session-nav-bar {
  background: rgba(249, 244, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  white-space: nowrap;
  border-bottom: 1px solid var(--subtle);
  position: sticky;
  top: 46px;
  z-index: 90;
}

.snav-home {
  color: var(--orange);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  flex-shrink: 0;
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  border: 1px solid rgba(232, 80, 15, 0.30);
  transition: background 0.15s;
}
.snav-home:hover { background: rgba(232, 80, 15, 0.06); }

.snav-sessions { display: flex; gap: 0.35rem; flex-shrink: 0; }

.snav-item {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 2rem;
  transition: all 0.15s;
}
.snav-item:hover { background: var(--subtle); color: var(--tinta); }
.snav-item.active { background: var(--orange); color: var(--branco-real); }

.snav-label {
  color: var(--faint);
  font-size: 0.74rem;
  margin-left: auto;
  flex-shrink: 0;
  display: none;
}
@media (min-width: 600px) { .snav-label { display: block; } }

.sessao-body {
  max-width: 880px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  counter-reset: slide;
}

/* ── ABERTURA (statement) ── */
.pensar-box {
  background: linear-gradient(135deg, #F1571B 0%, #D8450A 100%);
  border-radius: 12px;
  padding: 2.5rem 2.75rem;
  margin-bottom: 3rem;
  box-shadow: 0 18px 40px -18px rgba(232, 80, 15, 0.30);
}

.pensar-box .pensar-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.pensar-box p {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  color: var(--branco-real);
  font-size: 1.28rem;
  line-height: 1.5;
  letter-spacing: 0.005em;
}

/* ── SLIDES DE TEORIA ── */
.slide-container {
  position: relative;
  background: var(--card);
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px -18px rgba(26, 20, 16, 0.16);
  margin-bottom: 3rem;
  overflow: hidden;
  counter-increment: slide;
}

.slide-container::before {
  content: counter(slide, decimal-leading-zero);
  position: absolute;
  top: 1.1rem;
  right: 1.9rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 3.2rem;
  line-height: 1;
  color: rgba(26, 20, 16, 0.06);
  pointer-events: none;
}

.slide-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 2.1rem 3rem 0;
}

.slide-header::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}

.slide-header .slide-title {
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.slide-content { display: none; padding: 1.3rem 3rem 2.75rem; }
.slide-content.active { display: block; }

.slide-content h2 {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1.2rem;
  max-width: 30ch;
}

.slide-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.01em;
  margin: 1.6rem 0 0.6rem;
}

.slide-content p { margin-bottom: 0.95rem; color: var(--ink); max-width: 66ch; }

.slide-content ul { list-style: none; margin-bottom: 0.75rem; }

.slide-content ul li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
  max-width: 66ch;
}

.slide-content ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.66em;
  width: 5px;
  height: 5px;
  background: var(--orange);
  transform: rotate(45deg);
}

.slide-content strong { color: var(--white); font-weight: 650; }
.slide-content em { color: #B53C00; font-style: italic; }
.slide-content a { color: var(--orange); text-underline-offset: 3px; }

.slide-highlight {
  position: relative;
  background: var(--orange-soft);
  border: 1px solid rgba(232, 80, 15, 0.20);
  padding: 1.15rem 1.5rem;
  border-radius: 10px;
  margin-top: 1.6rem;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--ink);
  max-width: 68ch;
}

.slide-highlight strong { color: #B53C00; }

/* ── CÓDIGO ── */
code {
  background: rgba(232, 80, 15, 0.08);
  border: 1px solid rgba(232, 80, 15, 0.18);
  color: #B53C00;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.84em;
  padding: 0.1em 0.45em;
  border-radius: 6px;
}

.cmd {
  display: block;
  background: var(--tinta);
  border: 1px solid var(--tinta);
  color: #F5EFE7;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.84rem;
  line-height: 1.65;
  padding: 0.95rem 1.2rem;
  border-radius: 12px;
  overflow-x: auto;
  margin: 0.8rem 0;
  white-space: pre;
}

.cmd .c-comment { color: rgba(245, 239, 231, 0.55); }

.c-comment { color: var(--faint); font-size: 0.82em; }

.cmd { position: relative; padding-right: 5.2rem; }

.cmd-copy {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(245, 239, 231, 0.8);
  font-family: var(--font);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.28rem 0.65rem;
  border-radius: 0.45rem;
  cursor: pointer;
  transition: all 0.15s;
}
.cmd-copy:hover { background: var(--orange); border-color: var(--orange); color: var(--branco-real); }
.cmd-copy.ok { background: var(--green); border-color: var(--green); color: var(--navy); }

/* ── DIVISOR ── */
.bloco-divisor {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 3rem 0 1.75rem;
  color: var(--ouro);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}
.bloco-divisor::before, .bloco-divisor::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ── HOW-TO BOX ── */
.howto-box {
  background: var(--card-soft);
  border-radius: 12px;
  border: 1px solid rgba(232, 80, 15, 0.35);
  box-shadow: 0 14px 34px -18px rgba(26, 20, 16, 0.16);
  padding: 2.25rem 3rem 2.5rem;
  margin-bottom: 3rem;
}

.howto-box .ex-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.howto-box .ex-num {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  border: 1px solid rgba(232, 80, 15, 0.45);
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
}

.howto-box .ex-tempo {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.howto-box h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.005em;
}

.howto-box .ex-instrucao {
  background: var(--navy-deep);
  border: 1px solid var(--line);
  padding: 1rem 1.4rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.howto-box .ex-instrucao strong { color: var(--ink); }
.howto-box strong { color: var(--white); font-weight: 650; }
.howto-box em { color: #B53C00; }

.howto-box .ex-passos {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.howto-box .ex-passos li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink);
}

.howto-box .ex-passos li > div { min-width: 0; flex: 1; max-width: 64ch; }

.howto-box .ex-passos li .step-n {
  border: none;
  color: var(--branco-real);
  background: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── CARTÃO DE RECURSOS ── */
.kit-card {
  background: var(--tinta);
  border: 1px solid var(--line);
  color: var(--white);
  border-radius: 12px;
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 14px 34px -18px rgba(26, 20, 16, 0.16);
}

.kit-card h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #F9F4EE;
  margin-bottom: 0.35rem;
}
.kit-card p { color: rgba(249, 244, 238, 0.75); font-size: 0.87rem; max-width: 52ch; }

.kit-card .btn-kit {
  background: var(--orange);
  color: var(--branco-real);
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: filter 0.15s, transform 0.15s;
}

.kit-card .btn-kit:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* ── BOTÕES ── */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.75rem 1.6rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: filter 0.15s, transform 0.15s, border-color 0.15s;
}

.btn-primary { background: var(--orange); color: var(--branco-real); }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }

.btn-outline { border: 1px solid var(--line); color: var(--muted); }
.btn-outline:hover { border-color: var(--orange); color: var(--tinta); }

/* ── PROGRESSO (index) ── */
.progresso-bar {
  background: var(--subtle);
  border-radius: 2rem;
  height: 6px;
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.progresso-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange), #F1813F);
  border-radius: 2rem;
  transition: width 0.4s ease;
}

.progresso-text {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}

/* ── LISTA DE MÓDULOS (index) ── */
.accao-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 34px -18px rgba(26, 20, 16, 0.16);
}

.accao-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 2.25rem 0.9rem;
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-bottom: 1px solid var(--subtle);
}

.accao-header span:last-child { color: var(--faint); letter-spacing: 0.08em; }

.accao-body { padding: 0.5rem 2.25rem 1.25rem; }

.sessao-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--subtle);
  cursor: pointer;
}

.sessao-item:last-child { border-bottom: none; }

.sessao-item .check {
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  transition: all 0.15s;
}

.sessao-item.done .check {
  background: var(--green);
  border-color: var(--green);
  color: var(--branco-real);
}

.sessao-item .sessao-data {
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  min-width: 84px;
  flex-shrink: 0;
}

.sessao-item a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  flex: 1;
  min-width: 0;
  transition: color 0.15s;
}

.sessao-item a:hover { color: var(--orange); }

.sessao-item.done a { opacity: 0.5; }

.sessao-item .sessao-horas {
  color: var(--faint);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ── FOOTER ── */
footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--subtle);
  color: var(--faint);
  text-align: center;
  padding: 2.75rem 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

footer .foot-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  margin: 0 auto 0.8rem;
  display: block;
}

footer .foot-name {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

footer .foot-tag {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ouro);
  margin-bottom: 0.8rem;
}

footer .foot-sub { color: var(--faint); }

footer .foot-versao { font-size: 0.68rem; color: var(--faint); margin-bottom: 0.4rem; }

footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--orange); }

/* ── MODO APRESENTAÇÃO ── */
.apresentar-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 300;
  background: var(--orange);
  color: var(--branco-real);
  border: none;
  border-radius: 2rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 12px 28px -8px rgba(232, 80, 15, 0.40);
  transition: transform 0.15s, filter 0.15s;
}
.apresentar-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }

.deck-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(110% 130% at 15% -10%, rgba(232, 80, 15, 0.08) 0%, transparent 50%),
    linear-gradient(165deg, #FFFDF9 0%, var(--navy) 55%, var(--navy-deep) 100%);
  z-index: 500;
  overflow: hidden;
  cursor: pointer;
}

.deck-slide {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 6vw 9vh;
}

.deck-slide.active { display: flex; }

.deck-inner {
  width: 100%;
  max-width: 1120px;
  max-height: 84vh;
  overflow-y: auto;
  animation: deckIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes deckIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* capa */
.deck-cover .deck-inner { text-align: left; }
.deck-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: block;
  margin-bottom: 1.75rem;
}
.deck-cover .deck-tag {
  display: inline-block;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  margin-bottom: 2rem;
}
.deck-cover h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  color: var(--white);
  max-width: 22ch;
}
.deck-cover h1::after {
  content: '';
  display: block;
  width: 72px;
  height: 2px;
  background: var(--orange);
  margin-top: 2rem;
}
.deck-cover-hint { margin-top: 2.5rem; color: var(--faint); font-size: 0.9rem; }

/* blocos dentro do deck */
.deck-overlay .pensar-box,
.deck-overlay .slide-container,
.deck-overlay .howto-box { margin-bottom: 0; }

.deck-overlay .slide-container::before { font-size: 4.5rem; top: 1.4rem; right: 2.4rem; }
.deck-overlay .slide-header { padding: 2.5rem 3.5rem 0; }
.deck-overlay .slide-content { padding: 1.5rem 3.5rem 3.25rem; }
.deck-overlay .slide-content h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); max-width: 26ch; }
.deck-overlay .slide-content h3 { font-size: clamp(1rem, 1.7vw, 1.25rem); }
.deck-overlay .slide-content p,
.deck-overlay .slide-content ul li { font-size: clamp(1rem, 1.65vw, 1.28rem); margin-bottom: 0.9rem; max-width: 62ch; }
.deck-overlay .slide-content ul li { padding-left: 1.8rem; }
.deck-overlay .slide-content ul li::before { width: 6px; height: 6px; top: 0.68em; }
.deck-overlay .slide-highlight { font-size: clamp(0.95rem, 1.45vw, 1.18rem); max-width: 64ch; }

.deck-overlay .pensar-box { padding: 3.25rem 3.75rem; }
.deck-overlay .pensar-box .pensar-label { font-size: 0.8rem; }
.deck-overlay .pensar-box p { font-size: clamp(1.45rem, 2.8vw, 2.2rem); }

.deck-overlay .howto-box { padding: 2.75rem 3.5rem 3rem; }
.deck-overlay .howto-box h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.deck-overlay .howto-box .ex-instrucao,
.deck-overlay .howto-box .ex-passos li { font-size: clamp(0.95rem, 1.5vw, 1.15rem); }
.deck-overlay .cmd { font-size: clamp(0.85rem, 1.35vw, 1.02rem); }

/* controlos */
.deck-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--subtle);
  z-index: 510;
}
.deck-progress-fill {
  height: 100%;
  width: 0;
  background: var(--orange);
  transition: width 0.3s ease;
}

.deck-close {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  z-index: 510;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.15s;
}
.deck-close:hover { background: var(--orange); border-color: var(--orange); color: var(--branco-real); }

.deck-counter {
  position: absolute;
  bottom: 1.25rem;
  right: 1.5rem;
  z-index: 510;
  color: var(--faint);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.deck-hint {
  position: absolute;
  bottom: 1.25rem;
  left: 1.5rem;
  z-index: 510;
  color: var(--faint);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.deck-brand {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 510;
  font-family: var(--display);
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  pointer-events: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  nav { padding: 0 1.25rem; }
  nav .nav-links { display: none; }
  .logo-sub { display: none; }
  .sessao-header { padding: 2.5rem 1.25rem 2.25rem; }
  .sessao-header h1 { font-size: 1.65rem; }
  .sessao-body { padding: 2rem 1rem 3.5rem; }
  .pensar-box { padding: 1.75rem 1.5rem; }
  .pensar-box p { font-size: 1.08rem; }
  .slide-container::before { font-size: 2.2rem; right: 1.25rem; }
  .slide-header { padding: 1.5rem 1.5rem 0; }
  .slide-content { padding: 1rem 1.5rem 2rem; }
  .slide-content h2 { font-size: 1.35rem; }
  .howto-box { padding: 1.6rem 1.25rem 1.8rem; }
  .kit-card { flex-direction: column; align-items: flex-start; padding: 1.6rem 1.5rem; }
  .accao-header, .accao-body { padding-left: 1.25rem; padding-right: 1.25rem; }
  .sessao-item { flex-wrap: wrap; }
  .sessao-item .sessao-horas { display: none; }
  .deck-hint { display: none; }
  .deck-overlay .slide-header { padding: 1.6rem 1.5rem 0; }
  .deck-overlay .slide-content { padding: 1.1rem 1.5rem 2rem; }
  .deck-overlay .pensar-box,
  .deck-overlay .howto-box { padding: 1.9rem 1.5rem; }
}

/* ── ATERRAGEM DE ÂNCORA (vindo da página Exercícios) ── */
.howto-box:target,
.slide-container:target {
  scroll-margin-top: 120px;
  animation: aterrar 1.6s ease;
}
@keyframes aterrar {
  0%, 35% { box-shadow: 0 0 0 3px var(--orange), 0 14px 34px -18px rgba(26, 20, 16, 0.16); }
  100% { box-shadow: 0 14px 34px -18px rgba(26, 20, 16, 0.16); }
}

/* ── ÍNDICE DE TÓPICOS ── */
.topico-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.4rem 1.75rem 1.75rem;
}

.topico-pill {
  display: inline-block;
  background: var(--subtle);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 2rem;
  transition: all 0.15s;
  white-space: nowrap;
}

.topico-pill:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--branco-real);
  transform: translateY(-1px);
}

/* ── HUB (separadores do index) ── */
.hub-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--subtle);
  padding-bottom: 0;
}

.hub-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  letter-spacing: 0.01em;
}

.hub-tab:hover { color: var(--tinta); }
.hub-tab.active { color: var(--orange); border-bottom-color: var(--orange); }

.hub-panel { display: none; }
.hub-panel.active { display: block; animation: deckIn 0.3s ease; }

@media (max-width: 640px) {
  .hub-tabs { overflow-x: auto; }
  .hub-tab { white-space: nowrap; padding: 0.6rem 0.8rem; font-size: 0.85rem; }
}

/* ── PEDAGOGIA: objectivos, consegues-agora, desafio sem rede ── */
.objectivos-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 12px;
  padding: 1.5rem 2rem 1.6rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 14px 34px -18px rgba(26, 20, 16, 0.16);
}

.objectivos-box .obj-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.objectivos-box ul { list-style: none; }

.objectivos-box li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.objectivos-box li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.desafio-box {
  background: #FBF6E9;
  border: 1.5px solid var(--ouro);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 14px 34px -18px rgba(26, 20, 16, 0.16);
}

.desafio-box .desafio-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ouro);
  margin-bottom: 0.8rem;
}

.desafio-box h3 {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--tinta);
  margin-bottom: 0.7rem;
}

.desafio-box p { font-size: 0.94rem; color: var(--ink); max-width: 64ch; margin-bottom: 0.8rem; }

.desafio-box .desafio-crit {
  font-size: 0.88rem;
  color: var(--muted);
  border-top: 1px dashed rgba(168, 138, 56, 0.4);
  padding-top: 0.8rem;
}
.desafio-box .desafio-crit strong { color: #7A6320; }

.consegues-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem 2.5rem 1.6rem;
  margin-bottom: 3rem;
  box-shadow: 0 14px 34px -18px rgba(26, 20, 16, 0.16);
}

.consegues-box .cons-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--green);
  margin-bottom: 0.4rem;
}

.consegues-box .cons-intro { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.1rem; }

.consegues-box label.cons-item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 0.45rem 0;
  cursor: pointer;
}

.consegues-box label.cons-item input {
  accent-color: var(--green);
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex-shrink: 0;
}

.consegues-box .amanha {
  border-top: 1px solid var(--subtle);
  margin-top: 1.1rem;
  padding-top: 1rem;
  font-size: 0.86rem;
  color: var(--muted);
}
.consegues-box .amanha strong { color: var(--tinta); }

/* ── PAINEL DE SESSÃO (cockpit da formadora) ── */
.painel-body { background: var(--navy); }

.painel-wrap { display: flex; min-height: 100vh; }

.painel-side {
  width: 258px;
  flex-shrink: 0;
  background: var(--tinta);
  color: #F5EFE7;
  padding: 1.5rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.pside-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #F5EFE7;
  margin-bottom: 1.75rem;
  padding: 0 0.4rem;
}
.pside-logo img { width: 38px; height: 38px; border-radius: 50%; }
.pside-logo strong { display: block; font-family: var(--display); font-weight: 600; font-size: 0.98rem; line-height: 1.2; }
.pside-logo small { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--orange); font-weight: 700; }

.pside-sec {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(245, 239, 231, 0.4);
  margin: 1.1rem 0.4rem 0.4rem;
}

.pside-link {
  display: block;
  color: rgba(245, 239, 231, 0.85);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  transition: background 0.15s;
}
.pside-link:hover, .pside-link.ativo { background: rgba(255, 255, 255, 0.08); }

.pside-timer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
}
.pt-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(245,239,231,0.45); font-weight: 700; margin-bottom: 0.35rem; }
.pt-display { font-family: 'SF Mono', Menlo, monospace; font-size: 1.6rem; font-weight: 600; color: var(--orange); letter-spacing: 0.04em; }
.pt-btns { display: flex; gap: 0.5rem; justify-content: center; margin-top: 0.6rem; }
.pt-btns button {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #F5EFE7;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  cursor: pointer;
}
.pt-btns button:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.painel-main { flex: 1; padding: 2.5rem 3rem 4rem; max-width: 980px; }

.pmain-hero { margin-bottom: 2rem; }
.pmain-hero .breadcrumb { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; color: var(--orange); margin-bottom: 0.7rem; }
.pmain-hero h1 { font-family: var(--display); font-size: 2rem; font-weight: 600; color: var(--tinta); margin-bottom: 0.5rem; }
.pmain-sub { color: var(--muted); font-size: 0.95rem; max-width: 60ch; }

.pcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 34px -18px rgba(26, 20, 16, 0.16);
  padding: 1.6rem 2rem 1.75rem;
  margin-bottom: 1.75rem;
}
.pcard-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.pcard-title { font-family: var(--display); font-size: 1.15rem; font-weight: 600; color: var(--tinta); }
.pcard-hint { font-size: 0.72rem; color: var(--faint); }
.pcard-nota { font-size: 0.75rem; color: var(--faint); margin-top: 0.9rem; }
.pcard select {
  font-family: var(--font);
  font-size: 0.82rem;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--navy);
  color: var(--ink);
  max-width: 100%;
}

.ag-etapa {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid var(--subtle);
  cursor: pointer;
  font-size: 0.92rem;
}
.ag-etapa:last-child { border-bottom: none; }
.ag-etapa:hover { background: var(--subtle); }
.ag-t { font-family: 'SF Mono', Menlo, monospace; font-size: 0.78rem; color: var(--orange); min-width: 52px; font-weight: 600; }
.ag-txt { flex: 1; color: var(--ink); }
.ag-dur { font-size: 0.75rem; color: var(--faint); }
.ag-etapa.feita .ag-txt { text-decoration: line-through; opacity: 0.45; }
.ag-etapa.feita .ag-t { opacity: 0.45; }

.pslides-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; }
.pslide-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0.3rem;
  border-bottom: 1px solid var(--subtle);
  font-size: 0.88rem;
}
.ps-tag { color: var(--orange); font-weight: 800; font-size: 0.72rem; min-width: 26px; }
.ps-nome { flex: 1; color: var(--ink); }
.ps-btns { display: flex; gap: 0.45rem; }
.ps-btns a {
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.25rem 0.7rem;
  border-radius: 2rem;
  border: 1px solid var(--line);
  color: var(--muted);
}
.ps-btns a.ps-play { background: var(--orange); border-color: var(--orange); color: #fff; }
.ps-btns a:hover { filter: brightness(1.06); }

.pdemo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.pdemo {
  display: block;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.85rem;
  transition: all 0.15s;
}
.pdemo:hover { border-color: var(--orange); transform: translateY(-1px); }
.pdemo strong { display: inline; font-weight: 700; color: var(--tinta); }
.pdemo small { display: block; color: var(--faint); font-size: 0.72rem; margin-top: 0.15rem; }

.pmain-regra {
  background: var(--tinta);
  color: #F5EFE7;
  border-radius: 12px;
  padding: 1.4rem 2rem;
  font-size: 0.92rem;
}
.pmain-regra strong { color: var(--orange); }
.pmain-regra span { display: block; margin-top: 0.5rem; font-size: 0.72rem; color: rgba(245,239,231,0.5); letter-spacing: 0.06em; }

@media (max-width: 860px) {
  .painel-wrap { flex-direction: column; }
  .painel-side { width: 100%; height: auto; position: static; }
  .pside-timer { margin-top: 1rem; }
  .painel-main { padding: 1.5rem 1.25rem 3rem; }
  .pslides-grid, .pdemo-grid { grid-template-columns: 1fr; }
}

/* ── BIBLIOTECA DE PROMPTS ── */
.prompt-lista { padding: 0.75rem 1.75rem 1.5rem; }
.prompt-item { margin-bottom: 1.25rem; }
.prompt-ctx { font-size: 0.75rem; margin-bottom: 0.3rem; }
.prompt-ctx a { color: var(--ouro); text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.68rem; }
.prompt-ctx a:hover { color: var(--orange); }

/* ── CONCHA DE APP (site inteiro) ── */
.app-body { background: var(--navy); }

.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-main > footer { margin-top: auto; }

.app-top {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(249, 244, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.at-crumb { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.at-crumb span { color: var(--orange); margin: 0 0.35rem; }

.at-timer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--faint);
}
.at-timer b { font-family: 'SF Mono', Menlo, monospace; font-size: 0.95rem; color: var(--tinta); letter-spacing: 0.04em; }
.at-timer button {
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 26px; height: 26px;
  cursor: pointer;
  color: var(--orange);
  font-size: 0.7rem;
}
.at-timer button:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.app-side .pside-progress { margin-top: auto; }

.pside-progress {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin: 1.25rem 0.2rem 0.6rem;
}
.pp-head { display: flex; justify-content: space-between; font-size: 0.72rem; color: rgba(245, 239, 231, 0.7); font-weight: 600; }
.pp-head b { color: var(--orange); }
.pp-bar { height: 5px; background: rgba(255, 255, 255, 0.12); border-radius: 2rem; overflow: hidden; margin: 0.45rem 0 0.4rem; }
.pp-bar > div { height: 100%; width: 0; background: var(--orange); border-radius: 2rem; transition: width 0.4s ease; }
.pside-progress small { font-size: 0.62rem; color: rgba(245, 239, 231, 0.45); }

.pp-bar.pp-big { height: 8px; background: var(--subtle); margin: 0.6rem 0 0.5rem; }
.pp-bar.pp-big > div { background: linear-gradient(90deg, var(--orange), #F1813F); }

.pside-regra {
  display: flex;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  font-size: 0.7rem;
  line-height: 1.5;
  color: rgba(245, 239, 231, 0.72);
  margin: 0 0.2rem 0.75rem;
}
.pside-regra b { color: var(--ouro); }
.pside-regra strong { color: #F5EFE7; }

.pside-brand { font-size: 0.6rem; color: rgba(245, 239, 231, 0.35); text-align: center; padding-top: 0.4rem; letter-spacing: 0.06em; }

.ex-linha input.exdone { width: 17px; height: 17px; accent-color: var(--green); flex-shrink: 0; cursor: pointer; }

/* ── PERSONALIZAÇÃO: foto da formadora ── */
.pside-autora {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  margin: 1.25rem 0.2rem 0;
}
.app-side .pside-autora { margin-top: auto; }
.app-side .pside-progress { margin-top: 0.6rem; }
.pside-autora img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--orange);
  flex-shrink: 0;
}
.pside-autora strong { display: block; font-family: var(--display); font-weight: 600; font-size: 0.88rem; color: #F5EFE7; line-height: 1.2; }
.pside-autora small { display: block; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ouro); font-weight: 700; }
.autora-contacto { font-size: 0.66rem; color: rgba(245, 239, 231, 0.55); text-decoration: none; }
.autora-contacto:hover { color: var(--orange); }

.hero-flex { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.hero-foto {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid rgba(232, 80, 15, 0.35);
  box-shadow: 0 18px 40px -18px rgba(26, 20, 16, 0.3);
  flex-shrink: 0;
}
@media (max-width: 700px) { .hero-foto { display: none; } }

.pside-logo img { object-fit: cover; object-position: top; }

/* ── TÓPICOS POR TEMA ── */
.topico-grupos { padding: 0.75rem 1.75rem 1.5rem; }
.topico-grupo { padding: 0.9rem 0 0.4rem; border-bottom: 1px solid var(--subtle); }
.topico-grupo:last-child { border-bottom: none; }
.topico-grupo-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ouro);
  margin-bottom: 0.6rem;
}
.tg-cloud { padding: 0 0 0.6rem; }

/* ── LANDING (topo do index) ── */
.landing-hero { padding: 4rem 2rem 3.5rem; }
.hero-texto { max-width: 60ch; }
.hero-lead {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.1rem;
}
.hero-lead strong { color: var(--tinta); }

.cred-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.2rem; }
.cred-chips span {
  font-size: 0.7rem;
  font-weight: 600;
  color: #7A6320;
  background: rgba(168, 138, 56, 0.1);
  border: 1px solid rgba(168, 138, 56, 0.3);
  padding: 0.28rem 0.8rem;
  border-radius: 2rem;
}

.hero-cta { display: flex; gap: 0.75rem; margin-top: 1.4rem; flex-wrap: wrap; }

.landing-hero .hero-foto {
  width: 190px;
  height: 190px;
  border: 4px solid rgba(232, 80, 15, 0.3);
}

/* ── MÓDULOS NA SIDEBAR ── */
.pside-mods {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.3rem;
  padding: 0.1rem 0.4rem 0.3rem;
}
.pmod {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(245, 239, 231, 0.75);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  padding: 0.3rem 0;
  transition: all 0.15s;
}
.pmod:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.pmod.ativo { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ── DESBLOQUEIO PROGRESSIVO ── */
.pmod.trancado, .snav-item.trancado { opacity: 0.32; }
.sessao-item.trancada a { opacity: 0.45; pointer-events: auto; }
.sessao-item.trancada .sessao-data { opacity: 0.45; }
.sessao-item.trancada .check { border-style: dashed; font-size: 0.65rem; }

a.btn-primary.btn-trancado { opacity: 0.4; pointer-events: none; filter: grayscale(0.4); }

.veu-bloqueio {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(249, 244, 238, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.veu-cartao {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(26, 20, 16, 0.35);
  padding: 2.5rem 2.75rem;
  max-width: 520px;
  text-align: center;
}
.veu-icone { font-size: 2.2rem; margin-bottom: 0.75rem; }
.veu-cartao h2 { font-family: var(--display); font-size: 1.5rem; font-weight: 600; color: var(--tinta); margin-bottom: 0.6rem; }
.veu-cartao p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.veu-btns { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
