
    :root {
      --cor-primaria: #ff7a00;
      --cor-primaria-escura: #cc6200;
      --cor-fundo: #f4f5f7;
      --cor-texto: #222;
      --cor-sidebar: #ffffff;
      --cor-borda: #dde1e7;
    }
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    body {
      margin: 0;
      padding: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: radial-gradient(circle at top left, #eef2ff 0, #f5f5f7 45%, #f5f5f7 100%);
      color: var(--cor-texto);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }
    header {
      background: #ffffffcc;
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--cor-borda);
      padding: 12px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      position: sticky;
      top: 0;
      z-index: 10;
    }
    header .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 600;
      font-size: 18px;
    }
    header .logo span.brand {
      color: var(--cor-primaria);
    }
    header .busca-container {
      flex: 1;
      max-width: 460px;
      position: relative;
    }
    header .busca-container input {
      width: 100%;
      padding: 8px 32px 8px 10px;
      border-radius: 999px;
      border: 1px solid var(--cor-borda);
      font-size: 14px;
      outline: none;
      background: #f9fafb;
    }
    header .busca-container input:focus {
      border-color: var(--cor-primaria);
      box-shadow: 0 0 0 1px rgba(255, 122, 0, 0.3);
      background: #ffffff;
    }
    header .busca-container .icon {
      position: absolute;
      right: 8px;
      top: 50%;
      transform: translateY(-50%);
      font-size: 14px;
      opacity: 0.6;
    }
    main {
      flex: 1;
      display: grid;
      grid-template-columns: 280px minmax(0, 1fr);
      min-height: 0;
      padding: 20px 16px 28px;
      gap: 18px;
    }
    aside {
      background: rgba(255,255,255,0.86);
      border-radius: 16px;
      border: 1px solid var(--cor-borda);
      padding: 16px 12px;
      overflow-y: auto;
      max-height: calc(100vh - 120px);
      box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    }
    .menu-titulo {
      font-size: 13px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .06em;
      margin-bottom: 8px;
      color: #666;
    }
    .menu-lista {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 4px;
      font-size: 14px;
    }
    .menu-item {
      width: 100%;
      text-align: left;
      border: none;
      background: transparent;
      padding: 8px 10px;
      border-radius: 8px;
      cursor: pointer;
      display: block;
      color: #374151;
      transition: background .15s, color .15s, transform .05s;
    }
    .menu-item:hover {
      background: #f3f3f3;
    }
    .menu-item.ativo {
      background: rgba(255, 122, 0, 0.1);
      color: var(--cor-primaria-escura);
      font-weight: 600;
      transform: translateX(1px);
    }
    section#conteudo-wrapper {
      overflow-y: auto;
      max-height: calc(100vh - 120px);
    }
    section#conteudo {
      max-width: 1120px;
      margin: 0 auto;
    }
    .placeholder {
      border-radius: 18px;
      padding: 32px 24px;
      text-align: center;
      background: rgba(255,255,255,0.92);
      color: #555;
      border: 1px dashed var(--cor-borda);
      box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    }
    .placeholder h2 {
      margin-bottom: 8px;
      font-size: 20px;
    }
    .placeholder p {
      font-size: 14px;
      line-height: 1.5;
    }

    /* ====== Estilo das páginas internas (baseado no layout enviado) ====== */
    :root {
        --bg: #f5f5f7;
        --card-bg: #ffffff;
        --primary: #0d6efd;
        --primary-soft: rgba(13, 110, 253, 0.08);
        --border-soft: #e2e2ea;
        --text-main: #1f2933;
        --text-muted: #6b7280;
        --radius-lg: 18px;
        --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
    }

    .page {
        max-width: 1120px;
        margin: 0 auto 32px;
        padding: 8px 0 32px;
    }

    .page header {
        margin-bottom: 20px;
        text-align: center;
        background: transparent;
        border: none;
        position: static;
        padding: 0 8px 8px;
        box-shadow: none;
        display: block;
    }

    .badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 4px 10px;
        border-radius: 999px;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        background: var(--primary-soft);
        color: var(--primary);
        font-weight: 600;
    }

    .badge-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--primary);
    }

    .page h1 {
        font-size: clamp(1.6rem, 2.4vw + 1rem, 2.2rem);
        margin: 12px 0 4px;
        color: var(--text-main);
    }

    .subtitle {
        max-width: 640px;
        margin: 0 auto;
        font-size: 0.95rem;
        color: var(--text-muted);
    }

    .steps-grid {
        display: flex;
        flex-direction: column;
        gap: 26px;
        margin-top: 32px;
    }

    .step-card {
        display: grid;
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.7fr);
        gap: 18px;
        padding: 18px;
        border-radius: var(--radius-lg);
        background: var(--card-bg);
        box-shadow: var(--shadow-soft);
        border: 1px solid rgba(148, 163, 184, 0.25);
    }

    .step-card:nth-child(even) {
        grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
    }

    .step-media {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .step-media img {
        width: 100%;
        border-radius: 14px;
        max-height: 420px;
        object-fit: contain;
        background: #0f172a;
        cursor: zoom-in;
    }

    .step-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
    }

    .step-label {
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--primary);
    }

    .step-title {
        font-size: 1.1rem;
        margin: 0;
    }

    .step-body {
        font-size: 0.93rem;
        line-height: 1.55;
        color: var(--text-muted);
    }

    .step-tip {
        margin-top: 6px;
        padding: 8px 10px;
        border-radius: 12px;
        background: #f9fafb;
        border: 1px dashed #d1d5db;
        font-size: 0.82rem;
    }

    @media (max-width: 1024px) {
      main {
        grid-template-columns: minmax(0, 1fr);
        max-height: none;
      }
      aside {
        max-height: none;
      }
      section#conteudo-wrapper {
        max-height: none;
      }
    }

    @media (max-width: 900px) {
        .step-card,
        .step-card:nth-child(even) {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 640px) {
        .page {
            padding-inline: 4px;
        }

        .step-card {
            padding: 14px;
        }
    }

    /* Modal de zoom da imagem */
    .img-modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.85);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        cursor: zoom-out;
        padding: 20px;
    }

    .img-modal-overlay img {
        max-width: 95%;
        max-height: 95%;
        border-radius: 12px;
        box-shadow: 0 0 25px rgba(0,0,0,0.6);
        object-fit: contain;
    }
  
    .steps-grid > .step-card:not(:last-child) {
        position: relative;
    }

    .steps-grid > .step-card:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 10%;
        right: 10%;
        bottom: -14px;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(148, 163, 184, 0.45), transparent);
    }

    .breadcrumb {
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #9ca3af;
        margin-bottom: 6px;
    }

    .breadcrumb span + span::before {
        content: "›";
        margin: 0 4px;
        opacity: 0.6;
    }

    

    .back-to-top {
        position: fixed;
        right: 22px;
        bottom: 24px;
        width: 40px;
        height: 40px;
        border-radius: 999px;
        border: none;
        background: rgba(15,23,42,0.9);
        color: #f9fafb;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 12px 30px rgba(15,23,42,0.45);
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px);
        transition: opacity 0.2s ease, transform 0.2s ease;
        z-index: 999;
    }

    .back-to-top.visivel {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    @media (prefers-color-scheme: dark) {
        body {
            background: radial-gradient(circle at top left, #020617 0, #020617 40%, #020617 100%);
            color: #e5e7eb;
        }

        header {
            background: rgba(15,23,42,0.92);
            border-bottom-color: #1f2937;
        }

        header .busca-container input {
            background: #020617;
            border-color: #111827;
            color: #e5e7eb;
        }

        header .busca-container input::placeholder {
            color: #6b7280;
        }

        aside {
            background: rgba(15,23,42,0.96);
            border-color: #1f2937;
        }

        .menu-item {
            color: #e5e7eb;
        }

        .menu-item:hover {
            background: #111827;
        }

        .menu-item.ativo {
            background: rgba(248, 113, 113, 0.22);
        }

        .placeholder {
            background: rgba(15,23,42,0.96);
            border-color: #1f2937;
            color: #e5e7eb;
        }

        .page {
            color: #e5e7eb;
        }

        .step-card {
            background: #020617;
            border-color: #1f2937;
        }

        .step-body {
            color: #9ca3af;
        }

        .step-tip {
            background: #020617;
            border-color: #1f2937;
        }

        .img-modal-overlay {
            background: rgba(0,0,0,0.92);
        }

        
    }

/* Container geral */
.welcome-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
}

/* Título + subtítulo */
.welcome-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: .5rem;
    color: #1f2937;
}

.welcome-header p {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Grid dos cards */
.welcome-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.4rem;
    margin-top: 1rem;
}

/* Cada card */
.welcome-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.6rem 1.4rem;
    text-align: left;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

    .welcome-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        border-color: #0ea5e9;
    }

/* Título do card */
.welcome-card-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: .35rem;
}

/* Texto do card */
.welcome-card-text {
    font-size: .95rem;
    color: #6b7280;
    line-height: 1.35rem;
}

/* Interação de clique */
.welcome-card:active {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}


    
