:root {
  --navy-950: #071925;
  --navy-900: #0b2535;
  --navy-800: #12364d;
  --navy-700: #1b4965;
  --gold-500: #e5bd74;
  --gold-600: #c99b49;
  --blue-600: #1d63b8;
  --blue-50: #eff6ff;
  --emerald-600: #059669;
  --emerald-50: #ecfdf5;
  --amber-600: #d97706;
  --amber-50: #fffbeb;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-sm: 0 2px 8px rgba(11, 37, 53, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 37, 53, 0.12);
  --shadow-lg: 0 20px 50px rgba(11, 37, 53, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate-800);
  background: var(--slate-50);
  line-height: 1.65;
  font-size: 16px;
}

#reading-progress {
  position: fixed;
  top: 0; left: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-500), #38bdf8);
  width: 0%; z-index: 1000;
  transition: width 0.1s ease;
}

.topbar {
  position: sticky; top: 0; z-index: 900;
  background: rgba(11, 37, 53, 0.97);
  backdrop-filter: blur(10px);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 24px;
}
.topbar-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap; text-align: center;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: #fff;
}
.brand-badge {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950); font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.brand-text { text-align: left; }
.brand-text strong { display: block; font-size: 16px; }
.brand-text span { display: block; font-size: 12px; color: var(--gold-500); }

.topbar-controls {
  display: flex; align-items: center; gap: 10px;
  justify-content: center; flex-wrap: wrap;
}
.search-box { position: relative; min-width: 240px; max-width: 340px; }
.search-box input {
  width: 100%; padding: 9px 14px 9px 36px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.09); color: #fff; font-size: 14px; outline: none;
}
.search-box input::placeholder { color: #cbd5e1; }
.search-box input:focus { background: rgba(255, 255, 255, 0.16); border-color: var(--gold-500); }
.search-box svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: #cbd5e1;
}
.btn-top {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 999px; font-size: 13px; font-weight: 600;
  text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer;
}
.btn-top:hover, .btn-top.gold {
  background: var(--gold-500); color: var(--navy-950); border-color: var(--gold-500);
}

.hero {
  background: radial-gradient(circle at 50% 20%, #1b4965 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: #fff; padding: 52px 24px 48px;
  border-bottom: 4px solid var(--gold-500);
  text-align: center;
}
.hero-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  text-align: center;
}
.hero-inner > div:first-child {
  display: flex; flex-direction: column; align-items: center; width: 100%;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(229, 189, 116, 0.16); border: 1px solid rgba(229, 189, 116, 0.4);
  color: var(--gold-500); padding: 6px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px;
  margin-bottom: 16px;
}
.hero h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.18; margin: 0 auto 14px; max-width: 920px; text-align: center; }
.hero h1 span { color: var(--gold-500); }
.hero p { font-size: 16.5px; color: #cbd5e1; margin: 0 auto 22px; max-width: 820px; text-align: center; }
.hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 24px; }
.hero-pill {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 12px; border-radius: 8px; font-size: 13px; color: #e2e8f0;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-500); color: var(--navy-950); font-weight: 700;
  padding: 13px 22px; border-radius: 10px; text-decoration: none;
}
.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.1); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24); font-weight: 600;
  padding: 13px 20px; border-radius: 10px; text-decoration: none;
}
.hero-roadmap-card {
  width: 100%; max-width: 980px; margin: 4px auto 0;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg);
  text-align: center;
}
.hero-roadmap-card h3 {
  margin: 0 0 14px; font-size: 15px; color: var(--gold-500);
  text-transform: uppercase; letter-spacing: 1px; text-align: center;
}
.roadmap-steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 10px;
  text-align: left;
}
.roadmap-steps li {
  display: flex; align-items: center; gap: 12px;
  background: rgba(11, 37, 53, 0.65); border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 14px; border-radius: 10px; font-size: 13.5px;
}
.roadmap-steps li strong {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold-500); color: var(--navy-950);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0;
}

/* LAYOUT 100% CENTRALIZADO */
.layout {
  max-width: 1120px; margin: 0 auto; padding: 32px 24px 80px;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
}
.toc-sidebar {
  width: 100%; max-width: 1120px; margin: 0 auto;
  background: #fff; border: 2px solid var(--slate-200); border-radius: var(--radius-lg);
  padding: 20px 22px; box-shadow: var(--shadow-sm);
  text-align: center;
}
.toc-title {
  font-size: 13px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1.1px; color: var(--navy-900);
  padding: 0 10px 10px; border-bottom: 1px solid var(--slate-200); margin-bottom: 10px;
  text-align: center;
}
.toc-group-label {
  font-size: 11.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.8px; color: var(--navy-700); padding: 12px 10px 6px;
  text-align: center;
}
.toc-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.toc-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px; color: var(--slate-700);
  background: var(--slate-50); border: 1px solid var(--slate-200);
  text-decoration: none; font-size: 13px; font-weight: 600;
  transition: all 0.15s ease;
}
.toc-link:hover, .toc-link.active {
  background: var(--blue-50); color: var(--blue-600); border-color: #93c5fd; font-weight: 700;
}
.toc-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 24px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--navy-900); color: var(--gold-500); font-size: 11px; font-weight: 800;
}
.toc-link.active .toc-num { background: var(--blue-600); color: #fff; }

.manual-content {
  width: 100%; max-width: 1120px; margin: 0 auto;
  display: grid; gap: 36px;
}

/* ============================================================================
   SIMULADOR / VÍDEO INTERATIVO PASSO A PASSO ("CLIQUE AQUI", "VÁ AQUI")
   ============================================================================ */
.tour-player-card {
  background: linear-gradient(180deg, #0b2535 0%, #071925 100%);
  border: 2px solid var(--gold-500);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(7, 25, 37, 0.28);
  margin: 22px auto;
  width: 100%;
  color: #fff;
}

.tour-player-header {
  padding: 16px 22px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.tour-player-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tour-live-badge {
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: pulseBadge 1.8s infinite;
}

@keyframes pulseBadge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

.tour-player-title h3 {
  margin: 0;
  font-size: 17px;
  color: #fff;
}

.tour-player-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tour-btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}

.tour-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.tour-btn.play-btn {
  background: var(--gold-500);
  color: var(--navy-950);
  border-color: var(--gold-500);
}

.tour-btn.play-btn.playing {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
}

/* Barra de instrução ativa em destaque */
.tour-instruction-banner {
  background: linear-gradient(90deg, rgba(229, 189, 116, 0.18), rgba(56, 189, 248, 0.12));
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.tour-step-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.tour-step-counter {
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 900;
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 8px;
  white-space: nowrap;
}

.tour-step-text strong {
  display: block;
  font-size: 16px;
  color: #fff;
}

.tour-step-text span {
  display: block;
  font-size: 13.5px;
  color: #cbd5e1;
}

.tour-typing-pill {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(229, 189, 116, 0.5);
  color: var(--gold-500);
  padding: 6px 12px;
  border-radius: 8px;
  font-family: monospace;
  font-size: 13px;
  font-weight: 700;
}

/* Palco Visual com a Tela Real + Hotspot Pulsante + Balão + Cursor Animado */
.tour-stage {
  position: relative;
  width: 100%;
  background: #050f17;
  overflow: hidden;
  user-select: none;
}

.tour-stage img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.25s ease;
}

/* Caixa de destaque pulsante ("Clique aqui!") */
.tour-hotspot {
  position: absolute;
  border: 3px solid #ef4444;
  background: rgba(239, 68, 68, 0.18);
  border-radius: 10px;
  box-shadow: 0 0 0 4px rgba(229, 189, 116, 0.7), 0 0 28px rgba(239, 68, 68, 0.85);
  cursor: pointer;
  z-index: 20;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  animation: hotspotPulse 1.3s infinite;
}

@keyframes hotspotPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 3px rgba(229, 189, 116, 0.8), 0 0 25px rgba(239, 68, 68, 0.85);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.35), 0 0 38px rgba(229, 189, 116, 1);
  }
}

/* Etiqueta "CLIQUE AQUI" presa ao hotspot */
.tour-hotspot-tag {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  background: #ef4444;
  color: #fff;
  font-size: 11.5px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  letter-spacing: 0.4px;
  pointer-events: none;
}

/* Balão explicativo flutuante sobre a imagem */
.tour-callout-bubble {
  position: absolute;
  z-index: 25;
  max-width: 320px;
  background: rgba(11, 37, 53, 0.96);
  color: #fff;
  border: 2px solid var(--gold-500);
  border-radius: 12px;
  padding: 12px 15px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  text-align: left;
}

.tour-callout-bubble strong {
  display: block;
  color: var(--gold-500);
  font-size: 13.5px;
  margin-bottom: 4px;
}

.tour-callout-bubble p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #f1f5f9;
}

/* Cursor Animado (Mãozinha / Seta) */
.tour-cursor {
  position: absolute;
  z-index: 30;
  width: 36px;
  height: 36px;
  pointer-events: none;
  transition: left 0.55s cubic-bezier(0.22, 1, 0.36, 1), top 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.65));
}

.tour-cursor::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid var(--gold-500);
  animation: cursorClickRipple 1.3s infinite;
}

@keyframes cursorClickRipple {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.1); opacity: 0; }
}

/* Barra inferior de linha do tempo dos passos do tour */
.tour-timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  background: #071925;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tour-timeline-step {
  flex: 1;
  min-width: 135px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}

.tour-timeline-step:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.tour-timeline-step.active {
  background: var(--gold-500);
  color: var(--navy-950);
  border-color: var(--gold-500);
  font-weight: 800;
}

/* ============================================================================
   CARDS DE PASSOS E GALERIA DE SEGMENTOS (CENTRALIZADOS)
   ============================================================================ */
.action-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.action-banner h2 { margin: 0 0 10px; font-size: 22px; color: var(--navy-900); text-align: center; }
.action-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px; margin-top: 18px; text-align: center;
}
.action-item { background: #fff; border: 1px solid var(--slate-200); border-radius: 10px; padding: 14px; text-align: center; }
.action-badge { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.action-badge.add { background: #dcfce7; color: #166534; }
.action-badge.edit { background: #dbeafe; color: #1e40af; }
.action-badge.toggle { background: #fef3c7; color: #92400e; }
.action-badge.del { background: #fee2e2; color: #991b1b; }
.action-badge.cancel { background: #f1f5f9; color: #334155; }
.action-item p { margin: 0; font-size: 13px; color: var(--slate-600); }

.step-card {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  width: 100%; margin: 0 auto;
}
.step-header {
  background: linear-gradient(90deg, var(--navy-900), var(--navy-800));
  color: #fff; padding: 22px 26px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center;
}
.step-header-left {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center;
}
.step-number {
  background: var(--gold-500); color: var(--navy-950);
  font-weight: 800; font-size: 13px; padding: 6px 14px;
  border-radius: 999px; text-transform: uppercase; white-space: nowrap;
}
.step-header h2 { margin: 0; font-size: 22px; line-height: 1.25; text-align: center; }
.step-header small { display: block; color: #cbd5e1; font-size: 13.5px; margin-top: 4px; text-align: center; }
.step-menu-path {
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px; color: var(--gold-500); font-weight: 600;
}
.step-body { padding: 28px; }
.step-intro { font-size: 16px; color: var(--slate-700); margin: 0 auto 22px; max-width: 900px; text-align: center; }

.screenshot-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 20px auto; }
.screenshot-grid.two-cols { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.screenshot-grid.three-cols { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }

.screenshot-frame {
  margin: 0; border: 1px solid var(--slate-200); border-radius: 12px;
  overflow: hidden; background: var(--slate-900); box-shadow: var(--shadow-md);
}
.screenshot-bar {
  background: #1e293b; padding: 8px 14px;
  display: flex; align-items: center; justify-content: space-between;
  color: #cbd5e1; font-size: 12px;
}
.screenshot-dots { display: flex; gap: 5px; }
.screenshot-dots span { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.screenshot-dots span:nth-child(1) { background: #ef4444; }
.screenshot-dots span:nth-child(2) { background: #f59e0b; }
.screenshot-dots span:nth-child(3) { background: #10b981; }
.screenshot-frame img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.screenshot-caption {
  background: #f8fafc; padding: 11px 15px; font-size: 13px; color: var(--slate-600);
  border-top: 1px solid var(--slate-200);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.zoom-hint { color: var(--blue-600); font-weight: 600; font-size: 12px; white-space: nowrap; }

.instruction-list { list-style: none; padding: 0; margin: 18px auto; max-width: 980px; display: grid; gap: 10px; }
.instruction-list li {
  position: relative; padding: 13px 16px 13px 48px;
  background: var(--slate-50); border: 1px solid var(--slate-200);
  border-radius: 10px; color: var(--slate-800); font-size: 14.5px;
  text-align: left;
}
.instruction-list li .idx {
  position: absolute; left: 13px; top: 13px; width: 25px; height: 25px;
  border-radius: 50%; background: var(--navy-900); color: var(--gold-500);
  font-weight: 800; font-size: 12.5px; display: flex; align-items: center; justify-content: center;
}

.sections-breakdown {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px; margin: 18px auto;
}
.section-box {
  background: #fff; border: 1px solid var(--slate-200);
  border-top: 4px solid var(--navy-800); border-radius: 10px; padding: 16px;
  text-align: left;
}
.section-box h4 { margin: 0 0 8px; font-size: 15px; color: var(--navy-900); }
.section-box ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--slate-600); }
.section-box li { margin-bottom: 4px; }

.callout {
  padding: 15px 18px; border-radius: 10px; margin: 16px auto 0;
  font-size: 14px; display: flex; gap: 12px; align-items: flex-start;
  text-align: left;
}
.callout.tip { background: var(--emerald-50); border: 1px solid #a7f3d0; color: #065f46; }
.callout.warn { background: var(--amber-50); border: 1px solid #fde68a; color: #92400e; }

.manual-table { width: 100%; border-collapse: collapse; margin: 16px auto; font-size: 14px; }
.manual-table th {
  background: var(--slate-100); color: var(--navy-900); text-align: left;
  padding: 10px 14px; border: 1px solid var(--slate-200); font-weight: 700;
}
.manual-table td { padding: 9px 14px; border: 1px solid var(--slate-200); color: var(--slate-700); text-align: left; }
kbd {
  background: var(--navy-900); color: var(--gold-500);
  padding: 3px 8px; border-radius: 5px; font-size: 12px; font-weight: 700; font-family: monospace;
}

.lightbox {
  position: fixed; inset: 0; background: rgba(7, 25, 37, 0.92);
  z-index: 2000; display: none; align-items: center; justify-content: center;
  padding: 24px; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox-inner { max-width: 96vw; max-height: 92vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 96vw; max-height: 84vh; border-radius: 10px; border: 2px solid rgba(255, 255, 255, 0.2); }
.lightbox-caption { color: #fff; font-size: 15px; font-weight: 600; text-align: center; }
.lightbox-close {
  position: fixed; top: 20px; right: 24px;
  background: var(--gold-500); color: var(--navy-950);
  border: none; border-radius: 999px; padding: 8px 16px; font-weight: 800; cursor: pointer;
}

footer {
  background: var(--navy-950); color: #94a3b8;
  padding: 36px 24px; text-align: center; font-size: 14px;
  border-top: 3px solid var(--gold-500);
}

@media (max-width: 1024px) {
  .roadmap-steps, .screenshot-grid.two-cols, .screenshot-grid.three-cols { grid-template-columns: 1fr; }
  .tour-callout-bubble { max-width: 240px; font-size: 11.5px; }
}

/* ============================================================================
   GUIA PROFUNDO DE CADA SEGMENTO (COMO FUNCIONA + 1º PASSO + DETALHES PEQUENOS)
   ============================================================================ */
.segment-deep-card {
  background: #ffffff;
  border: 2px solid var(--slate-200);
  border-left: 6px solid var(--navy-800);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 22px auto;
  box-shadow: 0 4px 16px rgba(11, 37, 53, 0.06);
  text-align: left;
}

.segment-deep-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--slate-200);
  margin-bottom: 16px;
}

.segment-deep-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.segment-deep-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--navy-900);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.segment-deep-title h3 {
  margin: 0;
  font-size: 19px;
  color: var(--navy-900);
}

.segment-deep-title small {
  display: block;
  font-size: 13px;
  color: var(--slate-500);
  margin-top: 2px;
}

.segment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seg-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--navy-800);
  border: 1px solid var(--slate-200);
}

.seg-badge.gold {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

.seg-badge.blue {
  background: var(--blue-50);
  color: var(--blue-600);
  border-color: #bfdbfe;
}

.segment-first-step-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 2px solid #10b981;
  border-radius: 12px;
  padding: 15px 18px;
  margin-bottom: 16px;
}

.segment-first-step-banner strong.banner-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #059669;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.segment-first-step-banner p {
  margin: 0;
  font-size: 14.5px;
  color: #064e3b;
  line-height: 1.55;
}

.segment-cols {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  margin-top: 14px;
}

.segment-workflow-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 11px;
  padding: 16px 18px;
}

.segment-workflow-box h4,
.segment-details-box h4 {
  margin: 0 0 10px;
  font-size: 14.5px;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 7px;
}

.segment-workflow-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.segment-workflow-list li {
  font-size: 13.5px;
  color: var(--slate-700);
  line-height: 1.5;
  padding-left: 28px;
  position: relative;
}

.segment-workflow-list li .step-dot {
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-500);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.segment-details-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 11px;
  padding: 16px 18px;
}

.segment-details-box ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  color: #78350f;
  display: grid;
  gap: 6px;
}

.segment-screens-bar {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--slate-200);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.segment-screens-bar strong {
  font-size: 12px;
  color: var(--slate-600);
  margin-right: 4px;
}

.screen-pill {
  font-size: 11.5px;
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 600;
}

@media (max-width: 960px) {
  .segment-cols {
    grid-template-columns: 1fr;
  }
}
