/* Guia de uso: mesma marca do site (contorno de tinta, sombra deslocada), leitura em primeiro lugar. */

.guide { padding-bottom: 80px; }
.guide-hero { padding: 32px 0 56px; display: flex; flex-direction: column; gap: 24px; max-width: 860px; }
.guide-hero h1 { font-size: clamp(52px, 7vw, 108px); line-height: .9; letter-spacing: -.05em; }

.guide-body { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc {
  position: sticky; top: 24px; border: var(--line); border-radius: 24px 24px 24px 8px; background: #fff;
  box-shadow: 6px 6px 0 var(--ink); padding: 20px 18px;
}
.toc-title { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary-ink); }
.toc ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; }
.toc a { text-decoration: none; }
.toc a:hover, .toc a.active { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--primary); text-decoration-thickness: 3px; }

.sections { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.g-section {
  scroll-margin-top: 24px;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: center;
  border: var(--line); border-radius: 36px 36px 36px 10px; background: #fff; box-shadow: 8px 8px 0 var(--ink);
  padding: 36px;
}
.g-feature { background: var(--secondary); }
.g-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.g-n {
  align-self: flex-start; display: inline-flex; align-items: center; justify-content: center;
  min-width: 48px; height: 48px; padding: 0 10px; border-radius: 24px 24px 24px 7px; border: var(--line);
  font-family: var(--display); font-weight: 800; font-size: 22px;
}
.n-orange { background: var(--primary); } .n-yellow { background: var(--secondary); } .n-pink { background: var(--accent); }
.g-feature .n-pink { background: #fff; }
.g-section h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1; letter-spacing: -.035em; }
.g-lead { margin: 0; font-size: 18px; line-height: 1.5; color: var(--ink-soft); }
.g-steps, .g-list { margin: 4px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.55; }
.g-steps li::marker { font-weight: 800; color: var(--primary-ink); }
.g-list li::marker { color: var(--primary); }
.g-note { margin: 4px 0 0; padding: 14px 16px; border: 2px solid var(--ink); border-radius: 16px 16px 16px 5px; background: rgba(255,255,255,.7); font-size: 15px; line-height: 1.5; }
.g-section q { quotes: "“" "”"; font-weight: 600; }
.g-section code { font: 600 .88em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--cream); border: 1.5px solid rgba(22,19,15,.25); border-radius: 6px; padding: 1px 6px; word-break: break-word; }
.pro { display: inline-block; padding: 1px 7px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--secondary); font: 700 11px var(--text); letter-spacing: .06em; vertical-align: 2px; }
.g-feature .pro { background: #fff; }

.g-art {
  position: relative; min-height: 260px; border: var(--line); border-radius: 28px 28px 28px 8px; padding: 26px;
  background: radial-gradient(120% 90% at 0% 0%, #FFE7A3 0%, transparent 55%), radial-gradient(90% 80% at 100% 100%, #FCC6CE 0%, transparent 60%), #FFF1DE;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; overflow: hidden;
}
.g-feature .g-art { background: radial-gradient(100% 90% at 100% 0%, #FFBE8A 0%, transparent 60%), #FFF8EC; }

/* peças comuns das ilustrações */
.app-icon {
  display: inline-flex; align-items: flex-start; gap: 1px; padding: 14px 14px 18px; border: var(--line); border-radius: 22px;
  background: var(--cream); box-shadow: 4px 4px 0 var(--ink); font: 800 26px/1 var(--display); letter-spacing: -1px;
}
.app-icon i { width: 9px; height: 9px; border-radius: 5px 5px 5px 2px; background: var(--primary); border: 1.5px solid var(--ink); }
.app-icon.small { padding: 7px 8px 9px; border-radius: 11px; font-size: 14px; box-shadow: 2px 2px 0 var(--ink); }
.app-icon.small i { width: 5px; height: 5px; }
.bubble { max-width: 92%; padding: 12px 16px; border: 2px solid var(--ink); font-size: 15px; line-height: 1.4; font-weight: 500; }
.bubble-me { align-self: flex-end; background: var(--primary); border-radius: 18px 18px 4px 18px; font-weight: 600; }
.bubble-ai { align-self: flex-start; background: #fff; border-radius: 18px 18px 18px 4px; }

/* 1 · DMG */
.art-dmg { display: flex; align-items: center; gap: 14px; }
.dmg-app, .dmg-folder { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.dmg-arrow { width: 90px; height: 30px; }
.dmg-arrow path { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.folder { position: relative; width: 84px; height: 64px; border: var(--line); border-radius: 6px 12px 12px 12px; background: #8EC5FF; box-shadow: 4px 4px 0 var(--ink); }
.folder::before { content: ""; position: absolute; left: -2.5px; top: -12px; width: 36px; height: 12px; border: var(--line); border-bottom: 0; border-radius: 6px 6px 0 0; background: #8EC5FF; }

/* 2 · Gravar */
.keys { display: flex; align-items: center; gap: 10px; }
.key { min-width: 56px; height: 56px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: var(--line); border-radius: 12px; background: #fff; box-shadow: 0 5px 0 var(--ink); font: 700 22px var(--text); }
.key-wide { min-width: 150px; font-size: 17px; }
.plus { font: 800 22px var(--display); }
.widget {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 999px;
  background: rgba(255,255,255,.45); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); max-width: 100%;
}
.w-wave { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--primary); border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; gap: 3px; }
.w-wave i { width: 4px; border-radius: 2px; background: var(--ink); animation: wave 1.1s ease-in-out infinite; }
.w-wave i:nth-child(1) { height: 12px; } .w-wave i:nth-child(2) { height: 22px; animation-delay: -.4s; }
.w-wave i:nth-child(3) { height: 30px; animation-delay: -.2s; } .w-wave i:nth-child(4) { height: 20px; animation-delay: -.6s; }
.w-wave i:nth-child(5) { height: 12px; animation-delay: -.3s; }
.w-text { display: flex; flex-direction: column; min-width: 0; }
.w-text b { font: 800 20px var(--display); }
.w-text small { font-size: 11px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-chip { flex: none; padding: 6px 10px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font-size: 11px; font-weight: 700; }
.w-btn { flex: none; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--ink); border-radius: 50%; background: #fff; font-size: 11px; font-weight: 800; }
.menubar { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 8px; background: rgba(22,19,15,.86); color: #fff; font: 700 13px var(--text); }
.mb-balloon { width: 15px; height: 13px; border-radius: 8px 8px 8px 2px; background: var(--primary); }

/* 3 · Destinos */
.dest-card { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 16px 18px; border: 2px solid var(--ink); border-radius: 18px 18px 18px 5px; background: #fff; box-shadow: 5px 5px 0 var(--ink); max-width: 100%; }
.dest-card b { font: 800 20px var(--display); }
.dest-card small { flex-basis: 100%; font-size: 13px; color: var(--ink-soft); }
.dot-o { width: 14px; height: 14px; border-radius: 7px 7px 7px 2px; background: var(--primary); border: 2px solid var(--ink); }

/* 4 · Espaços */
.spaces { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.space { display: flex; flex-direction: column; gap: 7px; padding: 14px; border: 2px solid var(--ink); border-radius: 18px 18px 18px 5px; background: #fff; }
.space-work { box-shadow: 4px 4px 0 var(--primary); } .space-me { box-shadow: 4px 4px 0 var(--accent); }
.space b { font: 800 16px var(--display); }
.ch { align-self: flex-start; padding: 3px 9px; border: 1.5px solid rgba(22,19,15,.35); border-radius: 999px; font-size: 11.5px; font-weight: 600; color: rgba(22,19,15,.45); text-decoration: line-through; }
.ch.on { border-color: var(--ink); color: var(--ink); background: var(--secondary); text-decoration: none; }
.from { font-size: 11px; color: var(--ink-soft); }

/* 5 · Conectar */
.conn { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; border: 2px solid var(--ink); border-radius: 16px; background: #fff; font-size: 14px; }
.conn .ok { color: #1E7A3C; font-weight: 700; }
.conn .link { font: 600 12px ui-monospace, Menlo, monospace; }
.term { width: 100%; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: var(--secondary); font: 600 12px/1.5 ui-monospace, Menlo, monospace; overflow-wrap: anywhere; }
.term span { color: var(--support); }

/* 6 · Pedir */
.chat { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; font-weight: 800; }
.st { padding: 5px 11px; border: 2px solid var(--ink); border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.st-p { background: #fff; } .st-g { background: var(--secondary); } .st-r { background: var(--accent); }
.notif { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 18px; background: rgba(255,255,255,.8); border: 1px solid rgba(22,19,15,.15); box-shadow: 0 8px 24px rgba(22,19,15,.15); max-width: 100%; }
.notif b { display: block; font-size: 14px; }
.notif small { font-size: 13px; color: var(--ink-soft); }

/* 7 · Automático */
.clock { position: relative; width: 120px; height: 120px; border: var(--line); border-radius: 50%; background: #fff; box-shadow: 5px 5px 0 var(--ink); }
.clock::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--ink); }
.hand { position: absolute; left: 50%; top: 18px; width: 4px; height: 42px; margin-left: -2px; border-radius: 2px; background: var(--primary); transform-origin: 50% 100%; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips span { padding: 6px 12px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; }
.chips .on { background: var(--primary); }

/* 8 · Importar */
.file { position: relative; display: flex; flex-direction: column; gap: 4px; width: 150px; padding: 18px 16px; border: var(--line); border-radius: 10px 26px 10px 10px; background: #fff; box-shadow: 5px 5px 0 var(--ink); transform: rotate(-5deg); }
.file b { font-size: 14px; } .file small { font-size: 12px; color: var(--ink-soft); }
.drop-arrow { width: 40px; height: 54px; }
.drop-arrow path { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.inbox-drop { width: 100%; padding: 18px; border: 3px dashed var(--primary); border-radius: 18px; background: rgba(255,255,255,.6); text-align: center; font-weight: 700; font-size: 14px; }

/* 9 · iPhone */
.phone { position: relative; width: 250px; max-width: 100%; padding: 34px 14px 20px; border: 3px solid var(--ink); border-radius: 40px; background: #F2F2F7; box-shadow: 8px 8px 0 var(--ink); display: flex; flex-direction: column; gap: 10px; }
.ph-notch { position: absolute; left: 50%; top: 10px; width: 80px; height: 18px; margin-left: -40px; border-radius: 10px; background: var(--ink); }
.ph-title { margin: 0 0 4px 4px; font: 800 22px var(--display); }
.ph-action { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.ph-tall { align-items: flex-start; }
.ph-action small { display: block; font: 500 10.5px/1.45 ui-monospace, Menlo, monospace; color: #555; overflow-wrap: anywhere; }
.ph-ic { flex: none; width: 26px; height: 26px; border-radius: 7px; }
.ic-mic { background: var(--primary); } .ic-web { background: #4A9DFF; } .ic-bell { background: var(--accent); }

/* 10 · Configuração */
.code { width: 100%; margin: 0; padding: 18px; border-radius: 16px; background: var(--ink); color: #F4ECDD; font: 500 12px/1.6 ui-monospace, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.c-dim { color: #9C9283; }
.c-del { display: inline-block; background: rgba(245,120,139,.28); text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

/* Fim */
.g-end { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px; border: var(--line); border-radius: 36px 36px 36px 10px; background: var(--ink); color: var(--cream); box-shadow: 8px 8px 0 var(--primary); }
.g-end h2 { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.035em; }
.g-end p { margin: 0; font-size: 18px; }

@media (max-width: 980px) {
  .guide-body { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
  .g-section { grid-template-columns: 1fr; padding: 26px; }
}
@media (max-width: 520px) {
  .g-section { padding: 20px; border-radius: 28px 28px 28px 8px; box-shadow: 5px 5px 0 var(--ink); }
  .g-art { padding: 18px; min-height: 0; }
  .spaces { grid-template-columns: 1fr; }
  .widget .w-chip { display: none; }
  .key-wide { min-width: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .w-wave i, .hand { animation: none; }
}
