  .resume-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px 80px;
  }

  /* Header da ferramenta (igual ao padrão) */
  .tool-header {
    text-align: center;
    margin-bottom: 48px;
  }
  .tool-header h1 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-color);
    margin-bottom: 16px;
  }
  .tool-header .badge {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    font-size: 0.65em;
    padding: 4px 12px;
    border-radius: 40px;
    color: white;
    vertical-align: middle;
    margin-left: 8px;
  }
  .tool-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
  }

  /* Layout principal */
  .resume-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 32px 0 48px;
  }
  @media (max-width: 900px) {
    .resume-layout {
      grid-template-columns: 1fr;
      gap: 24px;
    }
  }

  /* Painéis (card padrão NextTools) */
  .form-panel, .preview-panel {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
  }

  /* Cabeçalho dos painéis */
  .panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
    flex-wrap: wrap;
    gap: 10px;
  }
  .btn-group {
    display: flex;
    gap: 8px;
  }

  /* Steps de progresso */
  .step-progress {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    gap: 0;
    flex-wrap: wrap;
  }
  .step {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    cursor: pointer;
    transition: opacity 0.2s;
    opacity: 0.5;
  }
  .step.active { opacity: 1; }
  .step.done { opacity: 0.8; }
  .step-num {
    width: 28px; height: 28px;
    background: var(--border-color);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: inherit;
    font-weight: 700;
    font-size: 13px;
    color: var(--gray);
    transition: all 0.2s;
  }
  .step.active .step-num {
    background: var(--primary);
    color: #fff;
  }
  .step.done .step-num {
    background: var(--success);
    color: #fff;
  }
  .step-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-color);
    white-space: nowrap;
  }
  .step-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 8px;
    min-width: 12px;
  }
  @media (max-width: 640px) {
    .step-label { display: none; }
    .step-line { margin: 0 4px; }
  }

  /* Form steps */
  .form-step { display: none; padding: 24px; }
  .form-step.active { display: block; }

  .step-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }
  .step-icon {
    font-size: 28px;
    line-height: 1;
  }
  .step-title h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text-color);
  }
  .step-title p {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
  }

  /* Campos do formulário (estilo padrão) */
  .field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .field { display: flex; flex-direction: column; gap: 6px; }
  .field.full { grid-column: 1 / -1; }
  .field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
  }
  .field small {
    font-size: 0.7rem;
    color: var(--gray);
  }
  .req { color: var(--primary); }
  .field input, .field textarea, .field select {
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--input-bg, var(--bg-light));
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
    resize: vertical;
  }
  .field input:focus, .field textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
  }
  @media (max-width: 640px) {
    .field-grid { grid-template-columns: 1fr; }
    .field.full { grid-column: auto; }
  }

  /* Botões de navegação */
  .step-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
  }
  .btn-next, .btn-back, .btn-download, .btn-download-png {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
  }
  .btn-next {
    background: var(--primary);
    color: white;
    margin-left: auto;
  }
  .btn-next:hover { background: var(--primary-dark); transform: translateX(2px); }
  .btn-back {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
  }
  .btn-back:hover { background: var(--bg-light); }
  .btn-download {
    background: #ef4444;
    color: white;
  }
  .btn-download:hover { background: #35dc26; transform: scale(1.02); }
  .btn-download-png {
    background: #ef4444;
    color: white;
  }
  .btn-download-png:hover { background: #dc2626; transform: scale(1.02); }

  /* Botão adicionar */
  .btn-add {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
  }
  .btn-add:hover {
    border-color: var(--primary);
    background: rgba(67, 97, 238, 0.05);
  }

  /* Blocos repetíveis (experiência/educação) */
  .repeat-block {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 14px;
    position: relative;
  }
  .repeat-block .remove-btn {
    position: absolute;
    top: 12px; right: 14px;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 18px;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 20px;
    transition: var(--transition);
  }
  .repeat-block .remove-btn:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
  }

  /* ===================== PRÉVIA DO CURRÍCULO (ESTILO CLÁSSICO) ===================== */
  .preview-scroll {
    overflow-y: auto;
    padding: 20px;
    max-height: 80vh;
  }
  .resume-paper {
    background: white;
    color: #111;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    padding: 28px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 4px;
  }
  /* Cabeçalho com nome e contato */
  .rp-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #111;
  }
  .rp-role {
    font-size: 13px;
    font-weight: 500;
    color: #2c3e66;
    margin-bottom: 12px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;
  }
  .rp-contact {
    font-size: 11px;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: none;
  }
  .rp-contact span {
    white-space: nowrap;
  }
  /* Seções */
  .rp-section {
    margin-bottom: 18px;
  }
  .rp-section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #111;
    border-bottom: 1px solid #aaa;
    padding-bottom: 3px;
    margin-bottom: 8px;
  }
  .rp-text {
    font-size: 12px;
    color: #222;
    margin: 0;
    line-height: 1.5;
  }
  /* Experiência e educação (formato clássico) */
  .rp-exp-item, .rp-edu-item {
    margin-bottom: 14px;
  }
  .rp-exp-head, .rp-edu-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
  }
  .rp-company, .rp-instituicao {
    font-weight: 700;
    font-size: 12px;
    color: #111;
  }
  .rp-position, .rp-curso {
    font-size: 12px;
    font-weight: 500;
    color: #2c3e66;
    margin-top: 2px;
  }
  .rp-period {
    font-size: 11px;
    color: #555;
    white-space: nowrap;
  }
  .rp-desc {
    font-size: 12px;
    color: #333;
    margin-top: 6px;
    margin-left: 0;
    padding-left: 0;
  }
  /* Habilidades – formato simples, sem negrito */
  .rp-skills-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .rp-skills-list li {
    font-size: 12px;
    font-weight: normal;  /* Garante que não fique em negrito */
    color: #222;
    position: relative;
    padding-left: 12px;
  }
  .rp-skills-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2c3e66;
    font-weight: normal;
  }
  .rp-simple-text {
    font-size: 12px;
    font-weight: normal;
    color: #222;
    line-height: 1.5;
  }

  /* Card de dicas (estilo info-card) */
  .info-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-top: 32px;
    border: 1px solid var(--border-color);
  }
  .info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }
  .info-card ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
  }
  .info-card li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
    color: var(--gray);
  }
  .info-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
  }

  @media (max-width: 480px) {
    .resume-paper { padding: 20px; }
    .rp-name { font-size: 20px; }
    .rp-contact { flex-direction: column; gap: 4px; }
    .rp-exp-head { flex-direction: column; align-items: flex-start; }
    .rp-period { margin-left: 0; }
    .btn-group { width: 100%; justify-content: flex-end; }
  }
